Cisco UCS Manager CLI Configuration Guide, Release 1.0(2)
Recovering a Lost Password
Downloads: This chapterpdf (PDF - 436.0KB) The complete bookPDF (PDF - 3.18MB) | Feedback

Recovering a Lost Password

Recovering a Lost Password

This chapter includes the following sections:

Password Recovery for the Admin Account

The admin account is the system administrator or superuser account. If an administrator loses the password to this account, you can have a serious security issue. As a result, the procedure to recover the password for the admin account requires you to power cycle all fabric interconnects in a Cisco UCS instance.

When you recover the password for the admin account, you actually change the password for that account. You cannot retrieve the original password for that account.

You can reset the password for all other local acounts through Cisco UCS Manager. However, you must log into Cisco UCS Manager with an account that includes aaa or admin privileges.


Caution


This procedure requires you to power down all fabric interconnects in a Cisco UCS instance. As a result, all data transmission in the instance is stopped until you restart the fabric interconnects.


Determining the Leadership Role of a Fabric Interconnect

Procedure
  Command or Action Purpose
Step 1 UCS-A# show cluster state  

Displays the operational state and leadership role for both fabric interconnects in a cluster.

 

The following example displays the leadership role for both fabric interconnects in a cluster, where fabric interconnect A has the primary role and fabric interconnect A has the subordinate role:

UCS-A# show cluster state
Cluster Id: 0x4432f72a371511de-0xb97c000de1b1ada4

A: UP, PRIMARY
B: UP, SUBORDINATE

HA READY

Recovering the Admin Account Password in a Standalone Configuration

Before You Begin
  1. Physically connect the console port on the fabric interconnect to a computer terminal or console server

  2. Obtain the following information:


    • The firmware kernel version on the fabric interconnect

    • The firmware system version


Procedure
Step 1   Connect to the console port.
Step 2   Power cycle the fabric interconnect:
  1. Turn off the power to the fabric interconnect.
  2. Turn on the power to the fabric interconnect.
Step 3   In the console, press one of the following key combinations as it boots to get the loader prompt:
  • Ctrl+l

  • Ctrl+Shift+r

You may need to press the selected key combination multiple times before your screen displays the loader prompt.

Step 4   Boot the kernel firmware version on the fabric interconnect.
loader > boot
/installables/fabric/kernel_firmware_version
Step 5   Enter config terminal mode.
Fabric(boot)# config terminal
Step 6   Reset the admin password.
Fabric(boot)(config)# admin-password
 password

The new password displays in clear text mode.

Step 7   Exit config terminal mode and return to the boot prompt.
Step 8   Boot the system firmware version on the fabric interconnect.
Fabric(boot)# load /installables/fabric/system_firmware_version
Step 9   After the system image loads, log in to Cisco UCS Manager.

Recovering the Admin Account Password in a Cluster Configuration

Before You Begin
  1. Physically connect a console port on one of the fabric interconnects to a computer terminal or console server

  2. Obtain the following information:


    • The firmware kernel version on the fabric interconnect

    • The firmware system version

    • Which fabric interconnect has the primary leadership role and which is the subordinate


Procedure
Step 1   Connect to the console port.
Step 2   For the subordinate fabric interconnect:
  1. Turn off the power to the fabric interconnect.
  2. Turn on the power to the fabric interconnect.
  3. In the console, press one of the following key combinations as it boots to get the loader prompt:
    • Ctrl+l

    • Ctrl+Shift+r

    You may need to press the selected key combination multiple times before your screen displays the loader prompt.

Step 3   Power cycle the primary fabric interconnect:
  1. Turn off the power to the fabric interconnect.
  2. Turn on the power to the fabric interconnect.
Step 4   In the console, press one of the following key combinations as it boots to get the loader prompt:
  • Ctrl+l

  • Ctrl+Shift+r

You may need to press the selected key combination multiple times before your screen displays the loader prompt.

Step 5   Boot the kernel firmware version on the primary fabric interconnect.
loader > boot
/installables/fabric/kernel_firmware_version
Step 6   Enter config terminal mode.
Fabric(boot)# config terminal
Step 7   Reset the admin password.
Fabric(boot)(config)# admin-password
 password

The new password displays in clear text mode.

Step 8   Exit config terminal mode and return to the boot prompt.
Step 9   Boot the system firmware version on the primary fabric interconnect.
Fabric(boot)# load /installables/fabric/system_firmware_version
Step 10   After the system image loads, log in to Cisco UCS Manager.
Step 11   In the console for the subordinate fabric interconnect, do the following to bring it up:
  1. Boot the kernel firmware version on the subordinate fabric interconnect.
    loader > boot
    /installables/fabric/kernel_firmware_version
  2. Boot the system firmware version on the subordinate fabric interconnect.
    Fabric(boot)# load /installables/fabric/system_firmware_version