Changing Passwords for Hardware Components

You can change the password for compute nodes and management nodes, switches, ILOMs, or the ZFS Storage Appliance. These passwords are managed from the Service CLI.

Important

The following password rules apply:
  • Passwords for compute nodes, leaf switches, management nodes, management switches, or spine switches must contain at least 8 but no more than 20 characters.

  • Passwords for ZFS Storage Appliance or ILOMs must contain at least 8 but no more than 16 characters.

  • All passwords must contain at least 1 uppercase letter (A-Z), 1 lowercase letter (a-z), 1 digit (0-9), and 1 of the following symbols: @$!%*#&.

  • Enclose the password in double quotes "password" when entering it as part of the CLI command.

Listing Components with Configurable Passwords

To view the components for which you can change passwords, use the changepassword ? or the changeilompassword ? command.

PCA-ADMIN> changepassword ?
ComputeNode
LeafSwitch
ManagementNode
ManagementSwitch
SpineSwitch
ZFSAppliance
PCA-ADMIN> changeilomPassword ?
ComputeNode
ManagementNode
Changing Component Passwords

To change the password for a hardware component, use the changepassword command.

Syntax (entered on a single line):

changepassword 
ComputeNode|LeafSwitch|ManagementNode|ManagementSwitch|SpineSwitch|ZFSAppliance
id=<component_id> OR name=<component_name>
password="<new_password>" confirmPassword="<repeat_new_password>"

Example:

PCA-ADMIN> changePassword id=21ad5b60-d30d-4a95-b39f-5bf152005f0f
password=************* confirmPassword=*************
Status: Success
JobId: fe772781-d0af-47cc-af87-2059f8e70b63
Changing Component ILOM Passwords

To change the ILOM password for a compute node or management node, use the changeilompassword command.

Syntax (entered on a single line):

changeilompassword ComputeNode|ManagementNode 
id=<component_id> OR name=<component_name>
password="<new_password>" confirmPassword="<repeat_new_password>"

Example:

PCA-ADMIN> changeilomPassword id=21ad5b60-d30d-4a95-b39f-5bf152005f0f 
password="*************" confirmPassword="*************"
Status: Success
JobId: fe772781-d0af-47cc-af87-2059f8e70b63