Topic
  • No replies
Claudio
Claudio
21 Posts

Pinned topic halevel - an oslevel like command for PowerHA

‏2011-01-05T09:09:39Z |
Included in PowerHA 7.1 Service Pack 3 and also with the upcoming PowerHA 6.1 and 5.5 Service Packs, a new command called 'halevel' is being introduced.

The 'halevel' command, just like the AIX oslevel command, shows the PowerHA version/release/modification and optionally the Service Pack (SP) installed.

Here a brief summary of its man page:


halevel Command
***************

Purpose
Reports the PowerHA installed Version, Release, Modification and
Service Pack level.

Syntax
halevel -? -s -x

Description
The halevel command reports the Version, Release and Modification of
the PowerHA product installed on your system. The system must be a
server node, the command will not function correctly on a PowerHA
client node.
The command can also optionally report the installed Service Pack
level.

Flags
-h or -?
Print help message
-s
Print Service Pack level
-x
Turn on debugging (ksh set -x)

Examples
To determine the PowerHA Version, Release and Modification, enter:
  1. halevel
6.1.0

To determine the PowerHA Version, Release, Modification and Service
Pack level, enter:
  1. halevel -s
6.1.0 SP3

To determine the PowerHA Version, Release, Modification and Service
Pack level on all reachable cluster nodes, enter:
  1. /usr/es/sbin/cluster/cspoc/cli_on_cluster -S halevel -s
NodeA: 6.1.0 SP3
NodeB: 6.1.0 SP3