Proxmox Full Automation:Installation

From WebSoftSolus Documentation
Revision as of 02:36, 2 June 2018 by WebSoftSolus (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Language: English  • français


System Requirements

Below is the list of system requirements :

Addon Installation

Installing WHMCS Proxmox Full Automation is very simple. The following steps will guide you through the process:

Upload

  • Unzip the contents of the zip file to a folder on your computer
  • Upload the files and folders to your WHMCS folder - if you experience problems, try uploading in binary mode


Activation

  • Go to Configuration >> Modules Addon >> Proxmox Full Automation et clic to active.
  • Check "Full Administrator" like in the image below.


proxmox-addons.png


  • Go to Addons >> Proxmox Full Automation and enter your license in (Module License Key) like in the image below.


proxmox-config-key.png


That's it! the installation is complete :).


Configuration

Plans

Go to the VM plans and add your product plans OpenVZ and KVM as in the images below:


proxmox-addons-plans.png

Adding OpenVZ Plans

proxmox-addons-addovz.png

Adding KVM Plans

proxmox-addons-addkvm.png

IP Addresses

Go to the section IP Blocks and add IP blocks and assign them to your cluster, then assign the IP address blocks to each block as in the image below :


proxmox-ipblock.png

Adding IP Blocks

proxmox-addblock.png

Adding IP Addresses

proxmox-addip.png


Adding Server

  • Go to Settings >> Products / Services >> Serverus
  • Add a server and fill in the fields (Name, Hostname, IP Address)


proxmox-addserver1.png


then in the "Server Details" selection type "Proxmox" then fill in the fields (Username, Password) as in the image

  • Note : The username can end with "@pam" or "@pve", it depends on the authentication method you have chosen.

proxmox-addserver2.png

Configuration Systems Templates

Go to Storage section of your Proxmox Cluster and add Storage called "xtemplates" where you should place your templates and your ISO


proxmox-storage.png


That's it! your module is configured.



Optional Configuration

Operating System Chooser

This small feature, convenient, lets you add a scrolling list of operating systems on the order form, allowing the customer to choose the operating system they want without having to reinstall them VPS after delivery with a default system.

To configure this, you must create a group of configurable options for each type of virtualization :


proxmox-create-config-options-os-kvm.png


  • Then you must add a new configurable option for the new group.

The default name for the configurable option is 'Operating System' but you can customize the display name of the option by adding a second part that will be the name displayed when ordering.

Both parties must be separated by a | (Alt Gr + 6)


  • Select the type of option: Dropdown.


  • In the Options field, you need to define your models with one hand the file name or the iso, and secondly, a friendly name that will be shown when ordering.

The first part is the file name eg 'X2PVOL_FR.iso' and the second part is the friendly name that is' Windows XP Pro. Both parties must be separated by a | (Alt Gr + 6)

The file name must match the name of the ISO or the OpenVZ template present in the storage "xtemplates".


You must obtain options that should like the image below:


proxmox-create-config-options-kvm-systems.png


That's it, just click on 'Save Changes' and follow this procedure for each type of virtualization you need.


proxmox-create-config-options-systems.png


Group Chooser

The group chooser lets you add a dropdown list of definable node groups on the products order form allowing the client to choose a specific group on order. This can be handy for a serveral purposes including a location chooser. For example, to set up a Location Chooser:

First create a group on "Cluster >> Clusters Groups" section

proxmox-addgroup1.png

proxmox-addgroup.png

Fill out the fields and click "Save Changes"


You'll get a result like in the picture below


proxmox-groups.png


Then create a new configurable option group like in the image below:


proxmox-create-config-options-location1.png


  • You then need to add a new configurable option to the new group. The default name for the configurable option is 'Location' but you can customize the display name of by adding a second part that will be the name displayed when ordering.

Both parties must be separated by a | (Alt Gr + 6)

  • Select Option Type: Dropdown.
  • In Field Options you need to define your locations with a friendly name and the cluster group id (You can get the id's from the Clusters Groups list).

When ID is '0' the Container/VM wille be created on the first available cluster.

Example:


proxmox-create-config-options-location.png

Thats it, just click Save Changes!

Resources

The resource selector allows your customers to order custom configurations of virtual servers.

It allows customization of the size of disk space, memory, number of processors and the number of IP addresses.

PS: These options override the settings of the 'Plan' of your predefined


To establish a resources chooser:


  • Create a new group of configurable option as in the picture below


proxmox-create-config-options-ovz.png


proxmox-create-config-options-ovz-resources.png


  • then you must add a new configurable option for the new group.

The default name for the configurable option is 'CPU' but you can customize by adding a second part that will be the name displayed when ordering.

Both parties must be separated by a | (Alt Gr + 6)


  • Select the type of option: Dropdown.


  • In the Options field, you must set the one hand the number of CPUs, and secondly, a friendly name that will be shown when ordering.

The first part is the number of CPUs for example '1' and the second part is the friendly name to know '1 vCPU'.

Both parties must be separated by a | (Alt Gr + 6)


You must obtain options that should like the image below:


proxmox-create-config-options-cpu.png


  • Then you must add a new configurable option named 'Disk Space', you can customize by adding a second part, both parties must be separated by a | (Alt Gr + 6)


  • Select the type of option: Dropdown.


  • In the Options field, you must set the one hand the disk size in GIGABYTES, and secondly, a friendly name that will be shown when ordering.


Both parties must be separated by a | (Alt Gr + 6)


You must obtain options that should like the image below:


proxmox-create-config-options-disk.png


  • Then you must add a new configurable option called 'Memory', you can customize by adding a second part, both parties must be separated by a | (Alt Gr + 6)


  • Select the type of option: Dropdown.


  • In the Options field, you must set the memory size in MEGABYTES and the size of the swap and the other, a friendly name that will be shown when ordering.


The memory size and the size of the swap must be separated by : (colon).


PS: For KVM machines, the size of the swap is ignored.


Both parties must be separated by a | (Alt Gr + 6)


You must obtain options that should like the image below:


proxmox-create-config-options-memory.png


  • Then you must add a new configurable option called 'IP Address', you can customize by adding a second part, both parties must be separated by a | (Alt Gr + 6)


  • Select the type of option: Dropdown.


  • In the Options field, you must set the one hand the number of IP addresses, and secondly, a friendly name that will be shown when ordering.


Both parties must be separated by a | (Alt Gr + 6)


You must obtain options that should like the image below :


proxmox-create-config-options-ip.png


That's it! you can now offer VPS with resources completely customizable.



Additional Resources

This selector allows your customers to order additional resources for their virtual servers.

It allows the addition of disk space, memory, processors and IP addresses.

PS: Adding disk space for Machine KVM is not supported


To implement a selector for additional resources:


  • Create a new group of configurable option as in the picture below


proxmox-create-config-options-extra-ovz.png


  • Then you must add new configurable options for the new group exactly as we have seen now for resources but with new variables as follows:


  • For the CPU, the default name for the option is 'Extra CPU'


proxmox-create-config-options-extra-cpu.png


  • For disk space, the default name for the option is 'Extra Disk Space'


proxmox-create-config-options-extra-disk.png


  • To the Memory, the default name for the option is 'Extra Memory'


proxmox-create-config-options-extra-memory.png


  • For IP address, the default name for the option is 'Extra IP Address'


proxmox-create-config-options-extra-ip.png


That's it, you can now offer additional resources for your VPS.