- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Cloning linux on multiple DL360's
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2004 11:06 AM
08-11-2004 11:06 AM
I have two DL360s that I want to clone and cluster, so this is what I have done.
I put in the HDD from the non-configured server into /dev/cciss/c0d1 (right-hand slot)then reboot using the CD1 of the Linux install disk into rescue mode:
cd /mnt/sysimage/root
mkdir partition-backup
cd partition-backup
dd if=/dev/cciss/c0d0 of=backup-cciss0.mbr count=1 bs=512
Now, I want to save entries of the extended partitions:
sfdisk -d /dev/cciss/c0d0 > backup-cciss0.sf
Now, I want to put the info on the other disk:
dd if=backup-cciss0.mbr of=/dev/cciss/c0d1
sfdisk /dev/cciss/c0d1 < backup-cciss0.sf
Now, I want to dump the partition data accross:
dd if=/dev/cciss/c0t0p1 of=/dev/cciss/c0d1p1 ==> /boot
dd if=/dev/cciss/c0t0p2 of=/dev/cciss/c0d1p2 ==> swap
dd if=/dev/cciss/c0t0p3 of=/dev/cciss/c0d1p3 ==> /
Now, I should be able to pull out c0d1 and place it back in to the original server and boot, right??? Wrong. The HP SmartArray utility tells me that the drives are not in their proper locations and will not recognize it!!!
If I go into the SmartArray config tool, it sees no logical partitions and asks to create one. I say sure, and bang... everything is wiped off of the disk.
Thanks for any help you can offer on this.
Andrew
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2004 05:44 PM
08-11-2004 05:44 PM
SolutionOr you could boot off a win98 cd with Norton Ghost on it and duplicate the entire machine configuration right through the NIC card or even a parellel cable.
This I've done, you just have to fire up the duplicate box the the main box down and change its hostname and ip config.
Also this methodology involves downtime.
mondo/mindi might have some utilities that perform this function as well.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2004 01:02 AM
08-12-2004 01:02 AM
Re: Cloning linux on multiple DL360's
You will also be able to clone your drives on other machines...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2004 02:14 AM
08-12-2004 02:14 AM
Re: Cloning linux on multiple DL360's
Can I use it to mirror the first drive to the second drive after the OS is installed, or do I have to create the mirror, then install the OS and then pull the second drive and break the mirror?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2004 05:16 AM
08-12-2004 05:16 AM
Re: Cloning linux on multiple DL360's
Putting in the HDD from the other server into /dev/cciss/c0d1 then:
cd /root
mkdir partition-backup
cd partition-backup
dd if=/dev/cciss/c0d0 of=backup-cciss0.mbr count=1 bs=512
Now, I want to save entries of the extended partitions:
sfdisk -d /dev/cciss/c0d0 > backup-cciss0.sf
Now, I want to put the info on the other disk:
dd if=backup-cciss0.mbr of=/dev/cciss/c0d1
sfdisk /dev/cciss/c0d1 < backup-cciss0.sf
Now, I want to dump the partition data accross:
dd if=/dev/cciss/c0t0p1 of=/dev/cciss/c0d1p1 ==> /boot
dd if=/dev/cciss/c0t0p2 of=/dev/cciss/c0d1p2 ==> swap
dd if=/dev/cciss/c0t0p3 of=/dev/cciss/c0d1p3 ==> /
Now, I should be able to pull out c0d1 and place it back in to the original server and boot, right? Wrong...
Now, the ACU complains about the HD being unusable when I put it into it's original slot. So I go into the ACU config utility and create a logical disk. Then the system reboots. The result is NO OS and the drive is completely blank.
Soooo..., I redo the process of cloning the Drive, when it is finished I pull it out and place it in it's original server.
I then booted using the SmartStart 7.1 disk and went into the drive config utility.
Here, it asks me if I want to create and 'ARRAY' before it can do anything.
So I pick create the Array with a Raid 0.
Then I create the Logical thing and save the config.
I reboot and lo-and-behold... it works.
I editted the HWADDR for the other server and restarted the network service.
Now, it's on to clustering.
Hope this helps someone else.