Clinfo daemon started?
The clstat command retrieves the information from the clinfo daemon. This daemon is not started automatically. It is an option in the SMIT HACMP startup menu (smitty clstart). If it is not running, stop HACMP on this node, and start it up again with clinfo activated.
To check the status of the HACMP processes: lssrc -a | grep -E "ES | svcs"
SNMP version in AIX 5L version 5.2
AIX 5L version 5.2 uses SNMP version 3 agents, whereas HACMP uses a SNMP version 1 configuration. Both clinfo and CSPOC require SNMP version 1. With the default SNMP agent, the clinfo daemon is not able to supply cluster information, thus the clinfo command will not work properly.
Run the script provided in Example 3-38 to switch to version 1 agents.
Example 3-38 Switch SNMP agents to version 1
#!/bin/kshLOG=/var/adm/chg_snmpd.logtouch $LOG/usr/es/sbin/cluster/utilities/clstop -N -g >> $LOG 2>&1sleep 5for i in muxatmd aixmibd snmpmibd hostmibd snmpddostopsrc -s $i >> $LOG 2>&1sleep 2doneln -sf /usr/sbin/snmpdv1 /usr/sbin/snmpdfor i in snmpd hostmibd snmpmibd aixmibd muxatmddostartsrc -s $i >> $LOG 2>&1sleep 2donesleep 10/usr/es/sbin/cluster/etc/rc.cluster -N -i >> $LOG 2>&1sleep 5
You can also use the following command to change the running SNMP configuration back to version 1:
/usr/sbin/snmpv3_ssw -1
For security reasons do not use the default "public" SNMP community. You can change the community name in the /etc/snmpd.conf file, then stop cluster services (incl. clinfo) and specify this new name to clinfo: chssys -s clinfo(ES) -a "-c NEW_COMMUNITY_NAME" , then restart HACMP.
The clstat command retrieves the information from the clinfo daemon. This daemon is not started automatically. It is an option in the SMIT HACMP startup menu (smitty clstart). If it is not running, stop HACMP on this node, and start it up again with clinfo activated.
To check the status of the HACMP processes: lssrc -a | grep -E "ES | svcs"
SNMP version in AIX 5L version 5.2
AIX 5L version 5.2 uses SNMP version 3 agents, whereas HACMP uses a SNMP version 1 configuration. Both clinfo and CSPOC require SNMP version 1. With the default SNMP agent, the clinfo daemon is not able to supply cluster information, thus the clinfo command will not work properly.
Run the script provided in Example 3-38 to switch to version 1 agents.
Example 3-38 Switch SNMP agents to version 1
#!/bin/kshLOG=/var/adm/chg_snmpd.logtouch $LOG/usr/es/sbin/cluster/utilities/clstop -N -g >> $LOG 2>&1sleep 5for i in muxatmd aixmibd snmpmibd hostmibd snmpddostopsrc -s $i >> $LOG 2>&1sleep 2doneln -sf /usr/sbin/snmpdv1 /usr/sbin/snmpdfor i in snmpd hostmibd snmpmibd aixmibd muxatmddostartsrc -s $i >> $LOG 2>&1sleep 2donesleep 10/usr/es/sbin/cluster/etc/rc.cluster -N -i >> $LOG 2>&1sleep 5
You can also use the following command to change the running SNMP configuration back to version 1:
/usr/sbin/snmpv3_ssw -1
For security reasons do not use the default "public" SNMP community. You can change the community name in the /etc/snmpd.conf file, then stop cluster services (incl. clinfo) and specify this new name to clinfo: chssys -s clinfo(ES) -a "-c NEW_COMMUNITY_NAME" , then restart HACMP.
Comments
Post a Comment