Install and configure a Linux cloud server as a Commvault Media Agent server

Install and configure a Linux cloud server as a Commvault Media Agent server
Photo by William Warby / Unsplash

This post will provide a step by step instruction on installing and configuring a Commvault Linux MediaAgent server. A MediaAgent server is used to manage the backup data target. The backup data target can be a local tape drive, a tape library, a direct attached disk, a SAN disk array or cloud storage.

These backup targets will need to be configure into storage pools before they can be used for client data backup jobs. I will cover this storage pools in another post.

If you have found this post useful, please consider clicking the subscribe button.

Step 1
Configure and test the ssh and scp access to the Linux cloud server.
In my setup, I am using a Windows cloud server I provisioned earlier as the jump host for my test environment.
I installed Putty for ssh access and WinSCP for scp access. If you are not familiar with these tools, ssh is for ssh terminal access and scp is for copying files to the Linux cloud server.

NOTE: The SSH private key that was generated in earlier posts will need to be converted to ppk format. This key can be used for both Putty and WinSCP.

Putty access working
WinSCP access working
Puttygen private key ppk conversion

Step 2
Copy the installation files to the Linux cloud server.
Select the folder to be copied.
Click upload.
Confirm the destination folder then click OK.

Upload steps
File copy status
SCP copy complete

Step 3
Logon to the Linux cloud server using the Putty ssh tool.
Change directory to the installation files.
NOTE: If the ls (list command) does not show files as green then these files will need to be set to be executable. Run this command on the command line,

chmod -R 775 *
SSH command line

Step 4
Run the Commvault software installation command by typing the following on the command line,

./cvpkgadd

Step 5
On the installation Welcome screen, click on Next.

Welcome screen

Step 6
On the Install Task screen, select Install packages on this machine.
Click Next.

Install Task

Step 7
On the Install Option screen, arrow down then use the space bar to select Advanced Selection. Click Next.

Install Option

Step 8
On the Package Selection, use the space bar to select the following options, MediaAgent, File System Core and File System.
Click Next.

Package Selection

Step 9
On the Install Agents for Restore Only, leave the default option as No.
Click Next.

Install Agents for Restore Only

Step 10
On the Install Directory prompt, leave the default directory as /opt or type in the installation directory. Click Next.

Step 11
In the Log Directory prompt, leave the default of /var/log or type in the preferred Log Directory. Click Next.

Log Directory

Step 12
On the Laptop & Desktop Backup prompt, leave the default as No since the Linux server is being installed and configured as a MediaAgent server. Click Next.

Laptop & Desktop Prompt

Step 13
On the Unix Group Assignment prompt, leave the default option of No.
Click Next.

Unix Group Assignment

Step 14
On the Client Host Information prompt, leave the hostname. Click Next.

Client Host Information

Step 15
On the Client Information prompt, leave the client name. Click Next.

Client Information

Step 16
In the Index Cache Directory prompt, leave the default or type in the configured Index Cache Directory. Click Next.
NOTE: In a production environment, the Index Cache directory should be configured on highly performant disks like NVMe disks.

Index Cache Directory

Step 17
On the Summary screen, review the options selected. Click Next.

Summary

Step 18
The Installing Packages screen will show the status of the installation.

Installing Packages

Step 19
On the Server Information prompt, type in the CommServe server name.
Click Next.
NOTE: The CommServe host should be accessible via tcp port 8400 or 8403. The CommServe host should also be reachable by its IPv4 address via the DNS server or the local hosts file of the Linux server.

Server Information

Step 20
On the Configure HTTP Proxy prompt, leave the default option of No.
Click Next.

Configure HTTP Proxy

Step 21
On the Server Authentication prompt, enter the Commvault Administrator credentials. Click Next.

Server Authentication

Step 22
On the Configure the Client Groups prompt, leave the default.
Click Next.

Configure the Client Groups

Step 23
The installation will attempt to register the client to the Commvault Server.

Client Registration

Step 24
The Installation Status will show a successful status. Click Finish.

Installation Status

Step 25
Logon the Command Center. Navigate to Manage->Infrastructure. Click on MediaAgents.

Command Center - Infrastructure

Step 26
The new MediaAgent server should show a status of Ready. The MediaAgent server can now be further configured for use as a Commvault backup target.

Command Center - MediaAgents

Read more