Converting a Linux MediaAgent to a VMware File Recovery Enabler for Linux

A Linux MediaAgent can be installed as a guest agent on a virtual or physical machine to provide backup services for Linux virtual machines. To enable extended file system support, a Linux MediaAgent running on a supported Linux guest operating system can be transformed into a File Recovery Enabler for Linux. This enables the Linux MediaAgent to mount virtual machine backup data for Live Browse and Live Recovery operations, without requiring that granular recovery metadata be collected during backups.

A File Recovery Enabler for Linux can be used with any of the hypervisors supported by the Virtual Server Agent.

For hypervisors that support Linux proxies, the Virtual Server Agent role can also be enabled on the MediaAgent.

Note

Before You Begin

  • The machine must have both MediaAgent and Virtual Server Agent packages installed.

  • To deploy this solution on a new Linux machine, install the Linux MediaAgent and file system agent in restore only mode as described in Installing Restore Only Agents.

  • Ensure that RPC services are running (for example, rpcbind).

  • Do not deploy a File Recovery Enabler on a virtual machine that was created from the same VM template as VMs being backed up, or that was cloned from the same VM.

  • The Logical Volume Management (LVM) package must be installed on the File Recovery Enabler MediaAgent to enable browsing files and folders on UNIX VMs.

  • For OpenStack, the following packages must be installed on MediaAgents that are converted to act as File Recovery Enablers:

Operating System Support

  • This solution is supported for a Linux MediaAgent on a virtual or physical machine running any of the following operating systems:

    • CentOS 6.4, 6.5, 6.6, 6.7, 7.2, 7.3, 7.4, 7.5, 7.6, 7.8, 7.9, 8.0*, 8.1*, 8.2*, 8.3*, 8.4*

    • Oracle Linux 7.x with kernel 3.8.13.x (Intel Pentium or compatible minimum required)

    • Oracle Linux 7.x with kernel 3.8.13.x (x64)

    • Oracle Linux 6 Update 6 with kernel 3.8.13-68.1.3.el6uek.x86_64 (Intel Pentium or compatible minimum required)

    • Oracle Linux 6 Update 6 with kernel 3.8.13-68.1.3.el6uek.x86_64 (x64)

    • Oracle Linux 6 Update 4 with kernel 2.6.39-400 (Intel Pentium or compatible minimum required)

    • Oracle Linux 6 Update 4 with kernel 2.6.39-400 (x64)

    • Oracle Linux 6 Update 4 (OEL6U4) Red Hat Compatible Kernel

    • Red Hat Enterprise Linux (RHEL) 7.4, 7.5, 7.6, 7.7, 7.8, 7.9, 8.0, 8.1, or 8.2

      Note

      To use a RHEL 8 VM or CentOS 8 VM that is configured to use the UEFI Secure Boot method as a File Recovery Enabler for Linux (FREL), you must enroll Commvault keys with the UEFI MOK (Machine Owned Key) list on the VM. For more information, see Use Commvault Driver Modules on a Linux Computer with UEFI Secure Boot Option Enabled.

File System Support

The File Recovery Enabler supports live browse and file recovery for the following file systems:

  • ext2

  • ext3

  • ext4

  • XFS

  • JFS

  • HFS

  • HFS Plus

  • Btrfs

Notes

  • Live browse and file recovery operations are not supported for XFS realtime subvolumes.

  • With Service Pack 8 or later, live browse and recovery is supported for subvolumes of Btrfs file systems.

Procedure

  1. Download and install XFS file system packages on the machine where the Linux MediaAgent is installed.

  2. Add a disk or volume with the XFS file system and create the following mount point for cache data:

    • For FBR cache: 40 GB minimum
  3. Stop Commvault services.

  4. Add the following required registry keys to configure FBR mount paths:

    • For /etc/CommVaultRegistry/Galaxy/Instance001/Session/.properties:

      nFBRDELAYEDINIT

      1

      nFBRSkipFsck

      1

      dFBRDIR

      Path for the FBR cache mount point

      sLNFBR

      /opt/commvault/Base/libCvBlkFBR.so (if not already present)

      Note

      Do not set the path for the FBR cache mount point to the root directory or to the Commvault ransomware protection-enabled directory.

  5. Start Commvault services.

  6. Run the following script to validate the configuration and settings:

    /opt/commvault/Base/cvfbr_validate.sh
  7. When prompted, provide administrator management user login credentials for the CommCell Console.

Result

After validating the configurations, the script marks the Linux MediaAgent as a File Recovery Enabler for Linux, and the MediaAgent can be used for Live Browse and Live Recovery operations.

Loading...