Proxmox Cloud 2.X For WHMCS
From ModulesGarden Wiki
(Difference between revisions)
|
|
Line 305: |
Line 305: |
| {| | | {| |
| |style="padding: 0px 0px 15px 15px;"|'''18. Setting of KVM virtualization type. (skip, if you have chosen OpenVZ virtualization type)'''<br /> | | |style="padding: 0px 0px 15px 15px;"|'''18. Setting of KVM virtualization type. (skip, if you have chosen OpenVZ virtualization type)'''<br /> |
− | Enter default configuration limits, they will be used if you will not generate configurable options.<br /> | + | Enter default configuration limits which will be used if you will not generate configurable options.<br /> |
− | From dropdown menu choose '' 'KVM OS Type' '', '' 'Default Storage' '', '' 'Disk Type' '', '' 'CD/DVD-ROM Type' '' and '' 'ISO Image' '' .<br /> | + | From a dropdown menu choose '' 'KVM OS Type' '', '' 'Default Storage' '', '' 'Disk Type' '', '' 'CD/DVD-ROM Type' '' and '' 'ISO Image' '' .<br /> |
| Set network through setting '' 'Network Mode' '', '' 'Network Model' '' and '' 'Bridge' '' dropdown menus.<br /> | | Set network through setting '' 'Network Mode' '', '' 'Network Model' '' and '' 'Bridge' '' dropdown menus.<br /> |
| Type your VM description in '' 'Container Description' '', set backup location at a '' 'Storage' '' dropdown menu and click '' 'Save Changes' ''. | | Type your VM description in '' 'Container Description' '', set backup location at a '' 'Storage' '' dropdown menu and click '' 'Save Changes' ''. |
Revision as of 16:42, 19 November 2013
Proxmox Cloud For WHMCS is a powerful module which allows you to provide your client with availability to create their own servers in resource limit defined by you.
Additionaly it allows you to conveniently manage your servers, IP addresses and clusters.
The great advantage of this module is the fact that customers can manage virtual servers, backups and much more in your WHMCS client area!
|
✔ Suspend/Unsuspend Server
|
✔ Change Package (Supports Configurable Options)
|
✔ View Server Status, Details And Statistics
|
✔ View Graphs (With Ability To Change The Time Scale of MRTG Graphs)
|
✔ Display Disk And Bandwidth Usage Of Each Product
|
✔ IP Management (Per Server)
|
✔ Backup Limits (Max Number Of Files & Max Size Of Files)
|
✔ Backup Limit Jobs (Max Number Of Tasks Performing Backups)
|
✔ View Server Status, Details And Statistics
|
✔ View Graphs (With Ability To Change The Time Scale of MRTG Graphs)
|
✔ Display Disk And Bandwidth Usage
|
✔ Easy Product Upgrade/Downgrade
|
✔ Dynamically Chosen Server Resources While Ordering And Possibility To Upgrade Those Resources
|
✔ Integrated With Advanced Billing For WHMCS - Server Resource Usage Billing (read more)
|
✔ Integrated With IP Manager For WHMCS (coming soon)
|
✔ Supports Proxmox VE 3 and Later
|
✔ Supports WHMCS V5 and Later
|
- Available Configurable Options:
✔ Number of Cores Per Socket
|
Installation and Configuration
This tutorial will show you how to successfully install and configure Proxmox Cloud For WHMCS.
We will guide you step by step through the whole installation and configuration process.
|
Installation
1. Log in to your client area and download Proxmox Cloud For WHMCS.
|
2. Upload and extract the module into the main WHMCS directory.
|
3. When you install Proxmox Cloud for the first time you have to rename 'license_RENAME.php' file.
File is located at 'modules/servers/proxmoxCloud/license_RENAME.php' . Rename it from 'license_RENAME.php' to 'license.php' .
|
4. In order to configure your license key, you have to edit a previously renamed 'license.php' file.
Enter your licence key between quotation marks as presented on the following screen.
You can find your license key at your client area → 'My Products' .
|
Activation of Proxmox Addon
5. Firstly you should activate Proxmox Addon.
To do so, log in into your WHMCS and press 'Setup' → 'Addon Modules' . Find 'Proxmox Addon' and press 'Activate' .
|
6. In next step you need to permit access to this module.
To do so click on 'Configure' button, tick 'Full Administrator' and press 'Save Changes'.
|
Configuration of Server
7. Now we will show you how to configure a new product.
Go to 'Setup' → 'Products/Services' → 'Servers' and press 'Add New Server' .
|
8. Next, enter your server name, IP address, username and password.
Choose 'ProxmoxCloud' from a dropdown menu and press 'Save Changes' .
Last step is choosing authentication from the 'Authentication' dropdown menu.
Note: Authentication depends of realm used by user at Proxmox server.
|
9. After you configure your server correctly, you will see a following screen.
You can check connection with Proxmox server. To do so, simply press 'Test Connection' as shown on screen below.
|
10. It is time to create a server group, to do so click on 'Create Server Group' .
|
11. Enter name, click on your previously created server, press 'Add' and afterwards 'Save Changes' .
|
Configuration of Product
12. In order to create and configure a product click on 'Setup' → 'Products/Services' → 'Products/Services' .
Click on 'Create a New Group' .
|
13. Enter product group name and press 'Save Changes' .
|
14. When you have a product group, you can create your product.
To create a product click on 'Create a New Product' .
|
15. Afterwards choose your product group and type from dropdown menus, enter your product name and press 'Continue' .
'Product Type' should be set to 'Dedicated/VPS Server' in order to add nameservers later.
|
16. Now go to 'Module Settings' section, choose both 'ProxmoxCloud' and your previously created server group from dropdown menus.
Next, click on 'Save Changes' .
|
17. From dropdown menus choose 'Virtualization Type' , 'Default Node' , 'Template & ISO Storage' and 'User Role '.
Afterwards press 'Save Changes' .
Note: If you choose 'Auto-Node' as 'Default Note', new virtual servers will be created on the least used node.
|
18. Setting of KVM virtualization type. (skip, if you have chosen OpenVZ virtualization type)
Enter default configuration limits which will be used if you will not generate configurable options.
From a dropdown menu choose 'KVM OS Type' , 'Default Storage' , 'Disk Type' , 'CD/DVD-ROM Type' and 'ISO Image' .
Set network through setting 'Network Mode' , 'Network Model' and 'Bridge' dropdown menus.
Type your VM description in 'Container Description' , set backup location at a 'Storage' dropdown menu and click 'Save Changes' .
|
19. Setting of OpenVZ virtualization type. (skip, if you have chosen KVM virtualization type)
From dropdown menus choose 'OpenVZ OS Template' , 'Default Storage' , 'Network Mode' , 'Bridge' and 'Storage' .
Type your virtual servers description in 'Container Description' and press 'Save Changes' .
|
20. At the end of product configuration press 'Generate default' nearby 'Configurable Options' and 'Custom Fields' .
|
Congratulations! You have just finished the installation and configuration of the module.
|
Configuration of Addon
20. Adding new IP address
In order to create new product you have to add dedicated IP pool to 'IP Addresses' list in 'Proxmox' addon module.
To do so, go to 'Addons' → 'Proxmox Addon' → 'IP Management' and press 'New IP Addresses' .
|
21. Type desired IP in 'IP Pool' and choose server from a 'Server' dropdown menu.
Afterwards press 'Add Pool' .
|
22. You are now able to create new virtual machines at product.
If you used KVM virtualization type, the client area of successfully created producs should look simillar as on the screen below.
|
23.The client area of product using OpenVZ virtualization type look quite similar.
|
Management
Proxmox Cloud allows your customers to manage their PVE accounts via client area in your WHMCS system.
You can monitor and manage each product from your WHMCS admin area.
To view details about virtual server created by your client simply press 'Load Status' button.
|
You can view here basic information about virtual server, resource usage and graph of resoruce usage.
To hide server details, press 'Hide' button.
|
Management of Addon
In 'Addons' → 'Proxmox Addon' → 'Server List' you can find servers you have configured.
To see what product are created and assigned to your Proxmox server simply click on its 'Server Name' .
|
As you can see on the screen below, you can find a lot of useful information here like e.g. IP, VM ID or VM Type.
|
In 'IP Management' tab you can add, edit and remove IP of Proxmox products.
|
'Clusters' tab contains clusters list. To view information about cluster simply press on its name.
|
Here you can find various information about cluster, from available resource to graph of their use.
In order to go back to cluster list, press on 'Back to clusters list' button.
|
Client Area
Client area interface of Proxmox Cloud allows your clients to create their own virtual servers.
They can also view their resource usage and manage existing virtual servers.
|
In order to add new server, press 'Add New Server' button.
|
Afterwards, enter 'Hostname' , 'Nameserver 1 ', 'Nameserver 2' and 'Root Password' .M
Choose 'Template' from a dropdown menu and select resources for your server using sliders.
You can also enter resources values into textboxes instead of using sliders.
Confirm creation through pressing 'Add New Virtual Server' .
|
To manage your virtual server simply press 'Manage' button next to it.
You can find information about managing your virtual servers in next section.
|
If you do not need particular virtual server anymore, press 'Delete' button to remove it.
|
Virtual Server Management
Client area interface of created virtual server should look like the one on the screen below.
As you can see, control panel contain useful options needed for managing VPS.
Module allows your customers to easily boot(1), stop(2), reboot(3) and shutdown(4) their servers through pressing specified button.
Clients can also edit(5) server, access console(6), view graphs of resource usage(7), create backup(8) and set up backup jobs(9).
They can also find here server details and resource usage(10) and IP addresses assigned to virtual server(11).
|
Edit VM
Edit feature allows you to change server details and resources except 'Template' and 'Password' . To edit your server, click on 'Edit VM' button.
|
Afterwards, alter options you desire and confirm through pressing 'Save Changes' button.
|
Console
One of the most interesting functionality is VNC console(6) where your clients can remotely manage server. To access it, simply press on the 'Console' (6) button.
Console require Java software. You need to accept security risk to run it.
|
Usage Graphs
Under 'Usage Graphs' (7) page client can find graph of CPU and memory usage, network traffic and disc I/O.
He can also switch timeline of the graphs by choosing it from a dropdown menu pointed at the following screen.
|
Backup
To create a single backup, press 'Backup' (8) button and click on 'New Backup' button as shown on the folowing screen.
|
Now choose 'Compress Dump File' and 'Backup Mode' from a dropdown menus.
Afterward press 'Add Backup' .
|
To restore VM from backup simply press 'Restore' and then click 'OK' button in a popup window to confirm.
|
Backup Jobs
By pressing 'Backup Jobs' (9) in your client area, you will be carried to backup jobs management page.
To add new backup job press 'New Job' as shown on the following screen.
|
Now define backup time, mark days to run it and choose from a dropdown menus 'Compression Dump File' and 'Backup Mode' .
Next, press 'Add' button.
|
Management of Configurable Options
When you successfully set up a product, your client can order it by choosing from default configurable options.
|
If automatically generated configurable options do not seem to fill your client needs, you can edit them using this guide to change them.
|
If you decide to set pricing per server resource ordered, you can find instruction how to proceed here.
|
Tips
1. Operations performed on the virtual servers are not executed immediately. Give your Proxmox Virtual Environment some time for processing the request and execution of operation.
|
Common Problems
1. When you have problems with connection, check whether your SELinux or firewall is not blocking ports.
|