By default, clients do not pay for an operating system, because usually dedicated servers come installed with free Linux or trail Windows operating systems.
However, you can configure the "Operating system" resource, so that a client will pay only for certain operating systems.
How to configure a commercial operating system
Navigate to Products → Tariff plans → Options → select the Operating system addon.
Choose the following parameters:
- Billing type — Based on order.
- Type — Operating system.
- Enumeration — Operating system. You can add a new enumeration or edit the existing one in Products → Enumerations → Values.
- Default value — a default operating system (usually "Free OS").
- Internal name — the internal name which must match the internal name of the Operating system parameter (Products → Product types → Parameters).
Enumerations
Navigate to Products → Enumerations → Values to define commercial operating systems.
Add all the operating systems that will be provided to clients for a fee:
Make sure that the internal name of the enumeration matches the internal name of the corresponding OS template.
You can find the internal name of a template in Products → Product types → VPS → Parameters → Operating system → Values.
Operating system cost
To specify the enumeration prices navigate to Products → Tariff plans → Options → Prices.
Order peculiarities
When a client orders the service all the operating systems associated with that tariff plan are available for order too. The system defines the tariff resources automatically based on the selected operating system.
If the customer selects an operating system which is not present in the list of "Operating system", the system will use a default value. Usually, it is "Free OS" with zero price.
If the client selects the OS which internal name matches the internal name of the enumeration value, the billing panel will add the price of the selected operating system to the order price.
Synchronization of operating systems
OS synchronization allows bringing into compliance the operating system specified in BILLmanager with the OS template installed on the VPS.
Example: the client orders a server with a free operating system. In DCImanager he installs a commercial operating system. During the synchronization, DCImanager will inform the billing system that the commercial operating system is installed on the server. BILLmanager will try to debit the client's account according to the service price. In case of insufficient funds on his balance of account, the billing system will generate the corresponding notification for BILLmanager administrator.
By default once in 4 hours the processing.syncserver.cron cron job starts the synchronization process.