Skip to main content

Recovering ThinkSystem, Converged, NeXtScale, or System x M5 or M6 server management after a management server failure by using cimcli

You can recover management of a ThinkSystem, Converged, NeXtScale, or System x M5 or M6 server by using the cimcli utility to clear the CIM subscriptions.

Before you begin

OpenPegasus with the cimcli utility must be installed on a system that has network access to the target server. For information about downloading, configuring, and compiling OpenPegasus, see the OpenPegasus Release RPMs for Linux website.

Note
For Red Hat Enterprise Linux (RHEL) Server 7 and later, OpenPegasus source and binary RPMs are included as part of the Red Hat distribution. The top-pegasus-test.x86_64 package includes the cimcli utility.

About this task

After the server is recovered, you can manage the server again. All information about the server (such as network settings, server policies, and firmware compliance policies) is retained.

Procedure

Complete the following steps from a server that uses Lenovo XClarity Administrator managed authentication and on which OpenPegasus is installed to recover server management.

  1. If Encapsulation is enabled on the device:
    1. Connect to the target server from a system that is configured to use the IP address of the failed XClarity Administrator virtual appliance.
    2. Disable Encapsulation by opening an SSH session to the device and running the following command:
      encaps lite off
  2. Run the following commands to determine the CIM instances for CIM_ListenerDestinationCIMXML, CIM_Indicationfilter and CIM_IndicationSubscription.
    cimcli -l <IP_address> -u <user_ID> -p <password> -n /root/interop 
    -s ni CIM_ListenerDestinationCIMXML
    cimcli -l <IP_address> -u <user_ID> -p <password> -n /root/interop
    -s ni CIM_Indicationfilter
    cimcli -l <IP_address> -u <user_ID> -p <password> -n /root/interop
    -s ni CIM_IndicationSubscription

    where, <IP_address>, <user_ID> and <password> are the IP address, user ID and password for the management controller. For example:

    $ cimcli -l 10.243.6.68 -u ADMIN -p PASSW0RD -n /root/interop 
    -s ni CIM_ListenerDestinationCIMXML
    CIM_ListenerDestinationCIMXML.creationclassname="CIM_ListenerDestinationCIMXML",
    name="Lenovo:LXCA_10.243.5.191:Handler",
    systemcreationclassname="CIM_ComputerSystem",
    systemname="FC3058CADF8B11D48C9B9B1B1B1B1B57"

    $ cimcli -l 10.243.6.68 -u ADMIN -p PASSW0RD -n /root/interop s ni CIM_Indicationfilter
    CIM_Indicationfilter.creationclassname="CIM_IndicationFilter",
    name="Lenovo:LXCA_10.243.5.191:Filter",systemcreationclassname="CIM_ComputerSystem",
    systemname="FC3058CADF8B11D48C9B9B1B1B1B1B57"

    $ cimcli -l 10.243.6.68 -u ADMIN -p PASSW0RD -n /root/interop
    s ni CIM_IndicationSubscription
    CIM_IndicationSubscription.filter="root/interop:cim_indicationfilter.creationclassname=
    \"CIM_IndicationFilter\",name=\"Lenovo:LXCA_10.243.5.191:Filter\",
    systemcreationclassname=\"CIM_ComputerSystem\",
    systemname=\"FC3058CADF8B11D48C9B9B1B1B1B1B57\"",
    handler="root/interop:cim_listenerdestinationcimxml.creationclassname=
    \"CIM_ListenerDestinationCIMXML\",name=\"Lenovo:LXCA_10.243.5.191:Handler\",
    systemcreationclassname=\"CIM_ComputerSystem\",
    systemname=\"FC3058CADF8B11D48C9B9B1B1B1B1B57\""
  3. Run following command to delete each the CIM instance for CIM_ListenerDestinationCIMXML, CIM_Indicationfilter and CIM_IndicationSubscription, one at a time.
    cimcli -l <IP_address> -u <user_ID> -p <password> -n /root/interop 
    -s di '<cim_instance>'

    where, <IP_address>, <user_ID> and <password> are the IP address, user ID and password for the management controller, and <cim_instance> is the information returned for each CIM instance in the previous step, surrounded by single quotes. For example:

    $ cimcli -l 10.243.6.68 -u ADMIN -p PASSW0RD -n /root/interop di 
    'CIM_ListenerDestinationCIMXML.creationclassname="CIM_ListenerDestinationCIMXML",
    name="Lenovo:LXCA_10.243.5.191:Handler",systemcreationclassname="CIM_ComputerSystem",
    systemname="FC3058CADF8B11D48C9B9B1B1B1B1B57"'

    $ cimcli -l 10.243.6.68 -u ADMIN -p PASSW0RD -n /root/interop di
    'CIM_Indicationfilter.creationclassname="CIM_IndicationFilter",
    name="Lenovo:LXCA_10.243.5.191:Filter",
    systemcreationclassname="CIM_ComputerSystem",
    systemname="FC3058CADF8B11D48C9B9B1B1B1B1B57"'

    $ cimcli -l 10.243.6.68 -u ADMIN -p PASSW0RD -n /root/interop di
    'CIM_IndicationSubscription.filter="root/interop:cim_indicationfilter.creationclassname=
    \"CIM_IndicationFilter\",name=\"Lenovo:LXCA_10.243.5.191:Filter\",
    systemcreationclassname=\"CIM_ComputerSystem\",
    systemname=\"FC3058CADF8B11D48C9B9B1B1B1B1B57\"",
    handler="root/interop:cim_listenerdestinationcimxml.creationclassname=
    \"CIM_ListenerDestinationCIMXML\",name=\"Lenovo:LXCA_10.243.5.191:Handler\",
    systemcreationclassname=\"CIM_ComputerSystem\",
    systemname=\"FC3058CADF8B11D48C9B9B1B1B1B1B57\""'

After you finish

After Lenovo XClarity Administrator is restored or replaced, you can manage the System x or NeXtScale server again (see Managing servers). All information about the server (such as network settings, server policies, and firmware compliance policies) is retained.