Deployment in Virtuozzo Server environments
The Acronis Backup plugin supports backup and recovery of cPanel servers that run on Virtuozzo Server 7.5 virtual machines and containers. If you are planning to use the plugin in such environments, please note the following:
- Installing the protection agent
- For containers, the protection agent must be installed on the Virtuozzo Server host, not inside the containers.
- For virtual machines, you can install the protection agent inside the virtual machines (agent-based protection) or on the Virtuozzo Server host (agentless protection).
- To perform agentless backups, you must enable them on the virtual machines that you want to protect.
- If you have a Virtuozzo cluster, the protection agent must be installed on each host that is registered on the cluster.
- The protection agent must be installed on the virtualization host before configuring the plugin.
- Installing the Acronis Backup plugin for cPanel.
- To ensure proper integration, the plugin must be installed within each virtual machine or container that has the cPanel control panel installed, by following the standard plugin installation procedure.
- As an additional security measure, you will need to register the plugin within each Virtuozzo virtual machine or container to the WHM and cPanel platform by using the
create_hosting_panel_client.pyscript. For detailed instructions, see this knowledge base article. - To protect all or multiple containers with a single protection plan, create the plan in the Cyber Protect console or via the RESTful API and assign it to each container. The plugin only creates individual protection plans.
create_hosting_panel_client.py script.Installing the protection agent on a Virtuozzo Server host
To install the protection agent in unattended mode, see Unattended installation or uninstallation in Linux. This section describes the manual installation procedure.
- Log in to the host machine as a system administrator or root user.
- Download the protection agent installation file to the host machine. See Downloading protection agents.
- Navigate to the installation file directory, make the file executable and then run it.
chmod +x ./Backup_Agent_for_Linux_x86_64.bin ./Backup_Agent_for_Linux_x86_64.bin --register-with-credentials
If two-factor authentication (2FA) is enabled for your account, use the following command instead:
./Backup_Agent_for_Linux_x86_64.bin --token=%generated_token%
To obtain a registration token, use the instructions from Installing the protection agent using a registration token.
- Specify the credentials of the account, to which the machine should be assigned.Make sure to use the credentials of an account that belongs to a customer group, such as Customer administrator, Unit administrator or Protection User. Avoid using Partner administrator credentials.
- Select the checkboxes for the components to install:
- Agent for Linux
- Agent for Virtuozzo
-
Complete the installation procedure.
Enabling agentless application-aware backups
If you're installing the plugin to perform agentless backups in a Virtuozzo Server virtual environment, you must enable the agentless application-aware backups on the virtual machines that you want to protect.
-
Log in to the virtual machine where the WHM and cPanel application is installed.
- Modify the qemu configuration file /etc/sysconfig/qemu-ga as follows to enable the necessary permissions for the qemu guest agent:
Set BLACKLIST_RPC=<%BLANK%> - Restart the qemu guest agent by running the following command:
systemctl restart qemu-guest-agent
Configuring the protection agent on a Virtuozzo Server host
After you install the protection agent on a Virtuozzo Server host, make sure to update the /etc/Acronis/BackupAndRecovery.config file as described here. Otherwise, the plugin will not be able to connect to the agent.
- Set EnableWebcp to Yes to allow the agent to communicate with the plugin.
- [Optional] Set EnableBackupForAll to Yes if you want to allow cPanel administrators to enable and disable backup of a container from the plugin dashboard. Otherwise, the Backup toggle on the dashboard will be deactivated.
-
[Optional] Set RunBackupForAll to Yes to allow cPanel administrators to run backups of a container on demand from the plugin dashboard. Otherwise, the Backup now button on the dashboard will be deactivated.
<key name="Webcp"> <value name="EnableBackupForAll" type="TString"> "Yes" </value> <value name="EnableWebcp" type="TString"> "Yes" </value> <value name="RunBackupForAll" type="TString"> "Yes" </value> </key>
Installing and configuring the plugin
Use the standard installation and configuration flows to set up the plugins on every virtual machine or container that you want to protect: