Automation with Power

Power Business Continuity and Automation

Connect, learn, and share your experiences using the business continuity and automation technologies and practices designed to ensure uninterrupted operations and rapid recovery for workloads running on IBM Power systems. 


#Power
#TechXchangeConferenceLab

 View Only

halevel - an oslevel like command for PowerHA

  • 1.  halevel - an oslevel like command for PowerHA

    Posted Wed January 05, 2011 04:10 AM

    Originally posted by: Claudio


    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
    #PowerHAforAIX
    #PowerHA-(Formerly-known-as-HACMP)-Technical-Forum