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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Solstice Disk Suite

Status
Not open for further replies.

mheloy

Vendor
May 19, 2003
23
AP
Hi gurus!

We plan to migrate a server from one storage to another. The filesystem uses Solstice Disk suite to do host mirroring and raid. I'm not familiar with disk suite. Can anyone give me a document on how to do this? We will use remote mirroring to copy the data from storage to another.

Ex:
/dev/md/dsk/d4 1018382 573422 383858 60% /apps

d4: Mirror
Submirror 0: d14
State: Okay
Submirror 1: d24
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 2100735 blocks

d14: Submirror of d4
State: Okay
Size: 2100735 blocks
Stripe 0:
Device Start Block Dbase State Hot Spare
c2t0d0s4 0 No Okay


d24: Submirror of d4
State: Okay
Size: 2100735 blocks
Stripe 0:
Device Start Block Dbase State Hot Spare
c2t1d0s4 0 No Okay


The New disk will be
c20t1d0
C20t1d1

How can I mount the /apps filesystem using this new disk? I'm not familiar with the equivalent command in Solstice disk suite. In HP or IBM, its just a matter of importing the volume group then activating the volume group then we can mount the filesystem.

Thanks in advance gurus!
 
>> We will use remote mirroring to copy the data from storage to another.

there is afaik no such feature in SDS!
If you want to move a volume from one host to another you can copy this on
- filesystem-level using tar, ufsdump, etc.
- move disks to another host, ia. in s SAN (or Diff. SCSI or FC-AL) you will umount the Filesystem on hostA, move diskgroup in SDS to another host, move the disks in the SAN to hostB, import Diskgroup, mount Filesystem (this is how a ClusterSW will do it)

Best Regards, Franz
--
Solaris System Manager from Munich, Germany
I used to work for Sun Microsystems Support (EMEA) for 5 years
 
Hi daFranze,

Actually we are not moving the data from one host to another. We just move the data from one storage to another.

what is the equivalent IBM command for varyoffvg, exportvg, varyonvg and importvg in SDS?

Thanks
 
??? I'm not familiar to AIX !!!

If you are just moving data, let's say you have an internal disk and another new disk in a D1000, you just create a new submirror (must be 2100735 blocks or larger - but SDS will not use more blocks than necessary) using metainit and add this to your d4 using metattach; when disks are resynced you can metadetach the "old" internal disk

Best Regards, Franz
--
Solaris System Manager from Munich, Germany
I used to work for Sun Microsystems Support (EMEA) for 5 years
 
daFranze,
this is something like host mirroring/migration right?
I was thinking to mounting the file system to the 2nd storage.
scenario :
Storage 1 and Storage 2 has the capability of mirroring (remote mirror) hardware level.
1. Server 1 is connected to Storage 1
2. start mirroring from storage 1 to storage 2
3. storage 1 and storage 2 in sync
4. unmount filesystems in storage 1 then mount the filesystem in storage 2

If the system doesn't have SDS I know what to do.
ex
Disk c10t1d0s2 is a disk in storage 1
Disk C20t1d0s2 is a disk in Storage 2

sync c10t1d0 to c20t1d0
I will just unmount the old disk then mount the new disk.
umount /apps
mount /dev/dsk/c20t1d0s0 /apps -> new disk

Thanks
 
well d14 and d24 are just Slices on single disks (no striping, no concatenation), so doing is more or less the same as single disk; you just destroy the old metadevice eg.
metaclear d14
-> edit /etc/lvm/md.tab (if you are using md.tab)
metainit d14
or setup d14 in CLI
metainit d14 1 1 newdevice

Best Regards, Franz
--
Solaris System Manager from Munich, Germany
I used to work for Sun Microsystems Support (EMEA) for 5 years
 
Hi,

I'm not really familiar with SDS. I've read the user guide of SDS and I could not find commands that i'm looking for.

here is a "wild" scenario... for example the server is running fine. the file system /u01 is residing on an External Storage through SAN using SDS. at one point the root filesystem got corrupted and there is now way you can recover. assuming in this situation only the internal disks got corrupted, the external storage is the fine. After reisntalling the OS, patches apps etc. how will you mount /u01?

Thanks
 
Hi,

in the scenario above...
If I edit /etc/lvm/md.tab then do the metainit -a
can I do a mount on all of my filesystem? will metainit erase/format my data in the disk?

Thanks
 
the metacommands do not erase data on stripes and concatenations BUT IT WILL destroy data on RAID5s by default (it will zero out the whole volume and will calculate a parity), if you want to prevent RAID5s you have to use -k option.

Yes, you can mount the filesystems if a fsck says they are ok (I suggest to use loggin mountoption for better crash results)

btw: if you setup a root mirror you can protect your system from above scenario (except 2 failed disks, failed powersupplies, etc.)

Best Regards, Franz
--
Solaris System Manager from Munich, Germany
I used to work for Sun Microsystems Support (EMEA) for 5 years
 
Hi daFranze,

Assuming the server needs to be installed from scratch, but the data is in an external drives. Can I do the following to mount the disk from external drives

1. copy the output of metastat -p to md.tab
2. remove 1 submirrors for all mirrored configuration ex:

OLD:

d1 -m d0 d4 1
d0 1 1 c0t9d0s0
d4 1 1 c0t10d0s0
d3 -m d2 d5 1
d2 1 1 c0t9d0s3
d5 1 1 c0t10d0s3
d6 -r c0t11d0s3 c0t12d0s3 c0t13d0s3 c0t14d0s3 -k -i 32b
d20 -r c26t1d0s3 c26t2d0s3 c26t3d0s3 c26t4d0s3 c26t5d0s3 c26t6d0s3 -k -i 32b

NEW:

d1 -m d0 1
d0 1 1 c0t9d0s0

d3 -m d2 1
d2 1 1 c0t9d0s3

d6 -r c0t11d0s3 c0t12d0s3 c0t13d0s3 c0t14d0s3 -k -i 32b
d20 -r c26t1d0s3 c26t2d0s3 c26t3d0s3 c26t4d0s3 c26t5d0s3 c26t6d0s3 -k -i 32b

3. metainit -n -a -k
4. metainit -a -k
5. metattach submirrors
6. mount filesystems

Thanks
 
yes, this is ok! Remember, controllers may change! And, always habe a good backup! ;-)

Best Regards, Franz
--
Solaris System Manager from Munich, Germany
I used to work for Sun Microsystems Support (EMEA) for 5 years
 
Oh yes!!!
controllers will do change!!!
Thanks
 
What happens if I metainit a running filesystem?
for example :

df -k output for root filesystem:

/dev/md/dsk/d1 493063 271646 172111 62% /

then I do a metainit on d1 from entries in md.tab
what will happen
 
afaik you will get a message like "unit already set up" or "unit already in use"

Best Regards, Franz
--
Solaris System Manager from Munich, Germany
I used to work for Sun Microsystems Support (EMEA) for 5 years
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top