6.1. Creating a virtual environment¶
Follow this procedure to create and configure virtual environments (virtual machines and containers).
6.1.1. To create a virtual environment¶
Go to your CloudBlue Connect vendor portal and click the Products icon.
Click the + Create product button in the upper-right corner.
In the Create product dialog, do the following:
The product ID will be automatically generated.
To properly configure your newly created product, follow the instructions below.
6.1.1.1. Configure general information¶
Add general information about the product you have created.
6.1.1.1.1. To edit general information¶
Go to your CloudBlue Connect vendor portal and click the Products icon.
Select the desired product and do the following:
Go to the General tab and click Edit next to the product name to change the product name or add a product icon and a short description.
Note
Use a PNG image with a transparent background for an icon.
Go to the General > Overview tab, and then, in the Overview box, click Edit to add a product description.
Go to the General > Media tab and click + in a box to add a media file for marketing purposes.
6.1.1.2. Manage settings¶
Edit settings for the product you have created.
6.1.1.2.1. To edit settings¶
Go to your CloudBlue Connect vendor portal and click the Products icon.
Select the desired product.
Go to the Settings tab and click the Edit button in the upper-right corner.
In the Edit settings dialog, do the following:
Turn on the Administrative Hold toggle to manage subscriptions to the created product, such as suspending and resuming a subscription.
Turn on the Consumption reporting for Reservation Items toggle to support real-time consumption reporting for the reservation items.
Turn on the Pay-as-you-go toggle to enable the pay-as-you-go model, turn on the Dynamic Items toggle, and select QT as a reporting schema.
Select Auto-renewal as renewal management.
Under Subscription — Change Request, turn on the Editable Ordering Parameters toggle to edit ordering parameters when creating a change request.
Click Save.
6.1.1.3. Create product items¶
Product items are compute resources in Virtuozzo Hybrid Server that customers order and pay for, such as CPU, CPU speed, RAM, storage, and floating IP addresses. Product items are categorized according to two billing models:
A reservation model provides a limited number of compute resources.
A pay-as-you-go model implies unlimited resources, and charges are made according to usage reports.
6.1.1.3.1. To create product items following the reservation model¶
Go to your CloudBlue Connect vendor portal and click the Products icon.
Select the desired product.
Go to the Items > Reservation tab and click the + Create item button.
In the dialog that appears, do as follows:
In Create Item - Step 1 General, enter the item name, manufacturer part number, and description. For the manufacturer part number, refer to the table below. Group Manufacturer Part Number and Group Name are optional. Leave the default value in the Parent Item drop-down list and click Next.
Resource
Manufacturer part number
CPU
CPU_limit
CPU_MHz
CPU_MHz_limit
RAM
RAM_limit
Storage
Storage_limit
floating IP
floating_ip_limit
In Create Item - Step 2 Type, do the following:
After adding all the five compute resources, you will have the following list:
6.1.1.3.2. To create product items following the pay-as-you-go model model¶
Go to your CloudBlue Connect vendor portal and click the Products icon.
Select the desired product.
Go to the Items > Pay as you go tab and click the + Create item button.
Important
Ensure the Pay-as-you-go option is enabled on the Settings tab on the product page.
In the dialog that appears, do as follows:
In Create Item - Step 1 General, enter the item name, manufacturer part number, and description. For the manufacturer part number, refer to the table below. Group Manufacturer Part Number and Group Name are optional. Leave the default value in the Parent Item drop-down list and click Next.
Resource
Manufacturer part number
Outgoing Traffic consumption
Outgoing_Traffic_consumption
Incoming Traffic consumption
Incoming_Traffic_consumption
Floating IP consumption
Floating_IP_consumption
CPU consumption
CPU_consumption
Storage consumption
Storage_consumption
RAM consumption
RAM_consumption
Backup Storage consumption
Backup_storage_consumption
In Create Item - Step 2 Type, do the following:
For Outgoing_Traffic_consumption and Incoming_Traffic_consumption, in the Precision drop-down list, select Decimal with 4 digits precision (Example: 14.1234), and then, in the Unit drop-down list, select MB*H.
For Floating_IP_consumption, CPU_consumption, and Storage_consumption, in the Precision drop-down list, choose Integer (Example: 42), and then, in the Unit drop-down list, select Unit*H.
For RAM_consumption and Backup_storage_consumption, in the Precision drop-down list, choose Decimal with 4 digits precision (Example: 14.1234), and then, in the Unit drop-down list, select Unit*H.
Click Create.
After adding all the compute resources, you will have the following list:
6.1.1.4. Create ordering parameters¶
Ordering parameters are specified by customers when ordering a product.
For Virtuozzo Hybrid Server, you need to add the following ordering parameters:
Parameter |
ID |
|---|---|
Operation System |
os_template |
VE Hostname |
domain_hostname |
VE Password |
ve_password |
Migration UUID |
migration_uuid |
6.1.1.4.1. To create the os_template parameter¶
Go to your CloudBlue Connect vendor portal and click the Products icon.
Select the desired product.
Go to the Ordering Parameters > Subscription tab and click the + Create parameter button.
In the dialog that appears, do the following:
In Create Ordering Parameter — Step 1 Type, do as follows:
In the Type drop-down list, select Dropdown.
In the Option label column, enter the name of an operating system. In the Option value column, specify the template key. If you want to set an operating system as required, select Default next to it.
In Hint text, enter additional information that will appear next to each option.
Click Next.
In Create Ordering Parameter — Step 2 Constraints, turn on the Required toggle to make the parameter mandatory. Click Next.
Create Ordering Parameter — Step 3 Dependencies is optional and can be skipped. Click Next.
In Create Ordering Parameter — Step 4 Details, enter the parameter ID, os_template, title, and description. Click Create.
In Create Ordering Parameter — Step 5 Summary, review the parameter summary and click Close.
Once the os_template parameter is created, you can edit it as a list of supported and provided OS templates with different names and preinstalled packages.
6.1.1.4.2. To create the domain_hostname parameter¶
Go to your CloudBlue Connect vendor portal and click the Products icon.
Select the desired product.
Go to the Ordering Parameters > Subscription tab and click the + Create parameter button.
In the dialog that appears, do the following:
In Create Ordering Parameter — Step 1 Type, in the Type drop-down list, select Single line text to enter a value for the parameter in a text line. In Placeholder text and Hint text, enter additional information about the parameter. Click Next.
In Create Ordering Parameter — Step 2 Constraints, turn on the Required toggle to make the parameter mandatory. Click Next.
Create Ordering Parameter — Step 3 Dependencies is optional and can be skipped. Click Next.
In Create Ordering Parameter — Step 4 Details, enter the parameter ID, domain_hostname, title, and description. Click Create.
In Create Ordering Parameter — Step 5 Summary, review the parameter summary and click Close.
6.1.1.4.3. To create the ve_password parameter¶
Go to your CloudBlue Connect vendor portal and click the Products icon.
Select the desired product.
Go to the Ordering Parameters > Subscription tab and click the + Create parameter button.
In the dialog that appears, do the following:
In Create Ordering Parameter — Step 1 Type, in the Type drop-down list, select Password. In Min symbols, specify the required minimum number of symbols. In Max symbols, specify the maximum number of symbols allowed. Click Next.
In Create Ordering Parameter — Step 2 Constraints, turn on the Required toggle to make the parameter mandatory. Click Next.
Create Ordering Parameter — Step 3 Dependencies is optional and can be skipped. Click Next.
In Create Ordering Parameter — Step 4 Details, enter the parameter ID, ve_password, title, and description. Click Create.
In Create Ordering Parameter — Step 5 Summary, review the parameter summary and click Close.
6.1.1.4.4. To create the migration_uuid parameter¶
Go to your CloudBlue Connect vendor portal and click the Products icon.
Select the desired product.
Go to the Ordering Parameters > Subscription tab and click the + Create parameter button.
In the dialog that appears, do the following:
In Create Ordering Parameter — Step 1 Type, in the Type drop-down list, select Single line text to enter a value for the parameter in a text line. In Placeholder text and Hint text, enter additional information about the parameter. Click Next.
In Create Ordering Parameter — Step 2 Constraints, leave all the toggles turned off. Click Next.
Create Ordering Parameter — Step 3 Dependencies is optional and can be skipped. Click Next.
In Create Ordering Parameter — Step 4 Details, enter the parameter ID, migration_uuid, title, and description. Click Create.
In Create Ordering Parameter — Step 5 Summary, review the parameter summary and click Close.
After adding all the ordering parameters, you will have the following list:
6.1.1.5. Create fulfillment parameters¶
Fulfillment parameters are specified by the vendor when fulfilling a product request.
For Virtuozzo Hybrid Server, you need to add the following fulfillment parameters:
Parameter |
ID |
|---|---|
VE ID |
domain_id |
VE Name |
domain_name |
VE IPs |
domain_ips |
Subscription resume date |
resume_date |
Note
By default, the system automatically creates two fulfillment parameters, such as Title of the Parameter A and Title of the Parameter B. To be able to delete them, go to the Embedding > Subscription tab, and then, in the Approved Templates box, click
and delete the following text:
The value of {{ param_a.title }} is {{ param_a.value }}
The value of {{ param_b.title }} is {{ param_b.value }}
Add a new one and click Save. For example:
VE OS: {{ os_template.value }}
IP: {{ domain_ips.value }}
User: root/Administrator
Password: {{ ve_password.value }}
6.1.1.5.1. To create the domain_id, domain_name, and domain_ips parameters¶
Go to your CloudBlue Connect vendor portal and click the Products icon.
Select the desired product.
Go to the Fulfillment Parameters > Subscription tab and click the + Create parameter button.
In the dialog that appears, do the following:
In Create Fulfillment Parameter — Step 1 Type, in the Type drop-down list, select Single line text to enter a value for the parameter in a text line. In Placeholder text and Hint text, enter additional information about the parameter. Click Next.
In Create Fulfillment Parameter — Step 2 Constraints, turn on the Required toggle to make the parameter mandatory. Click Next.
In Create Fulfillment Parameter — Step 3 Details, enter the parameter ID, which is domain_id, domain_name, or domain_ips, title, and description. Click Create.
In Create Fulfillment Parameter — Step 4 Summary, review the parameter summary and click Close.
6.1.1.5.2. To create the resume_date parameter¶
Go to your CloudBlue Connect vendor portal and click the Products icon.
Select the desired product.
Go to the Fulfillment Parameters > Subscription tab and click the + Create parameter button.
In the dialog that appears, do the following:
In Create Fulfillment Parameter — Step 1 Type, in the Type drop-down list, select Single line text to enter a value for the parameter in a text line. In Placeholder text and Hint text, enter additional information about the parameter. Click Next.
In Create Fulfillment Parameter — Step 2 Constraints, leave all the toggles turned off. Click Next.
In Create Fulfillment Parameter — Step 3 Details, enter the parameter ID, which is resume_date, title, and description. Click Create.
In Create Fulfillment Parameter — Step 4 Summary, review the parameter summary and click Close.
After adding all the fulfillment parameters, you will have the following list:
6.1.1.6. Create and define a configuration parameter¶
Configuration parameters are metadata specified during the product configuration. Virtuozzo Hybrid Server has only one configuration parameter, item_limit, which enables defining maximum resource limits for the reservation model.
Parameter |
ID |
|---|---|
item_limit |
item_limit |
6.1.1.6.1. To create a configuration parameter¶
Go to your CloudBlue Connect vendor portal and click the Products icon.
Select the desired product.
Go to the Configuration > Keys tab and click the + Add key button in the upper-right corner.
In the dialog that appears, do the following:
In Create Configuration Key - Step 1 Type, in the Type drop-down list, select Single line text to enter a value for the parameter in a text line. In Placeholder text and Hint text, enter additional information about the parameter. Click Next.
In Create Configuration Key - Step 2 Scope, select Item and click Next.
In Create Configuration Key - Step 3 Constraints, turn on the Required toggle and click Next.
In Create Configuration Key - Step 4 Details, specify the parameter ID, item_limit, title, and description. Click Create.
In Create Configuration Key - Step 5 Summary, view the details of the created parameter and click Go to details to view more detailed information or click Close.
6.1.1.6.2. To define a configuration parameter¶
6.1.1.7. Localization¶
You can manage the localization of a created product. On the product page, go to the Localization tab, where you can add the localization by uploading a file with the translated text.