0% found this document useful (0 votes)
627 views3 pages

GAD - 3DC Commands

This document provides instructions for setting up new Global-Active Device (GAD) configurations between sites. It involves creating new logical devices (LDEVs) in the primary and secondary storage arrays, defining host groups and LUN mappings, setting virtual LDEV IDs, creating journal LDEVs, and establishing TrueCopy asynchronous volume replication pairs between the sites using HORCM and pair management commands. It also provides guidance on adding new devices to existing replication groups.

Uploaded by

sritam
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
627 views3 pages

GAD - 3DC Commands

This document provides instructions for setting up new Global-Active Device (GAD) configurations between sites. It involves creating new logical devices (LDEVs) in the primary and secondary storage arrays, defining host groups and LUN mappings, setting virtual LDEV IDs, creating journal LDEVs, and establishing TrueCopy asynchronous volume replication pairs between the sites using HORCM and pair management commands. It also provides guidance on adding new devices to existing replication groups.

Uploaded by

sritam
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3

New GAD Setup:

Create new ldev in both GAD Pvol and Svol array.

Raidcom command to create host group/Create ldev and mapping.

raidcom add ldev -pool 10 -ldev_id 00:06:31 -capacity 1073741824 -> create ldev
with block size.
raidcom modify ldev -ldev_id 00:06:30 -ldev_name PL018SQLC_del -> Set ldev name

raidcom add host_grp -port CL3-C-10 -host_grp_name GLSDVHOVT002 -> create host
group. Host group no in dec.

raidcom modify host_grp -port CL3-C GLSDVHOVT002 -host_mode 00 -set_host_mode_opt 2


22 25

raidcom add hba_wwn -port CL3-C GLSDVHOVT002 -hba_wwn 5001438002A30298


raidcom add hba_wwn -port CL4-C GLSDVHOVT002 -hba_wwn 5001438002A3029A

raidcom set hba_wwn -port CL3-C GLSDVHOVT002 -hba_wwn 5001438002A30298


-wwn_nickname GLSDVHOVT002_A
raidcom set hba_wwn -port CL4-C GLSDVHOVT002 -hba_wwn 5001438002A3029A
-wwn_nickname GLSDVHOVT002_B

After ldevs created, need to set virtual id.

pvol should have virtual ldev id. Svol should be reserved.

if vsm, move to vsm.

raidcom get lun -fx -port CL1-B GLSDVHESX011 -> check your ldev is from meta/vsm
resource.

raidcom get resource - to check resource id.

Pvol side -> vldev


Svol side -> reserve.
Adding LDEVs to a virtual storage machine:

Delete the virtual LDEV ID set by default : Specify an LDEV ID to delete the
virtual LDEV ID
set by default. By default, the virtual LDEV ID is the same as the real LDEV ID.

raidcom unmap resource -ldev_id -virtual_ldev_id


Example:raidcom unmap resource -ldev_id 0x8006 -virtual_ldev_id 0x8006 -> unmap
ldev from meta resource.

Add the LDEV to the resource group:

Add the LDEV of which the virtual LDEV ID was deleted to the resource group in the
virtual storage machine.

raidcom add resource -resource_name -ldev_id


Example:raidcom add resource -resource_name VSM_311111 -ldev_id 0x8006
after mapping to vsm, we need to set virtual ldev id again.

raidcom map resource -ldev_id 0x6021 -virtual_ldev_id 0x6021 -> to set


virtual_ldev_id

raidcom map resource -ldev_id 0x6021 -virtual_ldev_id reserve -> to make the ldev
reserve (ffff)

fffe if ldev have it is new device(unused)

After all the above work done.

need to create pair.

enter ldev details in horcms in both local and remote site.

start horcm and do pairdisplay.

pairdisplay -ITC50 -fcex -g <group>

To add additional devices to an existing group the command differs slightly:

paircreate -ITC50 -g <group> -d <one_new_device_only> -vl -fg never 61 -jq 0 -> for
existing group.

paircreate -ITC151 -g <group> -vl -fg never <CTG> -jq 1 ---> for new device group.

quorum will be seperate for primary and secondary ldev in one array.

For new group, we need to select CTG IDs(Free one check in GUI and use next
available CTG ID) and also need to create journal.

to create journal.
create ldev from DP pool.

Add to journal.

raidcom add ldev -pool 10 -ldev_id FD13 -capacity 419430400 -> create
raidcom add journal -journal_id 18 -ldev_id 0xFD13

3 DC:

create ldev in all 3 datacenter.

HUR and HUR_delta commands

HUR Update

PLDC1: HUR paircreate


pairdisplay -IH50 -fcex -g <group>
paircreate -jp 61 -js 61 -f async 125 -vl -IH50 -g <group>

HUR
HORCM>pairdisplay -IH50 -fcex -g pl023sql_hur
Group PairVol(L/R) (Port#,TID, LU),Seq#,LDEV#.P/S,Status,Fence, %,P-LDEV# M CTG
JID AP EM E-Seq#
pl023sql_hur 000020_hur(L) (CL5-B-1,26, 26)350447 20.P-VOL PAIR ASYNC , 1
5020 - 125 61 2
pl023sql_hur 000020_hur(R) (CL7-J-10,27, 0)356603 5020.S-VOL PAIR ASYNC ,
0 20 - 125 61 2
pl023sql_hur 000024_hur(L) (CL5-B-1,26, 27)350447 24.P-VOL PAIR ASYNC , 1
5024 - 125 61 2
pl023sql_hur 000024_hur(R) (CL7-J-10,27, 1)356603 5024.S-VOL PAIR ASYNC ,
0 24 - 125 61 2
pl023sql_hur 00001B_hur(L) (CL5-B-1,26, 100)350447 1b.P-VOL PAIR ASYNC , 1
502b - 125 61 2
pl023sql_hur 00001B_hur(R) (CL7-J-10,27, 2)356603 502b.S-VOL PAIR ASYNC ,
0 1b - 125 61 2

PLDC2: HUR delta paircreate

pairdisplay -IH51 -fcex -g <group>


paircreate -jp 61 -js 61 -f async 205 -nocsus -vl -IH51 -g <group>

HUR Delta
C:\HORCM\etc>pairdisplay -IH51 -fcex -g pl023sql_delta
Group PairVol(L/R) (Port#,TID, LU),Seq#,LDEV#.P/S,Status,Fence, %,P-LDEV# M CTG
JID AP EM E-Seq#
pl023sql_delta 000020_delta(L) (CL5-B-1,26, 26)350387 20.P-VOL PSUS ASYNC ,
1 5020 - 205 61 2 -
pl023sql_delta 000020_delta(R) (CL7-J-10,27, 0)356603 5020.S-VOL SSUS ASYNC ,
0 20 - 205 61 2 -
pl023sql_delta 000024_delta(L) (CL5-B-1,26, 27)350387 24.P-VOL PSUS ASYNC ,
1 5024 - 205 61 2 -
pl023sql_delta 000024_delta(R) (CL7-J-10,27, 1)356603 5024.S-VOL SSUS ASYNC ,
0 24 - 205 61 2 -
pl023sql_delta 00001B_delta(L) (CL5-B-1,26, 100)350387 1b.P-VOL PSUS ASYNC ,
1 502b - 205 61 2 -
pl023sql_delta 00001B_delta(R) (CL7-J-10,27, 2)356603 502b.S-VOL SSUS ASYNC ,
0 1b - 205 61 2 -

You might also like