Re: How to clone CentOS server ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

thus Michael Kress spake:
| przemolicc@xxxxxxxxx wrote:
|> I'd like to clone existing CentOS server. Can anybody
|> recommend any working solution to achieve that ?
|
| 1) virsh shutdown vmxx
| 2) cp /etc/libvirt/qemu/vmxx /etc/libvirt/qemu/vmyy
| 3) cp <old image file> <new image file>
| 4) perl -pi -w -e 's/old image file/new image file/g;'
/etc/libvirt/qemu/vmyy
| 5) adjust new name in /etc/libvirt/qemu/vmyy
| 6) reload libvirtd
| 7) virsh start vmxx
|    virsh start vmyy
|
| HTH
| Regards
| Michael

Hm... Using Xen or OpenVZ it is similarly easy to clone a maschine, even
without having to shut down things. However, I have the feeling that the
thread starter has a physical machine to clone? ;)

Timo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org

iD8DBQFKlTxsfg746kcGBOwRAp0BAJ9cqYS5JRlnIXyAqGDOVYRiJ9mdxACgscK+
9Hah7kxWDwNX1YCjbhN7ioE=
=M8d0
-----END PGP SIGNATURE-----
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux