3. Importing from previous versions of CloudBlue connector¶
With the Virtuozzo Hybrid Server connector to CloudBlue Connect, new customers can manage virtual environments on top of Virtuozzo Hybrid Server, and existing customers can manage newly provisioned and imported virtual environments.
However, existing Virtuozzo and CloudBlue customers need a way to import or migrate existing subscriptions, resources, and compute workloads to be manageable by the new Virtuozzo Hybrid Server connector. Virtuozzo Hybrid Server delivers a utility to map existing subscription information of a virtual environment from CloudBlue Commerce to our newly developed Virtuozzo Hybrid Server connector for CloudBlue Connect. The customers can stay on the supported CloudBlue and Virtuozzo Hybrid Server platforms. The transition from Odin Automation Cloud Infrastructure (OACI) to the new Virtuozzo Hybrid Server connector is smooth and without any business interruption.
With our import utility, service providers can create a separate self-service panel subscription in CloudBlue Connect, add existing virtual environment subscriptions to a new self-service panel subscription, and map the virtual environment subscriptions under a single login in PowerPanel. After migrating and mapping subscriptions, a virtual environment user can log in to PowerPanel and continue the day-to-day operations with their virtual environments. The goal of the import utility is to provide the service providers with a smooth way of the subscription mapping migration from OACI to CloudBlue Connect while keeping the subscription and assigned resource information in CloudBlue Commerce.
The process of creating a virtual environment product in the CloudBlue Connect vendor portal includes a hidden ordering parameter, the migration UUID. This parameter is used for importing a subscription by the Virtuozzo Hybrid Server connector from OACI. The status of an imported subscription remains as is or becomes active after the migration. However, the states of a migrated subscription and a virtual environment may differ, as the customer can stop the virtual environment before the migration. Thus, the subscription status can be active, and the virtual environment remains stopped. After the successful import, customer themselves can start such a virtual environment if needed.
The post-hook functionality can also be useful for checking the results of importing virtual environments and CloudBlue connector subscriptions:
# cat /var/log/cloudblue-connector/post_hook.log
AS-1087-8055-8780 purchase fail
AS-5474-7711-9006 purchase success
...
AS-2244-5099-6931 suspend success
AS-5474-7711-9006 resume success
...
AS-2244-5099-6931 cancel success
...
Import-Migration Activities:
AS-4112-7978-6284 purchase success
AS-6847-2186-6994 purchase success
AS-5972-4396-5856 purchase fail
Go to Configure a config.json file to learn more about the post-hook functionality.