In this document we'll review the configuration needed to have Turbonomic execute and automate Host Suspend and Host Start actions in a VMware environment.
In order to have Turbonomic suspend and start physical machines, the hardware must be configured with either IPMI or iLO. For more detailed information on prerequisites and setup, see vmware’s documentation for Managing Power Resources. If you have DPM enabled, then skip to Step 6.
1) First, confirm IPMI or iLO has been configured on the hardware. This means that a hardware Baseboard Management Controller (BMC) is available to provide a gateway for access to hardware control functions. You will need credentials for IPMI/iLO, IP address of the IPMI/iLO, and MAC Address of the IPMI/iLO.
2) Check that the vMotion NIC for each host supports WOL (Wake-on-LAN). To check this, go to a host in the vCenter Web-Client. Manage > Networking > Virtual Switches. Locate the physical network adapter corresponding to the VMkernal port. In this case the VMKernal port is on “vmnic1”.
3) Now on the same host, go to Manage > Networking > Physical Adapters. For the physical network you identified in Step 2, verify that in the “Wake on LAN Supported” column is says “Yes”.
4) Now configure IPMI or iLO settings for each host. Select a host in the inventory, go to Manage > Settings > Power Management > Edit
Fill in the following details to allow for Power Management.
- iLO/IPMI Username
- iLO/IMPI Password
- BMC IP Address (iLO/IPMI IP Address for the host)
- BMC MAC address (iLO/IMPI MAC Address for the host)
5) Now verify that the host can be placed in Stand-By mode and Powered On from vCenter.
Right click on the host and select “Enter Stand-By Mode”. Once in Stand-By, right click on the host and select “Power On”.
If the host comes back on you have successfully configured Power Management for your hosts. You can now enable Turbonomic to execute its decisions on Host Suspension and Host Start to meet workload demand.
6) In Turbonomic, navigate to the Policy Tab to configure the correct action policies. In order for Turbonomic to recommend suspending a host, workload demand must be low enough to consolidate workloads onto fewer hosts. Ensure that Move actions are automated to allow Turbonomic to vacate hosts during low-demand times. Policy Tab > Expand “Action” > Select “VM” > Expand “Virtual Machines by PM Cluster” > Select the desired cluster > For “Move” select “Automated”.
Now configure Host action settings to allow Turbonomic to automatically suspend/start hosts. Navigate to the Policy Tab > Expand “Action” > Select “Host” > Expand “Physical Machines by PM Cluster” > Select the desired cluster > For “Start” and “Suspend”, select “Automated”.
7) So in the scenario below, Turbonomic will now automatically Suspend hosts when demand in low and Start hosts when demand rises.