Discussion:
Moving SVM configuration to new host
(too old to reply)
rcswebb
2010-01-24 12:31:12 UTC
Permalink
Hi,

I have a SVM Raid 5 configuration (Solaris 10 11/06), using a Storedge
D2 array (JBOD). I need to relocate the array to a new physical host
(OpenSolaris 06/09). Could anyone shed light on how I move the SVM
configuration to the new host. The documentation that I've found seems
sparse in this regard.

Many thanks,

Richard.
Darren Dunham
2010-01-25 18:43:14 UTC
Permalink
Post by rcswebb
Hi,
I have a SVM Raid 5 configuration (Solaris 10 11/06), using a Storedge
D2 array (JBOD). I need to relocate the array to a new physical host
(OpenSolaris 06/09). Could anyone shed light on how I move the SVM
configuration to the new host. The documentation that I've found seems
sparse in this regard.
There is no functionality in SVM to move the configuration directly.

What you'd have to do is record the current setup (both the database
replica configurations and the metadevice configurations). You can
get most of the second with 'metastat -p'

Then on your new machine create database replicas in some appropriate
spot (either local to the new machine, or in the same spot on the
storage device). Then recreate the original metadevices. For a RAID5
metadevice, you *MUST* use the -k option so that it does not attempt
to zero the components.

If the metadevice is created correctly (disks in the right order,
correct stripe size, etc), then your data will be available. If it's
a filesystem, would be a good idea to run 'fsck -n' on it to verify.
If your data is not present, review the device creation and try again.

Because you can destroy data on disk when you create state database
replicas or if you create a raid5 metadevice and don't use -k, this
method is not without risk. Having a backup is a good idea. Lots of
folks used to use this because it was the only way to copy SVM data to
another machine unless you were using metasets.

--
Darren

Loading...