Requirements:
1) Assign new XP LUN to first node and second node.
sample:
Device File ALPA Tgt Lun Port CU:LDev Type Serial#
================================================================================
/dev/rdsk/c8t60060E801532BC00000132BC0000528Cd0s2 --- --- 32 CL2C 52:8c OPEN-V -SUN 00078524
/dev/rdsk/c8t60060E801532BC00000132BC0000528Dd0s2 --- --- 33 CL2C 52:8d OPEN-V -SUN 00078524
/dev/rdsk/c8t60060E801532BC00000132BC000053C9d0s2 --- --- 21 CL2C 53:c9 OPEN-V -SUN 00078524
/dev/rdsk/c8t60060E801532BC00000132BC000053CAd0s2 --- --- 22 CL2C 53:ca OPEN-V -SUN 00078524
/dev/rdsk/c8t60060E801532BC00000132BC000053CBd0s2 --- --- 23 CL2C 53:cb OPEN-V -SUN 00078524
/dev/rdsk/c8t60060E801532BC00000132BC000053CCd0s2 --- --- 24 CL2C 53:cc OPEN-V -SUN 00078524
/dev/rdsk/c8t60060E801532BC00000132BC000053CDd0s2 --- --- 25 CL2C 53:cd OPEN-V -SUN 00078524
/dev/rdsk/c8t60060E801532BC00000132BC0000548Ed0s2 --- --- 34 CL2C 54:8e OPEN-V -SUN 00078524
/dev/rdsk/c8t60060E801532BC00000132BC0000548Fd0s2 --- --- 35 CL2C 54:8f OPEN-V -SUN 00078524
/dev/rdsk/c8t60060E801532BC00000132BC000054D6d0s2 --- --- 26 CL1C 54:d6 OPEN-V -SUN 00078524
/dev/rdsk/c8t60060E801532BC00000132BC000054D7d0s2 --- --- 27 CL1C 54:d7 OPEN-V -SUN 00078524
/dev/rdsk/c8t60060E801532BC00000132BC00006DA1d0s2 --- --- 28 CL2C 6d:a1 OPEN-V -SUN 00078524
/dev/rdsk/c8t60060E801532BC00000132BC00008F0Fd0s2 --- --- 12 CL2C 8f:0f OPEN-V -SUN 00078524
2) Assign new command LUN to first and second node.
Sample:
Device File ALPA Tgt Lun Port CU:LDev Type Serial#
================================================================================
3) Confirm new XP LUN and command LUN are exist on the first and second node.
4) Create file name /tmp/horcm10.conf (on first node) and /tmp/horcm110.conf (on second node)
Sample:
----start horcm10.conf----
HORCM_MON
#ip_address service poll(10ms) timeout(10ms)
NONE 11010 1000 3000
#/************************** For HORCM_CMD ************************************/
HORCM_CMD
#dev_name dev_name dev_name
/dev/rdsk/c8t60060E8005707D000000707D00008068d0s2
#/************************** For HORCM_LDEV ***********************************/
HORCM_LDEV
#dev_group dev_name Serial# CU:LDEV(LDEV#) MU#
AHC509_DG 52:8c_52:8c 28797 52:8c
AHC509_DG 52:8d_52:8d 28797 52:8d
AHC509_DG 54:8e_54:8e 28797 54:8e
AHC509_DG 54:8f_54:8f 28797 54:8f
#/************************* For HORCM_INST ************************************/
HORCM_INST
#dev_group ip_address service
AHC509_DG node2 11110
----end----
----start horcm110.conf----
HORCM_MON
#ip_address service poll(10ms) timeout(10ms)
NONE 11110 1000 3000
#/************************** For HORCM_CMD ************************************/
HORCM_CMD
#dev_name dev_name dev_name
/dev/rdsk/c8t60060E801532BC00000132BC00008014d0s2
#/************************** For HORCM_LDEV ***********************************/
HORCM_LDEV
#dev_group dev_name Serial# CU:LDEV(LDEV#) MU#
AHC509_DG 52:8c_52:8c 78524 52:8c
AHC509_DG 52:8d_52:8d 78524 52:8d
AHC509_DG 54:8e_54:8e 78524 54:8e
AHC509_DG 54:8f_54:8f 78524 54:8f
#/************************* For HORCM_INST ************************************/
HORCM_INST
#dev_group ip_address service
AHC509_DG node1 11010----end----
Download RaidManager for Solaris and extract the software as below:
# cd /
# cat /net/sw/software/HP/RaidManager/SOLARIS/RMXP|sudo cpio -idum
37433 blocks
# ls /opt
SUNWcstu SUNWjass VRTSob VRTSvxvm emc sfw
HORCM SUNWexplo VRTSvxfs SUNWits VRTS VRTSvxms
Create link folder /HORCM
# ln -s /opt/HORCM /HORCM
# ls -l / | grep HORCM
lrwxrwxrwx 1 root root 10 Oct 1 06:02 HORCM -> /opt/HORCM
Install HORCM software and check binary files for HORCM existed
# /HORCM/horcminstall.sh
# find /usr -name pairdisplay
/usr/bin/pairdisplay
Backup /etc/services file and add entry for HORCM services
# cd /etc/inet
# ls -l services*
-r--r--r-- 1 root sys 4454 Oct 31 2007 services
-r--r--r-- 1 root sys 4403 Oct 19 2007 services.10-31-07-01:49:09
-r--r--r-- 1 root root 4385 Oct 19 2007 services.18277
# cp -p services services.31Oct2007
# vi /etc/services
...
horcm010 11010/udp # RaidManager instance 0
horcm110 11110/udp # RaidManager instance 1
Copy HORCM configuration file into /opt/HORCM/etc
# cp /tmp/horcm10.conf /opt/HORCM/etc
Create link file /etc/horcm10.conf
# ln -s /HORCM/etc/horcm10.conf /etc/horcm10.conf
Start HORCM services with instance number 10
# /usr/bin/horcmstart.sh 10
starting HORCM inst 10
HORCM inst 10 starts successfully.
# ps -ef | grep horcm
root 11452 1 0 06:10:46 ? 0:00 horcmd_010
Check HORCM software is able to communicate with HP XP 24K storage
# pairdisplay -I10 -g AHC509_DG
Group PairVol(L/R) (Port#,TID, LU),Seq#,LDEV#.P/S,Status,Fence,Seq#,P-LDEV# M
AHC509_DG 52:8c_52:8c(L) (CL3-A-18, 1, 50)28797 21132.S-VOL PAIR NEVER ,----- 21132 -
AHC509_DG 52:8c_52:8c(R) (CL1-C-40,32, 50)78524 21132.P-VOL PAIR NEVER ,28797 21132 -
AHC509_DG 52:8d_52:8d(L) (CL3-A-18, 1, 51)28797 21133.S-VOL PAIR NEVER ,----- 21133 -
AHC509_DG 52:8d_52:8d(R) (CL1-C-40,32, 51)78524 21133.P-VOL PAIR NEVER ,28797 21133 -
AHC509_DG 54:8e_54:8e(L) (CL3-A-18, 1, 52)28797 21646.S-VOL PAIR NEVER ,----- 21646 -
AHC509_DG 54:8e_54:8e(R) (CL1-C-40,32, 52)78524 21646.P-VOL PAIR NEVER ,28797 21646 -
AHC509_DG 54:8f_54:8f(L) (CL3-A-18, 1, 53)28797 21647.S-VOL PAIR NEVER ,----- 21647 -
AHC509_DG 54:8f_54:8f(R) (CL1-C-40,32, 53)78524 21647.P-VOL PAIR NEVER ,28797 21647 -
===> Shutdown HORCM services for instance number 10
# ./horcmshutdown.sh 10
inst 10:
HORCM Shutdown inst 10 !!!
===> Install and Configure HORCM on the second node with the same steps
===> Start HORCM services with instance number 110
# ./horcmstart.sh 110
starting HORCM inst 110
HORCM inst 110 starts successfully.
Check if HORCM is able to communicate with HP XP 24K storage
# pairdisplay -I110 -g AHC509_DG
Group PairVol(L/R) (Port#,TID, LU),Seq#,LDEV#.P/S,Status,Fence,Seq#,P-LDEV# M
AHC509_DG 52:8c_52:8c(L) (CL1-C-40,32, 50)78524 21132.P-VOL PAIR NEVER ,28797 21132 -
AHC509_DG 52:8c_52:8c(R) (CL3-A-18, 1, 50)28797 21132.S-VOL PAIR NEVER ,----- 21132 -
AHC509_DG 52:8d_52:8d(L) (CL1-C-40,32, 51)78524 21133.P-VOL PAIR NEVER ,28797 21133 -
AHC509_DG 52:8d_52:8d(R) (CL3-A-18, 1, 51)28797 21133.S-VOL PAIR NEVER ,----- 21133 -
AHC509_DG 54:8e_54:8e(L) (CL1-C-40,32, 52)78524 21646.P-VOL PAIR NEVER ,28797 21646 -
AHC509_DG 54:8e_54:8e(R) (CL3-A-18, 1, 52)28797 21646.S-VOL PAIR NEVER ,----- 21646 -
AHC509_DG 54:8f_54:8f(L) (CL1-C-40,32, 53)78524 21647.P-VOL PAIR NEVER ,28797 21647 -
AHC509_DG 54:8f_54:8f(R) (CL3-A-18, 1, 53)28797 21647.S-VOL PAIR NEVER ,----- 21647 -
If you can see the above output on the second node, it is CONFIRM the software is working fine.
Else, please check log file /opt/HORCM/log110/horcc_node2.log or
/opt/HORCM/log10/horcc_node1.log.
===> Shutdown HORCM services for instance number 110
# ./horcmshutdown.sh 110
inst 110:
HORCM Shutdown inst 110 !!!
1) Assign new XP LUN to first node and second node.
sample:
Device File ALPA Tgt Lun Port CU:LDev Type Serial#
================================================================================
/dev/rdsk/c8t60060E801532BC00000132BC0000528Cd0s2 --- --- 32 CL2C 52:8c OPEN-V -SUN 00078524
/dev/rdsk/c8t60060E801532BC00000132BC0000528Dd0s2 --- --- 33 CL2C 52:8d OPEN-V -SUN 00078524
/dev/rdsk/c8t60060E801532BC00000132BC000053C9d0s2 --- --- 21 CL2C 53:c9 OPEN-V -SUN 00078524
/dev/rdsk/c8t60060E801532BC00000132BC000053CAd0s2 --- --- 22 CL2C 53:ca OPEN-V -SUN 00078524
/dev/rdsk/c8t60060E801532BC00000132BC000053CBd0s2 --- --- 23 CL2C 53:cb OPEN-V -SUN 00078524
/dev/rdsk/c8t60060E801532BC00000132BC000053CCd0s2 --- --- 24 CL2C 53:cc OPEN-V -SUN 00078524
/dev/rdsk/c8t60060E801532BC00000132BC000053CDd0s2 --- --- 25 CL2C 53:cd OPEN-V -SUN 00078524
/dev/rdsk/c8t60060E801532BC00000132BC0000548Ed0s2 --- --- 34 CL2C 54:8e OPEN-V -SUN 00078524
/dev/rdsk/c8t60060E801532BC00000132BC0000548Fd0s2 --- --- 35 CL2C 54:8f OPEN-V -SUN 00078524
/dev/rdsk/c8t60060E801532BC00000132BC000054D6d0s2 --- --- 26 CL1C 54:d6 OPEN-V -SUN 00078524
/dev/rdsk/c8t60060E801532BC00000132BC000054D7d0s2 --- --- 27 CL1C 54:d7 OPEN-V -SUN 00078524
/dev/rdsk/c8t60060E801532BC00000132BC00006DA1d0s2 --- --- 28 CL2C 6d:a1 OPEN-V -SUN 00078524
/dev/rdsk/c8t60060E801532BC00000132BC00008F0Fd0s2 --- --- 12 CL2C 8f:0f OPEN-V -SUN 00078524
2) Assign new command LUN to first and second node.
Sample:
Device File ALPA Tgt Lun Port CU:LDev Type Serial#
================================================================================
/dev/rdsk/c8t60060E801532BC00000132BC00008014d0s2 --- --- 01 CL1C 80:14 OPEN-V-CM 00078524
3) Confirm new XP LUN and command LUN are exist on the first and second node.
4) Create file name /tmp/horcm10.conf (on first node) and /tmp/horcm110.conf (on second node)
Sample:
----start horcm10.conf----
HORCM_MON
#ip_address service poll(10ms) timeout(10ms)
NONE 11010 1000 3000
#/************************** For HORCM_CMD ************************************/
HORCM_CMD
#dev_name dev_name dev_name
/dev/rdsk/c8t60060E8005707D000000707D00008068d0s2
#/************************** For HORCM_LDEV ***********************************/
HORCM_LDEV
#dev_group dev_name Serial# CU:LDEV(LDEV#) MU#
AHC509_DG 52:8c_52:8c 28797 52:8c
AHC509_DG 52:8d_52:8d 28797 52:8d
AHC509_DG 54:8e_54:8e 28797 54:8e
AHC509_DG 54:8f_54:8f 28797 54:8f
#/************************* For HORCM_INST ************************************/
HORCM_INST
#dev_group ip_address service
AHC509_DG node2 11110
----end----
----start horcm110.conf----
HORCM_MON
#ip_address service poll(10ms) timeout(10ms)
NONE 11110 1000 3000
#/************************** For HORCM_CMD ************************************/
HORCM_CMD
#dev_name dev_name dev_name
/dev/rdsk/c8t60060E801532BC00000132BC00008014d0s2
#/************************** For HORCM_LDEV ***********************************/
HORCM_LDEV
#dev_group dev_name Serial# CU:LDEV(LDEV#) MU#
AHC509_DG 52:8c_52:8c 78524 52:8c
AHC509_DG 52:8d_52:8d 78524 52:8d
AHC509_DG 54:8e_54:8e 78524 54:8e
AHC509_DG 54:8f_54:8f 78524 54:8f
#/************************* For HORCM_INST ************************************/
HORCM_INST
#dev_group ip_address service
AHC509_DG node1 11010----end----
Download RaidManager for Solaris and extract the software as below:
# cd /
# cat /net/sw/software/HP/RaidManager/SOLARIS/RMXP|sudo cpio -idum
37433 blocks
# ls /opt
SUNWcstu SUNWjass VRTSob VRTSvxvm emc sfw
HORCM SUNWexplo VRTSvxfs SUNWits VRTS VRTSvxms
Create link folder /HORCM
# ln -s /opt/HORCM /HORCM
# ls -l / | grep HORCM
lrwxrwxrwx 1 root root 10 Oct 1 06:02 HORCM -> /opt/HORCM
Install HORCM software and check binary files for HORCM existed
# /HORCM/horcminstall.sh
# find /usr -name pairdisplay
/usr/bin/pairdisplay
Backup /etc/services file and add entry for HORCM services
# cd /etc/inet
# ls -l services*
-r--r--r-- 1 root sys 4454 Oct 31 2007 services
-r--r--r-- 1 root sys 4403 Oct 19 2007 services.10-31-07-01:49:09
-r--r--r-- 1 root root 4385 Oct 19 2007 services.18277
# cp -p services services.31Oct2007
# vi /etc/services
...
horcm010 11010/udp # RaidManager instance 0
horcm110 11110/udp # RaidManager instance 1
Copy HORCM configuration file into /opt/HORCM/etc
# cp /tmp/horcm10.conf /opt/HORCM/etc
Create link file /etc/horcm10.conf
# ln -s /HORCM/etc/horcm10.conf /etc/horcm10.conf
Start HORCM services with instance number 10
# /usr/bin/horcmstart.sh 10
starting HORCM inst 10
HORCM inst 10 starts successfully.
# ps -ef | grep horcm
root 11452 1 0 06:10:46 ? 0:00 horcmd_010
Check HORCM software is able to communicate with HP XP 24K storage
# pairdisplay -I10 -g AHC509_DG
Group PairVol(L/R) (Port#,TID, LU),Seq#,LDEV#.P/S,Status,Fence,Seq#,P-LDEV# M
AHC509_DG 52:8c_52:8c(L) (CL3-A-18, 1, 50)28797 21132.S-VOL PAIR NEVER ,----- 21132 -
AHC509_DG 52:8c_52:8c(R) (CL1-C-40,32, 50)78524 21132.P-VOL PAIR NEVER ,28797 21132 -
AHC509_DG 52:8d_52:8d(L) (CL3-A-18, 1, 51)28797 21133.S-VOL PAIR NEVER ,----- 21133 -
AHC509_DG 52:8d_52:8d(R) (CL1-C-40,32, 51)78524 21133.P-VOL PAIR NEVER ,28797 21133 -
AHC509_DG 54:8e_54:8e(L) (CL3-A-18, 1, 52)28797 21646.S-VOL PAIR NEVER ,----- 21646 -
AHC509_DG 54:8e_54:8e(R) (CL1-C-40,32, 52)78524 21646.P-VOL PAIR NEVER ,28797 21646 -
AHC509_DG 54:8f_54:8f(L) (CL3-A-18, 1, 53)28797 21647.S-VOL PAIR NEVER ,----- 21647 -
AHC509_DG 54:8f_54:8f(R) (CL1-C-40,32, 53)78524 21647.P-VOL PAIR NEVER ,28797 21647 -
===> Shutdown HORCM services for instance number 10
# ./horcmshutdown.sh 10
inst 10:
HORCM Shutdown inst 10 !!!
===> Install and Configure HORCM on the second node with the same steps
===> Start HORCM services with instance number 110
# ./horcmstart.sh 110
starting HORCM inst 110
HORCM inst 110 starts successfully.
Check if HORCM is able to communicate with HP XP 24K storage
# pairdisplay -I110 -g AHC509_DG
Group PairVol(L/R) (Port#,TID, LU),Seq#,LDEV#.P/S,Status,Fence,Seq#,P-LDEV# M
AHC509_DG 52:8c_52:8c(L) (CL1-C-40,32, 50)78524 21132.P-VOL PAIR NEVER ,28797 21132 -
AHC509_DG 52:8c_52:8c(R) (CL3-A-18, 1, 50)28797 21132.S-VOL PAIR NEVER ,----- 21132 -
AHC509_DG 52:8d_52:8d(L) (CL1-C-40,32, 51)78524 21133.P-VOL PAIR NEVER ,28797 21133 -
AHC509_DG 52:8d_52:8d(R) (CL3-A-18, 1, 51)28797 21133.S-VOL PAIR NEVER ,----- 21133 -
AHC509_DG 54:8e_54:8e(L) (CL1-C-40,32, 52)78524 21646.P-VOL PAIR NEVER ,28797 21646 -
AHC509_DG 54:8e_54:8e(R) (CL3-A-18, 1, 52)28797 21646.S-VOL PAIR NEVER ,----- 21646 -
AHC509_DG 54:8f_54:8f(L) (CL1-C-40,32, 53)78524 21647.P-VOL PAIR NEVER ,28797 21647 -
AHC509_DG 54:8f_54:8f(R) (CL3-A-18, 1, 53)28797 21647.S-VOL PAIR NEVER ,----- 21647 -
If you can see the above output on the second node, it is CONFIRM the software is working fine.
Else, please check log file /opt/HORCM/log110/horcc_node2.log or
/opt/HORCM/log10/horcc_node1.log.
===> Shutdown HORCM services for instance number 110
# ./horcmshutdown.sh 110
inst 110:
HORCM Shutdown inst 110 !!!