Enterprise Workloads Editions: β Business | β Enterprise | β Elite
Using the common Hybrid Workloads agent, you can install the agent and activate it for yourFile Serversand NAS workloads on a Linux server based on your requirement, thereby saving time for installing and activating the agent individually for each workload.
The steps include the following:
Step 1: Download and generate activation token
You can protect different types of workloads using the common agent. For example, if you download the agent for File Servers, the same can be used to protect NAS and vice-versa. The agent is also available for download on the Druva Downloads page. The steps to download an agent and generate an activation token are as follows:
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.
For each workload, select the following option:
Click Register New Server for File Servers.
Click Add Proxy for NAS.
The respective registration screens appear.
Under the Download and Install Agent on the Server section, select Linux in the Select OS drop-down.
π Note
βYou can click Check Pre-requisite to check the Hybrid Workloads agent prerequisites.
For NAS, directly select the Linux Download option.
Click Download.
The agent download starts on the same browser page.Under the Activation Token section, if there aren't any existing tokens, a Default Activation Token is generated. This token is valid for 25 servers and for 7 days.
π Note
βIf this token has expired, click Generate New Token. In the Generate Token dialog box, enter the required details, and click Generate.Select the Copy Token icon.
The activation token is copied successfully.
Step 2: Install and activate agent
Once the agent is installed, a set of checks is run to ensure that the system is ready for activation of the agent and all the required conditions are met. If not, it will provide a curated set of errors that might have occurred and will also provide the solution to tackle and fix the same.
Perform the following steps to install the agent:
Go to the directory that contains the Hybrid Workloads agent installer.
Run the following command:
dpkg -i <package_name>
For example: dpkg -i druva-phoenix-client-6.0.1-131748.amd64.deb
or
rpm βivh <package name>
For example: rpm βivh druva-phoenix-client-6.0.1-131748.x86_64.rpm
π Note
βEnsure that the available disk space is at least twice the size of the installer file.
Perform the following steps to activate the agent:
π Note
βIf your network infrastructure uses a Web proxy, you must configure it before activation. For more information, see Configure Web proxy.
On the Linux server, open the terminal.
Paste the copied command for File Servers as explained below:
Public Cloud
HybridWorkloadsAgent fs activate -t <token> -n <ServerName>
For example: HybridWorkloadsAgent fs activate -t 32931-228-1762-591132241ce4fb2e14fca792cbf532f4a2359eb0bf1b96f82211373ebea7c23b -n WIN-RFE3
GovCloud
HybridWorkloadsAgent fs activate -g -t <token> -n <ServerName>
For example: HybridWorkloadsAgent fs activate -g -t 32931-228-1762-591132241ce4fb2e14fca792cbf532f4a2359eb0bf1b96f82211373ebea7c23b -n WIN-RFE3
Paste the copied command for NAS as explained below:
Public Cloud
HybridWorkloadsAgent nas activate -t <token> -n <ProxyName>
For example: HybridWorkloadsAgent nas activate -t 52931-221-1762-591132241ce4fb2e14fca792cbf532f4a2359eb0bf1b96f8221343eb233c44a -n WIN-RTG3
GovCloud
HybridWorkloadsAgent nas activate -g -t <token> -n <ProxyName>
For example: HybridWorkloadsAgent nas activate -g -t 52931-221-1762-591132241ce4fb2e14fca792cbf532f4a2359eb0bf1b96f8221343eb233c44a -n WIN-RTG3 Paste the copied command for Oracle DTC as explained below:
Paste the copied command for Oracle DTC as explained below:
Public Cloud:
β/opt/Druva/PhoenixOracle/bin/HybridWorkloadsAgent oracledtc activate --token <valid_token> -n β<ServerName>βFor Example:/opt/Druva/PhoenixOracle/bin/HybridWorkloadsAgent oracledtc activate --token 52931-221-1762-591132241ce4fb2e14fca792cbf532f4a2359eb0bf1b96f8221343eb233c44a -n "WIN-RTG3"
Gov Cloud:
β/opt/Druva/PhoenixOracle/bin/HybridWorkloadsAgent oracledtc activate -g --token <token> -n β<ServerName>βFor example:/opt/Druva/PhoenixOracle/bin/HybridWorkloadsAgent oracledtc activate -g --token 52931-221-1762-591132241ce4fb2e14fca792cbf532f4a2359eb0bf1b96f8221343eb233c44a -n βWIN-RTG3"
The agent is activated successfully.
π Note
βThe ServerName should be within double quotes.
where,
<token> represents the activation token that Druva generated at the time of registering server.
<ServerName> represents the tag to the server that you want to activate. You can tag a server during activation or after activation. For example, if you add the 'druva_file_server' tag to your server, you can search for the server on the Druva portal using the 'druva_file_server' name. This is an optional argument. If you do not provide any value for this argument, the FQDN of the server is assigned as the default value for this attribute.
<ProxyName> represents the tag to the proxy that you want to activate.
Once the agent is successfully activated, a set of backup readiness checks for the common agent are executed to reduce instances of failure during the first backup. These checks enable you to make sure that your system is ready and equipped to perform a backup operation.
β
Step 3: Configure Web proxy
Before you begin
Ensure that the Hybrid Workloads agent service is running before starting proxy settings.
Procedure
Open the command line interface window.
In the terminal, run the following command set the Web proxy:
HybridWorkloadsAgent web-proxy-config -s -t <proxy_type> -i <ProxyHost_IP>:port -u <Proxy_user> -p <Proxy_password>
(Optional)You can use the following command to fetch the current proxy configuration:
HybridWorkloadsAgent web-proxy-config -g
Get_web-proxy
(-g, --get):Fetches the current Web proxy configuration for the agent.Set_web_proxy
(-s, --set):Sets the current Web proxy configuration for the agent.Proxy_type
(-t, --proxy-type string):Agent supports the following proxy types:http
socks4
socks5
β
π Note
β
βIf you do not provide the type, http is applied by default.Proxy_IP
(-i, --host string):Valid IP or URL of proxy server.Port:Respective proxy port number.
Proxy_user
(-u, --user string):Valid proxy user name.Proxy_password
(-p, --pass string):Valid proxy password.
The Web proxy is configured successfully.
π Notes
βDo not use quotes for proxy_IP, proxy_user or proxy_password.
In the terminal, run the following command in the Linux server to remove the Web proxy:
βHybridWorkloadsAgent web-proxy-config -r
or
βHybridWorkloadsAgent web-proxy-config --remove
or
β/opt/Druva/PhoenixOracle/bin/HybridWorkloadsAgent web-proxy-config -r
βor
β/opt/Druva/PhoenixOracle/bin/HybridWorkloadsAgent web-proxy-config --remove