<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Cloning a server in RHEL 4 in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/cloning-a-server-in-rhel-4/m-p/3934550#M65494</link>
    <description>Robert,&lt;BR /&gt;The kickstart option using NFS sounds great!  Could you point me in the right direction for kickstart documentation/procedure, please?  Thanks.&lt;BR /&gt;Geetha.</description>
    <pubDate>Tue, 30 Jan 2007 09:11:49 GMT</pubDate>
    <dc:creator>Geetha_1</dc:creator>
    <dc:date>2007-01-30T09:11:49Z</dc:date>
    <item>
      <title>Cloning a server in RHEL 4</title>
      <link>https://community.hpe.com/t5/operating-system-linux/cloning-a-server-in-rhel-4/m-p/3934548#M65492</link>
      <description>I am new to RHEL - is there a way of cloning a server in RHEL like ignite for hp-ux?  If there is, can someone give me a detailed procedure to go about cloning the server?  Thanks.&lt;BR /&gt;Geetha.</description>
      <pubDate>Mon, 29 Jan 2007 14:58:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/cloning-a-server-in-rhel-4/m-p/3934548#M65492</guid>
      <dc:creator>Geetha_1</dc:creator>
      <dc:date>2007-01-29T14:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: Cloning a server in RHEL 4</title>
      <link>https://community.hpe.com/t5/operating-system-linux/cloning-a-server-in-rhel-4/m-p/3934549#M65493</link>
      <description>Gday,&lt;BR /&gt;&lt;BR /&gt;You can and there is not much too it. Although I dont know if there are tools per say.&lt;BR /&gt;&lt;BR /&gt;One can just dump the file systems and restore them elsewhere using the redhat rescue cd. Or you can ghost the system.&lt;BR /&gt;&lt;BR /&gt;All that is really required is to change the hostname /etc/hosts, /etc/sysconfig/network, /etc/sysconfig/network-scripts/ifcfg-eth* config files to update nodename and tcpip details and if you plan to register server with Redhat then you need to create a new systemid as registering the copied version against the original will confuse the system. This can be done by removing the /etc/sysconfig/rhn/systemid and /etc/sysconfig/rhn/up2date-uuid (this needs to be regenerated using uuidgen - copy the gen number into up2date-uuid). Note when I save remove - its best to make backups of these files first :)&lt;BR /&gt;&lt;BR /&gt;The other option as opposed to copying an existing system is to setup kickstart. We can build servers with our own postbuild scripts in less than 3 minutes! This is done by copying the CD set to a system which can either be NFS/Apache Web Server or FTP server - NFS is the simplest! And building a kickstart script. Install the first cd and say linux ks=nfs:server:/nfs/path/to/RedHat and off it will go.&lt;BR /&gt;&lt;BR /&gt;I believe HP if you buy it have cloning software kits - mainly for rolling out blade environments. However once you have kickstart up and had a play this is great!&lt;BR /&gt;&lt;BR /&gt;If you play with virtualised systems (Eg VMWARE) then you can stop the virtual guests and just copy the image files - then go through and do what was mentioned at the beginning.&lt;BR /&gt;&lt;BR /&gt;Hope this helps a bit.&lt;BR /&gt;&lt;BR /&gt;Robert.</description>
      <pubDate>Mon, 29 Jan 2007 21:24:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/cloning-a-server-in-rhel-4/m-p/3934549#M65493</guid>
      <dc:creator>Robert Walker_8</dc:creator>
      <dc:date>2007-01-29T21:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: Cloning a server in RHEL 4</title>
      <link>https://community.hpe.com/t5/operating-system-linux/cloning-a-server-in-rhel-4/m-p/3934550#M65494</link>
      <description>Robert,&lt;BR /&gt;The kickstart option using NFS sounds great!  Could you point me in the right direction for kickstart documentation/procedure, please?  Thanks.&lt;BR /&gt;Geetha.</description>
      <pubDate>Tue, 30 Jan 2007 09:11:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/cloning-a-server-in-rhel-4/m-p/3934550#M65494</guid>
      <dc:creator>Geetha_1</dc:creator>
      <dc:date>2007-01-30T09:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: Cloning a server in RHEL 4</title>
      <link>https://community.hpe.com/t5/operating-system-linux/cloning-a-server-in-rhel-4/m-p/3934551#M65495</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.mondorescue.org" target="_blank"&gt;http://www.mondorescue.org&lt;/A&gt;&lt;BR /&gt;Free, doesn't do well with major hardware differences.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.acronis.com" target="_blank"&gt;http://www.acronis.com&lt;/A&gt;&lt;BR /&gt;Not free, does a better job but costs more.&lt;BR /&gt;&lt;BR /&gt;Norton Ghost:&lt;BR /&gt;Effective but no support for using it on Linux&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 30 Jan 2007 10:32:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/cloning-a-server-in-rhel-4/m-p/3934551#M65495</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-01-30T10:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: Cloning a server in RHEL 4</title>
      <link>https://community.hpe.com/t5/operating-system-linux/cloning-a-server-in-rhel-4/m-p/3934552#M65496</link>
      <description>Steve,&lt;BR /&gt;Thanks, am going to try mondo rescue.&lt;BR /&gt;Geetha</description>
      <pubDate>Tue, 30 Jan 2007 10:44:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/cloning-a-server-in-rhel-4/m-p/3934552#M65496</guid>
      <dc:creator>Geetha_1</dc:creator>
      <dc:date>2007-01-30T10:44:27Z</dc:date>
    </item>
    <item>
      <title>Re: Cloning a server in RHEL 4</title>
      <link>https://community.hpe.com/t5/operating-system-linux/cloning-a-server-in-rhel-4/m-p/3934553#M65497</link>
      <description>Gday,&lt;BR /&gt;&lt;BR /&gt;Take your anaconda-ks.cfg from an existing server that you want to clone. modify the ip addresses and host name info.&lt;BR /&gt;&lt;BR /&gt;Copy your redhat cds to a server with nfs add a new mount point for nfs.&lt;BR /&gt;&lt;BR /&gt;Modify your anaconda-js.cfg to use nfs install rather than say cdrom. &lt;BR /&gt;&lt;BR /&gt;See below example anaconda kickstart script - this one installs everything pretty much and configures server with network and hostname. One could have a post install script as show to do backend stuff - we get our servers to register to Redhat automatically and handle different situations - such as hardened servers etc.:&lt;BR /&gt;&lt;BR /&gt;#System  language&lt;BR /&gt;lang en_AU&lt;BR /&gt;#Language modules to install&lt;BR /&gt;langsupport en_AU&lt;BR /&gt;#System keyboard&lt;BR /&gt;keyboard us&lt;BR /&gt;#System mouse&lt;BR /&gt;mouse&lt;BR /&gt;#Sytem timezone&lt;BR /&gt;timezone Australia/Sydney&lt;BR /&gt;#Root password&lt;BR /&gt;rootpw --iscrypted &lt;PASSWORD would="" be="" here="" in="" encrypted="" form=""&gt;&lt;BR /&gt;authconfig --enableshadow --enablemd5&lt;BR /&gt;bootloader --location=mbr --append="rhgb quiet"&lt;BR /&gt;# Device Probe&lt;BR /&gt;deviceprobe&lt;BR /&gt;#Reboot after installation&lt;BR /&gt;#reboot - no we want to check after system is built!&lt;BR /&gt;text&lt;BR /&gt;#Install OS instead of upgrade&lt;BR /&gt;install&lt;BR /&gt;#Use NFS installation Media&lt;BR /&gt;nfs --server=192.168.29.10  --dir=/nfs/rhel/v4u3/ES32&lt;BR /&gt;#System bootloader configuration&lt;BR /&gt;bootloader --location=mbr --append="rhgb quiet"&lt;BR /&gt;#Clear the Master Boot Record&lt;BR /&gt;zerombr yes&lt;BR /&gt;#Disk partitioning information&lt;BR /&gt;clearpart  --all --initlabel&lt;BR /&gt;part /     --fstype ext3 --size 2048  --asprimary&lt;BR /&gt;part swap  --fstype swap --size 1024  --asprimary&lt;BR /&gt;part /usr  --fstype ext3 --size 8192  --asprimary&lt;BR /&gt;part /var  --fstype ext3 --size 5120  --asprimary&lt;BR /&gt;part /tmp  --fstype ext3 --size 5120  --asprimary&lt;BR /&gt;part /home --fstype ext3 --size 2048  --asprimary&lt;BR /&gt;#System authorization infomation&lt;BR /&gt;auth  --useshadow  --enablemd5&lt;BR /&gt;#Network information&lt;BR /&gt;network --device eth0 --bootproto static --ip 192.168.29.163 --netmask 255.255.255.0 --gateway 168.132.29.1 --nameserver 192.168.29.10,168.132.29.18 --hostname test.server.com&lt;BR /&gt;#Firewall configuration&lt;BR /&gt;firewall --enabled --port=22:tcp --port=25:tcp --port=123:udp&lt;BR /&gt;selinux --permissive&lt;BR /&gt;#XWindows configuration information&lt;BR /&gt;xconfig --depth=8 --resolution=1024x768 --defaultdesktop=GNOME --startxonboot --monitor="Monitor 1024x768"&lt;BR /&gt;#Run the Setup Agent on first boot&lt;BR /&gt;firstboot --enable&lt;BR /&gt;#Package install information&lt;BR /&gt;%packages --resolvedeps&lt;BR /&gt;@ base-x&lt;BR /&gt;@ gnome-desktop&lt;BR /&gt;@ kde-desktop&lt;BR /&gt;@ editors&lt;BR /&gt;@ engineering-and-scientific&lt;BR /&gt;@ graphical-internet&lt;BR /&gt;@ text-internet&lt;BR /&gt;@ office&lt;BR /&gt;@ sound-and-video&lt;BR /&gt;@ authoring-and-publishing&lt;BR /&gt;@ graphics&lt;BR /&gt;@ games&lt;BR /&gt;@ server-cfg&lt;BR /&gt;@ web-server&lt;BR /&gt;@ mail-server&lt;BR /&gt;@ smb-server&lt;BR /&gt;@ dns-server&lt;BR /&gt;@ ftp-server&lt;BR /&gt;@ sql-server&lt;BR /&gt;@ mysql&lt;BR /&gt;@ news-server&lt;BR /&gt;@ network-server&lt;BR /&gt;@ legacy-network-server&lt;BR /&gt;@ development-tools&lt;BR /&gt;@ x-software-development&lt;BR /&gt;@ gnome-software-development&lt;BR /&gt;@ kde-software-development&lt;BR /&gt;@ compat-arch-development&lt;BR /&gt;@ legacy-software-development&lt;BR /&gt;@ admin-tools&lt;BR /&gt;@ system-tools&lt;BR /&gt;@ printing&lt;BR /&gt;@ compat-arch-support&lt;BR /&gt;grub&lt;BR /&gt;kernel-devel&lt;BR /&gt;kernel&lt;BR /&gt;%post&lt;BR /&gt;#!/bin/bash&lt;BR /&gt;chvt 3&lt;BR /&gt;NFSSERVER=168.132.29.10&lt;BR /&gt;mkdir /nfs&lt;BR /&gt;mount -o ro,nolock,wsize=8192,rsize=8192 -t nfs $NFSSERVER:/data/nfs /nfs&lt;BR /&gt;if [ $? -ne 0 ]; then&lt;BR /&gt;   echo "Error - Mounting of $NFSSERVER failed?"&lt;BR /&gt;   exit 1&lt;BR /&gt;fi&lt;BR /&gt;echo "Starting Post Build Script"&lt;BR /&gt;ksh -x /nfs/buildserver/postbuild.sh "KICKSTART" 3 &amp;gt;&amp;gt; /root/postbuild.log 2&amp;gt;&amp;amp;1&lt;BR /&gt;&lt;BR /&gt;&lt;/PASSWORD&gt;</description>
      <pubDate>Tue, 30 Jan 2007 22:29:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/cloning-a-server-in-rhel-4/m-p/3934553#M65497</guid>
      <dc:creator>Robert Walker_8</dc:creator>
      <dc:date>2007-01-30T22:29:09Z</dc:date>
    </item>
    <item>
      <title>Re: Cloning a server in RHEL 4</title>
      <link>https://community.hpe.com/t5/operating-system-linux/cloning-a-server-in-rhel-4/m-p/3934554#M65498</link>
      <description>Thanks, Robert. Our new servers are just shipped, will try it and keep you all posted.&lt;BR /&gt;Geetha.</description>
      <pubDate>Wed, 31 Jan 2007 14:36:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/cloning-a-server-in-rhel-4/m-p/3934554#M65498</guid>
      <dc:creator>Geetha_1</dc:creator>
      <dc:date>2007-01-31T14:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: Cloning a server in RHEL 4</title>
      <link>https://community.hpe.com/t5/operating-system-linux/cloning-a-server-in-rhel-4/m-p/3934555#M65499</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;for fully automating kickstarts there is a new tool by RedHat under development. It consists of two programs, cobbler and koan.&lt;BR /&gt;&lt;BR /&gt;Check it out after You did (and enjoyed) the first few successful kickstart installs. It has support for RHEL, Fedora, CentOS (apparently soon even SUSE) and even knows how to control(abuse) a dhcp server and Xen configuration. It also brings along kickstart installation tracking by analysing the webserver and install logs (using a lean syslog daemon)&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://cobbler.et.redhat.com/" target="_blank"&gt;http://cobbler.et.redhat.com/&lt;/A&gt;</description>
      <pubDate>Fri, 02 Feb 2007 09:17:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/cloning-a-server-in-rhel-4/m-p/3934555#M65499</guid>
      <dc:creator>Florian Heigl (new acc)</dc:creator>
      <dc:date>2007-02-02T09:17:03Z</dc:date>
    </item>
  </channel>
</rss>

