01-11-2021 01:02 PM - edited 01-12-2021 05:44 AM
For some reason when recovering my MSO cluster with a backup file created the same day the tacacs domain got lost and i cannot log anymore. Next to that the local account isn't working either.
Is there a way to reset the password of the local account used in the GUI via CLI?
Or is there another way to reset the local account?
Username is admin.
Note. I can log in via CLI.
Thank you in advance.
Bob
Update 12-01-2021: I found out that i was importing the wrong backup, so me stating that configuration got lost after restoring the backup was totally my own fault. Luckily this all happened in the testlab.
Solved! Go to Solution.
01-11-2021 02:43 PM
I assume this is the OVA version of MSO (rather than service engine or Nexus Dashboard. If that's the case, log into the CLI:
1. Delete admin credential:
/opt/cisco/msc/builds/<build_version>/bin/msc_delete_admin.sh
2. Restart msc_userservice:
docker service update --force --detach=false msc_userservice
This process should reset the password back to the default.
Robert
01-11-2021 02:43 PM
I assume this is the OVA version of MSO (rather than service engine or Nexus Dashboard. If that's the case, log into the CLI:
1. Delete admin credential:
/opt/cisco/msc/builds/<build_version>/bin/msc_delete_admin.sh
2. Restart msc_userservice:
docker service update --force --detach=false msc_userservice
This process should reset the password back to the default.
Robert
01-12-2021 12:17 AM
Thank you Robert, this was exactly what i was searching for.
Is there a link to documentation where i can find these kind of actions for MSO, maybe APIC to?
Greetings,
Bob
01-12-2021 12:23 AM
Hi @Korth501
Well, I do not see the msc_delete_admin mentioned anywere, but there are quite a lot useful tips&tricks in the cisco live presentations (especially the troubleshooting ones). Here are the good ones:
Stay safe,
Sergiu
01-12-2021 04:58 AM
I'll have our docs team add into the docs. I'll update this thread once its been added with the relevant doc link - to help others in the future find this.
Regards,
Robert
03-11-2021 10:31 PM
Hi Robert,
Do you have the similar solution if the MSO is installed on top of virtual ASE? I can still login to virtual ASE with the rescue-user username.
Thank you.
Regards,
Albert
03-12-2021 05:27 AM - edited 03-12-2021 05:31 AM
@albert for the MSO on ASE password recovery you will need to contact TAC as they need root access to modify the mongoDB manually to drop the admin account & reset it.
I'd suggest to move to Nexus Dashboard if/when possible as MSO will leverage Single Sign On features and bring much better integration to both platform and other Day2 Ops tools (Nexus Insights, NAE etc).
Robert
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide