Administer > SA management console

SA Management Console

SA provides the Management Console, a command line tool that you can use to:

  • Remove SA CORD patches (rollback to the major release level)
  • Shut down an SA Core

SA management console usage

To invoke the console, enter the command:

<distro>/disk001/opsware_installer/hpsa_mgmt_console.sh
where, <distro> is the path to the Product Software (primary) media.

Arguments

The Management Console accepts the following arguments:

 

Argument

Description

-c <filename>

The path to CDF used to install the SA Core.

--debug

Run the Management Console in debug mode which causes more information to be displayed on the console.

Removing a cord patch

  1. Invoke the Management Console:

    <distro>/disk001/opsware_installer/hpsa_mgmt_console.sh --debug
    -c <distro>/var/opt/opsware/install_opsware/cdf/cdf_<timestamp>.xml

    where, <distro> is the path to the Product Software (primary) media.

  2. You see the following screen:
    Utility Type
    ============
     
    1. Remove Patch (Rollback to GA build)
    2. Shutdown SA service

     

    Enter the option number or one of the following directives
    (<p>revious, <h>elp, <q>uit): 
  3. Select 1 to Remove Patch:

    Enter the option number or one of the following directives

    (<p>revious, <h>elp, <q>uit): 1

  4. You see the following message (this example assumes all SA Core Components are installed on a single host; if there is more than one server in the core, patches are removed in parallel):

    ---------------------------------------

    remove_patch will be performed on the following identified core host(s).
    If there is any inconsistency then try again with the correct CDF.
     
    <IP_address>  (word_uploads, slice, infrastructure, oracle_sas, osprov, truth_mm_overlay)
     
    ---------------------------------------
    Do you want to continue (Y/N) [Y]:
  5. You are prompted for the OS credentials of the hosts on which the patch rollback procedure will run.

    Host Passwords
    ==============
    Parameter 1 of 2
    <IP_address> user [root]:
    Parameter 2 of 2
    <IP_address> password []: *******

    Note
    This prompt appears only for the specified hosts which are not localhost.

    After you provide all required credentials, you see the message:
    All values are entered. Do you wish to continue? (Y/N) [Y]:

  6. Press Y to continue to the interview phase.

    Parameter 1 of 2 (fips.mode)
    Do you want SA to be in FIPS mode? (y/n) [n]: y

    Parameter 2 of 2 (windows_util_loc)
    Please enter the directory path containing the Microsoft patching
    utilities. Press Control-I for a list of required files or enter "none" if
    you do not wish to upload the utilities at this time [none]:

    All values are entered. Do you wish to continue? (Y/N) [Y]:
    End of interview.

  7. Patch rollback will begin now. You will see messages similar to the following:
    Verifying that "/etc/init.d/opsware-sas" exist on <IP_address>...
    Running primary core status check on <IP_address>...
    Removing opsware_patch on <IP_address>...
    ******* Removing opsware_patch from device <IP_address>.
    ...............

     

    Cleaning up NFS
    <IP_address> is an address on the machine <IP_address>
    Creating temporary CDF [/var/tmp/cdf_tmp.xml]
    Copying [/var/tmp/cdf_tmp.xml] to [/var/opt/opsware/install_opsware/cdf/cdf.xml] on <IP_address>
    Copying [/var/tmp/cdf_tmp.xml] to [/var/opt/opsware/install_opsware/cdf/cdf_<timestamp>.xml] on <IP_address>
    Remaining threads after stop:
    [<_MainThread(MainThread, started)>]
     
    Script done on <timestamp>

Shutting down an SA Core

  1. Invoke the Management console:

    <distro>/disk001/opsware_installer/hpsa_mgmt_console.sh --debug
    -c <distro>/var/opt/opsware/install_opsware/cdf/cdf_<timestamp>.xml
    where, <distro> is the path to the Product Software (primary) media.

  2. You see the following screen:
    Utility Type
    ============
     
    1. Remove Patch (Rollback to GA build)
    2. Shutdown SA service

     

    Enter the option number or one of the following directives
    (<p>revious, <h>elp, <q>uit): 
  3. Select 2 to shut down an SA Core:
    Enter the option number or one of the following directives
    (<p>revious, <h>elp, <q>uit): 2
  4. At this point, the SA Core is shut down normally.