Hello everyone,
I'm totally new using all this stuff about virtualization and I have the next issue: we are using VMware 5.5.0 recently installed in which we have 04 VM. I'm trying to install the last update firmware using SSH but when I connected using putty with root user and password administrator show me this:
The time and date of this login have been sent to the system logs.
VMware offers supported, powerful system administration tools. Please
see www.vmware.com/go/sysadmintools for details.
The ESXi Shell can be disabled by an administrative user. See the
vSphere Security documentation for more information.
then I use this instruction: /vmfs/volumes # vim-cmd hostsvc/maintenance_mode_enter and show me this:
-sh: /vmfs/volumes: Permission denied
I'm folling this steps:
https://aprendiendoavirtualizar.com/esxi-instalacion-manual-de-parches/
but the part of the SSH I can't understand it.
If you can bring me some help for dummies I aprecciate it.
Thanks in advanced.
Moderator: Moved to ESXi Discussions
If you are running anything like production workloads you should be considering an upgrade to at least 6.5 in order to be running a version which is still supported and updated.
Hi Marco,
It's not the correct method of running CLIs. I guess you tried to copy and execute two separates commands, something like "cd /vmfs/volumes" ... I don't know why you try to this, but for the second part: "vim-cmd ..." you are trying to put the host in the maintenance mode to do any types of maintenance operations like upgrade/update.
Then you can do updating operation via "esxcli software vib ..." commands, BTW please see the following link to check the esxcli syntax before executing this command: KB2008939
If I look at the referenced site you are typing the command including the current path and that doesn't work. So the command is everything on the right side of the #-sign.
So the first command is:
vim_cmd hostsvc/maintenance_mode_enter
The second command on the site is:
esxcli software vib install -d "/vmfs/volumes/datastore1/parch/ESXi550201505002.zip"
But I would also suggest you upgrade ESXi to a supported version (minimum 6.5).
Hi.
Attached link with instructions on how to enable SSH and Shell
https://kb.vmware.com/s/article/2004746?lang=es
Remember that to install patches you must turn off the VMs and put the ESXi host in maintenance mode, this can be done from the VMware client more easily than from CLI.
You can send me a private mail if you need free help to install the patch remotely.