Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

we have 2 e250 servers (production

Status
Not open for further replies.

pmurray99

Programmer
May 20, 2003
44
AU
we have 2 e250 servers (production and DR), each with 2 x 18GB disks, mirrored with disksuite, Solaris 7.

Output from df -k

Filesystem 1024-blocks Used Available Capacity Mounted on
/proc 0 0 0 0% /proc
/dev/md/dsk/d0 16379106 13141489 3073826 82% /
fd 0 0 0 0% /dev/fd
/dev/md/dsk/d2 17408538 12237970 4996483 72% /data
swap 1194768 24 1194744 1% /tmp


We need to rebuild the DR machine from production.

We thought of doing this by splitting mirrors and moving the disks. We don't have a Solaris Admin here who is familiar with Disksuite.

split the mirrors on both machines.

replace the active disk in DR with the non-active disk from production.

If that works, we would then need to update the network configuration (IP address, etc)

If mirror splitting won't work, what alternatives do we have (ufsdump maybe)?

Any help would be appreciated.
 
metadetach is the command you could use to split the mirrors. You would want to do this when there was very little activity on the disks though, ideally in single-user mode.

sys-unconfig is a handy script to use to reconfigure the network settings on the new system. You might want to disconnect it from the network until you do this to prevent both systems coming up with the same IP address.

ufsdump and ufsrestore (while the DR system is booted from CD-ROM) across the network might be easier though; no need to move disks around?

Something along these lines might do the trick:

[tt]ufsdump 0f - / | ( rsh newsystem "cd /mnt ; ufsrestore xf -")[/tt]

Before doing that, on the new system you will need to
[ul][li]bring up an IP address manually
[li]set up rsh authorisations
[li]create the partitions as per the existing root disk
[li]create the filesystems using newfs, and
[li]mount them under /mnt for the restore, one at a time[/ul]

Annihilannic.
 
I forgot to say, you'll need to install a boot block as well, using, for example:

[tt]installboot /usr/platform/`uname -i`/lib/fs/ufs/bootblk /dev/rdsk/cNtNdNsN[/tt]

And then install DiskSuite, etc.

Annihilannic.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top