====== ESXi Servers (VMware) ====== We use VMware ESXi to run virtual copies of our previous physical servers. == Licenses == VMware vSphere 5 Essentials PLUS for 6 CPU(s): NH0AP-45L53-58R4N-00AR0-8X755 VMware ESXi (vSphere) v6 License Keys: MC0RH-F4214-M8D10-F32E0-22202 == Add a user == - Log on to an ESXi host using initial root user. - Manage -> Security & users -> Users -> Add user - Host -> Actions -> Permissions -> Add user -> enter newly created user name == Remote Administration == Each VM host can be monitored and managed from a browser by making use of VMware's vSphere HTML 5 Web Client. This interface runs on the host/hypervisor directly. It can be accessed from the links below. ^ Host ^ IP Address ^ VM Management Link ^ | VMHost1 | 192.168.0.33 | [[https://vmhost1.audina.net/ui/]] | | VMHost2 | 192.168.0.34 | [[https://192.168.0.34/ui/]] | | VMHost4 | 192.168.0.35 | [[https://vmhost4.audina.net/ui/]] | | VMHost6 | 192.168.0.37 | [[https://vmhost6.audina.net/ui/]] | | VMHost7 | 192.168.0.40 | [[https://192.168.0.40/ui/]] | | VMHost8 | 192.168.0.41 | [[https://192.168.0.41/ui/]] | Sometimes this package will prompt you to update. In most cases that update will fail. When it does you'll see an error message with a link to the package that should have downloaded. To manually install the update follow the instructions below: # Copy the URL from the error message or alternatively, download the update package and use an SCP/SFTP client to push the package to the host. # Under Host click ''Manage'', then click ''Packages'' and finally click ''Install Update'' # Paste the previously copied URL or the datastore path you placed the downloaded package in and click ''Update'' == Host Shutdown == For system reboots/shutdowns, make sure to follow these steps: * Shutdown each individual virtual machine. Do not use VMware's basic tasks, but use the virtual machine console and login to the server OS to shutdown safely. * Shutdown or reboot VMware host. {{:network:esxi:vmware-client-vmhost-shutdown.png|VMware host shutdown}} == Host Startup == At system start, perform these steps: * Login to ''timeclock'' server, and verify ''apache'' and ''PCEntry.exe'' are running. * Login to ''Server20081'' server, and verify OfficeWatch app, Unifi controller and Timeclock Middleware are running. **Note**: It's possible that the network location setting is incorrect. This manifests in subtle network connectivity changes because this setting is what tells the firewall what traffic to block. It is imperative that this is set to ''Domain network'' or ''Work'' (not ''Home'' or ''Public''). Control Panel > Network and Internet > Network and Sharing Center {{:network:esxi:controlpanel-networklocation.png|PhoneLog: Set network location to 'Work' for it to work correctly}} If unable to set it to ''Work Network'', then use these steps: {{:network:esxi:control-panel-network-sharingcenter.png|Control Panel: Network Sharing Center}} == Configuring ESXi Firewall == The ESXi firewall contains a number of preconfigured services that can be enabled. If the service you need to enable isn't listed there isn't an interface to do that on the vSphere Client, you must SSH into the host to add it. Follow the instructions below or see this article on VMWare's site. [[http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2008226 | Creating custom firewall rules in VMware ESXi 5.x (2008226)]] To manually add a service to the firewall's list of services: # Backup the original firewall service list which is located at /etc/vmware/firewall/service.xml # Change permissions to allow editing service.xml chmod 0644 /etc/vmware/firewall/service.xml # Add the service by opening service.xml with vi and modifying the file following the examples already in the file # Set the file permission back to default chmod 1444 /etc/vmware/firewall/service.xml # Refresh the firewall esxcli network firewall refresh Note: This file may be overwritten on reboot. == VMware Remote Console == If you have the VMware Remote Console application installed, you can access any virtual machine through a remote desktop-like interface. At the Windows Run prompt: vmrc://[username]@[host ip]/?moid=[vm moid] You can install the application from: \\SERVER20081\Documents and Settings\Software Installation Backup\VMware-VMRC-9.0.0-4288332.msi