### Creating Virtuozzo Container Hosting Plan

A Container hosting plan provides Virtuozzo Container with root access or without it, at Provider's choice. Containers behave exactly like an isolated stand-alone server.

Parallels Business Automation - Standard allows provisioning of Linux and Windows 2003 Advanced Server Containers. To create Container Hosting Plans, you need all the necessary OS and application templates installed properly. Please use the Service Director - Virtuozzo Manager - Applications or OS Templates to install templates.

Linux OS templates are shipped together with Parallels Business Automation - Standard.

Windows OS template can be registered in Parallels Business Automation - Standard directly from the servers running Parallels Virtuozzo Containers for Windows..

Select the Virtuozzo Container type of hosting. Enter the hosting plan title and other general settings as this described earlier in this guide, then follow the wizard:

1. Enter the billing rates:

   Specify the setup fees for all subscription periods in the Setup fee fields. The setup fee is to be once paid by a customer for subscription creation.

   Type the subscription fees for all subscription periods in the Recurring fee fields. The recurring fee is to be paid by a customer for a subscription period.

   In respect to subscription periods for provider and reseller(s), the appropriate checkboxes become enabled in accordance with availability settings made in hosting plan General Settings. Check the relevant checkbox(es) to set subscription periods to be offered at your online store and/or available for resellers. Please note that dedicated hosting plans cannot be resold, so there is no options for resellers in such hosting plans.

   Select the upgrade calculation fees.

   Note: When Reseller copies one of hosting plans owned by provider, they can sell this plan only in the frame of subscription periods a provider have defined for resellers. Hosting plan general availability for resellers can be set in a plan General Settings, and subscription periods available for resellers are to be set in a plan Billing Rates.

2. Specify the Container general properties:

   Select the hardware node platform (OS with Virtuozzo-enabled kernel) from the Platform drop-down menu. The platform selection will automatically define the set of OS templates (i.e., the OS installed in Container) available.

   Choose the SLM mode you prefer for the Container under creation in the drop-down menu. You can select one of the three options:

   - SLM only resource management;
   - Old-style UBC resource management;
   - Use both UBC and SLM in parallel.

   At this moment, Virtuozzo SLM manages memory resources, that is the promises of administrators about the amount of memory available to Containers. UBC is another resource managing mechanism implemented in Virtuozzo for Linux versions. In comparison to UBC, SLM is a lot easier to adopt and understand, has less parameters, uses conventional terms and concepts, makes the configuration parameters intuitively clear and close to the notion of RAM size on a stand-alone computer and is more application-friendly in terms of how applications are signalled about memory restrictions and their chances to continue to operate with reduced memory usage or exit gracefully. The Container memory usage computation for SLM uses the same accounting mechanisms as in prior Virtuozzo versions, but combines all types of memory into a single value. The SLM memory limit (slmmemorylimit) parameter fully substitutes the UBC parameters and includes oomguarpages, kmemsize, lockedpages and socket buffer space (tcpsndbuf, tcprcvbuf, othersockbuf).

   Note: Detailed information on the Container resource management can be found in the Virtuozzo Management of System Resources Administrator's Guide (for the old-style UBC parameters administration) and Overview of SLM in Virtuozzo 3.0 for Linux (on the new SLM resources management).

   Select the OS template (the OS the Container will run) from the OS template drop-down menu.

   Only for Virtuozzo Container hosting plans: You can check the Name based hosting box to provide name-based Container.

   Define the availability of root access for the Container (check the Root Access box to allow). This option is only available for IP-based Containers (if the Name based hosting box is unchecked).

