SFCFS cvm_clus resource cannot stop as Invalid multibyte character error

book

Article ID: 100007575

calendar_today

Updated On:

Description

Error Message

 

2011/12/01 14:40:02 VCS INFO V-16-2-13001 (bejrcg02) Resource(cvm_clus): Output of the completed operation (monitor) /opt/VRTSvcs/bin/CVMCluster/monitor[31]: Invalid multibyte character.
2011/12/01 14:40:02 VCS ERROR V-16-2-13064 (bejrcg02) Agent is calling clean for resource(cvm_clus) because the resource is up even after offline completed.
2011/12/01 14:40:03 VCS INFO V-16-2-13068 (bejrcg02) Resource(cvm_clus) - clean completed successfully.
2011/12/01 14:40:04 VCS INFO V-16-2-13001 (bejrcg02) Resource(cvm_clus): Output of the completed operation (monitor)
/opt/VRTSvcs/bin/CVMCluster/monitor[31]: Invalid multibyte character.
2011/12/01 14:40:04 VCS ERROR V-16-2-13077 (bejrcg02) Agent is unable to offline resource(cvm_clus). Administrative intervention may be required.
2011/12/01 14:40:05 VCS INFO V-16-6-15004 (bejrcg02) hatrigger:Failed to send trigger for resnotoff; script doesn't exist
2011/12/01 14:41:05 VCS INFO V-16-2-13001 (bejrcg02) Resource(cvm_clus): Output of the completed operation (monitor)
/opt/VRTSvcs/bin/CVMCluster/monitor[31]: Invalid multibyte character.

Cause

'vxclustadm nodestate' is used by VCS CVMCluster Agent's monitor script. When the monitor script is run under the Korea/China locale, the 'garbage' printed in the reason string is interpreted as a MultiByte string, and CVM cannot offline. This is only a problem on 'non-C' locale/lang environments.

# vxclustadm nodestate
state: out of cluster
reason:j : user initiated stop  <-------- contains corrupted multibyte char!!

 

Resolution

Work around :

Change cvm_clus monitor script /opt/VRTSvcs/bin/CVMCluster/monitor  31 line from:

clust_run=`$VXCLUSTADM nodestate 2>/dev/null`

to

clust_run=`$VXCLUSTADM nodestate | head -1 2>/dev/null`

 

Fix  in SF5.1 SP1 SF_5_1_1131_SP1HF2_2011-08-24.

 

Applies To

HPUX 11.23 , SF 5.0 MP2RP3 , SFCFS environment.

Issue/Introduction

SFCFS can start normal , but cvm_clus resource cannot stop and need administrative intervention.