Académique Documents
Professionnel Documents
Culture Documents
This is running on a
linux system . When I tried almost anything with raidcom I usually get an error like:
root@postgresql1-unused:/HORCM/usr/bin# ./raidcom get host_grp -port CL1-A
raidcom: [EX_CMDRJE] An order to the control/command device was rejected
It was rejected due to SKEY=0x05, ASC=0x26, ASCQ=0x02, SSB=Unknown on Serial#(93010171)
That's EX_CMDRJE with Unknown SSB's. Here's the log file:
COMMAND ERROR : EUserId for HORC : root (0) Thu Oct 31 01:14:07 2013
CMDLINE : raidcom -a qry -o hgrp -pport CL1-C
01:14:07-a68e5-00025332- ERROR:cm_sndrcv[rc < 0 from HORCM]
01:14:07-a759c-00025332- [raidcom] L_CMD(GET_LUN_PORT) ERROR :rc = -35
01:14:07-a82b9-00025332- [raidcom][exit(221)]
[EX_CMDRJE] An order to the control/command device was rejected
[Cause ]: An order to the command(control) device failed,or was rejected.
[Action]:Please confirm the following items.If this trouble doesn't resolve,then collect HORCM error
logs(HORCM_LOG=/HORCM/log/curlog) and Remote HORCM logs,and send them to service personnel.
(1) Check if the 'HORC or HOMRCF function' is installed in the RAID.
(2) Check if the RCP and LCP are installed in the RAID.
(3) Check if the path between the RAID CUs is established by using the SVP.
(4) Check if the pair target volume is an appropriate status.
(/HORCM/log/horcc_postgresql1-unused.log)
And the config we're using:
root@postgresql1-unused:/HORCM/usr/bin# cat /etc/horcm.conf
# Created by mkconf.sh on Thu Oct 31 00:30:43 UTC 2013
HORCM_MON
#ip_address
service
127.0.0.1
52323
poll(10ms)
1000
HORCM_CMD
#dev_name
dev_name
#UnitID 0 (Serial# 93010171)
/dev/sdc
/dev/sdd
timeout(10ms)
3000
dev_name
#HORCM_LDEV
#test_group_000x test_group1x 93010171 119 0
#test_group_001x test_group2x 93010171 120 0
#HORCM_LDEVG
#testing grouping 93010171
1000
3000
/dev/sdd
HORCM_DEV
test_group
test_group_000 CL1-A
test_group
test_group_001 CL1-A
HORCM_INST
test_group
127.0.0.1
0
0
119
120
52323
Here's the volumes we have visible on the server, LUN 107 (hex 6b) is the control volume, 119 (hex 77) and 120
(hex 78) are the test volumes:
root@postgresql1-unused:/HORCM/usr/bin# multipath -ll
360060e80101392b0058b38fb00000078 dm-6 HITACHI,DF600F
size=20G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=0 status=active
|- 0:0:0:293 sdg 8:96 active ready running
`- 8:0:0:293 sdh 8:112 active ready running
360060e80101392b0058b38fb00000077 dm-3 HITACHI,DF600F
size=20G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=0 status=active
|- 0:0:0:292 sde 8:64 active ready running
`- 8:0:0:292 sdf 8:80 active ready running
360060e80101392b0058b38fb0000006b dm-2 HITACHI,DF600F
size=200M features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=0 status=active
|- 0:0:0:291 sdc 8:32 active ready running
`- 8:0:0:291 sdd 8:48 active ready running
And raidscan:
root@postgresql1-unused:/HORCM/usr/bin# ls /dev/sd* | raidscan -find
DEVICE_FILE
UID S/F PORT TARG LUN SERIAL LDEV PRODUCT_ID
/dev/sdc
0 F CL1-A 0 107 93010171 107 DF600F-CM
/dev/sdd
0 F CL2-A 0 107 93010171 107 DF600F-CM
/dev/sde
0 F CL1-A 0 119 93010171 119 DF600F
/dev/sdf
0 F CL2-A 0 119 93010171 119 DF600F
/dev/sdg
/dev/sdh
0 F CL1-A
0 F CL2-A
root@postgresql1-unused:/HORCM/usr/bin# ./horcmstart.sh
starting HORCM
HORCM starts successfully.
root@postgresql1-unused:/HORCM/usr/bin# ./raidcom get host_grp -port CL1-A
raidcom: [EX_CMDRJE] An order to the control/command device was rejected
It was rejected due to SKEY=0x05, ASC=0x26, ASCQ=0x02, SSB=Unknown on Serial#(93010171)
root@postgresql1-unused:/HORCM/usr/bin# cat /etc/horcm.conf
HORCM_MON
#ip_address
service
poll(10ms) timeout(10ms)
127.0.0.1
52323
1000
3000
HORCM_CMD
#dev_name
dev_name
#UnitID 0 (Serial# 93010171)
/dev/sdc
/dev/sdd
dev_name
I also tried it with the server's ip addresss and got the same.
I also tried changing to horcm0.conf and starting that, in that case horcmd started (as horcmd_00) but raidcom
failed to be able to talk to it (would there be different command syntax then?)
Message was edited by: James Hartshorn
5396 Views
Tags: horcm/cci
Make your horcmx.conf look like the below and retry and post the results
=====================================================
HORCM_MON
#ip_address
service
poll(10ms) timeout(10ms)
[ENTER IPADDRESS OF HOST]
52323
1000
3000
HORCM_CMD
#dev_name
dev_name
dev_name
#UnitID 0 (Serial# 93010171)
/dev/sdc
/dev/sdd
=====================================================
o
Actions
Actions
root@postgresql1-unused:/HORCM/usr/bin# ./horcmstart.sh
starting HORCM
HORCM starts successfully.
root@postgresql1-unused:/HORCM/usr/bin# ./raidcom get host_grp -port CL1-A
raidcom: [EX_CMDRJE] An order to the control/command device was rejected
It was rejected due to SKEY=0x05, ASC=0x26, ASCQ=0x02, SSB=Unknown on Serial#(93010171)
root@postgresql1-unused:/HORCM/usr/bin# cat /etc/horcm.conf
HORCM_MON
#ip_address
service
poll(10ms) timeout(10ms)
127.0.0.1
52323
1000
3000
HORCM_CMD
#dev_name
dev_name
#UnitID 0 (Serial# 93010171)
/dev/sdc
/dev/sdd
dev_name
I also tried it with the server's ip addresss and got the same.
I also tried changing to horcm0.conf and starting that, in that case horcmd started (as horcmd_00) but raidcom
failed to be able to talk to it (would there be different command syntax then?)