3. Set the billable resources rates:

   The pre-filled prices for resources are taken from the system-wide default prices. You can set values for each parameter within the allowable range in the Included value textboxes. The included value defines the limit of resource usage included in a Hosting Plan price. Set the price for resource overusage or resources upgrade in the Cost for additional resource allocation textbox. The maximal value of resource consumption (included or for additional price) is to be specified in the Maximum consumable value field.

   Note: Do not forget to indicate the price for additional units. It is important for correct recalculating of Customer Account balance in case of Hosting Plan upgrade.

   Number of static IP addresses. You can define only static allocation within each IP pool. Static IP addresses are allocated permanently and can be released only manually.

   Number of mailboxes. The number of mailboxes allowed for creation on a Container.

   Number of websites. The number of websites a customer is allowed to create on a Container using the Parallels Business Automation - Standard Control Panel tools.

   Number of databases. The number of databases a customer is allowed to create or manage on a Container using the Parallels Business Automation - Standard Control Panel tools.

   Number of backups. The number of server-side Container backups a customer is allowed to create.

   Total size of all backups. The maximal total size of all server-side Container backups a customer can have.

   Number of domains with DNS hosting provided. DNS hosting is creation a zone file for a domain in Parallels Business Automation - Standard DNS and you can specify how many domains can be provided with DNS hosting.

   Disk space quota. A Container disk size.

   CPU usage. This is a positive integer number that determines the minimal guaranteed share of the CPU time the corresponding Virtual Environment will receive. The CPU usage for Containers is measured in a special units called cpuunits. Please, refer to the Parallels Virtuozzo Containers user documentation for more details regarding Containers CPU share and other Container specific parameters.

4. If you have the Sitebuilder nodes registered, you can add the Parallels Plesk Sitebuilder service to the hosting plan. Check the Enable Sitebuilder service for this hosting plan box, select the Sitebuilder plan and enter the fees.

   Please check the applications required for Sitebuilder sites to be published:

   Parallels Plesk Sitebuilder for Windows 3.2.1 requires:

   Host Operating System:

   Parallels Plesk Control Panel for Windows 7.6.1 or greater.

   Applications:

   ASP.NET 2.0 included.

   Parallels Plesk Sitebuilder for Unix 3.0.1 requires:

   Only for Parallels Plesk Control Panel Unix 8.0.1 and greater:

   PHP safe_mode to be disabled

   psa-sb-publish for Plesk to be installed on the Plesk node

   For Plesk platform: PHP included in hosting plan

   For Virtuozzo platform: psa-sb-publish, PHP, and Workgroup Administrator Control Panel included in hosting plan.

5. Adjust (if needed) the non-billable Container resource-usage limits (i.e., the Container configuration):

   During a hosting plan creation, the default values for each parameter are offered. You can set quotes for each parameter within the allowable range (indicated in the Range column).

   For Containers that host the Plesk Virtual Node it is recommended to follow the to hardware requirements for Plesk server.

   For Linux Containers:

   Please refer to the Parallels Virtuozzo Containers user documentation for detailed description of Virtuozzo old-style UBC and newly introduced SLM QoS parameters.

   If you want to allow a subscriber to set disk space quotas for each Container user or group (and therefore be able to limit the size of each user mailbox), set the Limit of user quotas (quotaugidlimit) to a non-zero value (when the `quotaugidlimit` is set to zero, quotation is disabled). This parameter defines the overall number of Container users and groups (including the system ones) for which both the disk space and inodes quotas can be set. Please keep in mind that if the overall number of users and groups will exceed the`quotaugidlimit` value, the newly created users may have problems with uploading files and receiving mail. Thus, we recommend 150 as the minimal safe value for this parameter.

6. Adjust the DNS settings for the Hosting Plan:
   1. Select the domain registration hosting plan that will define the terms of domain registration for the hosting plan from the Domain Registration Hosting Plan drop-down menu.
   2. And from the DNS Template drop-down menu, please select the DNS template that will define the standard set of resource records to be placed into the zone file for all domains registered in the frame of the Hosting Plan you are creating.
   3. Select name servers set to be used for domains registration within this hosting plan from the Name servers set drop-down menu.
7. You can define one or more Hardware Nodes to host Containers created in the frame of a given Hosting Plan:

   Allow using any node available. To this effect, set the option button to All of the available hardware nodes.

   Allow using the selected Hardware nodes only. To this effect, set the option button to Selected hardware nodes only and click the Add button. The list of all registered Hardware Nodes appears in popup window. Select Hardware Nodes by clicking on their names. In this case, the names of selected Hardware Nodes will appear in the Selected menu. In case you select a wrong Hardware Node, you can cancel the selection. To this effect, click on this Hardware Node name in the Selected menu (its name will be highlighted) and then click the Remove button.

   Allow using all Hardware Nodes except selected. To this effect, set the option button to All of the hardware nodes except the selected ones and select the Hardware Nodes in the same way as described earlier.

   Allow using Hardware Nodes from selected node group(s) only. To this effect, set the option button to Selected node groups only and select node groups in the same way as described earlier.

8. Select applications to be installed or available for installation on the Container:

   Make an Application available within a Hosting Plan by checking the box next to an Application name (in the Enabled column). In this case, an Application will be offered in the store within the separate Price List, at a special fee, and a customer can buy it or not. In this case, the price for Application(s) selected will be added to Hosting Plan price (fees) in the Order total. And the applications that were not selected by a subscriber will remain available and can be installed by a customer from the Control Panel (after the corresponding invoice is paid).

   Include an Application in a Hosting Plan price by checking both the boxes next to an Application name in the Enabled column and in the Included column. In this case, an Application is included in Hosting Plan and a subscriber cannot refuse from such an Application when buying a Hosting Plan. However, a customer can uninstall an included application from the Parallels Business Automation - Standard Control Panel, using the Upgrade Center. In this case, the application remains available and can be re-installed by a customer from the Control Panel at any moment without any additional charges.

   Note that Enabled is the determining setting. If this box is not checked, the relevant box in the Included column is disabled.

   Parallels Business Automation - Standard allows providing the following Container management tools for customers: Parallels Business Automation - Standard Control Panels, Parallels Power Panel.

   You may get a warning about RPM packages conflicts or unresolved dependencies. These can be settled immediately by removing/adding the relevant packages or in the properties of an appropriate application template in Service Director > Virtuozzo Manager > Applications.

   Note: The Parallels Business Automation - Standard Control Panels and the most of the other applications are not available for SuSe or Debian Containers. For such Containers only the Parallels Power Panel and SSH are available.

9. Select licenses:

   If you sell licenses and have configured a Key Administrator plug-in with one or more license classes available for sale, you are offered to select the license classes and configure license properties of these classes. In this case, to select a license class for sale, check the box next to a License Class name and click the Next button. On the next step, you can see the licenses of the selected classes, each license properties in a separate form, if several licenses are selected, then forms for each of the licenses are shown one-by-one, fill the forms and scroll the screen to configure all licenses. The name of a license class is at the form heading.

   To activate a license in general, check the Active box. To offer a license for sale in the frame of the hosting plan, check the Sell this license in my HSPstore box. To include a license in the hosting package without the ability for a customer to un-select a license and do not buy it, check the Included box, otherwise, leave this box clear and specify the price for a license. If a license properties allow including additional services and/or additional license keys, then to sell them in a license package, check the box(es) next to a service or an additional key name, if it is possible to specify an additional key capacity, then select the capacity and specify the price.

10. You can optionally attach additional services (custom attributes) to a hosting plan as this described earlier in this guide.
11. Select the Plesk Applications to be available for installation inside the Container in the same way as you have selected the Virtuozzo Applications set (step 8).
12. Set the traffic accounting:

    To enable traffic accounting by classes for this hosting plan, check the Enable this traffic class for this hosting plan box at a traffic class form.

    Important: Please keep in mind that Containers traffic accounting for Parallels Virtuozzo Containers for Windows is possible only by the Class 2.

    The Create an overusage invoice at the end of every billing month instead of limiting traffic with the included value checkbox serves for switching the traffic accounting from the metered mode (the box checked) to the non-metered mode (the box cleared). The metered traffic accounting mode allows using traffic over the Included amount but up to the Maximum amount and paying for the traffic used over the Included amount at the end of month. The non-metered traffic accounting mode allows using traffic only up to the Included amount and in case a customer needs more traffic, he/she must order more at an additional fee, but no greater than the Maximum amount; after an order is paid, traffic will be provided.

    To set the traffic limits and prices, specify the values in the fields next to a traffic type name:

    Select the units to measure traffic from the Units drop-down menu.

    If you do not want to limit traffic for the hosting plan subscribers, check the Unlim box next to the corresponding traffic type. If you want to set limits and prices, clear the Unlim box and enter limits and rates.

    Enter the monthly traffic amount included in the hosting plan price into the Included amount field.

    Enter the monthly traffic limit into the Maximum amount field. This will be the maximal traffic value allowed for customers subscribed for this hosting plan.

    Enter the price per additional traffic unit (selected from the Units drop-down menu) into the Overuse rate/Cost for additional field.

13. Add custom questions to be asked at the HSPstore when a customer subscribes for a hosting plan as this described earlier in this guide.
14. Review the hosting plan parameters and finish its creation.

Please send us your feedback on this help page