[opensuse] cloning the whole system from internet
let's say i have 1 running suse 10.0 server on the colocation somewhere. Then i have another server which has duplicate hardware specification at my office. Is it possible to clone the running server to the one at my office? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hans Linux wrote:
let's say i have 1 running suse 10.0 server on the colocation somewhere. Then i have another server which has duplicate hardware specification at my office. Is it possible to clone the running server to the one at my office?
With rsync one can certainly duplicate a great deal of the data on another running system - Must the whole system be a carbon copy, or are there just specific applications and/or user accounts that need to be duplicated? Joe -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
let's say i have 1 running suse 10.0 server on the colocation somewhere. Then i have another server which has duplicate hardware specification at my office. Is it possible to clone the running server to the one at my office? Do you mean from one running system to another? I don't think that's even possible on a local network. The usual method is to use some
Hans Linux wrote: partition image utility to save the partitions as files and then copy them onto the new system. This can be done over a network and presumably the internet. Another method, if you're starting from scratch, would be to use Autoyast, which records how you built one system and then uses that info to build others. -- Use OpenOffice.org <http://www.openoffice.org> -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hans Linux wrote:
let's say i have 1 running suse 10.0 server on the colocation somewhere. Then i have another server which has duplicate hardware specification at my office. Is it possible to clone the running server to the one at my office?
Do you mean from one running system to another? I don't think that's even possible on a local network. I would think he could if he booted the target from a Live CD that had rsync on it, then partitioned and formatted his drives, and used rsync to sync over all but /sys and /proc. After rsync was finished, he could
James Knott wrote: then install Grub and verify the layout was the same as the source, then reboot from the HD. At least it seems like it would work. Unless he has a very fast connection though, a DVD install may be faster. Perhaps an rsync after a DVD install would be fastest. -- Joe Morris Registered Linux user 231871 running openSUSE 10.2 x86_64 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Joe Morris (NTM) wrote:
James Knott wrote:
Hans Linux wrote:
let's say i have 1 running suse 10.0 server on the colocation somewhere. Then i have another server which has duplicate hardware specification at my office. Is it possible to clone the running server to the one at my office?
Do you mean from one running system to another? I don't think that's even possible on a local network.
I would think he could if he booted the target from a Live CD that had rsync on it, then partitioned and formatted his drives, and used rsync to sync over all but /sys and /proc. After rsync was finished, he could then install Grub and verify the layout was the same as the source, then reboot from the HD. At least it seems like it would work. Unless he has a very fast connection though, a DVD install may be faster. Perhaps an rsync after a DVD install would be fastest.
But again that's not what I'd call a "running system". In your example, as in mine you shut down the running system, use external software to copy and then start up again. The only difference is in how the copy is performed. Also, given that on a live system, some files may be locked or subject to change, how much of a clone do you get? -- Use OpenOffice.org <http://www.openoffice.org> -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Monday 2007-07-02 at 20:11 +0800, Joe Morris (NTM) wrote:
Do you mean from one running system to another? I don't think that's even possible on a local network. I would think he could if he booted the target from a Live CD that had rsync on it, then partitioned and formatted his drives, and used rsync
He could first run rsync on the live system, then again on the stopped system. It would save down time, many files don't change. And I fancy the live rsync could work - even if there were "glitches" o problems. It would be close enough - the definition of 'enough' varying, of course. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFGiPMhtTMYHG2NR9URAptlAJ9NN3a6nwDh/Z4e9Cd+FqSCQULVPwCfYaOw hU8FrzipC9ySOdC6pn8YZaE= =pnSz -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
let's say i have 1 running suse 10.0 server on the colocation somewhere. Then i have another server which has duplicate hardware specification at my office. Is it possible to clone the running server to the one at my office?
Well, I did something like this two monthes ago with 9.3. But I didn't do it like an exact copy. That was my way: First, install on the new system a "minimal" suse 9.3, get the list of installed rpms on the old system (except kernel stuff), install all from the list on the new one (because the list was sorted a-z I had to turn off dependency checks). Then I just gzip/tar'ed /etc /home /var (I left some things out like log files) downloaded them and untar'ed it on the new system. Then reboot the new system. I't worked for my purposes (I wanted to test upgrade to 10.0 with apt [worked fine]) but I noticed some wired / lost data within mysql. You have to modify the network settings on the new system if you don't replace the old. There were other problems I cant remember. This wans't a "clone" but a a "copy". I wouldn't recommend for production use but for testing it's fine. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (6)
-
Carlos E. R.
-
Hans Linux
-
James Knott
-
joe
-
Joe Morris (NTM)
-
Johannes Nohl