Skip to main content

Recovering a ThinkSystem, Converged, NeXtScale, or System x M5 or M6 server that was not unmanaged correctly by using the cimcli

You can recover ThinkSystem, Converged, NeXtScale, or System x server management by using the cimcli 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\""'
  4. Manage the server using Lenovo XClarity Administrator.
    1. From the XClarity Administrator menu bar, click Hardware > Discover and Manage New Devices. The Discover and Manage page is displayed.
    2. Select Manual Input.
    3. Click Single System, enter the IP address of the server that you want to manage, and click OK.
    4. Specify the user ID and password for the authenticating to the server.
    5. Click Manage.

      A dialog is displayed that shows the progress of this management process. Monitor the progress to ensure that the process completes successfully.

    6. When the process is complete, click OK.