Deploying a Commvault Linux MediaAgent from AWS

From AWS Marketplace, you can deploy an AWS instance from the Commvault Cloud Data Manager AMI. The resulting Linux instance serves as a Linux proxy and as a File Recovery Enabler for Linux. The AMI contains all of the components that are required to support Linux operations in the Commvault environment.

Note

If your CommServe system is a more recent release of Commvault than the MediaAgent, update the MediaAgent to the same feature release after deployment.

Before You Begin

Identify the host name or IP address of the CommServe host.

Procedure

  1. From the AWS EC2 Console, go to Instances and click Launch Instance.

    AWS opens a wizard to guide you through the deployment.

  2. To choose an AMI, search for "Commvault".

  3. Display the search results for AWS Marketplace.

  4. Select the Commvault Cloud Data Manager AMI.

  5. Select an instance type that provides the available CPU cores and memory for the instance.

  6. Identify a network and subnet that are available for the deployment.

  7. If necessary, add additional storage.

    By default, the AMI provides 100 GB of storage.

    Note

    When you launch the instance, you must provide a key pair that can be used. You can use an existing key pair or create a new key pair as part of the deployment.

  8. Log on to the CommCell Console and configure network route settings that enable the CommServe host to open connections to the AWS instance:

    1. Configure a Commvault client for the AWS instance:

      1. Right-click Client Computers, and then select New Client > File System > Unix/Linux.

      2. In the Client Name box, enter a descriptive label for the AWS instance.

        Make a note of the client name for the AWS instance.

      3. In the Host Name box, enter the public IP address for the AWS instance.

      4. Click Next.

      5. Verify the client information, and then click Finish.

    2. Configure network route settings on the client for the CommServe host:

      1. Right-click the CommServe node, and then select Properties.

      2. Click Network.

        The Network Properties dialog box appears.

      3. On the Network Route Configuration tab, select the Configure Network Route Settings check box.

      4. Click Advanced.

      5. On the Incoming Connections sub-tab, click Add to add the proxy client connection.

      6. Select the AWS instance in the From list.

      7. Select BLOCKED from the State list.

      8. Click OK.

    3. Configure network route settings on the client for the AWS instance:

      1. Under Client Computers, right-click the client for the AWS instance, and then select Properties.

      2. Click Network.

        The Network Properties dialog box appears.

      3. On the Network Route Configuration tab, select the Configure Network Route Settings check box.

      4. Click Advanced.

      5. On the Incoming Connections sub-tab, click Add to add the CommServe host connection.

      6. Select the client for the CommServe host in the From list.

      7. Select RESTRICTED from the State list.

      8. Click OK.

      9. To change the default tunnel port, on the Incoming Ports tab, select the Override default tunnel port check box, and enter the port number for incoming tunnel connections.

        The default tunnel port is the Commvault Communications (CVD) service port plus 3, for example, 8403.

        Make a note of the port number you enter.

      10. Click OK.

    4. Right-click the CommCell node, and then select All Tasks > Push Network Route Configuration.

    5. Under Client Computers, right-click the client for the CommServe host, and then select All Tasks > Push Network Route Configuration.

  9. Log on to the new instance using your EC2 user credentials, and then perform the following actions from the command line to register the Linux instance with Commvault:

    1. Switch to root user:

      sudo su
    2. Go to the /etc folder:

      cd /etc
    3. Run the Commvault registration script:

      ./commvaultRegistration.sh
    4. Provide the required information. The values you enter should match the corresponding values that you provided in the preceding steps.

      • Enter Client Name: Type the Commvault client name for the AWS instance.

      • Enter Client Hostname: Type the fully qualified domain name (FQDN) or the public IP address for the AWS instance.

      • Enter Client Group Name: Enter the name of the client computer group where the AWS instance should be included.

      • Enter CS Name: Type the short name for the CommServe client (without the domain name).

      • Enter CS Hostname: Enter the fully qualified host name for the CommServe host.

      • Enter CS Username: Enter the user name for the CommServe host (for example, admin).

      • Enter CS Password: Enter the password for the CommServe host user.

      • Is CS behind a firewall? (yes/no): Enter yes.

      • Enter the option (1/2/3): Enter 2 to indicate that the CommServe host should initiate the connection to the AWS instance.

        [Option 1] CS f/w tunnel port (client can connect to CS)

        [Option 2] Client f/w tunnel port (CS can connect to client)

        [Option 3] CS reachable via proxy

      • Enter the tunnel port number the CommServe system can use to open a connection toward the client: Enter the port number that you entered for the AWS instance (for example, 443).

      • Is HTTP proxy used for communication between the CommServe host and the client ? (yes/no): Enter no.

      • Do you wish to proceed with registration using the above information? (yes/no): Enter yes.

    When the wizard completes, the instance is configured as a VSA proxy and MediaAgent that can connect to the CommServe host.

  10. To reconfigure the FREL as a Linux proxy: From the CommCell Browser, expand Client Computers > FREL_client, right-click Virtual Server, and then click All Tasks > Reconfigure.

  11. Perform a remote install of all currently available Commvault feature release maintenance releases on the Linux machine.

Loading...