How to import an EMC BCV diskgroup that has been split

book

Article ID: 100037699

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 following import fails, as the hostid within the private region does not agree with the current hostname, ie "Bashful" in this instance.

Bashful# vxdg import prodg
VxVM vxdg ERROR V-5-1-10978 Disk group prodg: import failed:
Disk is in use by another host

 

Note: To make the BCV diskgroup image unique to the original (source) diskgroup image, import the BCV diskgroup image with a new name.

 

Bashful# vxdg -Cfn bcv_prodg import prodg

Bashful# vxdg list | grep bcv_prodg
bcv_prodg        enabled,cds          1283402646.308.Bashful

 

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%5F60060480000290301414533030313230
Device:    emc1_00dd
hostid:    Bashful
udid:      EMC%5FSYMMETRIX%5F000290301414%5F60060480000290301414533030304444
 tag      udid_asl=EMC%5FSYMMETRIX%5F000290301414%5F60060480000290301414533030313231

 

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

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

 

 

Issue/Introduction

How to import an EMC BCV diskgroup that has been split