[Server-devel] Cloning
David Leeming
david at leeming-consulting.com
Thu Aug 19 19:07:30 EDT 2010
Hi Martin
We had some results doing this , but it is actually much more time consuming
than installing and configuring the servers individually. What would be
really useful is (a) some way of automatic this or (b) the ability to export
the XS configuration especially the Moodle settings.
David Leeming
-----Original Message-----
From: Martin Langhoff [mailto:martin.langhoff at gmail.com]
Sent: Friday, 13 August 2010 11:46 p.m.
To: David Leeming
Cc: XS Devel
Subject: Re: [Server-devel] Cloning
Hi David,
super brief -
- get the machine in 'single user mode' ("init 1" on the commandline will
work)
- plug new disk in, setup the partition table, and the filesystems
- rsync / and /library to the temp mountpoints
- remove hardware-specific files: /etc/udev/rules.d/70-persisntent-net.rules
- fixup /etc/fstab to match the UID of the new filesystems
- run grub targetting the new disk
- move new disk to new machine
that will _clone_ the XS so it will keep a lot of identifiers (and all
the data) from the original XS.
Do NOT use this technique for "cloning a base install". Use
kickstart/anaconda methods to automate many-machine rollouts.
cheers,
martin
On Fri, Aug 13, 2010 at 6:22 AM, David Leeming
<david at leeming-consulting.com> wrote:
> Are there any recommended ways of cloning an XS installation? We have
tried
> Ping and Reflect but with difficulty.
>
>
>
> David Leeming
>
>
>
> _______________________________________________
> Server-devel mailing list
> Server-devel at lists.laptop.org
> http://lists.laptop.org/listinfo/server-devel
>
>
--
martin.langhoff at gmail.com
martin at laptop.org -- School Server Architect
- ask interesting questions
- don't get distracted with shiny stuff - working code first
- http://wiki.laptop.org/go/User:Martinlanghoff
More information about the Server-devel
mailing list