HPE EVA Storage
1826628 Members
3306 Online
109695 Solutions
New Discussion

horcm script for 1 P-VOL to 2 S-VOLS's

 
Howard Arnold
Occasional Contributor

horcm script for 1 P-VOL to 2 S-VOLS's

I'm writing a horcm script to create two S-VOL's from one P-VOL. I have been able to create single S-VOL from a P-VOL, but I'm not sure how to reference the two S-VOL's. This is what I have so far:

horcm0.config
HORCM_DEV
#dev_group dev_name port# TargetID LU# mirror#
BCEgroup1-0 BCEtst1-0 CL2-A 0 9 0
BCEgroup1-1 BCEtst1-1 CL2-A 0 9 1

#
#/************************* For HORCM_INST ************************************/

HORCM_INST
BCEgroup1-0 node2 horcm1
BCEgroup1-1 node2 horcm1

horcm1.conf
HORCM_DEV
#dev_group dev_name port# TargetID LU# MU#
BCEgroup1-0 BCEtst1-0 CL2-A 0 30
BCEgroup1-1 BCEtst1-1 CL2-A 0 31

#
#/************************* For HORCM_INST ************************************/

HORCM_INST
BCEgroup1-0 node2 horcm0
BCEgroup1-1 node2 horcm0

I got this example out of the Raidmanger guide, but for this one example they didn't list what I would need to issue with the paircreate.

Do I do a paircreate -g BCEgroup1 -vl and would this do both S-vols?

Thanks,

Howard