cmdref.net - Cheat Sheet and Example

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

User Tools

Site Tools


Sidebar








Cloud



Etc


Reference














.

hardware:xp:bc.html



HPE XP Storage CLI Commands

RAID Manager : BC (Business Copy)

Configuration

Example

horcm0.conf

#######################################################################
#horcm0
#BC P-VOL
#######################################################################
HORCM_MON
#ip_address	service		poll(10ms)	timeout(10ms)
127.0.0.1	horcm0		1000		3000

#-----------------------------------------------------------
HORCM_CMD
#dev_name                dev_name                dev_name
#UnitID 0 (Serial# 35xxx)
/dev/sda

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

#p-vol
test-server-bc1  test-server-bc1-d  35xxx		00:00		0	#p-vol data
test-server-bc1  test-server-bc1-a  35xxx		00:08		0	#p-vol archive
test-server-bc1  test-server-bc1-c  35xxx		00:0c		0	#p-vol cont

#p-vol
test-server-bc2  test-server-bc2-d  35xxx		00:00		1	#p-vol data
test-server-bc2  test-server-bc2-a  35xxx		00:08		1	#p-vol archive
test-server-bc2  test-server-bc2-c  35xxx		00:0c		1	#p-vol cont

#-----------------------------------------------------------
HORCM_INST
#dev_group	ip_address	service
test-server-bc1  127.0.0.1  horcm1
test-server-bc2  127.0.0.1  horcm1

horcm1.conf

#######################################################################
#horcm1
#BC S-VOL
#######################################################################
HORCM_MON
#ip_address	service		poll(10ms)	timeout(10ms)
127.0.0.1	horcm1		1000		3000

#-----------------------------------------------------------
HORCM_CMD
#dev_name                dev_name                dev_name
#UnitID 0 (Serial# 35xxx)
/dev/sda

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

#s-vol1
test-server-bc1  test-server-bc1-d  35xxx		01:00		0	#s-vol1 data
test-server-bc1  test-server-bc1-a  35xxx		01:08		0	#s-vol1 archive
test-server-bc1  test-server-bc1-c  35xxx		01:0c		0	#s-vol1 cont

#s-vol2
test-server-bc2  test-server-bc2-d  35xxx		02:00		0	#s-vol2 data
test-server-bc2  test-server-bc2-a  35xxx		02:08		0	#s-vol2 archive
test-server-bc2  test-server-bc2-c  35xxx		02:1c		0	#s-vol2 cont

#-----------------------------------------------------------
HORCM_INST
#dev_group	ip_address	service
test-server-bc1  127.0.0.1  horcm0
test-server-bc2  127.0.0.1  horcm0


Commands

ENV

# export HORCMINST=0
# export HORCC_MRCF=1
# env |grep HORC

pairdisplay

# pairdisplay -g GROUP -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) 

pairsplit

# pairsplit -g GROUP

–g group
–d pair_vol

pairresync

# pairresync -c 3 -g GROUP

–g group
–d pair_vol

paircreate

# paircreate -g GROUP -c 10 -vl -m grp

–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.

parsplit -S

# pairsplit -g GROUP -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

pairresync

# pairresync -c 15 -g GROUP -restore
–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.



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

Page Tools