by
环境:AIX6104,HA6.1。
配置好HA后,执行smitty clstart ,将clinfo选“true”,用clstat -a 查看状态,报以下错误:
Failed retrieving cluster information.
There are a number of possible causes:
clinfoES or snmpd subsystems are not active.
snmp is unresponsive.
snmp is not configured correctly.
Cluster services are not active on any nodes.
o APAR IZ41204: Enabling Internet MIB tree for clstat or cldump to work
=====================================================================
clstat or cldump will not start if the internet MIB tree is not
enabled in snmpdv3.conf file. This behavior is usually seen in
AIX 6.1 onwards where this internet MIB entry was intentionally
disabled as a security issue. This internet MIB entry is required to
view/resolve risc6000clsmuxpd (1.3.6.1.4.1.2.3.1.2.1.5) MIB sub tree
which is used by clstat or cldump functionality.
There are two ways to enable this MIB sub tree(risc6000clsmuxpd) they
are:
1) Enable the main internet MIB entry by adding this line in
/etc/snmpdv3.conf file
VACM_VIEW defaultView internet - included -
But doing so is not advisable as it unlocks the entire MIB tree
2) Enable only the MIB sub tree for risc6000clsmuxpd without enabling
the main MIB tree by adding this line in /etc/snmpdv3.conf file
VACM_VIEW defaultView 1.3.6.1.4.1.2.3.1.2.1.5 - included -
Note: After enabling the MIB entry above snmp daemon must be restarted
with the following commands as shown below:
1) stopsrc -s snmpd
2) startsrc -s snmpd
After snmp is restarted leave the daemon running for about two minutes
before attempting to start clstat or cldump.
APAR status
Error description
- If a HACMP cluster gets installed on nodes, which have
directly been installed with AIX 6.1, clstat and cldump
do not work, because snmpdv3.conf in AIX 6.1 per default
looks like:
...
#VACM_VIEW defaultView internet - included -
...
(in AIX 5.2 and 5.3 this view is enabled per default, so
clusters at AIX 5.2 or 5.3 and those migrated from those
AIX releases to AIX 6.1 are not affected).
If the view to the "internet" MIB subtree (1.3.6.1)
is not enabled, viewing the "risc6000clsmuxpd"
(1.3.6.1.4.1.2.3.1.2.1.5) MIB subtree, is also not
permitted.
clstat fails with:
Can not get cluster information.
Check if clinfo is running.
cldump fails with:
cldump: Waiting for the Cluster SMUX peer (clstrmgrES)
to stabilize.............
Unable to communicate with the Cluster SMUX Peer Daemon
snmpinfo -m dump -v -o /usr/es/sbin/cluster/hacmp.defs
cluster
-> returns no output
Local fix
- Enable:
VACM_VIEW defaultView internet - included -
in /etc/snmpdv3.conf or add following line:
VACM_VIEW defaultView 1.3.6.1.4.1.2.3.1.2.1.5 -
included -
(this line will only allow access to "risc6000clsmuxpd"
but not to complete "internet" MIB).
Afterwards:
$ stopsrc -s snmpd
$ startsrc -s snmpd
$ sleep 120
$ snmpinfo -m dump -v -o /usr/es/sbin/cluster/hacmp.defs
cluster
.
-> should now work
$ /usr/es/sbin/cluster/utilities/cldump
.
-> should now work
$ /usr/es/sbin/cluster/clstat -o
.
-> should now work
Problem summary
- If HACMP is installed on AIX 6.1 nodes (using snmpd version 3)
clstat and cldump may not work.
Problem conclusion
The MIB entry 1.3.6.1.4.1.2.3.1.2.1.5, in snmpdv3.conf,
required for clstat and cldump to work is disabled by default
on AIX 6.1. HACMP README file has been updated as to how to
add/enable the snmpd v3 MIB entry. Information messages will
be printed from clstat and cldump indicating possible reasons
for the failure.
阅读(9072) | 评论(0) | 转发(0) |