How to import an EMC BCV diskgroup image using "-o useclonedev=on and -o updateid" with vxdg

book

Article ID: 100037698

calendar_today

Updated On:

Description

Description

The production server "dopey" consists of two devices, SYMDEVs 0120 and 0121. The corresponding BCV SYMDEV references are "emc1_00dc" and "emc1_00dd", which are presented to BCV server "bashful".


The VxVM diskgroup name is "prodg" and is imported on production server "dopey" .

In this instance, the BCV devices within EMC DeviceGroup "bcv_prodg" have been "Synchronized" and "split"

 

bashful# symmir -g bcv_prodg query


Device Group (DG) Name: bcv_prodg
DG's Type             : REGULAR
DG's Symmetrix ID     : 000290301414


     Standard Device                    BCV Device                  State
-------------------------- ------------------------------------- ------------
                    Inv.                                  Inv.
Logical        Sym  Tracks Logical              Sym       Tracks STD <=> BCV
-------------------------- ------------------------------------- ------------

DEV001         0120      0 BCV0dc               00DC *         0 Split
DEV002         0121      0 BCV0dd               00DD *         0 Split

Total              -------                               -------
  Track(s)               0                                     0
  MB(s)                0.0                                   0.0



Legend:


(*): The paired BCV device is associated with this group.
 

bashful# vxdisk scandisks

bashful# vxdisk -e -o alldgs list | grep prodg
emc1_00dc    auto:cdsdisk   -            (prodg)     online               c1t5006048C536979A0d80s2 bcv
emc1_00dd    auto:cdsdisk   -            (prodg)     online               c1t5006048C536979A0d81s2 bcv

 

The BCV devices are now available for VxVM to import.

 

bashful# vxdisk -v list emc1_00dc emc1_00dd | egrep '(Device|hostid|udid)'
Device:    emc1_00dc
hostid:    dopey
udid:      EMC%5FSYMMETRIX%5F000290301414%5F60060480000290301414533030304443
 tag      udid_asl=EMC%5FSYMMETRIX%5F000290301414%5F60060480000290301414533030313230
Device:    emc1_00dd
hostid:    dopey
udid:      EMC%5FSYMMETRIX%5F000290301414%5F60060480000290301414533030304444
 tag      udid_asl=EMC%5FSYMMETRIX%5F000290301414%5F60060480000290301414533030313231

 

Note: The hostid shown above will be reported as "dopey", as the BCV cloned images are a block for block copy of the EMC STD (original) luns from the server "dopey".

The ON-DISK UDID differs from the DDL UDID for each BCV disk.

 

The Storage Foundation Enterprise license is required to update the ON-DISK UDID content, along with making the diskgroup id, and corresponding disk ids's unique for the BCV devices.

 

bashful# vxdg -Cfn bcv_prodg -o useclonedev=on -o updateid import prodg


bashful# vxdg list | grep bcv_prodg
NAME         STATE           ID
bcv_prodg    enabled,cds          1283548187.2211.rdgv240sol16
 


bashful# vxdisk -v list emc1_00dc emc1_00dd | egrep '(Device|hostid|udid)'
Device:    emc1_00dc
hostid:    bashful
udid:      EMC%5FSYMMETRIX%5F000290301414%5F60060480000290301414533030304443
 tag      udid_asl=EMC%5FSYMMETRIX%5F000290301414%5F60060480000290301414533030304443
Device:    emc1_00dd
hostid:    bashful
udid:      EMC%5FSYMMETRIX%5F000290301414%5F60060480000290301414533030304444
 tag      udid_asl=EMC%5FSYMMETRIX%5F000290301414%5F60060480000290301414533030304444

 

Note: The ON-DISK UDID content is aligned with the DDL UDID content for the corresponding BCV devices.

The "-o useclonedev=on" option sets the "clone_disk" attribute as well as updating the ON-DISK UDID disk content

The "-o updateid" changes the diskgroup id, and updates the corresponding disk id's for the BCV devices.

 

bashful# vxdisk -e -o alldgs -g bcv_prodg list
DEVICE       TYPE           DISK        GROUP        STATUS               OS_NATIVE_NAME   ATTR
emc1_00dc    auto:cdsdisk   emc1_0120    bcv_prodg   online clone_disk    c1t5006048C536979A0d80s2 bcv
emc1_00dd    auto:cdsdisk   emc1_0121    bcv_prodg   online clone_disk    c1t5006048C536979A0d81s2 bcv

Issue/Introduction

How to import an EMC BCV diskgroup image using "-o useclonedev=on and -o updateid" with vxdg