Hosting Quota Notifications 1.X For WHMCS
From ModulesGarden Wiki
(Difference between revisions)
|
|
Line 66: |
Line 66: |
| |} | | |} |
| {| | | {| |
− | |style="padding: 0px 0px 15px 15px;"|'''9. Next, enter your server name, IP address, username and password.<br /> | + | |style="padding: 0px 0px 15px 15px;"|'''9. Next, choose '' 'EasyDCIM' '' from '' 'Type' '' dropdown menu.<br /> |
− | Choose authentication type from '' 'Authentication' '' and '' 'Proxmox VPS' '' from '' 'Type' '' dropdown menus. '' 'Save Changes'. '''''
| + | Fill in your server name, IP address, username and password and press '' 'Save Changes'. ''''' |
| |} | | |} |
| {| | | {| |
Line 74: |
Line 74: |
| {| | | {| |
| |style="padding: 0px 0px 15px 15px;"|'''10. After configuring your server correctly, you will see a following screen.''' <br /> | | |style="padding: 0px 0px 15px 15px;"|'''10. After configuring your server correctly, you will see a following screen.''' <br /> |
− | In order to check connection with a Proxmox server, simply press '' 'Test Connection' '' as shown on the screen below. | + | In order to check connection with a EasyDCIM server, simply press '' 'Test Connection' '' as shown on the screen below. |
| |} | | |} |
| {| | | {| |
Revision as of 09:42, 3 November 2016
EasyDCIM For WHMCS will allow you to move provisioning and management of bare metal servers directly to your WHMCS.
Module will let your clients overview and manage their servers directly from your client area. They will be able to e.g. reboot servers or view resource usage graphs.
You will be also allowed to monitor, assign and manage all your EasyDCIM regardless of whether they are already ordered by your WHMCS customers or not.
|
✔ Assign SoftLayer Server To Hosting
|
✔ Assign Hosting To Unassigned SoftLayer Server
|
✔ Supports Bare Metal Servers
|
✔ Supports PHP 5.3 Up To PHP 7
|
✔ Supports WHMCS Templates Five and Six
|
✔ Supports WHMCS V6 and V7
|
Installation and Configuration
This tutorial will show you how to successfully install and configure EasyDCIM 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 EasyDCIM For WHMCS.
|
2. Upload and extract the module into the main WHMCS directory.
Files in your WHMCS directory should look like these.
|
Configuration of Server
8. Now, we will show you how to configure a new product.
Go to 'Setup' → 'Products/Services' → 'Servers' and press 'Add New Server' button.
|
9. Next, choose 'EasyDCIM' from 'Type' dropdown menu.
Fill in your server name, IP address, username and password and press 'Save Changes'.
|
10. After configuring your server correctly, you will see a following screen.
In order to check connection with a EasyDCIM server, simply press 'Test Connection' as shown on the screen below.
|
11. It is time to create a server group, to do so click on 'Create Server Group'.
|
12. Enter name, click on your previously created server, press 'Add' and afterwards 'Save Changes'.
|
Configuration of Product
13. In order to create and configure a product go to 'Setup' → 'Products/Services' → 'Products/Services'.
Click on 'Create a New Group'.
|
14. Enter product group name and press 'Save Changes'.
|
15. When you have a product group, you can assign your product to it.
To create a product click on 'Create a New Product'.
|
16. Afterwards, choose your product group and type from dropdown menus, enter your product name and press 'Continue'.
'Product Type' can be set to 'Dedicated/VPS Server' but nameservers will have to be added later.
If you do not want to be forced to fill out nameservrs, please select here 'Hosting Account'.
|
17. Now go to 'Module Settings' section, choose both 'Proxmox VPS' and your previously created server group from dropdown menus.
Next, 'Save Changes'.
|
9. Go to 'Module Settings' tab, choose 'SoftLayer' from 'Module Name' dropdown menu and fill in the fields with your SoftLayer API access details.
Additionally, you can enable features available in the client area.
These features are: bandwidth graphs, rDNS management, reboot management and power management.
Press 'Save Changes' as soon as you have finished.
Note: You should use API access details of main user (which can be recognized by 'SL' prefix in the username) otherwise servers status will not be displayed correctly.
|
Configuration of Addon
10. Now you have to activate the module in your WHMCS system.
Log in to your WHMCS admin area. Go to the 'Setup' → 'Addon Modules'. Afterwards, find 'SoftLayer Control Panel' and press 'Activate' button.
|
11. In the next step you need to permit access to this module.
To do so click on 'Configure' button, tick 'Access Control' near desired admin role groups and press 'Save Changes'.
|
12. It is time to configure addon API connection.
Go to 'Addons' → 'SoftLayer Control Panel' → 'Configure'.
Now, choose previously created EasyDCIM product and press 'Save' to load API access details from it.
|
12. You have just successfully installed EasyDCIM For WHMCS!
|
Management
At this section we will show you possibilities of EasyDCIM For WHMCS.
Our module allows you to offer EasyDCIM via your WHMCS system.
In addition to that, you can easily manage your servers owing to SoftLayer Control Panel addon.
|
Workflow - From Order To Created Server
Now, we will show you what steps need to be taken to prepare server to be used by a client.
1. Client orders EasyDCIM from your WHMCS client area.
|
2. You will receive an email with server creation request.
|
3. Log in to your SoftLayer panel.
|
4. Create user account (or use the existing one if an account for specified client already exists).
Remember to set up sufficient account permissions to use all of the client area features of EasyDCIM For WHMCS module.
|
5. Assign client to machine.
|
6. Save client username and API key.
|
7. Go back to your WHMCS admin area and proceed to the 'SoftLayer Control Panel' → 'Ordered Devices' → 'All'.
Press 'Assign Server' as shown on the following screen.
|
8. Provide here primary IP address of server and previously created user API access details.
Confirm assignment through pressing 'Save' button.
Note 1: Primary IP address of server can be found in 'SoftLayer Control Panel' → 'SoftLayer Devices' 26 'Unassigned'.
Note 2: User API access details can be found in SoflLayer panel → 'Account' → 'Users'. '
|
If you assigned server to user correctly, a you should see something similar to the following screen in the client are.
|
Admin Area
As soon as you set up server for client, you can request various actions and server details from WHMCS admin area.
'Suspend' / 'Unsuspend' actions change status of user account at the SoftLayer server.
'Create' / 'Terminate' / 'Change Package' actions send an email to admin with specific requests.
|
Our module allows you to check server power status (1), do commands like: default/soft/hard reboot (2) and even power it on/off (3).
|
With our module, you are able to view server details.
Simply, press 'Show Server Details' .
|
As you can see on the following screen, under server details you can find various details about server assigned to your client.
|
You can also access server bandwidth graphs through pressing 'Show Bandwidth Graph'.
|
Both, private and public network bandwidth graphs can be accessed that way.
|
Client Area
In the client area of module your customer can view all details concerning his server as well as bandwidth graphs.
They can even manage rDNS records, of course if you only give them such permission.
Your clients can view server power status (4), switch their servers on/off (5) and order various types of reboot (6-8).
|
Let's look at 'Server Details' (1) to you. As you can see, your clients can find here complete server specification.
|
Your clients can view bandwidth of public and private networks in the 'Bandwidth Graphs' (2).
|
'rDNS Management' (3) page allows your customers to easily update and remove existing rDNS records.
|
Our module also allows your clients to add new rDNS records.
Adding a new rDNS record includes choosing rDNS IP address, providing TTL and hostname and pressing 'Add'.
|
EasyDCIM Addon
In 'EasyDCIM' addon you can view the list of all orders of SoftLayer product and the list of available dedicated servers.
Let's proceed to further possibilities of our addon.
|
SoftLayer Product Orders
'Ordered Services' tab allows you to view the list of all ordered EasyDCIM products.
Orders are sorted by their status, each tab contains orders with different statuses.
In addition, you can view basic details of each order, such as client who made it, hosting id or assigned server.
|
From here you can also easily assign server to hosting or change assigned server if hosting already have one assigned.
Server assignment is shown at the Workflow section.
Let's see how to easily remove assigned server.
For that purpose press 'Change Assignment' button.
|
Afterwards, press 'Remove Assignment' button.
|
SoftLayer Devices
In order to view list of your EasyDCIM proceed to 'SoftLayer Devices' → 'All'.
|
List of all unassigned EasyDCIM can be accessed under 'SoftLayer Devices' → 'Unassigned'.
From here you can even assign server to hosting through pressing 'Assign To Hosting' button.
|
Afterwards, choose hosting you wish to assign server to, fill API access details of SoftLayer user created for your customer and press 'Save'.
|
Tips
1. We advice to create one SoftLayer user per each order.
Currently, suspending SoftLayer hosting suspends SoftLayer user bounded to it.
|
2. If a reboot command has been issued successfully in the past 20 minutes, another remote management command will not be allowed.
This is to avoid any type of server failures.
|
3. If you want to disable displaying of API access details form in your template there is two things you need to do.
1. Check 'Hide API Access Details' checkbox at your SoftLayer product → 'Module Settings' .
2. Modify your template → 'clientareaproductdetails.tpl' as shown below:
{if $username}
//code responsible for displaying form with API access details
{/if}
Note: Portal template already has such solution in its clientareaproductdetails.tpl file, so you can view how it's implemented.
|
Common Problems
1. When you have problems with connection, check whether your SELinux or firewall does not block ports.
|