[opensuse] Clone a machine ?
Hello Is there a tool in Opensuse 10.2 to "clone" a machine , that is I define a master with all desired softwares and network/NFS/LDAP ... configuration, then I am able to install many others machines with the same conf. There is such tool in HP-UX called IGNITE , would be great if Opensuse have a similar tool. Thanks -- Frank -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Frank Bonnet wrote:
Hello
Is there a tool in Opensuse 10.2 to "clone" a machine , that is I define a master with all desired softwares and network/NFS/LDAP ... configuration, then I am able to install many others machines with the same conf. There is such tool in HP-UX called IGNITE , would be great if Opensuse have a similar tool.
Thanks -- Frank Autoyast is meant to do this for larger installations. http://www.suse.com/~ug/
regards Eberhard -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Is there a tool in Opensuse 10.2 to "clone" a machine , that is I define a master with all desired softwares and network/NFS/LDAP ... configuration, then I am able to install many others machines with the same conf. There is such tool in HP-UX called IGNITE , would be great if Opensuse have a similar tool.
Autoyast is meant to do this for larger installations. http://www.suse.com/~ug/
Autoyast is really great, but maybe sometimes a bit overkill (in setup) if you just want to clone one machine... Another way would be to do it 'by hand': - boot some live-cd (suse live-cd or knoppix) on the "empty" system - create partitions as needed and create filesystems - mount the new partitions - mount all filesystems of the system that should be cloned by NFS (*) - copy all files via rsync -auvx /source /destination to the new system - setup a bootloader: start 'grub' and enter (assuming that /boot is your first partition on your fist disk): root (hd0,0) setup (hd0) I'm sure there are many other (maybe better) ways, but i had good experiences with this one ... (*) or setup rsync in server mode on this machine -- David Mayr, http://davey.de openSUSE LINUX, http://opensuse.de -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wed 24 Jan 2007 10:39, David Mayr wrote:
I'm sure there are many other (maybe better) ways
using rsync one may get probs with sensibly excluded directories such as /proc & /tmp - hence, after firstly making the required partitions, & then mount a partition, say . . . on /mnt . . . TAR is great for the job . . . just run :- ___________ tar clf - . | ( umask 0; cd /mnt; tar xvf - ) ..................... friendly greetings -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
[...] rsync -auvx /source /destination [...]
using rsync one may get probs with sensibly excluded directories such as /proc & /tmp
i'm sorry, but but have to correct you in this small point. rsync --help says: -x, --one-file-system don't cross filesystem boundaries so the mentioned rsync command wouldn't copy things from /proc or the like ... -- David Mayr, http://davey.de openSUSE LINUX, http://opensuse.de -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wed 24 Jan 2007 15:07, David Mayr wrote:
so the mentioned rsync command wouldn't copy things from /proc or the like .
- juz have the impression that b'coz rsync did not create /proc & /tmp at all , when rsyncing to a new partition . . . there were probs booting that new partition, until /proc & /tmp were added manually YMMV :) - anyways . . . mah preference is to use TAR to clone :- tar clf - . | ( umask 0; cd /mnt; tar xvf ) .......................... friendly greetings -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
David Mayr wrote:
Is there a tool in Opensuse 10.2 to "clone" a machine , that is I define a master with all desired softwares and network/NFS/LDAP ... configuration, then I am able to install many others machines with the same conf. There is such tool in HP-UX called IGNITE , would be great if Opensuse have a similar tool.
Autoyast is meant to do this for larger installations. http://www.suse.com/~ug/
Autoyast is really great, but maybe sometimes a bit overkill (in setup) if you just want to clone one machine...
Agreed, it is meant for larger installs ;-))
Another way would be to do it 'by hand': - boot some live-cd (suse live-cd or knoppix) on the "empty" system - create partitions as needed and create filesystems - mount the new partitions - mount all filesystems of the system that should be cloned by NFS (*) - copy all files via rsync -auvx /source /destination to the new system - setup a bootloader: start 'grub' and enter (assuming that /boot is your first partition on your fist disk): root (hd0,0) setup (hd0)
I'm sure there are many other (maybe better) ways, but i had good experiences with this one ...
(*) or setup rsync in server mode on this machine
I did the "just a few machines clone" with a combination of dd and netcat. It is a bit slow but it is very easy to do. I use knoppix for the purpose. For example: http://digiassn.blogspot.com/2006/01/dd-over-netcat-for-cheap-ghost.html kind regards Eberhard -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tuesday 23 January 2007 23:48, Frank Bonnet wrote:
Is there a tool in Opensuse 10.2 to "clone" a machine , that is I define a master with all desired softwares and network/NFS/LDAP ... configuration, then I am able to install many others machines with the same conf. There is such tool in HP-UX called IGNITE , would be great if Opensuse have a similar tool.
Haven't used it in a while, but give SystemImager a look. I started using it back in 2001, even got some changes added :) Used it a lot in 2002-2004 for cloning ordering stations for the other sports photography company I do work for. We've migrated to a different model now, but it was really fast when we did use it. good luck, brian -- Brian Jackson Photo Sports ~ People ~ Events http://www.BrianJacksonPhoto.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Brian Jackson wrote:
On Tuesday 23 January 2007 23:48, Frank Bonnet wrote:
Is there a tool in Opensuse 10.2 to "clone" a machine , that is I define a master with all desired softwares and network/NFS/LDAP ... configuration, then I am able to install many others machines with the same conf. There is such tool in HP-UX called IGNITE , would be great if Opensuse have a similar tool.
Haven't used it in a while, but give SystemImager a look. I started using it back in 2001, even got some changes added :)
Used it a lot in 2002-2004 for cloning ordering stations for the other sports photography company I do work for. We've migrated to a different model now, but it was really fast when we did use it.
good luck, brian
thanks a lot Brian :-) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (5)
-
Brian Jackson
-
David Mayr
-
Eberhard Roloff
-
Frank Bonnet
-
riccardo35@gmail.com