Hi,
I trying to understand how HORCM_LDEVG work and CCI manual doesn't has a clear example. These are my configuration definition files:
-----------
HORCM_MON
#ip_address service poll(10ms) timeout(10ms)
pacorald1 horcm8 12000 3000
HORCM_CMD
#dev_name #dev_name
/dev/rdsk/c2d88s2 # VSP CCF
HORCM_LDEV
#dev_group dev_name port# TargetID LU# MU#
SI_BARU_NOGAL baru_nogala 65238 03:20 1
SI_BARU_NOGAL baru_nogalb 65238 03:21 1
SI_BARU_NOGAL baru_nogalc 65238 03:23 1
SI_BARU_ROBLE baru_roblea 65238 03:20 0
SI_BARU_ROBLE baru_robleb 65238 03:21 0
SI_BARU_ROBLE baru_roblec 65238 03:23 0
HORCM_LDEVG
#Copy_Group ldev_group Serial#
SI_BARU_NOGAL SIGRP1 65238
HORCM_INST
#dev_group ip_address service
SI_BARU_NOGAL pacorald1 horcm9
SI_BARU_ROBLE pacorald1 horcm9
SIGRP1 pacorald1 horcm9
-----------
HORCM_MON
#ip_address service poll(10ms) timeout(10ms)
pacorald1 horcm9 12000 3000
HORCM_CMD
#dev_name #dev_name
/dev/rdsk/c2d88s2 # VSP CCF
HORCM_LDEV
#dev_group dev_name port# TargetID LU# MU#
SI_BARU_NOGAL baru_nogala 65238 03:36 0
SI_BARU_NOGAL baru_nogalb 65238 03:37 0
SI_BARU_NOGAL baru_nogalc 65238 03:38 0
SI_BARU_ROBLE baru_roblea 65238 03:5B 0
SI_BARU_ROBLE baru_robleb 65238 03:5C 0
SI_BARU_ROBLE baru_roblec 65238 03:5D 0
HORCM_LDEVG
#Copy_Group ldev_group Serial#
SI_BARU_NOGAL SIGRP1 65238
HORCM_INST
#dev_group ip_address service
SI_BARU_NOGAL pacorald1 horcm8
SI_BARU_ROBLE pacorald1 horcm8
SIGRP1 pacorald1 horcm8
-----------
When I try to start instance 8 I got the following message:
# /HORCM/usr/bin/horcmstart.sh 8
starting HORCM inst 8
HORCM inst 8 has failed to start.
# tail -20 /HORCM/log8/curlog/horcm_pacorald1.log
09:51:17-6f935-25503- [HORCREAD]: maxldev = 65280, unitnum = 256
09:51:17-6fba8-25503- [HORCREAD]: maxhorc = 4, maxmrcf = 64, maxlun = 2048, maxctg = 256, maxjnlg = 256, mixport =1, slprflag = 0
09:51:17-6fe11-25503- [HORCREAD]: Number of used instance(s) = 47, Number of attached instance(s) = 2, Number of same instance(s) = 1
09:51:17-70576-25503- [HORCREAD] execute-test read is done.:/dev/rdsk/c2d88s2
09:51:17-707ec-25503- [setldevgrpdata] get ldevgroup(SIGRP1) from DKC(Ser#:65238).
09:51:17-71da1-25503- setldevgrpdata: ERROR: ldevgrpname(SIGRP1) is not found in DKC(Ser#:65238)
09:51:17-7214f-25503- ERROR:horcm_cfg_create
09:51:17-7260d-25503- [HORCRELOWNLBA] floatable LBA(e031) is released.ID:0:/dev/rdsk/c2d88s2
09:51:22-26366-25502- horcmgr:Failed to connect to HORCM.
Can anybody helpme with this error?
You're on the right track. The overall process would be:
Example: raidcom add device_grp -device_grp_name copy1 dev1 -ldev_id 04:00
raidcom add device_grp -device_grp_name copy1 dev2 -ldev_id 04:01
Example: raidcom add copy_grp -copy_grp_name oracle_primary copy1
HORCM_LDEVG
oracle_primary copy1 65238
paircreate -g oracle_primary...
Hope this helps.
Regards,
Dang Luong