Steve's Power Systems BlogPower BlogContactLog inRegister
  • Power Blog
  • Contact

  • Register

IBM Power Systems Blog

Power Systems
  • Front Page
  • Categories
  • Archives
  • Latest comments
  • « Changing vSCSI disk attributes without a reboot.
  • Stop using vi to edit /etc/rc.tcpip »

PowerHA clstat not working

Posted by steve on 14 Oct 2016 in AIX Tips, PowerHA Tips

I have just installed PowerHA 7.2 with AIX 7.1 TL 4 SP2 and I find that clstat is not working.

IBM introduced some changes to the default settings for the SNMP deamon which affect clstat and cldump, especially if running version 3 of SNMP.  Unless you have specific applciation requriements for SNMP version 1, I recommend you continue to use SNMP version 3 and update the configuration as follows.  I have been meaning to write this post for a long time and I have finally written it, I hope it helps you.

 

Error from clstat.

# /usr/es/sbin/cluster/clstat -o

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.

 

Software Levels

oslevel -s

7100-04-02-1614

halevel -s

7.2.0 SP1

Confirm SNMP is using version 3 daemon.

ls -l /usr/sbin/snmpd

lrwxrwxrwx 1    root    system     9 Oct    12 12:45    /usr/sbin/snmpd -> snmpdv3ne

 

There are several version of SNMP that are shipped with AIX.  IBM used to ship the 64 Encrypted V3 Daemon, but that is missing from my AIX 7.2 and 7.1 installs.

/usr/sbin/snmpdv1         # SNMP 32 Bit Deamon V1.

/usr/sbin/snmpd64v1       # SNMP 64 Bit Deamon V 1.

/usr/sbin/snmpdv3ne       # SNMP 64 Bit Daemon V3 NonEncrypted.

 

To change the Version of SNMP (not recommended) - Note that the encrypted V3 agent maybe missing from your AIX install.

/usr/sbin/snmpv3_ssw [-e|-n|-1]

-e Switch to encrypted version of snmpdv3 agent.

-n Switch to non-encrypted version of snmpdv3 agent.

-1 Switch to snmpdv1 agent.

 

Edit the snmpdv3.conf file.

vi /etc/snmpdv3.conf

Scroll down until you get to the VACM_VIEW section, and you will find this line commented out.

#VACM_VIEW defaultView       internet                   - included -

Uncommenting that line will enable SNMP access to the entier AIX and PowerHA MIB trees,

 

The recommended change is to add this line, which allows only access to the PowerHA MIB trees.

VACM_VIEW defaultView   risc6000clsmuxpd   -   included   -

Or the risc6000clsmuxpd can be replaced with 1.3.6.1.4.1.2.3.1.2.1.5

 

Continue down the file, until you find this line, uncomment the line by removing the #:

#COMMUNITY public    public     noAuthNoPriv 0.0.0.0    0.0.0.0         -

Uncommenting this line allows the public community name access to SNMP.

 

At the bottom of the file, ensure the following two lines exist and are NOT commented out:

smux 1.3.6.1.4.1.2.3.1.2.1.2 gated_password # gated
smux 1.3.6.1.4.1.2.3.1.2.1.5 clsmuxpd_password # PowerHA SystemMirror clsmuxpd

Save the file.

 

vi /usr/es/sbin/cluster/etc/clhosts

Comment out the IP v6 Line below if you do not use IP v6.

#::1     # PowerHA SystemMirror

Save the file.

 

Refresh all the SNMP and related daemons.

stopsrc -s clinfoES

stopsrc -s aixmibd

stopsrc -s snmpmibd

stopsrc -s hostmibd

stopsrc -s snmpd

sleep 12

startsrc -s snmpd

startsrc -s hostmibd

startsrc -s snmpmibd

startsrc -s aixmibd

sleep 12

startsrc -s clinfoES

sleep 30

 

Confirm clstat is working.

/usr/es/sbin/cluster/clstat -o

 

 

 

 

Tags: AIXFailed retrieving cluster informationPowerHAclhostsclstatsnmpsnmpd

No feedback yet


Form is loading...

July 2026
Mon Tue Wed Thu Fri Sat Sun
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    
 << <   > >>

IBM Power Systems Blog

IBM Power Systems - Administration, Tuning and Optimisation. These posts are my own personal opinions and comments only.

Search

Categories

  • All
  • AIX Tips
  • AIX Tuning
  • Command Line Tips
  • HMC Tips
  • LPM Information
  • NIM Tips
  • Performance Testing
  • Power System Affinity
  • PowerHA Tips
  • SRIOV and vNIC
  • Scripts and One Liners
  • VIO Server Tips

Recent Posts

  • AIX NIM Hints and Tips
  • Finding Multiple Install Sources for AIX
  • PowerHA and EMC Busy Devices
  • AIX Random Password Generation
  • VIO Server 3.1.0 and ssh host keys
  • VIO Server 3.1.0 Items to Review
  • Just when you thought you understood idle CPU time!!
  • 40Gbit Adapter Performance Testing
  • LPM Copy Time Statistics
  • IBM HMC Upgrades

Recent Comments

  • steve on How to configure IBM SRIOV Adapters
  • Howard Coles on How to configure IBM SRIOV Adapters
  • steve on AIX mpstat and lssrad part 1
  • Charin Kumjudpai on AIX mpstat and lssrad part 1
  • Gagandeep on LPM and multiple vSwitches
  • Fant Steele on VIO Server 3.1.0 and ssh host keys
  • steve on AIX NIM Hints and Tips
  • alan wilcox on AIX NIM Hints and Tips
  • steve on AIX buf_mode attribute for Virtual Ethernet Adapters
  • Bernhar on AIX buf_mode attribute for Virtual Ethernet Adapters
  • Gery on Reading VLANs from the SEA Adapter
  • steve on Reading VLANs from the SEA Adapter
  • patrice on Reading VLANs from the SEA Adapter
  • steve on Reading VLANs from the SEA Adapter
  • steve on AIX buf_mode attribute for Virtual Ethernet Adapters
  • Chris K. on AIX buf_mode attribute for Virtual Ethernet Adapters
  • jovi on AIX or VIOS Errors: 29FA8C20 and 7BFEEA1F
  • steve on AIX or VIOS Errors: 29FA8C20 and 7BFEEA1F
  • jovi on AIX or VIOS Errors: 29FA8C20 and 7BFEEA1F
  • steve on Creating EtherChannel Devices from Command Line

This collection ©2026 by Stephen Diwell • Contact • Help • CMS software • web hosting matrix

Open-Source CMS
Cookies are required to enable core site functionality.