The plugin is written according to VMware’s SOAP API and can Power ON, Power OFF & Reboot servers.In order to get started, we will first need to add hosts. By “hosts” we mean a physical server that runs ESXi and runs guest machines. From the plugins menu, click “Manage Hosts” button –
Fill in all the required data, and click “save” to add hosts. Here is a brief explanation about required settings on that page –
|Name||A nickname for that server. It’s for your internal use and convenience only, no other usage.|
|IP||Ip that our plugin will connect to. It should be the VMKernel Management IP address.|
|Port||Change the port number in case you are using non standart vmware ports.
Default: 0 (will ignore this settings)
|Connection Type||SOAP only.|
|Username||User name that our plugin will connect with.|
|Password||Password that our plugin will connect with.|
|Alive URL||URL to check if the host is alive. We will always check that url before we execute commands
to that host. It should be the VMKernel Management IP address.
|Delete||Tick this box and save the page if you want to remove host|
After our host is set, we can manage actions (what to do when a server is down) for each hosts. From the plugins menu click “Manage actions” button –
In the next screen, you can set actions like email alerts and server reboots.
Our recommended settings are as follows –
- Open WHMCS Support Ticket after 5 minutes of failure.
- Reboot Server after 10 Minutes of failure.
- Send Email alert (linked to SMS Gateway) after 15 minutes of failure (In case server didn’t came back from reboot).
Now that the plugin is set and configured, you can link servers to that host.