----------------------------------------------------------------------- ----------------------------------------------------------------------- HP XP1024 EVA storage ----------------------------------------------------------------------- /etc/horcm0.conf # # don't use tabs # HORCM_MON 3.20.67.133 horcm0 1000 3000 HORCM_CMD /dev/rdsk/c2t14d255s2 /dev/rdsk/c3t44d255s2 HORCM_DEV bc1 bc1_0 CL1-E 5 0 bc1 bc1_1 CL1-E 5 1 bc1 bc1_2 CL1-E 5 2 bc1 bc1_3 CL1-E 5 3 bc2 bc2_0 CL1-J 9 0 1 bc2 bc2_1 CL1-J 9 1 1 bc2 bc2_2 CL1-J 9 2 1 bc2 bc2_3 CL1-J 9 3 1 HORCM_INST bc1 3.20.67.133 horcm1 bc2 3.20.67.133 horcm1 ------------------------------- /etc/horcm1.conf # # don't use tabs # HORCM_MON # instance number change 3.20.67.133 horcm1 1000 3000 HORCM_CMD /dev/rdsk/c2t14d255s2 /dev/rdsk/c3t44d255s2 # group and devices always stay the same, Luns majors and CLs change HORCM_DEV bc1 bc1_0 CL1-J 9 0 bc1 bc1_1 CL1-J 9 1 bc1 bc1_2 CL1-J 9 2 bc1 bc1_3 CL1-J 9 3 bc2 bc2_0 CL1-J 9 4 bc2 bc2_1 CL1-J 9 5 bc2 bc2_2 CL1-J 9 6 bc2 bc2_3 CL1-J 9 7 HORCM_INST # instance number change bc1 3.20.67.133 horcm0 bc2 3.20.67.133 horcm0 ----------------------------------------------------------------------- /etc/services horcm0 11000/udp horcm1 11001/udp ... ----------------------------------------------------------------------- create horcm0 file export HORCMINST=0 export HORCC_MRCF=1 #BC it is set to 1, CA it is unset (or set to 0) horcmstart.sh ps -ef | grep horcm horcmd_00 raidscan -p CL1-E -CLI -fx /opt/xppa/xpinfo -i /opt/xppa/xpinfo -i | grep t14 | awk '{print $1}' | raidscan -find -fx | grep -v CVS raidscan -p CL1-J -CLI -fx create horcm1 file horcmshutdown.sh horcmstart.sh 0 1 paircreate -c -g bc1 paircreate -c -g bc1 -fx paircreate -g bc1 -vl pairdisplay -g bc1 -fxc parievtwait -g bc1 -s pair -t 1 paircreate -c -g bc2 paircreate -g bc2 -fx cd /HORCM/usr/bin cat somefile-with-devices | ./makeconf.sh -g group xxx raidqry -l inqraid lunstat xpfino -d -f /dev/dsk/CTD -----------------------------------------------------------------------