cluster set-password

Prev Next

This command sets passwords for the OS and IPMI admin users on all CNodes and DNodes in the cluster. Servers that are added to the cluster or re-activated after the command is run receive the same passwords.

Usage

cluster set-password [--root]
                     [--vastdata]
                     [--ipmi] 

Options

--root

Sets the password of the Linux OS superuser on all CNodes and DNodes in the cluster. The user name is (and remains) root.

After you enter the command, you are prompted to enter the new password and subsequently to re-enter the new password. The VAST CLI then informs you when the password change is finished.

--vastdata

Sets the password of the Linux OS user vastdata on all CNodes and DNodes in the cluster. The user name is (and remains) vastdata.

After you enter the command, you are prompted to enter the new password and subsequently to re-enter the new password. The VAST CLI then informs you when the password change is finished.

--ipmi

Sets the password of the IPMI admin user on all CNodes and DNodes in the cluster. The user name is (and remains) admin.

After you enter the command, you are prompted to enter the new password and subsequently to re-enter the new password. The VAST CLI then informs you when the password change is finished.

Example

This example changes the IPMI password for all CNodes and DNodes to admin1212:

vcli: admin> cluster set-password --ipmi 
Enter new password: 
Password: admin1212
Re-enter new password:
Password: admin1212
Setting new password for user ipmi 

Waiting ...

[2019-12-23 11:04:27] mycluster: changing password for all hosts ... \
[2019-12-23 11:04:36] finished changing password ... |

Completed