posie80
15 years agoLevel 4
Seamless Veritas volume migration
Hi all,
I appreciate if any of you can offer me some advice on the following :
I have some Veritas volumes that are currently residing on local disks and I would to migrate these volumes to SAN.
Since these volumes are oracle data volumes and its almost impossible to get a downtime on the database instances using these volumes, I'd like to find a way (if possible) to migrate these volumes seamlessly without any downtime/unmount/etc.
I'm not an expert with Storage foundation, but I did try to do the following :
1) Mirror the local disk containing the diskgroups with the volumes with a SAN disk (new location)
2) Once mirroring completes, remove the local disk and let the SAN disk remain
Using this way, I was able to do the migration seamlessly. Unfortunately I discovered that I would have to migrate all volumes that are contained within the diskgroup that was mirrored, since all the volumes were 'sharing' the local disk. This is quite logical, however I do not want to migrate ALL volumes (I would like volume A and B to migrate to SAN but volume C should stay on local disk).
Is there another way I could achieve this? My goal is to migrate volume A and B (residing on testdg diskgroup) to SAN, but not volume C (also on testdg diskgroup). And this migration must be seamless (no downtime or unmount of current filesystems). The server is Solaris 9 and using Storage Foundation 5.0
Thanks!
Posie
I appreciate if any of you can offer me some advice on the following :
I have some Veritas volumes that are currently residing on local disks and I would to migrate these volumes to SAN.
Since these volumes are oracle data volumes and its almost impossible to get a downtime on the database instances using these volumes, I'd like to find a way (if possible) to migrate these volumes seamlessly without any downtime/unmount/etc.
I'm not an expert with Storage foundation, but I did try to do the following :
1) Mirror the local disk containing the diskgroups with the volumes with a SAN disk (new location)
2) Once mirroring completes, remove the local disk and let the SAN disk remain
Using this way, I was able to do the migration seamlessly. Unfortunately I discovered that I would have to migrate all volumes that are contained within the diskgroup that was mirrored, since all the volumes were 'sharing' the local disk. This is quite logical, however I do not want to migrate ALL volumes (I would like volume A and B to migrate to SAN but volume C should stay on local disk).
Is there another way I could achieve this? My goal is to migrate volume A and B (residing on testdg diskgroup) to SAN, but not volume C (also on testdg diskgroup). And this migration must be seamless (no downtime or unmount of current filesystems). The server is Solaris 9 and using Storage Foundation 5.0
Thanks!
Posie
Hello,
What I said looks feasible .... you already have a mirror on oradata12 volume .... where first plex (oradata9-01) resides with c1t2d0 & second plex (oradata12-01) resides on c1t5d0 ...
So here would be the precise steps:
-- Make sure SAN disk is visible in VxVM, also it should have size atleast equivalent to your volume size
# vxdisk list
-- If SAN disk is not initialized with VxVM , initialize it...
# vxdisksetup -i <SAN_disk> (default format would be cdsdisk)
-- Add the SAN disk to diskgroup
# vxdg -g testdg adddisk testdg03=<SAN_disk>
-- Mirror the oradata12 volume
# vxassist -g testdg mirror oradata12 <SAN_disk>
-- check that sync in completed
# vxtask list
-- Verify from vxprint , you should see a new plex added to oradata12 volume...
# vxprint -qthg testdg oradata12
-- If above looks good, then go ahead & detach old plex
# vxmend -g testdg off oradata9-01
# vxplex -g testdg dis oradata9-01
-- If you see vxprint command now, you should see plex oradata9-01 is disassociated... If looks OK, go & delete the plex
# vxedit -g testdg -rf rm oradata9-1
-- Repeat the previous two steps of another plex oradata12-01
One more thing to notice, I see you have added a log plex, what was this log plex added for ? If it was DCO logs for snapshots, it would be advisable to move that also to SAN disk, also recommended to keep a mirror copy of log plex as well...
Hope this helps..
Gaurav