This document attempts to explain the steps required to export the EMC DeviceGroup content from the Production server to the Media server.
In this instance, the EMC DeviceGroup "EMC-CDS-Prod-dg" consists of "10" EMC STD devices, along with "10" EMC BCV related devices.
Figure 1.0
EMC DeviceGroup "EMC-CDS-Prod-dg"
Veritas Volume Manager (VxVM) view of Production (STD) devices on the Solaris server:
VxVM diskgroup: EMC-CDS-Prod-dg consists of "10" disks
# vxdisk -qeg EMC-CDS-Prod-dg list | wc -l
10
# vxdisk -qeg EMC-CDS-Prod-dg list
emc0_027a auto:cdsdisk std_027a EMC-CDS-Prod-dg online c1t5006048C5368E5A0d318s2 std
emc0_027b auto:cdsdisk std_027b EMC-CDS-Prod-dg online c1t5006048C5368E5A0d319s2 std
emc0_027c auto:cdsdisk std_027c EMC-CDS-Prod-dg online c1t5006048C5368E580d329s2 std
emc0_027d auto:cdsdisk std_027d EMC-CDS-Prod-dg online c1t5006048C5368E5A0d321s2 std
emc0_027e auto:cdsdisk std_027e EMC-CDS-Prod-dg online c1t5006048C5368E5A0d322s2 std
emc0_027f auto:cdsdisk std_027f EMC-CDS-Prod-dg online c1t5006048C5368E5A0d323s2 std
emc0_0279 auto:cdsdisk std_0279 EMC-CDS-Prod-dg online c1t5006048C5368E580d326s2 std
emc0_0280 auto:cdsdisk std_0280 EMC-CDS-Prod-dg online c1t5006048C5368E580d333s2 std
emc0_0281 auto:cdsdisk std_0281 EMC-CDS-Prod-dg online c1t5006048C5368E580d334s2 std
emc0_0282 auto:cdsdisk std_0282 EMC-CDS-Prod-dg online c1t5006048C5368E580d335s2 std
Veritas Volume Manager (VxVM) view of BCV devices on Linux Media server:
There are "10" EMC BCV devices presented to the Linux server.
# vxdisk -eo alldgs list | grep bcv | wc -l
10
# vxdisk -eo alldgs list | grep bcv
emc0_028a auto:none - - online invalid sdbq bcv
emc0_028b auto - - error sdbr bcv
emc0_028c auto - - error sdbi bcv
emc0_0283 auto - - error sdbj bcv
emc0_0284 auto - - error sdba bcv
emc0_0285 auto - - error sdbb bcv
emc0_0286 auto - - error sdbm bcv
emc0_0287 auto - - error sdbn bcv
emc0_0288 auto - - error sdbe bcv
emc0_0289 auto - - error sdbf bcv
Note: As of 5.0 MP3 VxVM is "hardware technology" aware. In this instance, it can detect the presence of EMC BCV devices.
At this time, the Media Server which is a LINUX based server cannot see the BCV configuration from the Production server.
Media Server:
# ./symdg list
No Symmetrix device groups were found
Production Server:
On the Production server create a file containing the EMC DeviceGroup content for "EMC-CDS-Prod-dg"
First list the EMC DeviceGroup details for "EMC-CDS-Prod-dg".
# symdg show EMC-CDS-Prod-dg
Group Name: EMC-CDS-Prod-dg
Group Type : REGULAR
Device Group in GNS : No
Valid : Yes
Symmetrix ID : 000290300822
Group Creation Time : Sat Jan 8 12:39:44 2011
Vendor ID : EMC Corp
Application ID : SYMCLI
Number of STD Devices in Group : 10
Number of Associated GK's : 0
Number of Locally-associated BCV's : 10
Number of Locally-associated VDEV's : 0
Number of Locally-associated TGT's : 0
Number of Remotely-associated VDEV's(STD RDF): 0
Number of Remotely-associated BCV's (STD RDF): 0
Number of Remotely-associated TGT's(TGT RDF) : 0
Number of Remotely-associated BCV's (BCV RDF): 0
Number of Remotely-assoc'd RBCV's (RBCV RDF) : 0
Number of Remotely-assoc'd BCV's (Hop-2 BCV) : 0
Number of Remotely-assoc'd VDEV's(Hop-2 VDEV): 0
Number of Remotely-assoc'd TGT's (Hop-2 TGT) : 0
Standard (STD) Devices (10):
{
--------------------------------------------------------------------
Sym Cap
LdevName PdevName Dev Att. Sts (MB)
--------------------------------------------------------------------
DEV27A rdmp/emc0_027as2 027A RW 2005
DEV27B rdmp/emc0_027bs2 027B RW 2005
DEV27C rdmp/emc0_027cs2 027C RW 2005
DEV27D rdmp/emc0_027ds2 027D RW 2005
DEV27E rdmp/emc0_027es2 027E RW 2005
DEV27F rdmp/emc0_027fs2 027F RW 2005
DEV279 rdmp/emc0_0279s2 0279 RW 2005
DEV280 rdmp/emc0_0280s2 0280 RW 2005
DEV281 rdmp/emc0_0281s2 0281 RW 2005
DEV282 rdmp/emc0_0282s2 0282 RW 2005
}
BCV Devices Locally-associated (10):
{
--------------------------------------------------------------------
Sym Cap
LdevName PdevName Dev Att. Sts (MB)
--------------------------------------------------------------------
BCV028A N/A 028A RW 2053
BCV028B N/A 028B RW 2053
BCV028C N/A 028C RW 2053
BCV0283 N/A 0283 RW 2053
BCV0284 N/A 0284 RW 2053
BCV0285 N/A 0285 RW 2053
BCV0286 N/A 0286 RW 2053
BCV0287 N/A 0287 RW 2053
BCV0288 N/A 0288 RW 2053
BCV0289 N/A 0289 RW 2053
}
The following process outlines the steps needed to generate the text file.
How to export the (Production) EMC DeviceGroup Image to a text file
# symdg -f /var/tmp/EMC-CDS-Prod-dg.txt export EMC-CDS-Prod-dg
Validate the text file contents.
# more /var/tmp/EMC-CDS-Prod-dg.txt
0 000290300822
S 27A DEV27A
S 27B DEV27B
S 27C DEV27C
S 27D DEV27D
S 27E DEV27E
S 27F DEV27F
S 279 DEV279
S 280 DEV280
S 281 DEV281
S 282 DEV282
B 28A BCV028A
B 28B BCV028B
B 28C BCV028C
B 283 BCV0283
B 284 BCV0284
B 285 BCV0285
B 286 BCV0286
B 287 BCV0287
B 288 BCV0288
B 289 BCV0289
Linux Media Server
Transfer the text file or manually create a file containing the file content from /var/tmp/EMC-CDS-Prod-dg.txt on the Production server.
# cat EMC-CDS-Prod-dg.txt
0 000290300822
S 27A DEV27A
S 27B DEV27B
S 27C DEV27C
S 27D DEV27D
S 27E DEV27E
S 27F DEV27F
S 279 DEV279
S 280 DEV280
S 281 DEV281
S 282 DEV282
B 28A BCV028A
B 28B BCV028B
B 28C BCV028C
B 283 BCV0283
B 284 BCV0284
B 285 BCV0285
B 286 BCV0286
B 287 BCV0287
B 288 BCV0288
B 289 BCV0289
Import EMC DeviceGroup configuration using text file content from Production server
# ./symdg -f EMC-CDS-Prod-dg.txt import EMC-CDS-Prod-dg
Adding STD device 27A as DEV27A...
Adding STD device 27B as DEV27B...
Adding STD device 27C as DEV27C...
Adding STD device 27D as DEV27D...
Adding STD device 27E as DEV27E...
Adding STD device 27F as DEV27F...
Adding STD device 279 as DEV279...
Adding STD device 280 as DEV280...
Adding STD device 281 as DEV281...
Adding STD device 282 as DEV282...
Associating BCV 28A as BCV028A...
Associating BCV 28B as BCV028B...
Associating BCV 28C as BCV028C...
Associating BCV 283 as BCV0283...
Associating BCV 284 as BCV0284...
Associating BCV 285 as BCV0285...
Associating BCV 286 as BCV0286...
Associating BCV 287 as BCV0287...
Associating BCV 288 as BCV0288...
Associating BCV 289 as BCV0289...
DeviceGroup content visible on Media Server
The Media Server is now capable of listing the EMC DeviceGroup content as per the Production Node.
# symdg list
D E V I C E G R O U P S
Number of
Name Type Valid Symmetrix ID Devs GKs BCVs VDEVs TGTs
EMC-CDS-Prod-dg REGULAR Yes 000290300822 10 0 10 0 0
# symdg show EMC-CDS-Prod-dg
Group Name: EMC-CDS-Prod-dg
Group Type : REGULAR
Device Group in GNS : No
Valid : Yes
Symmetrix ID : 000290300822
Group Creation Time : Sat Jan 8 12:51:13 2011
Vendor ID : EMC Corp
Application ID : SYMCLI
Number of STD Devices in Group : 10
Number of Associated GK's : 0
Number of Locally-associated BCV's : 10
Number of Locally-associated VDEV's : 0
Number of Locally-associated TGT's : 0
Number of Remotely-associated VDEV's(STD RDF): 0
Number of Remotely-associated BCV's (STD RDF): 0
Number of Remotely-associated TGT's(TGT RDF) : 0
Number of Remotely-associated BCV's (BCV RDF): 0
Number of Remotely-assoc'd RBCV's (RBCV RDF) : 0
Number of Remotely-assoc'd BCV's (Hop-2 BCV) : 0
Number of Remotely-assoc'd VDEV's(Hop-2 VDEV): 0
Number of Remotely-assoc'd TGT's (Hop-2 TGT) : 0
Standard (STD) Devices (10):
{
--------------------------------------------------------------------
Sym Cap
LdevName PdevName Dev Att. Sts (MB)
--------------------------------------------------------------------
DEV27A N/A 027A RW 2005
DEV27B N/A 027B RW 2005
DEV27C N/A 027C RW 2005
DEV27D N/A 027D RW 2005
DEV27E N/A 027E RW 2005
DEV27F N/A 027F RW 2005
DEV279 N/A 0279 RW 2005
DEV280 N/A 0280 RW 2005
DEV281 N/A 0281 RW 2005
DEV282 N/A 0282 RW 2005
}
BCV Devices Locally-associated (10):
{
--------------------------------------------------------------------
Sym Cap
LdevName PdevName Dev Att. Sts (MB)
--------------------------------------------------------------------
BCV028A /dev/vx/rdmp/emc0_028a 028A RW 2053
BCV028B /dev/vx/rdmp/emc0_028b 028B RW 2053
BCV028C /dev/vx/rdmp/emc0_028c 028C RW 2053
BCV0283 /dev/vx/rdmp/emc0_0283 0283 RW 2053
BCV0284 /dev/vx/rdmp/emc0_0284 0284 RW 2053
BCV0285 /dev/vx/rdmp/emc0_0285 0285 RW 2053
BCV0286 /dev/vx/rdmp/emc0_0286 0286 RW 2053
BCV0287 /dev/vx/rdmp/emc0_0287 0287 RW 2053
BCV0288 /dev/vx/rdmp/emc0_0288 0288 RW 2053
BCV0289 /dev/vx/rdmp/emc0_0289 0289 RW 2053
}