Personal tools
Namespaces

Variants
Actions

Hosting Quota Notifications 1.X For WHMCS

From ModulesGarden Wiki
(Difference between revisions)
Jump to: navigation, search
(Configuration of Product)
Line 1: Line 1:
<meta name="keywords" content="openstack vps for whmcs, openstack vps configuration, whmcs openstack vps management, whmcs openstack vps installation, whmcs openstack vps common problems, about whmcs openstack vps, whmcs openstack vps documentation, whmcs openstack vps faq, whmcs openstack vps help, whmcs openstack vps guide, whmcs openstack vps wiki, whmcs openstack vps tutorial, whmcs openstack vps tips, whmcs openstack vps wiki"></meta>
+
<meta name="keywords" content="servertastic ssl for whmcs, servertastic ssl configuration, whmcs servertastic ssl management, whmcs servertastic ssl installation, whmcs servertastic ssl common problems, about whmcs servertasticssl, whmcs servertastic ssl documentation, whmcs servertastic ssl faq, whmcs servertastic ssl help, whmcs servertastic ssl guide, whmcs servertastic ssl wiki, whmcs servertastic ssl tutorial, whmcs servertastic ssl tips, whmcs servertastic ssl wiki"></meta>
<meta name="description" content="ModulesGarden Wiki Contains All The Information You Need About The OpenStack VPS For WHMCS Module."></meta>
+
<meta name="description" content="ModulesGarden Wiki Contains All The Information You Need About The Servertastic SSL For WHMCS Module."></meta>
  
