The following EMC SYMCLI (/opt/emc/SYMCLI/bin/) commands can be used to add EMC SYMCLONE (hardware clone) devices to an existing EMC DeviceGroup.
In this instance, the EMC DeviceGroup is named AIXSRDF.
# symdg list
D E V I C E G R O U P S
Flags Number of
Name Type VC Symmetrix ID Devs BCVs VDEVs TGTs
AIXSRDF RDF1 YN 000297900694 4 0 0 0
Legend:
Flags:
(V)alid DG : Y = Valid, N = Invalid, - = N/A
In (C)g : Y = Contained by a CG, N = Not contained by a CG, - = N/A
In this example, Veritas Volume Manger (VxVM) sees the following EMC srdf-r1 and EMC SYMCLONE (indicated by udid_mismatch and not srdf-r1) devices.
# vxdisk -eo alldgs list
DEVICE TYPE DISK GROUP STATUS OS_NATIVE_NAME ATTR
emc0_0f8b auto:cdsdisk - (AIXSRDF) online thinrclm udid_mismatch hdisk41 tprclm
emc0_0f8c auto:cdsdisk - (AIXSRDF) online thinrclm udid_mismatch hdisk42 tprclm
emc0_0f8d auto:cdsdisk - (AIXSRDF) online thinrclm udid_mismatch hdisk59 tprclm
emc0_0f8e auto:cdsdisk - (AIXSRDF) online thinrclm udid_mismatch hdisk60 srdf-r1 tprclm
emc0_0f8f auto:cdsdisk - (AIXSRDF) online thinrclm udid_mismatch hdisk61 tprclm
emc0_0f88 auto:cdsdisk - (AIXSRDF) online thinrclm udid_mismatch hdisk54 srdf-r1 tprclm
emc0_0f89 auto:cdsdisk - (AIXSRDF) online thinrclm udid_mismatch hdisk39 srdf-r1 tprclm
emc0_0f90 auto:cdsdisk - (AIXSRDF) online thinrclm udid_mismatch hdisk62 srdf-r1 tprclm
ibm_vscsi0_0 auto:LVM - - LVM hdisk0 -
The above 4 EMC SYMCLONE devices, emc0_0f8b, emc0_0f8c, emc0_0f8d & emc0_0f8f will be added to EMC DeviceGroup AIXSRDF as tgt devices.
The EMC Symmetrix ID (SID) ends with "694" in this instance.
# /opt/emc/SYMCLI/bin/symdg -sid 694 -g AIXSRDF -tgt add dev 0f8b TGT0f8b
# /opt/emc/SYMCLI/bin/symdg -sid 694 -g AIXSRDF -tgt add dev 0f8c TGT0f8c
# /opt/emc/SYMCLI/bin/symdg -sid 694 -g AIXSRDF -tgt add dev 0f8d TGT0f8d
# /opt/emc/SYMCLI/bin/symdg -sid 694 -g AIXSRDF -tgt add dev 0f8f TGT0f8f
The revised symdg list output now shows 4 Devs and 4 TGT devices.
# symdg list
D E V I C E G R O U P S
Flags Number of
Name Type VC Symmetrix ID Devs BCVs VDEVs TGTs
AIXSRDF RDF1 YN 000297900694 4 0 0 4
Legend:
Flags:
(V)alid DG : Y = Valid, N = Invalid, - = N/A
In (C)g : Y = Contained by a CG, N = Not contained by a CG, - = N/A
In this instance, the EMC DeviceGroup is named AIXSRDF.
The EMC DeviceGroup configuration can be exported to a file as follows:
# symdg -f /AIXSRDFv2.txt export AIXSRDF
# cat /AIXSRDFv2.txt
1 000297900694
S 00F88 00F88
S 00F8E 00F8E
S 00F89 00F89
S 00F90 00F90
T 00F8B TGT0f8b
T 00F8C TGT0f8c
T 00F8D TGT0f8d
T 00F8F TGT0f8f