Migrating a SUSE (SLES) 9.3 / 9.4 physical server to an OpenVZ container

Rsync

from inside the container edit the file /root/.excludes:

# pico /root/.excludes

.bash_history
/etc/fstab
/etc/mtab
/boot
/dev/*
/mnt/*
/tmp/*
/proc/*
/sys/*
/etc/sysconfig/network-scripts/ifcfg-eth*
# rsync -arvpz --numeric-ids --exclude-from '/root/.excludes' 195.98.197.48:/ /

Disable mcelog

in the old x86_64 days we used /dev/mcelog to pickup certain information for logging. This is NOT an option in a container so either remove the package or remove the cronjob

rm /etc/cron.hourly/mcelog
/var/customers/webs/cw01/wiki/data/pages/virtualization/containers/physical_server_migration.txt · Last modified: 2010/10/28 10:26 by wadmin
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki