"Orchestrator Blues" Part 2: VCO and VCG password traps and recovery actions
When
you set up new Orchestrator and Gateways it typically takes some time
until you need to relogin via SSH or via Console in order to do for
example an upgrade to a new version.
Default password expiration is typically set to 90 days.
Normally when for an account the password is expired you still can login via console and specifiy a new password afterwards.
Unfortunately VMware SD WAN Orchestrator and Gateways have a specific setting, that completely disables login of vcadmin after the first 90 days without any password change even on console.
In that case you are left with unreachable VCO and VCGs regarding CLI.
So the only way to overcome is a password reset procedure:
And there are as far as I have seen, 2 ways to do such a password reset:
- Password Reset via GRUB Recovery Mode
- Reconnect of Disk to separate Unix System and doing Password Reset from there
As the first method is much simpler you should always try that one, before using the 2nd one.
WARNING:
Be careful and have a Snapshot or backup done before attempting the
following procedures, the author takes no responsibility for the
correctness of the following commands and sequences.
Password Reset via GRUB Recovery Mode
ALTERNATION for method 1 after step e:
If the system asks you for a root password in maintenance mode or asks you to press <CTRL> D then:
1.reboot again
2.press <SHIFT>
3. when in GRUB menu highlight the recovery line but do not press <Enter>
4. Press e to go into edit mode
5. scroll down to a line starting with linux
6. near the end of the line replace ro with rw and at the end of line add init="/bin/bash"
7, press F10 or <CTRL> X to continue
8. when prompted enter passwd vcadmin and set the new password
9. boot the VCO again and all should be okay
Reconnect of Disk to separate Unix System and doing Password Reset from there
Both methods presented allow you to continue without needed to reapply and reconfigure the whole device.
Comments
Post a Comment