Datacentre Support Reference Guides EMC: Using split BCVs | |||||||||||||||||||||||||||||||||
So, you've managed to get your Timefinder software working correctly (at least, you think you have), and you've split off the BCVs; now, you want to use the BCVs as a backup or as a testbed. Either way, you have some issues - particularly if you want to use the BCVs on the same host as the standard device. The issue revolves around the volume or disk group header information. Conceptually, this is the same for both Veritas Volume manager and HP's Logical Volume Manager. Both volume managers store information about the volume/disk group on the disks that comprise the group. So, when you split off the BCVs, the information encoded there is the exact same as the information on the standard devices. There won't be a separate volume/disk group, LV/volume to mount because everything thinks its the same thing. So, you have to figure a way around that. Fortunately, there's a way for both HP's Logical volume manager and Veritas' Volume manager. To wit: HP Logical volume manager - vgchgid
Veritas Volume Manager instructions - provided by The Symantec Gurus! (With Thanks)Steps to import the clone disk (including EMC BCVs) using VxVM 5.0 : 1) before we split the BCV device from vm240dg (as in example below), "vxdisk list" shows the clone disk in an error udid_mismatch status DEVICE TYPE DISK GROUP STATUS
2) then issue the following command to split the BCV device /usr/symcli/bin/symmir -g vm240dg split DEV001 3) after we split the BCV device DEV001 from vm240dg, we need to issue "vxdctl enable" or "vxdisk scandisks" to update the configuration in order to see the clone disk is in "online udid_mismatch" state issuing "vxdctl enable" ( or "vxdisk scandisks"), and "vxdisk list" gives the following display DEVICE TYPE DISK GROUP STATUS
4) use the following comand to import the clone disk vxdg -n newdg -o useclonedev=on -o updateid import vm240dg 5) issue "vxdisk list" to see the clone disk is imported DEVICE TYPE DISK GROUP STATUS
Oracle considerationsSimilar in vein to the various volume managers, you can't have two instances of the same database running simultaneously. Therefore, you have to convince the database on the BCVs that it's actually working as a different SID. Once I figure out what the procedures for that is, I'll be posting them here. If the Oracle Guru's fancy sending the instructions I'll be glad to post them! | |||||||||||||||||||||||||||||||||