cmdref.net - Cheat Sheet and Example

cmdref.net is command references/cheat sheets/examples for system engineers.

User Tools

Site Tools


Sidebar








Etc


Reference














.

hardware:xp:ca.html



HPE XP Storage CLI Commands

RAID Manager : CA (Continuous Access)

Note

  • Before you start BC Recovery in the Main Site, you must pairsplit the CA.
  • Before you create the CA, you must not create the BC in the recovery site.
    Step 1. Create BC : Main Site
    Step 2. Create CA : From Main Site To Backup Site
    Step 3. Create BC : Backup Site


Configuration

server1(192.168.1.1) /etc/hormc10.conf

HORCM_MON

#ip_address     service         poll(10ms)      timeout(10ms)
192.168.1.1     horcm10          1000            3000

#===================================================================
HORCM_CMD
#dev_name                dev_name                dev_name
#UnitID 0
\\.\CMD-xxxxxx-xxx:/dev/sd*

#===================================================================
HORCM_LDEV
#dev_group      dev_name        Serial#         CU:LDEV(LDEV#)  MU#
CA_TEST1        ca_test-1       11111           00:11           0     #P-VOL


#===================================================================
HORCM_INST
#dev_group      ip_address      service
CA_TEST1        192.168.2.2    horcm11

dr-server1 (192.168.2.2) /etc/hormc11.conf

HORCM_MON
#ip_address     service         poll(10ms)      timeout(10ms)
192.168.2.2     horcm11          1000            3000

#===================================================================
HORCM_CMD
#dev_name                dev_name                dev_name
#UnitID 0
\\.\CMD-xxxxxx-xxx:/dev/sd*

#===================================================================
HORCM_LDEV
#dev_group      dev_name        Serial#         CU:LDEV(LDEV#)  MU#


CA_TEST1       ca_test1-1       222222          10:11             0     #RS-VOL


#===================================================================
HORCM_INST
#dev_group      ip_address      service

CA_TEST1        192.168.1.1     horcm10




Commands

CA Status

#parcreate
CA_TEST  ca_test-a-1(L) (CL5-A-4, 0,   0)558xx    74.P-VOL PAIR ASYNC ,    0  1074 -
CA_TEST  ca_test-a-1(R) (CL5-B-1, 0,  55)3504xx  1074.S-VOL PAIR ASYNC ,    0    74 -


#parsplit
CA_TEST  ca_test-a-1(L) (CL5-A-4, 0,   0)558xx    74.P-VOL PSUS ASYNC ,   99  1074 -
CA_TEST  ca_test-a-1(R) (CL5-B-1, 0,  55)3504xx  1074.S-VOL SSUS ASYNC ,  100    74 -


#parsplit -S
CA_TEST  ca_test-a-1(L) (CL5-A-4, 0,   0)558xx    74.SMPL  ---- ------,----- ----- -
CA_TEST  ca_test-a-1(R) (CL5-B-1, 0,  55)3504xx  1074.SMPL  ---- ------,----- ----- -


ENV

# export HORCMINST=10
# unset HORCC_MRCF
# env |grep HORC

Check (pairdisplay)

Check the rate of utilization of the journal

# pairdisplay -g CA_GROUP1 -fcx
# pairdisplay -g CA_GROUP1 -d CA_PAIRVOL1 -fcx

–g group
–d pair_vol
–fx      displays the LDEV number in hexadecimal.
–fc      displays the copy operation rate and a completion percentage. Detects and displays the status (PFUL, PFUS) 

Check the rate of utilization of the journal

# pairdisplay -g CA_GROUP1 -v jnl


pairresync

# pairresync -g CA_GROUP1
# pairresync -g CA_GROUP1 -d CA_PAIRVOL1


paircreate

# paircreate -vl -jp M_JID -js R_JID -f async CTID -g CA_GROUP1 -d CA_PAIRVOL1 -c 10
# paircreate -vl -jp 01 -js 01 -f async 61 -g CA_GROUP1 -d CA_PAIRVOL1 -c 10

-jp M_JID : Master Journal ID
-js R_JID : Restore Journal ID
-f async CTID : CT Group ID
–g group
–d pair_vol

–c size  Specifies the number of tracks that are concurrently
         copied. The number can range from 1 to 15. The default
         value of 3 is used if this argument is not specified.

         The size 1 is slow.
         The size 3 is middle, default.
         The size 15 is very high.

How to check M_JID, R_JID, CTID

# export HORCMINST=10
# unset HORCC_MRCF
# pairdisplay -g CA_TEST -v jnl
JID MU CTG  JNLS  AP  U(%)   Q-Marker   Q-CNT  D-SZ(BLK)   Seq# Num LDEV#
000  0  62  PJNN   2    1    00021xxx      33 1626734592  xxx480   1 xx344
002  0  62  SJNN   2    0    0002xxxx      15 1626734592  xxx491   1 xx344

M_JID = 0
R_JID = 2
CTID = 62


pairsplit

# pairsplit -g CA_GROUP1 -d CA_PAIRVOL1    <-  R-VOL is Read Only.
# pairsplit -g CA_GROUP1 -d CA_PAIRVOL1 -rw    <- R-VOL is Read/Write.

–g group
–d pair_vol
-rw       (CA only) The –rw option enables reading and writing from and to the secondary volume.


pairsplit -S

# pairsplit -g CA_GROUP1 -d CA_PAIRVOL1 -S
# pairsplit -g CA_GROUP1  -S

–g group
–d pair_vol 
–S         ( Optional ) Used to bring the primary and secondary volumes into SMPL mode in which pairing is not maintained. Data consistency is only maintained if




References




hardware/xp/ca.html.txt · Last modified: 2016/10/01 by admin

Page Tools