Enterprise Workloads Editions: β Business | β Enterprise | β Elite
Before you can backup your virtual machines, you have to register the Hyper-V host on which you create and manage virtual machines. During registration, Druva generates an activation token that activates the Enterprise Workloads agent installed on your host. Activation ensures that Enterprise Workloads agent establishes a persistent connection with Druva Cloud and registers your host with Druva. After your host is registered, backup is enabled for the host on which the agent is installed. The Enterprise Workloads agent:
scans your host and requests the VSS service for the virtual machine recovery point
backs up the recovery point on the cloud
restores data from the cloud when you request it
For an overview of configuration steps, see:
This article contains the following sections:
Step 1: Download the agent and generate activation token
Log in to the Management Console.
select the workload from the Protect menu. Note that if the All Organizations menu is enabled, you have to first select an organization and then select the workload.
Click Register Hyper-V Host.
On the Register New Hyper-V Host page, click Check prerequisites and ensure that you review the requirements before configuring Hyper-V hosts for backup.
Under Download and install agent on the host, do one of the following:
If you have not yet downloaded the Enterprise Workloads agent installer, click Download. The agent download starts on the same browser page.
βπ Note
βUsing this Enterprise Workloads agent, you can protect MS SQL, File Servers, and NAS workloads on a Windows Server. For more information, see Common agent installation and activation.If the Enterprise Workloads agent has already been downloaded, proceed to the Activate Host for Backup section.
β
Under the Activation Token field, you can select a pre-existing activation token from the drop-down. An activation token can be used to activate up to 25 servers and expires in 7 days. If this token has expired, click Generate New Token. In the Generate Token dialog box, enter the following details, and then click Generate.
Token Label:
A short description of the activation token.
βπ Note
βYou cannot leave this field empty.This token can activate:
The number of hosts that the activation token can activate.
The default value is 25.
The token expires in:
The number of days after which the activation token expires.
The default value is 7.
β
In the Generate Token window that follows, you can copy the generated token by clicking the Copy Token icon. Click Done.
Step 2: Install the agent
Before you begin, ensure that:
You are logged in as an administrator to the host.
Your host matches the requirements listed in the support matrix.
You have downloaded the Enterprise Workloads agent installer on your host. The installer is available on the Druva downloads page. You can also download the installer from the Management Console at the time of registering hosts.
Perform the following steps to install the agent:
Copy the downloaded Enterprise Workloads agent installer to the host on which you want to install it.
Double-click the Enterprise Workloads agent installer. The installation wizard appears.
Accept the license agreement and click Next.
Use the local system account for installing the agent on the Hyper-V host.
Specify the installation location and select the appropriate checkboxes as needed:
(Optional) Desktop Shortcut: You can create a desktop shortcut for the Druva Enterprise Workloads Agent installation wizard.
(Optional) Enable Signature Verification: Selecting this option ensures the integrity and authenticity of binaries. It also prevents the execution of any altered binaries, thereby safeguarding against malicious modifications or tampering with packages.
β
Click Install.
After the installation completes, click Finish.
Command-line install
From the command prompt, run the following command:
βFor agent version prior to 7.0.0
βmsiexec /i <path to Phoenix msi> /qn /quiet /log <path to log file>
β
βFor agent version 7.0.0 and later
βmsiexec /i <path to EnterpriseWorkloads-UnifiedAgent msi> /qn /quiet /log <path to log file>
β
βFor example:
βFor agent version prior to 7.0.0
βmsiexec.exe/i C:\Users\Administrator\Downloads\Phoenix-6.0.1-154609.msi /qn/quiet/log C:\Users\Administrator\Downloads
β
βFor agent version 7.0.0 and later
βmsiexec.exe/i C:\Users\Administrator\Downloads\EnterpriseWorkloads-UnifiedAgent-7.0.0-453279.msi /qn/quiet/log C:\Users\Administrator\Downloads
βEnter input as [yes/no] to enable signature verification.
β
βπ NoteBy default, the input option for enabling signature verification is [no].
The Enable Signature Verification option ensures the integrity and authenticity of binaries. It also prevents the execution of any altered binaries, thereby safeguarding against malicious modifications or tampering with the package.
(Optional) You can also verify the integrity and authenticity of the package. See Package Signature Verification for more details.
Step 3: Activate the Enterprise Workloads agent
Activate the agent using the user interface
If youβre using the Enterprise Workloads Agent shortcut to activate the agent, follow the below steps:
Double-click the Enterprise Workloads Agent shortcut on the Windows server where the Enterprise Workloads Agent needs to be activated.
The Enterprise Workloads Agent window is displayed.
In the Enterprise Workloads Agent window, select the Hyper-V workload.
A set of in-built activation checks are run and the result is displayed.The Agent Activation page for Hyper-V is displayed.
Enter the following details:Activation Token: Paste the copied activation token.
βπ Note
βThis is the token copied from the Register New Hyper-V Host dialog box.Register Host As: Select the host type based on your setup. The available options are SCVMM, Cluster, Standalone. The default option is Standalone.
SCVMM FQDN: Provide IP address or Fully Qualified Domain name.
This field displays only when you select SCVMM as the host type in the Register Host As field.Username: Enter a valid user name.
This field displays only when you select SCVMM or Cluster as the host type in the Register Host As field.Password: Enter a valid password.
This field displays only when you select SCVMM or Cluster as the host type in the Register Host As field.
β
βπ Note
βIf you are activating the Enterprise Workloads agent for Druva Public Cloud, do not select the GovCloud check box.Click Activate.
The backup readiness checks will run to ensure that your system is equipped for successful backup operation.
The Hyper-V agent is activated successfully.
βπ Note
βAfter successful activation, a green tick displays next to the workload on the mentioned common agent activation screen.
Activate the agent using command line
Open the command-line prompt with Admin privilege.
βπ Note
βIf you are using an agent older than version 6.0.1-154928, navigate to:
βFor agent version prior to 7.0.0
βC:\Program Files\Druva\Phoenix Agent
βFor agent version version 7.0.0 and later
βC:\Program Files\Druva\EnterpriseWorkloads
βAfter changing the directory, run the following commands to activate the agent:
For Druva Cloud:
For agent version prior to 7.0.0
HybridWorkloadsAgent.exe hyperv activate -t <token> --type <scvmm/cluster/standalone> --scvmm_fqdn <scvmm FQDN> --user <scvmm/cluster username> --password <scvmm/cluster password>
βFor agent version 7.0.0 and later
EnterpriseWorkloadsAgent.exe hyperv activate --token <token>
EnterpriseWorkloadsAgent.exe hyperv configure --type <scvmm/cluster/standalone> --scvmm_fqdn <scvmm FQDN> --user <username>
β
βπ NoteIf a password is required, you will be prompted to enter the password.
If you are using an agent older than version 6.0.1-154928, the following command can be used:
PhoenixHyperVControl.exe activate <activation_token> --type <scvmm/cluster/standalone> --scvmm_fqdn <scvmm FQDN> --user <scvmm/cluster username> --password <scvmm/cluster password>
β
βFor GovCloud:For agent version prior to 7.0.0
HybridWorkloadsAgent.exe hyperv activate --gov-cloud -t <token> --type <scvmm/cluster/standalone> --scvmm_fqdn <scvmm FQDN> --user <scvmm/cluster username> --password <scvmm/cluster password>
βFor agent version 7.0.0 and later
EnterpriseWorkloadsAgent.exe hyperv activate --gov-cloud --token <token>
EnterpriseWorkloadsAgent.exe hyperv configure --type <scvmm/cluster/standalone> --scvmm_fqdn <scvmm FQDN> --user <username>
βπ NoteIf a password is required, you will be prompted to enter the password.
If you are using an agent older than version 6.0.1-154928, the following command can be used:
βPhoenixHyperVControl.exe activate govcloud <activation_token> --type <scvmm/cluster/standalone> --scvmm_fqdn <scvmm FQDN> --user <scvmm/cluster username> --password <scvmm/cluster password>
β
π Note
Replace <activation_token> with the activation token that Druva generated at the time of registering the host.
For
--type
, select one of the following parameters based on your setupscvmm
cluster
standalone
Provide IP address or Fully Qualified Domain name for <scvmm FQDN>
If the Hyper-V host uses SCVMM, replace <scvmm username> and <scvmm password>
with username and password respectively.
If you are registering the Hyper-V host as a cluster, replace <cluster username> and <cluster password> with domain username and password respectively. Ensure that the domain user has access permissions on all the Hyper-V hosts within that cluster.For example, if you are registering an SCVMM based host
For agent version prior to 7.0.0
HybridWorkloadsAgent.exe hyperv activate -t 111111AAAAAA --type scvmm --scvmm_fqdn examplehyperv.fqdn.yourorg.com --user admin --password examplepasswordforscvmm
β
βFor agent version 7.0.0 and laterEnterpriseWorkloadsAgent.exe hyperv activate --token 111111AAAAAA
EnterpriseWorkloadsAgent.exe hyperv configure --type scvmm --scvmm_fqdn examplehyperv.fqdn.yourorg.com --user admin --password examplepasswordforscvmm
β
If you are registering a clustered host:
βFor agent version prior to 7.0.0HybridWorkloadsAgent.exe hyperv activate -t 111111AAAAAA --type cluster --user exampledomain\admin --password examplepasswordfordomainuser
β
βFor agent version 7.0.0 and laterEnterpriseWorkloadsAgent.exe hyperv activate --token 111111AAAAAA
EnterpriseWorkloadsAgent.exe hyperv configure --type cluster --user exampledomain\admin --password examplepasswordfordomainuser
β
If you are registering a standalone host:
βFor agent version prior to 7.0.0HybridWorkloadsAgent.exe hyperv activate -t 111111AAAAAA --type standalone
β
βFor agent version 7.0.0 and laterEnterpriseWorkloadsAgent.exe hyperv activate --token 111111AAAAAA
EnterpriseWorkloadsAgent.exe hyperv configure --type standalone
β
If you are registering for Gov Cloud, add the --
gov--cloud
parameter. For example, in case of a standalone host:
βFor agent version prior to 7.0.0HybridWorkloadsAgent.exe hyperv activate --gov-cloud -t 111111AAAAAA --type standalone
β
βFor agent version 7.0.0 and laterEnterpriseWorkloadsAgent.exe hyperv activate --gov-cloud --token 111111AAAAAA
EnterpriseWorkloadsAgent.exe hyperv configure --type standalone
β
The
--scvmm_fqdn
parameter is applicable for System Center Virtual Machine Manager based host only. It is not applicable for a standalone host or a host in a cluster.The
--user
and--password
parameters are not required for standalone hosts.In place of the
--type, --user, --password, and --scvmm_fqdn
parameters, you can use-e, -u, -p, and -f
respectively.If you move a host from one cluster to another after registration, the host appears as disconnected in the Management Console.
By default, the server is registered using its Fully Qualified Domain Name (FQDN). In addition, you can use the
--ServerName
or-d
parameter to register your host with a name. The server name is not case-sensitive. You cannot have one server registered as "ABC" and another as "abc". Druva will display the error message "Server display name already exists. Cannot register the server with same display name". You can add the-d
parameter to register the server with a different name.You can upgrade Enterprise Workloads agents to their latest available version. For more information, see Upgrade the agent.
If you are using SCVMM for managing virtual machines on Windows Server 2008 and Windows Server 2008 R2 hosts:
When you activate the Enterprise Workloads agent, select the type as standalone or cluster (based on your setup). Do not select the type as
scvmm
to register the hosts through SCVMM.Phoenix does not support registration of the Microsoft Windows Server 2008 and Microsoft Windows Server 2008 R2 hosts through SCVMM.
If you want to update the credentials later:
PhoenixHyperVControl.exe set_credential --type <scvmm/cluster> --scvmm_fqdn <scvmm FQDN> --user <scvmm/cluster username> --password <scvmm/cluster password>
For example,
PhoenixHyperVControl.exe set_credential --type scvmm --scvmm_fqdn=192.0.2.9 --user=exampledomain\user --password=Ex@mpleP@$$w0rd
π Note
Do not use the following characters in the command:
Double quotes "
Single quotes '
Double back-slash \\
The File level restore requires an additional proxy. For more information, see File-level restore (FLR) on Hyper-V virtual machines.
Configure Web proxy
Phoenix agent connects to the Druva Cloud through the internet. If your network infrastructure uses a Web proxy, configure the Phoenix agent to use Web proxy to establish a connection with the Druva Cloud. You can configure the Web proxy either from the user interface or command line.
Configure Web proxy using the user interface
This procedure applies only to Windows servers.
Before you begin
Ensure that Enterprise Workloads agent is running before starting proxy settings.
Procedure
Double-click the Enterprise Workloads Agent application.
In the Agent Activation window, select Configure Web Proxy.
Select the My network infrastructure uses a Web proxy check box to enter the details.
The Web Proxy options are displayed.
βIn the Proxy Type drop-down list, select one of the supported proxy types(http, socks4, socks5). The default selection is http.
In the Proxy Server IP Address field, enter a valid IP address of the proxy server.
In the Proxy Port field, enter the respective port number.
If you want to add authentication to your proxy server, select the Proxy server requires authentication check box and add relevant username and password in their respective fields.
Click Save.
The Web proxy is configured.
Configure Web proxy servers using the command line
Open the command-line interface window.
In the command line interface, change the directory with which the CLI opens to the directory where Enterprise Workloads agent is installed.
βπ Note
βIf you are using an agent older than version 6.0.1-154928, change directory to:
βFor agent version prior to 7.0.0
βC:\Program Files\Druva\Phoenix Agent
β
βFor agent version 7.0.0 and laterC:\Program Files\Druva\EnterpriseWorkloads
βIn the command prompt, run the following command to set the Web proxy:
βFor agent version prior to 7.0.0HybridWorkloadsAgent.exe web-proxy-config -s -t <proxy_type> -i <ProxyHost_IP>:port -u <Proxy_user> -p <Proxy_password>
βFor example:
βHybridWorkloadsAgent.exe web-proxy-config -s -t http -i 172.34.23.218:80 -u johndoe -p pass23
β
βFor agent version 7.0.0 and later
βEnterpriseWorkloadsAgent.exe web-proxy-config -s -t <proxy_type> -i <ProxyHost_IP>:port -u <Proxy_user> -p <Proxy_password>
β
For example:
βEnterpriseWorkloadsAgent.exe web-proxy-config -s -t http -i 172.34.23.218:80 -u johndoe -p pass23
βπ Note
βIf you are using an agent older than version 6.0.1-154928, the following command can be used:
βPhoenixControl.exe set_proxy_details -t proxy_type -i proxy_IP:port -u proxy_user -p proxy_password
(Optional)You can use the following command to fetch the current proxy configuration:
βFor agent version prior to 7.0.0HybridWorkloadsAgent.exe web-proxy-config -g
β
βFor agent version 7.0.0 and later
βEnterpriseWorkloadsAgent.exe web-proxy-config -g
Field | Description |
Get_web-proxy | Fetches the current Web proxy configuration for the agent. |
Set_web_proxy | Sets the current Web proxy configuration for the agent. |
Proxy_type | Agent supports the following proxy types:
π Note
|
Proxy_IP | Valid IP or URL of proxy server. |
Port | Respective proxy port number. |
Proxy_user | Valid proxy user name. |
Proxy_password | Valid proxy password. |
The Web proxy is configured successfully.
π Note
βDruva only supports basic authentication with Web proxy.
Additional information
The Threat Management Gateway (TMG) drops IDLE connections after defined timeout duration, due to which agent does an aggressive retry with server.
βπ Note
βIn TMG application, it is recommended to set connection timeout value to 5 minutes.The configuration file path for Enterprise Workloads agent and Cache Server are as follows:
βFor agent version prior to 7.0.0For windows agent
:C:\ProgramData\Phoenix\Phoenix.cfg
.
β
βFor agent version 7.0.0 and laterCommon config file for windows agent:
βC:\ProgramData\Druva\EnterpriseWorkloads
Hyper-V config file for windows agent:
βC:\ProgramData\Druva\EnterpriseWorkloads\hyperv
β
If the proxy details setting fails, ping the proxy-server IP from the same machine and check for proxy_user and proxy_password.
Steps to delete a Web proxy once it is set up successfully
You can delete the successful set up Web proxy in the following three ways.
Using the user interface
This is applicable only to Windows Servers.
Clear the My network infrastructure uses a Web proxy check box.
Click Save.
Using the command line
Open the command line interface window.
In the command prompt, run the following command on the Windows server to remove the Web proxy:
β
βFor agent version prior to 7.0.0HybridWorkloadsAgent.exe web-proxy-config -r
or
HybridWorkloadsAgent.exe web-proxy-config βremove
β
βFor agent version 7.0.0 and later
βEnterpriseWorkloadsAgent.exe web-proxy-config -r
or
βEnterpriseWorkloadsAgent.exe web-proxy-config --remove
βIn the terminal, run the following command in the Linux server to remove the Web proxy:
β
βFor agent version prior to 7.0.0HybridWorkloadsAgent web-proxy-config -r
or
HybridWorkloadsAgent web-proxy-config --remove
β
βFor agent version 7.0.0 and later
βEnterpriseWorkloadsAgent.exe web-proxy-config -r
or
βEnterpriseWorkloadsAgent.exe web-proxy-config --remove
β
βπ Note
βEnter -r or βremove command to remove the Web proxy.
Updating the configuration file
Log in to the required server.
Stop the Enterprise Workloads agent Services.
βπ Note
ββIf you are using an agent older than version 6.0.1-154928, navigate to:
βFor agent version prior to 7.0.0
βC:\ProgramData\Phoenix\<WorkloadName>
and copy thePhoenix.cfg
file.
β
βFor agent version 7.0.0 and later
βC:\ProgramData\Druva\EnterpriseWorkloads\Config.yaml
and copy theConfig.yaml
file.
Next steps
After the server is registered, configure virtual machines for backup.
For information on how to configure Druva so that it can work with third-party VSS providers, see How do I configure Druva to use third party VSS providers?