Server Utilities

This chapter includes the following sections:

Exporting Technical Support Data

Exporting Technical Support Data to a Remote Server

Perform this task when requested by the Cisco Technical Assistance Center (TAC). This utility creates a summary report containing configuration information, logs and diagnostic data that will help TAC in troubleshooting and resolving a technical issue.

Procedure
    Step 1   In the Navigation pane, click the Admin tab.
    Step 2   On the Admin tab, click Utilities.
    Step 3   In the Actions area of the Utilities pane, click Export Technical Support Data to Remote Server.
    Step 4   In the Export Technical Support Data dialog box, complete the following fields:
    Name Description

    Export Technical Support Data to drop-down list

    The remote server type. This can be one of the following:

    • TFTP Server

    • FTP Server

    • SFTP Server

    • SCP Server

    • HTTP Server

    Note   

    If you chose SCP or SFTP as the remote server type while performing this action, a pop-up window is displayed with the message Server (RSA) key fingerprint is <server_finger_print _ID> Do you wish to continue?. Click Yes or No depending on the authenticity of the server fingerprint.

    The fingerprint is based on the host's public key and helps you to identify or verify the host you are connecting to.

    Server IP/Hostname field

    The IP address or hostname of the server on which the support data file should be stored. Depending on the setting in the Export Technical Support Data to drop-down list, the name of the field may vary.

    Path and Filename field

    The path and filename Cisco IMC should use when exporting the file to the remote server.

    Note   

    If the server includes any of the supported network adapter cards, the data file also includes technical support data from the adapter card.

    Username

    The username the system should use to log in to the remote server. This field does not apply if the protocol is TFTP or HTTP.

    Password

    The password for the remote server username. This field does not apply if the protocol is TFTP or HTTP.

    Step 5   Click Export.

    What to Do Next

    Provide the generated report file to Cisco TAC.

    Downloading Technical Support Data to a Local File

    Perform this task when requested by the Cisco Technical Assistance Center (TAC). This utility creates a summary report containing configuration information, logs and diagnostic data that will help TAC in troubleshooting and resolving a technical issue.

    Procedure
      Step 1   In the Navigation pane, click the Admin tab.
      Step 2   On the Admin tab, click Utilities.
      Step 3   In the Actions area of the Utilities pane, click Generate Technical Support Data for Local Download.
      Step 4   In the Download Technical Support Data to Local File dialog box, complete the following fields:
      Name Description

      Generate Technical Support Data radio button

      Cisco IMC disables this radio button when there is no technical support data file to download.

      Click Generate to create the data file. When data collection is complete, click Download Technical Support Data to Local File in the Actions area to download the file.

      Regenerate Technical Support Data radio button

      Cisco IMC displays this radio button when a technical support data file is available to download.

      To replace the existing support data file with a new one, select this option and click Regenerate. When data collection is complete, click Download Technical Support Data to Local File in the Actions area to download the file.

      Download to local file radio button

      Cisco IMC enables this radio button when a technical support data file is available to download.

      To download the existing file, select this option and click Download.

      Note   

      If the server includes any of the supported network adapter cards, the data file also includes technical support data from the adapter card.

      Generate button

      Allows you to generate the technical support data file.

      Download button

      Allows you to download the technical support data file after it is generated.


      What to Do Next

      Provide the generated report file to Cisco TAC.

      Rebooting Cisco IMC

      On rare occasions, such as an issue with the current running firmware, troubleshooting a server may require you to reboot the Cisco IMC. This procedure is not part of the normal maintenance of a server. After you reboot the Cisco IMC, you are logged off and the Cisco IMC will be unavailable for a few minutes.


      Note


      If you reboot the Cisco IMC while the server is performing power-on self test (POST) or is operating in the Extensible Firmware Interface (EFI) shell, the server will be powered down until the Cisco IMC reboot is complete.


      Before You Begin

      You must log in as a user with admin privileges to reboot the Cisco IMC.

      Procedure
        Step 1   In the Navigation pane, click the Admin tab.
        Step 2   On the Admin tab, click Utilities.
        Step 3   In the Actions area of the Utilities pane, click Reboot Cisco IMC.
        Step 4   Click OK.

        Recovering from a Corrupted BIOS


        Note


        This procedure is not available in some server models.


        In addition to this procedure, there are three other methods for recovering from a corrupted BIOS:

        • Use the Cisco Host Upgrade Utility (HUU). This is the recommended method.

        • Use the Cisco IMC CLI interface.

        • If your server model supports it, use the BIOS recovery function of the hardware jumper on the server motherboard. For instructions, see the Cisco UCS Server Installation and Service Guide for your server model.

        Before You Begin
        • You must be logged in as admin to recover corrupt BIOS.

        • Have the BIOS recovery ISO image ready. You will find the BIOS recovery ISO image under the Recovery folder of the firmware distribution package.

        • Schedule some down time for the server because it will be powered cycled at the end of the recovery procedure.

        Procedure
          Step 1   In the Navigation pane, click the Server tab.
          Step 2   On the server tab, click BIOS.

          The BIOS page appears.

          Step 3   In the Actions area, click Recover Corrupt BIOS.

          The Recover Corrupt BIOS wizard appears.

          Step 4   Use the Recover Corrupt BIOS wizard to recover your corrupt BIOS.

          Resetting Cisco IMC to Factory Defaults

          On rare occasions, such as an issue with the current running firmware, troubleshooting a server may require you to reset the Cisco IMC to the factory default. When this happens, all user-configurable settings are reset.

          This procedure is not part of the normal server maintenance. After you reset the Cisco IMC, you are logged off and must log in again. You may also lose connectivity and may need to reconfigure the network settings.

          When you upgrade from version 1.5(1) to version 1.5(2), the hostname in the Cisco IMC interface is retained as is. However, after upgrading to version 1.5(2), if you do a factory reset, the hostname changes to CXXX-YYYYYY format, where XXX is the model number and YYYYYY is the serial number of the server.

          When you downgrade from version 1.5(2) to version 1.5(1), the hostname is retained as is. However, if you do a factory reset, the hostname changes to ucs-cxx-mx format.


          Note


          If you reset Cisco IMC 1.5(x), 2.0, and 2.0(3) versions to factory defaults, Shared LOM mode is configured by default. For C3160 servers, if you reset Cisco IMC to factory defaults, Dedicated mode is configured to Full duplex with 100 Mbps speed by default.


          Before You Begin

          You must log in as a user with admin privileges to reset the Cisco IMC to factory defaults.

          Procedure
            Step 1   In the Navigation pane, click the Admin tab.
            Step 2   On the Admin tab, click Utilities.
            Step 3   In the Actions area of the Utilities pane, click Reset Cisco IMC to Factory Default Configuration.
            Step 4   Click OK.

            A reboot of Cisco IMC while the host is performing BIOS POST (Power on Self Test) or is in EFI shell will turn off the host for a short amount of time. Cisco IMC will power on when it is ready.


            Exporting and Importing the Cisco IMC Configuration

            Exporting and Importing the Cisco IMC Configuration

            To perform a backup of the Cisco IMC configuration, you take a snapshot of the system configuration and export the resulting Cisco IMC configuration file to a location on your network. The export operation saves information from the management plane only; it does not back up data on the servers. Sensitive configuration information such as user accounts and the server certificate are not exported.

            You can restore an exported Cisco IMC configuration file to the same system or you can import it to another Cisco IMC system, provided that the software version of the importing system is the same as or is configuration-compatible with the software version of the exporting system. When you import a configuration file to another system as a configuration template, you must modify system-specific settings such as IP addresses and host names. An import operation modifies information on the management plane only.

            The Cisco IMC configuration file is an XML text file whose structure and elements correspond to the Cisco IMC command modes.

            When performing an export or import operation, consider these guidelines:

            • You can perform an export or an import while the system is up and running. While an export operation has no impact on the server or network traffic, some modifications caused by an import operation, such as IP address changes, can disrupt traffic or cause a server reboot.

            • You cannot execute an export and an import simultaneously.

            You can perform an import or an export operation on the following features:

            • Cisco IMC version


              Note


              You can only export this information.


            • Network settings

            • Technical support

            • Logging control for local and remote logs

            • Power policies

            • BIOS - BIOS Parameters


              Note


              Precision boot is not supported.


            • Communication services

            • Remote presence

            • User management - LDAP

            • Event management

            • SNMP

            Exporting the Cisco IMC Configuration


            Note


            For security reasons, this operation does not export user accounts or the server certificate.


            Before You Begin

            Obtain the backup remote server IP address.

            Procedure
              Step 1   In the Navigation pane, click the Admin tab.
              Step 2   On the Admin tab, click Utilities.
              Step 3   In the Actions area of the Utilities pane, click Export Cisco IMC Configuration.
              Step 4   In the Export Cisco IMC Configuration dialog box, complete the following fields:
              Name Description

              Export to a local file radio button

              Select this option and click Export to save the XML configuration file to a drive that is local to the computer running the Cisco IMC GUI.

              When you select this option, Cisco IMC GUI displays a File Download dialog box that lets you navigate to the location to which the configuration file should be saved.

              Export to Remote server radio button

              Select this option to save the XML configuration file to a remote server.

              When you select this option, Cisco IMC GUI displays the remote server fields.

              Export to drop-down list

              The remote server type. This can be one of the following:

              • TFTP Server

              • FTP Server

              • SFTP Server

              • SCP Server

              • HTTP Server

              Note   

              If you chose SCP or SFTP as the remote server type while performing this action, a pop-up window is displayed with the message Server (RSA) key fingerprint is <server_finger_print _ID> Do you wish to continue?. Click Yes or No depending on the authenticity of the server fingerprint.

              The fingerprint is based on the host's public key and helps you to identify or verify the host you are connecting to.

              Server IP/Hostname field

              The IPv4 or IPv6 address, or hostname of the server to which the configuration file will be exported. Depending on the setting in the Export to drop-down list, the name of the field may vary.

              Path and Filename field

              The path and filename Cisco IMC should use when exporting the file to the remote server.

              Username

              The username the system should use to log in to the remote server. This field does not apply if the protocol is TFTP or HTTP.

              Password

              The password for the remote server username. This field does not apply if the protocol is TFTP or HTTP.

              Passphrase

              The passphrase that uses the AES256 algorithm to encrypt the LDAP and SNMP v3 user passwords in the exported configuration files. Enter a string of 6 to 127 characters. Do not enter the following characters: ! # $ & < > ? ; ' | ` ~ \ % ^ ( )"

              Step 5   Click Export.

              Importing a Cisco IMC Configuration

              Before You Begin

              If you want to restore the SNMP configuration information when you import the configuration file, make sure that SNMP is disabled on this server before you do the import. If SNMP is enabled when you perform the import, Cisco IMC does not overwrite the current values with those saved in the configuration file.

              In the XML file that contains the Cisco IMC configuration, the network settings information will be commented out. You must un-comment it if you want to import the IP settings information. To un-comment the network settings, delete the following text in the XML file:
              “<!- -Kindly Update and uncomment below settings for 
              network configurations “ and ”- ->”
              Procedure
                Step 1   In the Navigation pane, click the Admin tab.
                Step 2   On the Admin tab, click Utilities.
                Step 3   In the Actions area of the Utilities pane, click Import Cisco IMC Configuration.
                Step 4   In the Import Cisco IMC Configuration dialog box, complete the following fields:
                Name Description

                Import from a local file radio button

                Select this option and click Import to navigate to the XML configuration file stored on a drive that is local to the computer running the Cisco IMC GUI.

                When you select this option, Cisco IMC GUI displays a Browse button that lets you navigate to the file you want to import.

                Import from Remote server radio button

                Select this option to import the XML configuration file from a remote server.

                When you select this option, Cisco IMC GUI displays the remote server fields.

                Import from drop-down list

                The remote server type. This can be one of the following:

                • TFTP Server

                • FTP Server

                • SFTP Server

                • SCP Server

                • HTTP Server

                Note   

                If you chose SCP or SFTP as the remote server type while performing this action, a pop-up window is displayed with the message Server (RSA) key fingerprint is <server_finger_print _ID> Do you wish to continue?. Click Yes or No depending on the authenticity of the server fingerprint.

                The fingerprint is based on the host's public key and helps you to identify or verify the host you are connecting to.

                Server IP/Hostname field

                The IPv4 or IPv6 address, or hostname of the server on which the configuration file resides. Depending on the setting in the Import from drop-down list, the name of the field may vary.

                Path and Filename field

                The path and filename of the configuration file on the remote server.

                Username

                The username the system should use to log in to the remote server. This field does not apply if the protocol is TFTP or HTTP.

                Password

                The password for the remote server username. This field does not apply if the protocol is TFTP or HTTP.

                Passphrase

                The passphrase that uses the AES256 algorithm to encrypt the LDAP and SNMP v3 user passwords in the imported configuration files. Enter a string of 6 to 127 characters. Do not enter the following characters: ! # $ & < > ? ; ' | ` ~ \ % ^ ( )"

                Note   

                If you edit the encrypted sections in the configuration file and try to import it, the edits will be ignored and the import operation displays a partially successful message.

                Step 5   Click Import.

                Generating Non Maskable Interrupts to the Host

                In some situations, the server might hang and not respond to traditional debug mechanisms. By generating a non maskable interrupt (NMI) to the host, you can create and send a crash dump file of the server and use it to debug the server.

                Depending on the type of operating system associated with the server, this task might restart the OS.

                Before You Begin
                • You must log in as a user with admin privileges.

                • The server must be powered on.

                Procedure
                  Step 1   In the Navigation pane, click the Admin tab.
                  Step 2   On the Admin tab, click Utilities.
                  Step 3   In the Actions area of the Utilities pane, click Generate NMI to host.

                  This action sends an NMI signal to the host, which might restart the OS.

                  Step 4   Click OK.

                  Adding or Updating the Cisco IMC Banner

                  You can modify copyright information or messages that you want to display on the login screen using this feature. Complete the following steps:

                  Procedure
                    Step 1   In the Navigation pane, click the Admin tab.
                    Step 2   On the Admin tab, click Utilities.
                    Step 3   In the Actions area of the Utilities pane, click Add/Update Cisco IMC Banner.

                    The Add/Update Cisco IMC Banner pop-up window appears.

                    Step 4   In the Banner area, review the following information:
                    Name Description

                    Banner (80 Chars per line. Max 2K Chars.) field

                    Enter copyright information or messages that you want to display on the login screen, before logging on to the Web UI or the command line interface.

                    Restart SSH checkbox

                    When checked, the active SSH sessions are terminated after you click the Save Banner button.


                    What to Do Next

                    Viewing Cisco IMC Last Reset Reason

                    You can view the reason for why a component was last reset by the user using this feature.

                    Procedure
                      Step 1   In the Navigation pane, click the Admin tab.
                      Step 2   On the Admin tab, click Utilities.
                      Step 3   In the Cisco IMC Last Reset area of the Utilities pane, review the following information.
                      Name Description

                      Status field

                      The reason why the component was last reset. This can be one of the following:

                      • watchdog-reset—The watchdog-timer resets when the Cisco IMC memory reaches full capacity.

                      • ac-cycle— PSU power cables are removed (no power input).

                      • graceful-reboot— Cisco IMC reboot occurs.


                      Enabling Secure Adapter Update

                      Procedure
                        Step 1   In the Navigation pane, click the Admin tab.
                        Step 2   On the Admin tab, click Utilities.
                        Step 3   In the Secure Adapter Update area, check the Secure Adapter Update check box to enable the secure adapter update.
                        Note    If you wish to disable the update, uncheck the Secure Adapter Update check box.