How to Enable/Disable Web Access in VMWare ESXi Server
This article provides steps to disable VMware Web Access services and prevent the login user interface from appearing via http and https. It also provides steps to enable VMware Web Access services once again in the future.
To disable VMware Web Access:
- Log in as root to the ESX host using an SSH client.
- Run this command to stop the VMware Web Access service:
service vmware-webAccess stop - To prevent the service from starting again upon reboot, run the command:
chkconfig –-level 345 vmware-webAccess off - After disabling the Web Access service you can browse the index page of the ESX host and download the VMware Infrastructure or vSphere Client from it, but you cannot log into Web Access from the page.To enable VMware Web Access:
- Log in as root to the ESX host using an SSH client.
- Run this command to determine if the VMware Web Access service is running:
service vmware-webAccess status - Run this command to start the VMware Web Access service:
service vmware-webAccess start - To enable the service to start upon reboot, run this command:
chkconfig --level 345 vmware-webAccess onNote: The ESX firewall must allow webAccess communication or the service will not start when ESX 4.0 boots. To enable webAccess in the ESX firewall, run this command on the ESX host:
esxcfg-firewall --enableService webAccess - If the VMware Web Access does not start after rebooting the ESX host:
- Select the ESX host in vSphere Client.
- Click the Configuration tab > Security Profile.
- Check vSphere Web Access, then run this command on the ESX console:
chkconfig --level 345 vmware-webAccess on
No comments:
Post a Comment