Hello VMware community
We had a short blip in our network wherein our vCenter HA has to go back n forth to Primary
Seems like everything is up and running now. But when I try to use shell to go into the VCSA. I get a
> shell
> shell, no command found
I did also do the shell-set --enable true, but no luck on this
Is there another way I can check for health of the VCSA?? The VCSA shows everything ok, but I am not able to run the shell command
Thanks everyone
[Unnecessary “spoiler” removed by moderator]
Hey @jeddgo12,
Basically the root user has the super administrator role and by default it uses the Bash Shell. What you want to do is to connect over the Appliance Shell for running those commands you mentioned.
Follow the next KB to switch from BASH Shell to Appliance Shell: https://kb.vmware.com/s/article/2100508
Remember that you can also use whatever user you put in the group mentioned in my first reponse and by default it will have the Appliance Shell configured.
Hey @jeddgo12,
You can check the health from the vCenter VAMI on port 5480 and there you will find the health of the services. And for logging into vCenter Server you can use the VMRC to connect from an ESXi or vCenter HTML5 Client itself.
If you are still not able to login to can apply the permissions to login using Bash to a vsphere.local user or an Active Directory user by adding them into the group SystemConfiguration.BashShellAdministrators.
Let me know how it goes.
Can you please share a screenshot?
Else, if possible can you log in to the VMRC of the VCSA and try logging from there?
You are already in the shell.
when you see root@hostname# it means you are already logged in to bash.
there is a way to enable that login by default
https://blog.spaps.de/change-default-login-shell-for-vcenter-server-appliance-vcsa/
Hi
Sorry for being dumb on this
I am following - https://docs.vmware.com/en/VMware-vSphere/6.7/com.vmware.vcenter.upgrade.doc/GUID-5FCA78EC-8637-43A4...
HOw do I get to the software-packages utility? Hope this makes more sense now?
Thanks again for your time
Hey @jeddgo12,
Basically the root user has the super administrator role and by default it uses the Bash Shell. What you want to do is to connect over the Appliance Shell for running those commands you mentioned.
Follow the next KB to switch from BASH Shell to Appliance Shell: https://kb.vmware.com/s/article/2100508
Remember that you can also use whatever user you put in the group mentioned in my first reponse and by default it will have the Appliance Shell configured.
Basically, you can run those commands as you are logged in right now.