=About [https://www.modulesgarden.com/products/whmcs/openstack-vps OpenStack VPS For WHMCS]=
+
 
 +
=About [https://www.modulesgarden.com/products/whmcs/servertastic-ssl Servertastic SSL For WHMCS]=
 
{|
 
{|
|style="padding: 10px 0px 10px 0px;"|'''OpenStack VPS For WHMCS''' is a module which allows you to automatically provision virtual servers to your customers.<br/>
+
|style="padding: 10px 0px 10px 0px;"|'''Servertastic SSL For WHMCS''' will allow you to offer SSL certificates to your clients. They will be able to define and order a certificate directly in the client area.<br />
The great advantage of this module is the fact that customers can order and manage virtual servers, backups and many more in your own WHMCS client area.<br/>
+
Moreover, the module will give you the access to SSL configuration details as well as enable you to terminate certificates and renew them after their expiration date.
Additionally, it allows you to conveniently overview and manage all the customers' servers.
+
 
|}
 
|}
 
<!--a comment maybe? -->
 
<!--a comment maybe? -->
 
*'''Admin Area Features:'''
 
*'''Admin Area Features:'''
 
{|
 
{|
|style="padding: 10px 0px 0px 30px;"|✔ Create/Suspend/Unsuspend/Terminate Server
+
|style="padding: 10px 0px 0px 30px;"|✔ Create Certificate
|}
+
{|
+
|style="padding: 0px 0px 0px 30px;"|✔ Change Package - Supports Configurable Options
+
|}
+
{|
+
|style="padding: 0px 0px 0px 30px;"|✔ Change Password - Xen Virtualization Only
+
|}
+
{|
+
|style="padding: 0px 0px 0px 30px;"|✔ Rescue/Unrescue Server
+
|}
+
{|
+
|style="padding: 0px 0px 0px 30px;"|✔ View Server Status And Details
+
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 0px 30px;"|✔ View Interface Details
+
|style="padding: 0px 0px 0px 30px;"|✔ Terminate Certificate
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 0px 30px;"|✔ View List Of Scheduled Tasks
+
|style="padding: 0px 0px 0px 30px;"|✔ Resend Configuration Email
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 0px 30px;"|✔ Configure Client Area Features Per Product
+
|style="padding: 0px 0px 0px 30px;"|✔ Renew Certificate
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 0px 30px;"|✔ Define Backup Quantity Limit
+
|style="padding: 0px 0px 0px 30px;"|✔ Change Approver Email
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 0px 30px;"|✔ Set Security Groups
+
|style="padding: 0px 0px 0px 30px;"|✔ View And Edit Order ID
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 0px 30px;"|✔ Enable Backups Routing
+
|style="padding: 0px 0px 0px 30px;"|✔ View Certificate Status
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 0px 30px;"|✔ Execute Custom Scripts On Boot
+
|style="padding: 0px 0px 0px 30px;"|✔ Choose Certificate Type
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 10px 30px;"|✔ Run Extended Connection Test
+
|style="padding: 0px 0px 10px 30px;"|✔ Toggle Synchronization Of Expiration Date
 
|}
 
|}
 
*'''Client Area Features:'''
 
*'''Client Area Features:'''
 
{|
 
{|
|style="padding: 10px 0px 0px 30px;"|✔ View Server Status And Details
+
|style="padding: 10px 0px 0px 30px;"|✔ Configure Certificate
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 0px 30px;"|✔ Start/Stop/Pause/Unpause/Resume/Rebuild Server
+
|style="padding: 0px 0px 0px 30px;"|✔ View Basic Certificate Details
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 0px 30px;"|✔ Reboot Server - Soft/Hard
+
|style="padding: 0px 0px 0px 30px;"|✔ Modify Approver Email
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 0px 30px;"|✔ Reset Network
+
|style="padding: 0px 0px 10px 30px;"|✔ Download Generated Certificate
 
|}
 
|}
{|
 
|style="padding: 0px 0px 0px 30px;"|✔ Rescue/Unrescue Server
 
|}
 
{|
 
|style="padding: 0px 0px 0px 30px;"|✔ Change Password For Xen Virtualization
 
|}
 
{|
 
|style="padding: 0px 0px 0px 30px;"|✔ Access noVNC VNC, RDP, SPICE Or Serial Console
 
|}
 
{|
 
|style="padding: 0px 0px 0px 30px;"|✔ Create/Restore/Delete Backups
 
|}
 
{|
 
|style="padding: 0px 0px 0px 30px;"|✔ Download Public & Private SSH Keys
 
|}
 
{|
 
|style="padding: 0px 0px 10px 30px;"|✔ View List Of Scheduled Tasks
 
|}
 
 
 
*'''Configurable Options:'''
 
*'''Configurable Options:'''
 
{|
 
{|
|style="padding: 10px 0px 0px 30px;"|✔ Flavor
+
|style="padding: 10px 0px 0px 30px;"|✔ Additional SAN Domain
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 0px 30px;"|✔ VM Image
+
|style="padding: 0px 0px 0px 30px;"|✔ Server Count
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 0px 30px;"|✔ IP Addresses
+
|style="padding: 0px 0px 0px 30px;"|✔ Certificate Validity
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 0px 30px;"|✔ Backups Files Limit
+
|style="padding: 0px 0px 10px 30px;"|✔ Certificate Type
 
|}
 
|}
 +
*'''cPanel Tokens Integration:'''
 
{|
 
{|
|style="padding: 0px 0px 0px 30px;"|✔ Disk
+
|style="padding: 10px 0px 0px 30px;"|✔ Create Certificate Tokens For [https://www.modulesgarden.com/products/cpanel/servertastic-ssl Servertastic SSL For cPanel] Module
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 0px 30px;"|✔ RAM
+
|style="padding: 0px 0px 0px 30px;"|✔ Choose Certificate Type
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 0px 30px;"|✔ VCPUs
+
|style="padding: 0px 0px 0px 30px;"|✔ Define SAN Values
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 0px 30px;"|✔ Region
+
|style="padding: 0px 0px 0px 30px;"|✔ Define Server Count
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 10px 30px;"|✔ Custom Script Files
+
|style="padding: 0px 0px 0px 30px;"|✔ Define Management Page Link
 
|}
 
|}
*'''Required Components:'''
 
 
{|
 
{|
|style="padding: 10px 0px 0px 30px;"|✔ Keystone
+
|style="padding: 0px 0px 0px 30px;"|✔ Toggle Management Page Link Visibility For Client Area
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 0px 30px;"|✔ Glance
+
|style="padding: 0px 0px 10px 30px;"|✔ Send Generated Token Via Email
|}
+
{|
+
|style="padding: 0px 0px 0px 30px;"|✔ Nova
+
|}
+
{|
+
|style="padding: 0px 0px 0px 30px;"|✔ Neutron
+
|}
+
{|
+
|style="padding: 0px 0px 10px 30px;"|✔ Ceilometer (Required For Advanced Billing For WHMCS)
+
 
|}
 
|}
 
*'''General Info:'''
 
*'''General Info:'''
 
{|
 
{|
|style="padding: 10px 0px 0px 30px;"|✔ Automated Generation Of SSH Keys - Public SSH Key Is Injected To VM Automatically
+
|style="padding: 10px 0px 0px 30px;"|✔ Renewal Support - Automatically Creates New Certificate For Recurring Products After Expiration Date
|}
+
{|
+
|style="padding: 0px 0px 0px 30px;"|✔ Integrated With <u>[https://www.modulesgarden.com/products/whmcs/advanced-billing Advanced Billing For WHMCS]</u> - Server Resource Usage Billing
+
|}
+
{|
+
|style="padding: 0px 0px 0px 30px;"|✔ Integrated With <u>[https://www.modulesgarden.com/products/whmcs/server-allocator Server Allocator For WHMCS]</u> - Automatic Assignment Of Specified Servers To Products
+
 
|}
 
|}
 
{|
 
{|
 
|style="padding: 0px 0px 0px 30px;"|✔ Multi-Language Support
 
|style="padding: 0px 0px 0px 30px;"|✔ Multi-Language Support
|}
 
{|
 
|style="padding: 0px 0px 0px 30px;"|✔ Supports Cloud-Init Scripts
 
|}
 
{|
 
|style="padding: 0px 0px 0px 30px;"|✔ Supports OpenStack Pike and Earlier
 
|}
 
{|
 
|style="padding: 0px 0px 0px 30px;"|✔ Supports OpenStack Gnocchi
 
 
|}
 
|}
 
{|
 
{|
Line 151: Line 96:
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 0px 30px;"|✔ Supports WHMCS Templates Five and Six
+
|style="padding: 0px 0px 30px 30px;"|✔ Supports WHMCS V6 And V7
|}
+
{|
+
|style="padding: 0px 0px 30px 30px;"|✔ Supports WHMCS V6 and V7
+
 
|}
 
|}
  
 
=Installation and Configuration=
 
=Installation and Configuration=
 
{|
 
{|
|style="padding: 10px 0px 30px 0px;"|'''This tutorial will show you how to successfully install and configure OpenStack VPS For WHMCS.''' <br />
+
|style="padding: 10px 0px 30px 0px;"|'''This tutorial will show you how to successfully install and configure Servertastic SSL For WHMCS.''' <br />
 
We will guide you step by step through the whole installation and configuration process.
 
We will guide you step by step through the whole installation and configuration process.
 
|}
 
|}
 
==Installation==
 
==Installation==
 
{|
 
{|
|style="padding: 10px 0px 20px 15px;"|'''1. Log in to your client area and download the module.'''
+
|style="padding: 10px 0px 20px 15px;"|'''1. Log in to our client area and download Servertastic SSL For WHMCS.'''
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 20px 25px;"|[[File:OSV1.png]]
+
|style="padding: 0px 0px 20px 25px;"|[[File:ST_1.png]]
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 10px 15px;"|'''2. In the downloaded file you will find two packages that support different PHP versions.'''<br/>As presented on the screen below, the first one is dedicated to PHP 7, while the second one is aimed at PHP 5.4 up to PHP 5.6.<br/>It does not apply to open source versions.<br/>
+
|style="padding: 0px 0px 15px 15px;"|'''2. Upload and extract the module into the main WHMCS directory.'''<br/>
'' '''Note''': You can check current PHP version in your WHMCS. To do so proceed to ''' 'Utilities' → 'System' → 'PHP Info'.'''
+
Files in your WHMCS directory should look like this.
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 20px 25px;"|[[File:OSV2.png]]
+
|style="padding: 0px 0px 20px 25px;"|[[File:e4rt5e45.png]]
|}
+
{|
+
|style="padding: 0px 0px 15px 15px;"|'''3. Extract the downloaded file and choose the one with the right PHP version. Upload and extract the PHP file into the main WHMCS directory.'''<br />
+
The content of PHP version files should look like this.
+
|}
+
{|
+
|style="padding: 0px 0px 20px 25px;"|[[File:hjghjh.png]]
+
|}
+
{|
+
|style="padding: 0px 0px 15px 15px;"|'''4. When you install OpenStack VPS For WHMCS for the first time you have to rename '' 'license_RENAME.php' '' file.'''<br />
+
File is located in '' 'modules/servers/OpenStackVPS/license_RENAME.php' ''. Rename it from '' 'license_RENAME.php' '' to '' 'license.php' ''.
+
|}
+
{|
+
|style="padding: 0px 0px 20px 25px;"|[[File:OSV3.png]]
+
|}
+
{|
+
|style="padding: 0px 0px 15px 15px;"|'''5. In order to configure your license key, you have to edit a previously renamed '' 'license.php' '' file.'''<br />
+
Enter your license key between quotation marks as presented on the following screen.<br />
+
You can find your license key at your client area → '' 'My Products' ''.
+
|}
+
{|
+
|style="padding: 0px 0px 20px 25px;"|[[File:OSV4.png]]
+
|}
+
{|
+
|style="padding: 0px 0px 30px 15px;"|'''6. The last step is setting up a cron job (each 5 minutes suggested).'''<br />
+
Use cron job below but switch '' 'your_whmcs' '' with your root WHMCS path.<br />
+
php -q /your_whmcs/modules/servers/OpenStackVPS/cron/cron.php
+
|}
+
 
+
==Configuration of Server==
+
{|
+
|style="padding: 10px 0px 15px 15px;"|'''7. Now, we will show you how to configure a new product.'''<br />
+
Go to the '' 'Setup' '' → '' 'Products/Services' '' → '' 'Servers' '' and press '' 'Add New Server' ''.
+
|}
+
{|
+
|style="padding: 0px 0px 20px 25px;"|[[File:OSV5.png]]
+
|}
+
{|
+
|style="padding: 0px 0px 15px 15px;"|'''8. Next, enter your server name, IP address/hostname (which may required API version at the end of the address), username, password and admin tenant ID.'''<br />
+
Choose '' 'OpenStackVPS' '' from a dropdown menu and press '' 'Save Changes' ''.'''<br />
+
''Note: To find your ''' 'Tenant ID' ''' log in to your OpenStack panel and go to the 'Indentity' → 'Projects' menu. ''<br />
+
''There identify the row which corresponds to your project. The 'Tenant ID' is located in the 'Project ID' column for the identified project.''
+
|}
+
{|
+
|style="padding: 0px 0px 20px 25px;"|[[File:OSV6.png]]
+
|}
+
{|
+
|style="padding: 0px 0px 15px 15px;"|'''9. After you configure your server correctly, you can check connection with OpenStack server.'''<br />
+
Simply edit previously created server and press '' 'Test Connection' '' as shown on the screen below.<br />
+
During test, connection with all required endpoints will be checked. For more information about connections, go to [http://www.docs.modulesgarden.com/OpenStack_VPS_For_WHMCS#Common_Problems Common Problems] section.
+
|}
+
{|
+
|style="padding: 0px 0px 20px 25px;"|[[File:OSV7.png]]
+
|}
+
{|
+
|style="padding: 0px 0px 20px 15px;"|'''10. It is time to create a server group. To do so, click on '' 'Create Server Group' ''.'''
+
|}
+
{|
+
|style="padding: 0px 0px 20px 25px;"|[[File:OSV8.png]]
+
|}
+
{|
+
|style="padding: 0px 0px 20px 15px;"|'''11. Enter name, click on your previously created server, press '' 'Add' '' and afterwards '' 'Save Changes' ''.'''
+
|}
+
{|
+
|style="padding: 0px 0px 30px 25px;"|[[File:OSV9.png]]
+
 
|}
 
|}
  
 
==Configuration of Product==
 
==Configuration of Product==
 
{|
 
{|
|style="padding: 10px 0px 15px 15px;"|'''12. In order to create and configure a product, go to the '' 'Setup' '' → '' 'Products/Services' '' → '' 'Products/Services' ''.'''<br />
+
|style="padding: 10px 0px 15px 15px;"|'''4. In order to create and configure a product, go to '' 'Setup' '' → '' 'Products/Services' '' → '' 'Products/Services' ''.'''<br />
 
Click on '' 'Create a New Group' ''.
 
Click on '' 'Create a New Group' ''.
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 20px 25px;"|[[File:OSV10.png]]
+
|style="padding: 0px 0px 20px 25px;"|[[File:ST_5.png]]
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 20px 15px;"|'''13. Enter product group name and press '' 'Save Changes' ''.'''
+
|style="padding: 0px 0px 20px 15px;"|'''5. Enter product group name and press '' 'Save Changes' ''.'''
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 20px 25px;"|[[File:OSV11.png]]
+
|style="padding: 0px 0px 20px 25px;"|[[File:ST_6.png]]
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 15px 15px;"|'''14. When you have a product group, you can create your product.'''<br />
+
|style="padding: 0px 0px 15px 15px;"|'''6. When you have a product group, you can create your product.'''<br />
 
To create a product click on '' 'Create a New Product' ''.  
 
To create a product click on '' 'Create a New Product' ''.  
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 20px 25px;"|[[File:OSV12.png]]
+
|style="padding: 0px 0px 20px 25px;"|[[File:ST_7.png]]
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 15px 15px;"|'''15. Afterwards, choose your product group and type from dropdown menus, enter your product name and press '' 'Continue'. '' '''<br />
+
|style="padding: 0px 0px 20px 15px;"|'''7. Afterwards, choose your product group and type from dropdown menus, fill in your product name and press '' 'Continue' ''.'''
'' 'Product Type' '' should be set to '' 'Hosting Account'. ''
+
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 20px 25px;"|[[File:OSV13.png]]
+
|style="padding: 0px 0px 20px 25px;"|[[File:ST_8.png]]
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 15px 15px;"|'''16. Now, go to the '' 'Module Settings' '' section, choose both '' 'OpenStackVPS' '' and your previously created server group from dropdown menus.'''<br />
+
|style="padding: 0px 0px 15px 15px;"|'''8. Now, go to '' 'Module Settings' '' section, choose '' 'Servertastic SSL' '' from a dropdown menu.'''<br />
Module should automatically save and reload settings. If not, click on '' 'Save Changes' '' manually.'''
+
Next, click on '' 'Save Changes' ''.'''
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 20px 25px;"|[[File:OSV14.png]]
+
|style="padding: 0px 0px 20px 25px;"|[[File:ST_9.png]]
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 15px 15px;"|'''17. Start from selecting '' 'Default Tenant' ''.'''<br />
+
|style="padding: 0px 0px 15px 15px;"|'''9. Finish by filling in '' 'API Key' '' and selecting desired certificate type.'''<br />
'' 'Check access' '' will return '' 'OK' '' if you set up permissions correctly.
+
To obtain 'API Key' log in to your '[http://reseller.servertastic.com Reseller Panel]' and click '' 'View your API Key' '':
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 20px 25px;"|[[File:OSV15.png]]
+
|style="padding: 0px 0px 20px 25px;"|[[File:ST_10_1.png]]
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 15px 15px;"|'''18. Afterwards, set up a network. Choose '' 'Fixed Network' '', '' 'Floating Network' '' and '' 'Default Number Of IP Addresses' ''.'''<br />
 
You can set up network in two ways. You can find more information about the configuration [http://www.docs.modulesgarden.com/OpenStack_VPS_For_WHMCS#Network_Configuration_Cases here].<br />
 
We will set up a network without floating IP address as presented on the following screen.<br />
 
Additionally, choose quantity of IP addresses assigned to product by typing it into '' 'Default Number Of IP Addresses' ''.
 
|}
 
 
{|
 
{|
|style="padding: 0px 0px 20px 25px;"|[[File:OSV16.png]]
+
|style="padding: 0px 0px 15px 15px;"|Additionally, mark '' 'Update Next Due Date' '' if you want to renew the certificate after reaching its expiration date (recurring products only).<br />
 +
Confirm through pressing '' 'Save Changes' ''.<br />
 +
''Note: You can mark '' 'Test Mode' '' to connect with the test API.''
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 15px 15px;"|'''19. At this step you can set up backups.'''<br />
+
|style="padding: 0px 0px 20px 25px;"|[[File:ST_10.png]]
Mark '' 'Backups Routing' '' checkbox if you want to replace oldest backup with newest one when backups file limit is reached.<br />
+
Afterwards, enter limit of backup files into '' 'Default Backups Files Limit' ''.
+
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 20px 25px;"|[[File:OSV17.png]]
+
|style="padding: 0px 0px 30px 15px;"|'''Congratulations! Your module is ready for use.'''
|}
+
{|
+
|style="padding: 0px 0px 15px 15px;"|'''20. Mark security group from '' 'Use Security Groups' '' and select '' 'Console Type' ''.'''<br />
+
If you wish to use SSH keys, leave '' 'Inject SSH Key' '' marked (virtualization has to support '' 'Inject File' '' feature).<br />
+
In order to use passwords for your VM, leave '' 'Password Management' '' marked (virtualization has to support '' 'Set Admin Pass' '' feature).<br />
+
Please make sure, that virtualization used by you supports mentioned actions.<br />
+
Full list of supported  features can be found [https://wiki.openstack.org/wiki/HypervisorSupportMatrix here].<br />
+
'''Important:''' It is recommended to leave '' 'Delete SSH Private Key' '' marked.<br/>
+
The following types of console can be chosen: '' 'VNC', 'RDP', 'SPICE' '' and '' 'Serial' ''.
+
|}
+
{|
+
|style="padding: 0px 0px 20px 25px;"|[[File:OSV17_1.png]]
+
|}
+
{|
+
|style="padding: 0px 0px 15px 15px;"|'''21. You can also take advantage of the dedicated Volume and set it as the location of your Virtual Machine Disk''',
+
To do so, make sure to tick the ''Use Volumes'' checkbox and enter the desired number into the ''Default Volume Size'' field.<br />
+
Note that once this option is enabled, your clients will no longer have access to the ''Backup'' and ''Rescue'' functions, so you may as well leave the respective fields empty.
+
|}
+
{|
+
|style="padding: 0px 0px 20px 25px;"|[[File:OSV17_2.png]]
+
|}
+
{|
+
|style="padding: 0px 0px 15px 15px;"|'''22. Finish through selecting features available at the client area.'''<br />
+
Mark checkbox next to feature in order to enable it. Press '' 'Save Changes' '' when you are done.
+
|}
+
{|
+
|style="padding: 0px 0px 30px 25px;"|[[File:OSV18.png]]
+
 
|}
 
|}
  
==VPS With Predefined Resources==
+
=Management=
 
{|
 
{|
|style="padding: 10px 0px 15px 15px;"|Our module allows you to offer OpenStack VPS to your clients in two ways, with predefined resources and configurable resources.<br />
+
|style="padding: 10px 0px 30px 15px;"|Servertastic SSL For WHMCS allows you to offer fully configurable Servertastic certificates to your clients.<br />
In this section we will show you configuration of VPS with predefined resources.<br />
+
Additionally, you have the ability to view certificate details and manage each provisioned certificate.
Detailed information about configuration of VPS with resources chosen by client can be found [http://www.docs.modulesgarden.com/OpenStack_VPS_For_WHMCS#VPS_With_Configurable_Resources here].
+
 
|}
 
|}
 +
==Admin Area==
 
{|
 
{|
|style="padding: 0px 0px 15px 15px;"|'''23. Select '' 'Default Flavor' '' and '' 'Default VM Image' ''.'''<br />
+
|style="padding: 10px 0px 15px 15px;"|In the admin area you can view the details of a product and find SSL configuration status.<br />
'' 'Default Flavour' '' defined resources assigned to VM while '' 'Default VM Image' '' allows you to choose VM image used to create new VM.
+
Additionally, you can create/terminate product, resend configuration email and even change approver email.
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 20px 25px;"|[[File:OSV19.png]]
+
|style="padding: 0px 0px 20px 25px;"|[[File:ST_11.png]]
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 30px 15px;"|'''Congratulations! You have just finished the installation and configuration of the module with predefined resources.'''
+
|style="padding: 0px 0px 20px 15px;"|In order to change approver email, fill in a new email and press '' 'Save Changes' '' as shown on the screen below.
 
|}
 
|}
 
==VPS With Configurable Resources==
 
 
{|
 
{|
|style="padding: 10px 0px 15px 15px;"|'''24. Preparing VPS with configurable options consists of pressing '' 'Generate default' '' as shown on the following screen.'''<br />
+
|style="padding: 0px 0px 30px 25px;"|[[File:ST_12.png]]
It will prepare default configurable options which can be afterwards easily edited as described in [http://www.docs.modulesgarden.com/General#How_To_Use_Configurable_Options this article].<br />
+
'''Important''' Configurable option '' 'flavor|Flavor' '' will be overwritten by '' 'disc|Disc' '', '' 'ram|RAM' '' and '' 'vcpus|VCPUs' ''.<br />
+
Therefore, you can solve this in three ways:
+
*Remove '' 'disc|Disc' '', '' 'ram|RAM' '' and '' 'vcpus|VCPUs' '' configurable option and rely completely on '' 'flavor|Flavor' ''.
+
*Remove '' 'disc|Disc' '' and '' 'vcpus|VCPUs' '', and allow '' 'flavor|Flavor' '' being overwrited by '' 'ram|RAM' '' (multiple combinations allowed here).
+
*Remove '' 'flavor|Flavor' '' and rely completely on '' 'disc|Disc' '', '' 'ram|RAM' '' and '' 'vcpus|VCPUs' ''.
+
''Note: The second and the third options causes a new flavor being made on your server each time a new order is made.''
+
|}
+
{|
+
|style="padding: 0px 0px 30px 25px;"|[[File:OSV20.png]]
+
|}
+
==Custom Config Scripts==
+
{|
+
|style="padding: 10px 0px 15px 15px;"|'''25. In this area, you can write a custom script using [https://raymii.org/s/tutorials/Automating_Openstack_with_Cloud_init_run_a_script_on_VMs_first_boot.html Cloud-Init] to be executed on newly created VMs.'''<br />
+
This way you can automate your work instead of making all kinds of specific images for specific tasks manually. <br /><br />
+
'''Important notes:'''
+
*Scripts can be written in standards like '''Bash''' or '''[http://www.yaml.org/about.html YAML]'''.
+
*Initial scripts have to be supported by VPS operating system to be executed properly.
+
*Scripts should be used only by advanced users. The incorrect use of the scripts may damage your system!
+
|}
+
{|
+
|style="padding: 0px 0px 20px 25px;"|[[File:OSV44.png]]
+
|}
+
{|
+
|style="padding: 0px 0px 15px 15px;"|On the example below, we will show an examplary script responsible for setting the password to '' 'newpass01' '' for the Ubuntu root user.<br />
+
You can achieve it by writing:
+
chpasswd:
+
  list: |
+
  ubuntu:newpass01
+
  expire:False
+
|}
+
{|
+
|style="padding: 0px 0px 20px 25px;"|[[File:OSV45.png]]
+
|}
+
{|
+
|style="padding: 0px 0px 15px 15px;"|You can configure scripts in the same format, but for clients' individual choice when ordering the product.<br />
+
All you need to do is add a new configurable option and assign it to the OpenStack VPS product.<br />
+
''Note: these scripts are executed regardless of the script specified in the module settings.''<br />
+
The easiest way is through edition of the existing 'Configurable options for OpenStack VPS' group, and adding a new configurable option there.<br />
+
For example, if you want to offer pre-installed PHP version depending on the client's choice, you can add a new option named '''script_PHP|PHP version''' and then define multiple options, like on the screenshot below:
+
|}
+
{|
+
|style="padding: 0px 0px 20px 25px;"|[[File:OSV46.png]]
+
|}
+
{|
+
|style="padding: 0px 0px 20px 15px;"|Afterwards, your clients can choose during the ordering process:
+
|}
+
{|
+
|style="padding: 0px 0px 20px 25px;"|[[File:OSV47.png]]
+
|}
+
{|
+
|style="padding: 0px 0px 30px 15px;"|
+
Using this method, you can perform assorted actions on newly created machines, e.g.: modifying files, preinstalling & preconfiguring software, executing any statements that would normally be executed via terminal.<br /><br />
+
The general rule is that configurable option names should begin with '''script_prefix''' to be recognized as containing a custom script.<br />
+
Then, choices under the option have their own names which are matched with a name of existing file with corresponding script under the
+
'''yourWHMCS/modules/servers/OpenStackVPS/scripts''' path.<br />
+
Note that files with scripts have to have '''exactly''' extension corresponding to the given entries in the configurable options.<br /><br />
+
In the example above, there are two options: '''php5.yml''' and '''php7.yml''', therefore it makes the module read corresponding files:<br />
+
*modules/servers/OpenStackVPS/scripts/php5.yml
+
or
+
*modules/servers/OpenStackVPS/scripts/php7.yml
+
You can add many scripts in this exact way.
+
 
|}
 
|}
  
=Management=
+
==Client Area==
 
{|
 
{|
|style="padding: 10px 0px 15px 15px;"|''' OpenStack VPS For WHMCS allows your customers to manage their OpenStack VPS via client area in your WHMCS system.'''<br />
+
|style="padding: 10px 0px 15px 15px;"|Servertastic SSL For WHMCS allows your customers to order and configure SSL certificates.<br />
You can monitor and manage each product from your WHMCS admin area.<br />
+
As you can see on the following screen, it also allows to choose from configurable options during an order.
1. Configurable options which enables you to view current VPS resources and change VPS specifications through changing configurable options and pressing '' 'Change Package' ''.<br />
+
2. Module commands enables you to manage VPS status.<br />
+
3. Here you can find VPS details and refresh them through pressing '' 'Refresh Details' '' icon.<br />
+
4. Scheduled tasks status can be found in this table.<br />
+
5. In marked custom fields you can find IDs of VM and private flavor.
+
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 20px 25px;"|[[File:OSV24.png]]
+
|style="padding: 0px 0px 30px 25px;"|[[File:ST_13.png]]
 
|}
 
|}
 +
===Configuration===
 
{|
 
{|
|style="padding: 0px 0px 20px 15px;"|If you decided to select the ''Use Volumes'' feature, you will see an additional section named ''Volumes''.
+
|style="padding: 10px 0px 15px 15px;"|A new SSL certificate needs to be configured before it can be used.<br />
 +
Press '' 'Configure Now' '' to proceed, you will be forwarded to an external page.<br />
 +
Proceed with configuration of your SSL certificate there.
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 30px 25px;"|[[File:OSV24_1.png]]
+
|style="padding: 0px 0px 20px 25px;"|[[File:ST_14.png]]
 
|}
 
|}
==Ordering==
 
 
{|
 
{|
|style="padding: 10px 0px 15px 15px;"|Owing to configurable options, you are able to offer product which your clients can tailor according to their needs.<br />
+
|style="padding: 0px 0px 15px 15px;"|In the end of the process, you will receive a configuration email.<br />
Additionally, you are able to set up pricing for each configurable option, which make your offer even more competitive.<br />
+
As soon as you receive the email and go to the approval site, your certificate will be generated.
'''Important: VPS is not created immediately after ordering '' 'Create' ''. Therefore, it is wise to inform your clients about the delay.'''
+
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 30px 25px;"|[[File:OSV25.png]]
+
|style="padding: 0px 0px 30px 25px;"|[[File:ST_15.png]]
 
|}
 
|}
 
+
===Management===
==Client Area==
+
 
{|
 
{|
|style="padding: 10px 0px 15px 15px;"|Client area interface of OpenStack VPS should look like the one on the screen below. As you can see, control panel contains useful options needed for managing VPS.<br />
+
|style="padding: 10px 0px 15px 15px;"|On the following screen you can see a successfully configured product.<br />
Module allows your customers to easily start/stop, pause/unpause, resume, soft reboot, hard reboot and reset network of their servers through pressing the specific button.<br />
+
Here you can find provision and expiration dates, and its status.
Clients can also rebuild the server, access noVNC console, create a backup and view scheduled tasks.<br />
+
At '' 'Tasks' '' your customers can view all requested tasks that was not yet completed.<br />
+
Each task has additional information bounded to them, like type of task, attempts to perform tasks or last returned response.
+
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 30px 25px;"|[[File:OSV26.png]]
+
|style="padding: 0px 0px 20px 25px;"|[[File:ST_16.png]]
 
|}
 
|}
===Volumes===
 
 
{|
 
{|
|style="padding: 10px 0px 15px 15px;"|In case your OpenStack VPS is running with the ''Use Volumes'' option, the client area may look a bit different. It will now include an additional section named ''Volumes''
+
|style="padding: 0px 0px 20px 15px;"|Additionally, you can download the certificate.
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 30px 25px;"|[[File:OSV26_1.png]]
+
|style="padding: 0px 0px 30px 25px;"|[[File:ST_17.png]]
 
|}
 
|}
  
===Rebuild===
+
==Configurable Options==
 
{|
 
{|
|style="padding: 10px 0px 15px 15px;"|Rebuild feature allows your clients to change server image.<br />
+
|style="padding: 10px 0px 15px 15px;"|The module enables you to set up configurable options allowing clients to define the products they order.<br />
Press the '' 'Rebuild' '' button as shown on the following screen in order to move to the rebuild page.
+
Below you can find the list of configurable options with descriptions of how they will affect an order: <br />
 +
'''Certificate Type''' - allows client to choose from types provided in configuration, a chosen type will overwrite configuration in '' 'Module Settings' ''.<br />
 +
'''Years''' - client can choose the amount of years when certificate is valid. Make sure you will not exceed the maximum number of years for a particular certificate.<br />
 +
Maximum number of years for a particular certificate type can be found after a brand name followed by '' '| ''' on the '' 'Certificate Type' '' in '' 'Module Settings' '' tab.<br />
 +
'''Servers Count''' - (required for Thawte and most of VeriSign certificates) if applicable, its range stretches from 1 to 500.<br />
 +
'''SAN Count''' - (SAN certificates only) client can define the maximum number of domains supported by a certificate.
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 20px 25px;"|[[File:OSV27.png]]
+
|style="padding: 0px 0px 15px 15px;"|1. Let's create configurable options group containing each one of presented configurable options.<br />
 +
Start by proceeding to '' 'Setup' '' → '' 'Products/Services' '' → '' 'Configurable Options' '' and pressing '' 'Create a new Group' ''.
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 20px 15px;"|To reinstall your server, choose an image and confirm through clicking on '' 'Rebuild' ''.
+
|style="padding: 0px 0px 20px 25px;"|[[File:ST_18.png]]
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 30px 25px;"|[[File:OSV28.png]]
+
|style="padding: 0px 0px 15px 15px;"|2. Afterwards, fill out the form with a group name and a description, select products you wish to apply to this group by holding Ctrl and clicking on each of the products.<br />
 +
Afterwards, press '' 'Save Changes' ''.
 
|}
 
|}
 
===Rescue Mode===
 
 
{|
 
{|
|style="padding: 10px 0px 15px 15px;"|The rescue mode provides a mechanism for VM access even in case the VM's image renders the instance inaccessible - e.g. if instance's filesystem becomes corrupted. <br />
+
|style="padding: 0px 0px 20px 25px;"|[[File:ST_19.png]]
The rescue VM will be launched to permit the user to fix their VM.
+
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 20px 25px;"|[[File:OSV48.png]]
+
|style="padding: 0px 0px 20px 15px;"|3. Press '' 'Add New Configurable Options' ''.
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 20px 15px;"|
+
|style="padding: 0px 0px 20px 25px;"|[[File:ST_20.png]]
Before you continue please note that the rescue VM will be set up with the same network configuration as the real VM. <br />
+
Moreover, a new root password will be generated and the VM status will change to 'RESCUE'.<br />
+
The new VM will also have a rescue image as the primary filesystem and the secondary filesystem would be the original VM's primary filesystem.'' <br />
+
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 20px 25px;"|[[File:OSV49.png]]
+
|style="padding: 0px 0px 15px 15px;"|4a. (Years, Servers Count, SAN Count) Now, fill in option name, select '' 'Quantity' '' option type and fill in minimum and maximum allowed quantity.<br />
 +
Afterwards, set up price per one unit and press '' 'Save Changes' ''.
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 20px 15px;"|When you want to disable the rescue mode, click the 'Unrescue' buton. TheVM status will then also return to 'ACTIVE'.
+
|style="padding: 0px 0px 20px 25px;"|[[File:ST_21.png]]
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 30px 25px;"|[[File:OSV50.png]]
+
|style="padding: 0px 0px 20px 15px;"|4b. (Certificate Type, Years, Servers Count, SAN Count) Fill in option name and select '' 'Dropdown' '' from option type.
 
|}
 
|}
 
===Backups===
 
 
{|
 
{|
|style="padding: 10px 0px 20px 15px;"|Your customers can also create a backup of VPS. To do so, press the '' 'Backups' '' button.
+
|style="padding: 0px 0px 20px 25px;"|[[File:ST_22.png]]
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 20px 25px;"|[[File:OSV31.png]]
+
|style="padding: 0px 0px 15px 15px;"|5. Now, you have to add each option separately.<br />
 +
Do it by filling in its name, setting up its price and pressing '' 'Save Changes' '' for each of the options.<br />
 +
''Note: As you may notice on the following screen, name is divided by '' 'I' '' sign. ''<br />
 +
''The first part concerns system name of an option (or value) while the second part is a name under which option will be visible for client.'''
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 20px 15px;"|Now, choose a backup name and click '' 'Backup Now' ''.
+
|style="padding: 0px 0px 20px 25px;"|[[File:ST_23.png]]
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 20px 25px;"|[[File:OSV32.png]]
+
|style="padding: 0px 0px 15px 15px;"|6. Now, let's order a product using previously created configurable options.<br />
 +
As you can see, using configurable option allows you to use fewer product while still allowing a full customization of the product.
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 15px 15px;"|To restore VPS from backup, simply press the '' 'Restore' '' button next to it.<br />
+
|style="padding: 0px 0px 30px 25px;"|[[File:ST_24.png]]
As you may notice on the following screen, presented earlier '' 'First Backup' '' backup was replaced with '' 'New Backup' ''.<br />
+
It was caused by backup routing feature which was triggered by reaching backups file limit.
+
|}
+
{|
+
|style="padding: 0px 0px 30px 25px;"|[[File:OSV33.png]]
+
 
|}
 
|}
  
===noVNC Console===
+
=cPanel Tokens Configuration=
 
{|
 
{|
|style="padding: 10px 0px 15px 15px;"|One of the most interesting functionality is a noVNC console where your clients can remotely manage server.<br />  
+
|style="padding: 10px 0px 15px 15px;"|To enable selling of certificates with [https://www.modulesgarden.com/products/cpanel/servertastic-ssl Servertastic SSL For cPanel] module, configure the token generator using the provisioning module for WHMCS. <br/>
To access it, simply click on the '' 'Console' '' button.
+
Your WHMCS will now bill customers for the ordered certificates and generate tokens, which can be then used by customers to add their certificates in cPanel.
|}
+
<br/><br/>
{|
+
|style="padding: 0px 0px 20px 25px;"|[[File:OSV29.png]]
+
|}
+
{|
+
|style="padding: 0px 0px 20px 15px;"|noVNC is a browser based VNC client. It was implemented using HTML5 Canvas and WebSockets.
+
|}
+
{|
+
|style="padding: 0px 0px 30px 25px;"|[[File:OSV30.png]]
+
|}
+
  
==SSH Keys==
+
In order to start selling tokens for cPanel certificates you need to add a new product following the steps described in the '' '[https://www.docs.modulesgarden.com/Servertastic_SSL_For_WHMCS#Configuration_of_Product Configuration of Product]' '' section.<br/>
{|
+
Select '' 'ServerTasticToken' '' from the module settings, enter your '' 'API Key' '' found in the ''step 9'' and save the settings.<br/>
|style="padding: 10px 0px 15px 15px;"|Due to limitation in WHMCS product create process, OpenStack VPS For WHMCS generates SSH key pair automatically.<br />
+
Public SSH key is automatically injected into VM while private key can be downloaded from the client area.<br />
+
In order to download Unix private SSH key press '' 'Download Private Key' ''.<br />
+
You can easily convert your private Unix key(.rsa) to private PuTTY key(.ppk) using '' 'PuTTYgen' ''.
+
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 20px 25px;"|[[File:OSV34.png]]
+
|style="padding: 0px 0px 20px 25px;"|[[File:ST_25.png]]
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 15px 15px;"|Public SSH key in other hand, can be downloaded as many times as your client will need it.<br />
+
|style="padding: 10px 0px 15px 15px;"|After saving the settings in the  ''' '' 'Certificate Type' '' ''' dropdown, available certificates will appear.<br/>
Press '' 'Download Public Key' '' as shown on the following screen to save it on your disk.
+
'' '''Note:''' If you are using a test API key, first make sure that the 'Test Mode' option is enabled.''<br/><br/>
|}
+
Then set the remaining options corresponding to the selected certificate:
{|
+
*'''SAN Values''' - enter how many domain names can be protected with a single certificate.  
|style="padding: 0px 0px 30px 25px;"|[[File:OSV35.png]]
+
*'''Server Count''' - enter how many different servers can indicate the domains protected by a given certificate.
|}
+
*'''Management Page Link''' - Specify the address at which the customer will be able to see the generated certificate directly in the '' 'Servertastic' '' panel.
 +
*'''Show Order Management Page link''' - select whether you want your customers to see a direct link to the certificate in the '' 'Servertastic' '' panel.
 +
'' '''Note:''' Make sure that SAN and Server vaules are supported by the selected type of certificate. You can find more relevant information on [https://github.com/servertastic/servertastic-api/blob/master/api2.md#further-field-definitions here.]''
  
==Network Configuration Cases==
+
Finally, save the changes and do not forget to generate '' 'Custom Field' and '' 'Email Template' ''.
{|
+
|style="padding: 10px 0px 15px 15px;"|OpenStack VPS For WHMCS allows you to set up two types of network.<br />
+
First one is a network without floating IP address.<br />
+
To set up this type of a network, choose '' 'Public' '' as '' 'Fixed Network' '' and '' 'Disabled' '' as '' 'Floating Network' ''.<br />
+
On the following screen you can view exemplary topology of such network.
+
|}
+
{|
+
|style="padding: 0px 0px 20px 25px;"|[[File:OSV36.png]]
+
|}
+
{|
+
|style="padding: 0px 0px 15px 15px;"|Second type of network is a network with floating IP address.<br />
+
Select '' 'Shared Network' '' as '' 'Fixed Network' '' and '' 'Public' '' as '' 'Floating Network' ''.
+
|}
+
{|
+
|style="padding: 0px 0px 30px 25px;"|[[File:OSV37.png]]
+
|}
+
  
==Configurable Options==
 
{|
 
|style="padding: 10px 0px 15px 15px;"|In case that standard configuration is not fitting your needs, you can adjust it through configurable options.<br />
 
To do so, go to '' 'Setup' '' → '' 'Products/Services' '' → '' 'Configurable Option' '' and press edit button next to configurable option used by your product.<br />
 
Its name is '' 'Configurable options for your_product_name' ''.
 
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 20px 25px;"|[[File:OSV38.png]]
+
|style="padding: 0px 0px 20px 25px;"|[[File:ST_26.png]]
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 15px 15px;"|Here you can view the products that this configurable option group is assigned to.<br />
+
|style="padding: 10px 0px 20px 15px;"|After placing an order for a configured product, the customer will have access to the generated '' 'certificate token' '', its '' 'status' '' and a direct link to the order at the '' 'Servertastic' '' panel (if that option has been enabled).
Now we will show you how to edit options. Let's say that you want to add an option to order VPS with 8GB (8192 MB) RAM.<br />
+
To do so, edit '' 'ram|RAM' '' by pressing the edit button as shown on the screen below.
+
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 20px 25px;"|[[File:OSV39.png]]
+
|style="padding: 0px 0px 20px 25px;"|[[File:ST_27.png]]
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 15px 15px;"|You will see a popup window, so make sure that your browser will not block it.<br />
+
|style="padding: 10px 0px 30px 15px;"|The client should now copy the token and complete the certificate configuration directly in the cPanel. <br/>
To add new option, enter it in a textbox under all other options. If you want to replace it with option you currently have, simply edit its textbox.<br />
+
These steps are described on the [https://www.docs.modulesgarden.com/Servertastic_SSL_For_cPanel#Request Servertastic SSL For cPanel] wiki.
Next, press '' 'Save Changes' ''.
+
|}
+
{|
+
|style="padding: 0px 0px 30px 25px;"|[[File:OSV40.png]]
+
|}
+
 
+
==Management of Billing==
+
{|
+
|style="padding: 10px 0px 15px 15px;"|When you combine OpenStack VPS For WHMCS with [http://www.docs.modulesgarden.com/Advanced_Billing_For_WHMCS Advanced Billing For WHMCS], you will be able to set up additional billing options.<br />
+
Module allows you to charge your customers based on the server resources used by them.<br />
+
''Note: Advanced Billing currently supports only API prior V3 (OpenStack Ocata). A new compatibility will be added soon.''
+
|}
+
{|
+
|style="padding: 0px 0px 20px 25px;"|[[File:OSV42.png]]
+
|}
+
{|
+
|style="padding: 0px 0px 20px 15px;"|With Advanced Billing module, you can also display your customers the current server resource usage, their cost, usage history and charts.
+
|}
+
{|
+
|style="padding: 0px 0px 30px 25px;"|[[File:OSV43.png]]
+
 
|}
 
|}
  
 
=Tips=
 
=Tips=
 
{|
 
{|
|style="padding: 10px 0px 5px 15px;"|1. Due to some requests may take time to be completed, we implemented '' 'Scheduled Tasks' ''.<br />
+
|style="padding: 10px 0px 30px 15px;"|1. When you press '' 'Renew' '' button in the admin area '' ('Client Profile → Products/Services') '', a new order for selected domain will be created.
Tasks visible at '' 'Scheduled Tasks' '' are subsequently performed by cron job.<br />
+
:The admin can place it as '' 'Renewal' '' order type but only 90 days before the expiration date.  
Full list of tasks supported by '' 'Scheduled Tasks' '' are: create, terminate, change package, remove IP address and remove backup.
+
 
|}
 
|}
{|
 
|style="padding: 0px 0px 5px 15px;"|2. '''Important:''' module has to use admin endpoints instead of public endpoints.<br />
 
In properly configured OpenStack server, wget from WHMCS server should be able to get any data from any '''admin''' endpoint.<br />
 
Sample successfull requests:
 
wget openstack:9292
 
--2014-03-31 09:35:24-- http://openstack:9292/
 
Resolving openstack(openstack)... 192.168.1.222
 
Connecting to openstack(openstack)|192.168.1.222|:9292... connected.
 
HTTP request sent, awaiting response... 300 Multiple Choices
 
Length: 520 [application/json]
 
Saving to: `index.html'
 
 
100%[==========================================================>] 520 --.-K/s in 0s
 
 
2014-03-31 09:35:24 (118 MB/s) - `index.html' saved [520/520]
 
  
 
wget openstack:8777
 
--2014-03-31 09:41:05-- http://openstack:8777/
 
Resolving openstack(openstack)... 192.168.1.222
 
Connecting to openstack(openstack)|192.168.1.222|:8777... connected.
 
HTTP request sent, awaiting response... 401 Unauthorized
 
Authorization failed.
 
|}
 
{|
 
|style="padding: 0px 0px 30px 15px;"|3. A primary IP address is always assigned by OpenStack server when a VM is created Therefore, if you decide to order 2 IP addresses, then 3 addresses will be assigned.<br> The primary one and the two additionally ordered. If you wish only one IP address to be assigned to a single product, please set the filed '' 'Default Number Of IP Addresses' '' to '0'<br/> or leave it empty in the product's '' 'Module Settings'. ''
 
|}
 
 
=Update Instructions=
 
{|
 
|style="padding: 10px 0px 30px 15px;"|Essential guidance through the process of updating the module is offered '''[https://www.docs.modulesgarden.com/How_To_Update_WHMCS_Module here]'''.<br/><br/>
 
Keep in mind there is a quick and easy option in our client area that will let you upgrade the license of your module to an open source version at any time - and at a lower price!<br/>
 
To take advantage of it, simply use the '''License Upgrade''' button located on the product's page and a discounted invoice will be generated automatically.<br/>
 
|}
 
 
=Common Problems=
 
=Common Problems=
 
{|
 
{|
|style="padding: 10px 0px 10px 15px;"|'''1. When you have problems with connection, check whether your SELinux or firewall does not block ports.'''
+
|style="padding: 10px 0px 30px 15px;"|'''1. When you have problems with connection, check whether your SELinux or firewall does not block ports.'''
|}
+
{|
+
|style="padding: 0px 0px 5px 15px;"|2. '' 'Connection Error: No route to host' '' error.<br />
+
'''Reason:''' WHMCS server can not resolve OpenStack endpoint hostnames.<br />
+
'''Solution:''' Log in to your OpenStack via SSH and use '' 'keystone endpoint-list' '' command to obtain list of needed endpoints.
+
|}
+
{|
+
|style="padding: 0px 0px 10px 25px;"|[[File:OSV_41.png]]
+
|}
+
{|
+
|style="padding: 0px 0px 10px 15px;"|Afterwards, check each URL from '' 'adminurl' '' column using '' 'ping' '' command at your WHMCS server.<br />
+
All URLs which are not reachable have to be added to '' 'hosts' '' file on a server with your WHMCS.
+
|}
+
{|
+
|style="padding: 0px 0px 30px 15px;"|3. In case of persisting connection problems, please make sure you have the following ports open:
+
8774, 35357, 9292, 5000, 8777, 9696, 8776
+
 
|}
 
|}

Revision as of 12:55, 6 April 2018


Contents

About Servertastic SSL For WHMCS

Servertastic SSL For WHMCS will allow you to offer SSL certificates to your clients. They will be able to define and order a certificate directly in the client area.

Moreover, the module will give you the access to SSL configuration details as well as enable you to terminate certificates and renew them after their expiration date.

  • Admin Area Features:
✔ Create Certificate
✔ Terminate Certificate
✔ Resend Configuration Email
✔ Renew Certificate
✔ Change Approver Email
✔ View And Edit Order ID
✔ View Certificate Status
✔ Choose Certificate Type
✔ Toggle Synchronization Of Expiration Date
  • Client Area Features:
✔ Configure Certificate
✔ View Basic Certificate Details
✔ Modify Approver Email
✔ Download Generated Certificate
  • Configurable Options:
✔ Additional SAN Domain
✔ Server Count
✔ Certificate Validity
✔ Certificate Type
  • cPanel Tokens Integration:
✔ Create Certificate Tokens For Servertastic SSL For cPanel Module
✔ Choose Certificate Type
✔ Define SAN Values
✔ Define Server Count
✔ Define Management Page Link
✔ Toggle Management Page Link Visibility For Client Area
✔ Send Generated Token Via Email
  • General Info:
✔ Renewal Support - Automatically Creates New Certificate For Recurring Products After Expiration Date
✔ Multi-Language Support
✔ Supports PHP 5.4 Up To PHP 7
✔ Supports WHMCS V6 And V7

Installation and Configuration

This tutorial will show you how to successfully install and configure Servertastic SSL For WHMCS.

We will guide you step by step through the whole installation and configuration process.

Installation

1. Log in to our client area and download Servertastic SSL For WHMCS.
ST 1.png
2. Upload and extract the module into the main WHMCS directory.

Files in your WHMCS directory should look like this.

E4rt5e45.png

Configuration of Product

4. In order to create and configure a product, go to 'Setup' 'Products/Services' 'Products/Services' .

Click on 'Create a New Group' .

ST 5.png
5. Enter product group name and press 'Save Changes' .
ST 6.png
6. When you have a product group, you can create your product.

To create a product click on 'Create a New Product' .

ST 7.png
7. Afterwards, choose your product group and type from dropdown menus, fill in your product name and press 'Continue' .
ST 8.png
8. Now, go to 'Module Settings' section, choose 'Servertastic SSL' from a dropdown menu.

Next, click on 'Save Changes' .

ST 9.png
9. Finish by filling in 'API Key' and selecting desired certificate type.

To obtain 'API Key' log in to your 'Reseller Panel' and click 'View your API Key' :

ST 10 1.png
Additionally, mark 'Update Next Due Date' if you want to renew the certificate after reaching its expiration date (recurring products only).

Confirm through pressing 'Save Changes' .
Note: You can mark 'Test Mode' to connect with the test API.

ST 10.png
Congratulations! Your module is ready for use.

Management

Servertastic SSL For WHMCS allows you to offer fully configurable Servertastic certificates to your clients.

Additionally, you have the ability to view certificate details and manage each provisioned certificate.

Admin Area

In the admin area you can view the details of a product and find SSL configuration status.

Additionally, you can create/terminate product, resend configuration email and even change approver email.

ST 11.png
In order to change approver email, fill in a new email and press 'Save Changes' as shown on the screen below.
ST 12.png

Client Area

Servertastic SSL For WHMCS allows your customers to order and configure SSL certificates.

As you can see on the following screen, it also allows to choose from configurable options during an order.

ST 13.png

Configuration

A new SSL certificate needs to be configured before it can be used.

Press 'Configure Now' to proceed, you will be forwarded to an external page.
Proceed with configuration of your SSL certificate there.

ST 14.png
In the end of the process, you will receive a configuration email.

As soon as you receive the email and go to the approval site, your certificate will be generated.

ST 15.png

Management

On the following screen you can see a successfully configured product.

Here you can find provision and expiration dates, and its status.

ST 16.png
Additionally, you can download the certificate.
ST 17.png

Configurable Options

The module enables you to set up configurable options allowing clients to define the products they order.

Below you can find the list of configurable options with descriptions of how they will affect an order:
Certificate Type - allows client to choose from types provided in configuration, a chosen type will overwrite configuration in 'Module Settings' .
Years - client can choose the amount of years when certificate is valid. Make sure you will not exceed the maximum number of years for a particular certificate.
Maximum number of years for a particular certificate type can be found after a brand name followed by '| ' on the 'Certificate Type' in 'Module Settings' tab.
Servers Count - (required for Thawte and most of VeriSign certificates) if applicable, its range stretches from 1 to 500.
SAN Count - (SAN certificates only) client can define the maximum number of domains supported by a certificate.

1. Let's create configurable options group containing each one of presented configurable options.

Start by proceeding to 'Setup' 'Products/Services' 'Configurable Options' and pressing 'Create a new Group' .

ST 18.png
2. Afterwards, fill out the form with a group name and a description, select products you wish to apply to this group by holding Ctrl and clicking on each of the products.

Afterwards, press 'Save Changes' .

ST 19.png
3. Press 'Add New Configurable Options' .
ST 20.png
4a. (Years, Servers Count, SAN Count) Now, fill in option name, select 'Quantity' option type and fill in minimum and maximum allowed quantity.

Afterwards, set up price per one unit and press 'Save Changes' .

ST 21.png
4b. (Certificate Type, Years, Servers Count, SAN Count) Fill in option name and select 'Dropdown' from option type.
ST 22.png
5. Now, you have to add each option separately.

Do it by filling in its name, setting up its price and pressing 'Save Changes' for each of the options.
Note: As you may notice on the following screen, name is divided by 'I' sign.
The first part concerns system name of an option (or value) while the second part is a name under which option will be visible for client.'

ST 23.png
6. Now, let's order a product using previously created configurable options.

As you can see, using configurable option allows you to use fewer product while still allowing a full customization of the product.

ST 24.png

cPanel Tokens Configuration

To enable selling of certificates with Servertastic SSL For cPanel module, configure the token generator using the provisioning module for WHMCS.

Your WHMCS will now bill customers for the ordered certificates and generate tokens, which can be then used by customers to add their certificates in cPanel.

In order to start selling tokens for cPanel certificates you need to add a new product following the steps described in the 'Configuration of Product' section.
Select 'ServerTasticToken' from the module settings, enter your 'API Key' found in the step 9 and save the settings.

ST 25.png
After saving the settings in the 'Certificate Type' dropdown, available certificates will appear.

Note: If you are using a test API key, first make sure that the 'Test Mode' option is enabled.

Then set the remaining options corresponding to the selected certificate:

  • SAN Values - enter how many domain names can be protected with a single certificate.
  • Server Count - enter how many different servers can indicate the domains protected by a given certificate.
  • Management Page Link - Specify the address at which the customer will be able to see the generated certificate directly in the 'Servertastic' panel.
  • Show Order Management Page link - select whether you want your customers to see a direct link to the certificate in the 'Servertastic' panel.

Note: Make sure that SAN and Server vaules are supported by the selected type of certificate. You can find more relevant information on here.

Finally, save the changes and do not forget to generate 'Custom Field' and 'Email Template' .

ST 26.png
After placing an order for a configured product, the customer will have access to the generated 'certificate token' , its 'status' and a direct link to the order at the 'Servertastic' panel (if that option has been enabled).
ST 27.png
The client should now copy the token and complete the certificate configuration directly in the cPanel.

These steps are described on the Servertastic SSL For cPanel wiki.

Tips

1. When you press 'Renew' button in the admin area ('Client Profile → Products/Services') , a new order for selected domain will be created.
The admin can place it as 'Renewal' order type but only 90 days before the expiration date.

Common Problems

1. When you have problems with connection, check whether your SELinux or firewall does not block ports.
Navigation
WHMCS Modules
WHMCS Widgets
Translations
cPanel Modules
General
FAQ
Community