Step one: Configuring the physical ESXi server
This guide will help you configure ESXi server, and configure a virtual machine inside that server.
Navigate to VMM Addon – WHMCS top menu -> Addons -> Virtual Machine Manager.
Inside Virtual Machine Manager, choose “Plugins” -> “Manage plugins“, in the VMware row, choose “Manage Hosts” –
Specify your ESXi host physical server login details. Leave the port field empty, we are using default SOAP API to communicate with the server.
* If your WHMCS server has a firewall, make sure to whiltelist your ESXi host ip address for in/out communication.
The physical host is the server that holds the virtual machines (multiple machines), and not the end user’s virutal machine (this will be configured later..).
Step two: Adding virtual machines for your ESXi host
First, the client’s virtual server should be properly configured inside WHMC’s Products/Services.
Please navigate to – WHMCS top menu -> Setup -> Products/Services -> Servers
Edit your server (or create a new one). Make sure that the client’s hostname is exactly the same as the server name in vmware ESXi, if they don’t match, Virtual machine manager will not be able to find your server.
At the bottom of the screen, under the “Type” section, choose “Virtualmachine“.
Next, navigate back to Virtual Machine Manager -> Servers tab. Your virtual machine should now appear in the server’s list, but it will be in an “Unknown” state. All you need to do now, is to choose “vmware” plugin, and the appropriate physical host (we configured it in step one).
That’s all !
To assosiate the server to a client, just choose the server in the client’s “Products & Services” tab, and the client will be able to manage the server through his WHMCS client area.