From WHMCS Documentation
[edit] Adding a HyperVM Server
The following steps guide you through the process of setting up a server in WHMCS for HyperVM Accounts.
- Begin by going to Configuration > Servers
- Click Add New Server
- Enter the master server name, IP address, select the server type "Hypervm" from the dropdown menu, and enter your HyperVM username & password
- Click Create Server to complete the process
Your HyperVM server is now configured in WHMCS. You can now move on to create your first HyperVM Package.
[edit] Setting up a HyperVM Package
To create a HyperVM Package in WHMCS, perform the following steps:
- Go to Configuration > Products/Services
- Click Create a New Product and then enter the name for your new package
- Set the product type to "Other" and untick the Show Domain Options tick box
- Configure the pricing, welcome email, and other configuration options as normal
- Next, go to the Module Settings tab of the product config
- Select Hypervm in the Module Type dropdown menu
- The page will refresh with the options for a HyperVM package
- In the Type field, you need to enter the type of server this package is for - it will be either "openvz" or "xen"
- In the Plan Name field, you need to enter the plan name as it appears listed in the dropdown in HyperVM when you are creating a new server eg. "sample1"
- In the OS Template field, again, you need to enter it exactly as it appears in the dropdown menu when adding a new server in HyperVM, eg. "centos-4-i386-hostinabox23"
- In the Server box you need to enter the slave server to set it up on. If you have only 1 HyperVM server this is 'localhost'.
- Finally you need to select the number of IPs to allocate to it.
- The last step is to setup a custom field on the custom fields tab called "Username" which is set to show on the order form and be required so users can enter their desired username when placing their order
That's it! Your HyperVM Package is now configured and ready for use.
[edit] Configure HyperVM Automation
Inside the HyperVM module then you have a few options that you can add to make the HyperVM automation process better for you and your clients!
OS Chooser
Let the client choose the OS he want's to install when he orders his VPS, this way you get the OS your CLIENT want instantly created instead of the pre-selected one in your configuration!
- Go to your package
- Click "Configurable Options"
- Click "Add New Configurable Option"
- Under option name you write "Operating System" it's important that the name is spelled correctly without the quotes
- Under "Add Option" you may enter your OS's like this "RAWNAME|NICE NAME" (EXAMPLE: centos-5-i386-afull|CentOS 5"
- Make a new Option for each OS you want to add
Congratulations, you have managed to create so that your client's can now choose what OS they want when they order the VPS trough your order form!