Changing Passwords on a ztC Endurance System
A ztC Endurance system requires the following sets of passwords:
-
BMC Web console administrator password
-
zenadminpassword on the Management VM and Standby OS -
ESXi
rootpassword -
ztC Endurance console and REST API password
This topic describes these passwords and explains how to update them (when possible) after the installation. See Gathering Information to learn more about these passwords.
To change the BMC Web console administrator password, log in to the BMC Web console as described in Logging In to the BMC Web Console. Click Settings, and then click User Management. The User Management page allows you to set usernames and passwords.
admin, and both BMCs must use the same administrator password.If you change the password after the installation, you must use the cfgpasswd command to notify the system-management software.
To notify the system-management software
-
On the management VM, run the following command:
sudo /opt/stratus/sbin/cfgpasswd --bmcadmin -
At the prompt, enter the new BMC administrator password that you created in the BMC Web console.
cfgpasswd command does not change the password; it simply notifies the system-management software of the change.The following example shows how to use the cfgpasswd command.
zenadmin@sys001-ztcmgmt:~$ sudo /opt/stratus/sbin/cfgpasswd --bmcadmin Stopping sra-mgmt... Enter value for BMC admin password: xxxxxxxxxxx Confirm value for BMC admin password: xxxxxxxxxxx Installed /opt/stratus/config/install-config.json Restarting sra-mgmt... zenadmin@sys001-ztcmgmt:~$
Non-administrator users can set up additional usernames and passwords with the BMC Web console without using the cfgpasswd command. The system-management software does not use these usernames or passwords and therefore does not need to be notified about them.
The system-management software uses the Ubuntu operating system zenadmin account on the Management VM and Standby OS for BeyondTrust installation and configuration, support logs, and software upgrades.
zenadmin account. To change the zenadmin account password
-
Change the password for each Ubuntu instance with the Linux
passwdcommand:-
Use the
sshcommand to connect to the Management VM and each Standby OS (for example,ssh zenadmin@xxx-ztcmgmt.yyy.com). Note that you must perform a Smart Exchange to connect to each Standby OS. -
Run the Linux
passwdcommand.
-
-
Notify system management about the new password created in the previous steps:
-
On the Management VM, run the following command:
sudo /opt/stratus/sbin/cfgpasswd --zenadmin -
At the prompt, enter the new password.
Note: Thecfgpasswordcommand does not change passwords. It simply stores an encrypted copy of the password for the management software to use when it needs to access the account protected by the password.
-
-
Verify the passwords by running the following command on the Management VM and current Standby OS:
sudo /opt/stratus/sbin/cfgpasswd --verify
To change the ESXi root password, use the ESXi Host Client. (See Configuring ESXi Host Client or vSphere Web Client for Remote System Management for information about logging in to the ESXi Host Client.) Stratus software does not use this password, so changing it has no impact on your ztC Endurance system.
To change ztC Endurance console usernames and passwords, use the ztC Endurance console as described in Managing User Accounts.
The REST API uses the same usernames and passwords.