In certain cases, you must prepare your source VMs/instances for recovery to an AWS cleanroom site.
For VMs/instances that host Active Directory, if you want the Commvault to automatically perform health checks of your recovered AD environment, install the Commvault Active Directory package.
The health checks validate the following critical AD services for user authentication and domain functionality:
-
Netlogon service: Manages authentication health check in AD
-
NTDS service: Stores and replicates the AD database
-
KDC service: Issues Kerberos tickets for user authentication
To install the Commvault Active Directory package, follow these steps:
-
From the Command Center navigation pane, go to Manage > Servers.
-
In the row for the VM/instance, click the action button
, select Maintenance, and then select Add software. -
From the Select packages list, select Active Directory, and then click OK.
-
Click Install.
Hyper-V differencing disks
For Hyper-V VMs, if you have differencing disks (AVHD or AVHDX files), merge the disks with the original disk.
For instructions, see How to merge checkpoints that have multiple differencing disks in the Microsoft documentation.
Older Linux releases
For the following Linux releases and all Windows Server releases, the Commvault software automatically installs the required drivers.
-
Red Hat Enterprise Linux (RHEL) 8 and later
-
Oracle Linux 7 and later
For older releases, you must manually install the drivers.
SUSE Linux
-
Log on to the VM/instance as a root user.
-
Install the required Xen drivers (
xen-blkfrontandxen-netfront):-
Identify the current kernel version:
uname -r -
Go to the
/bootfolder:cd /boot -
Back up the
.imgfile for the kernel. -
Open the
dracut.confconfiguration file in the editor:vi /etc/dracut.conf -
Uncomment the line that contains the string
add_drivers. -
Add the
xen-blkfrontandxen-netfrontmodule names to the line, with spaces separating each module. (Don't include the.kosuffix in the driver module name.)For example:
add_drivers+="xen-blkfront xen-netfront" -
Return to the
/bootfolder:cd /boot -
Recut the
initramfs:dracut -f -v
-
-
If you are recovering to a Nitro instance type for a release of Linux that's older than one of the following, install the
NVMeandENAdrivers on the VM/instance.The following OS versions have the required NVMe and ENA drivers installed:
-
Red Hat Enterprise Linux 7.4
-
SUSE Linux Enterprise Server 12 SP2
-
Check if the OS versions have the required NVMe and ENA drivers installed:
modinfo nvmemodinfo ena -
If the drivers require an update, run the following command:
sudo zypper update -y -
Reboot the VM/instance to load the latest kernel version.
-
Log on to the VM/instance as a root user.
-
Go to the
/bootfolder:cd /boot -
Perform a backup of the
.imgfile for the kernel. -
Open the editor to edit the
dracut.confconfiguration file:vi /etc/dracut.conf -
Add the
nvme-coreandnvmemodule names to theadd_driversline with spaces separating each module.For example, when both
xenandnitrodrivers are installed:add_drivers+="xen-blkfront xen-netfront nvme-core nvme" -
Return to the
bootfolder:cd /boot -
Recut the
initramfs:dracut -f -v -
Run the following command to verify if the drivers are loading successfully:
lsinitrd | grep -i -e nvme -e enaSample output:
[root@oracle-3 ~]# lsinitrd | grep -i -e nvme -e ena drwxr-xr-x 3 root root 0 Apr 12 12:49 usr/lib/modules/5.4.17-2136.305.5.5.el7uek.x86_64/kernel/drivers/nvme drwxr-xr-x 2 root root 0 Apr 12 12:49 usr/lib/modules/5.4.17-2136.305.5.5.el7uek.x86_64/kernel/drivers/nvme/host -rw-r--r-- 1 root root 59980 Apr 6 02:42 usr/lib/modules/5.4.17-2136.305.5.5.el7uek.x86_64/kernel/drivers/nvme/host/nvme-core.ko.xz -rw-r--r-- 1 root root 35968 Apr 6 02:42 usr/lib/modules/5.4.17-2136.305.5.5.el7uek.x86_64/kernel/drivers/nvme/host/nvme.ko.xz
-
-
Install the SSM agent so that you can perform post-recovery operations on the recovered EC2 instance.
For instructions, see Manually install SSM Agent on SUSE Linux Enterprise Server instances in the AWS documentation.
Ubuntu Linux
Ubuntu 16.04 and later include the linux-aws package, which contains the NVMe and ENA drivers required by Nitro-based instances.
Upgrade the linux-aws package to receive the latest version.
-
Check if Ubuntu 14.04 (with linux-aws kernel) or later has the required NVMe and ENA drivers installed:
modinfo nvmemodinfo ena -
If the drivers require an update, run the following command:
sudo apt-get update -y -
If the drivers are not present, run the following command:
-
For Ubuntu 14.04, install the latest
linux-awspackage:sudo apt-get install linux-aws -
For Ubuntu 16.04 and later, which include the
linux-awspackage that contains the NVMe and ENA drivers required by Nitro-based instances, upgrade thelinux-awspackage to receive the latest version:sudo apt-get install --only-upgrade -y linux-aws
-
-
Reboot your instance to load the latest kernel version.
-
Install the SSM agent so that you can perform post-recovery operations on the recovered EC2 instance.
For instructions, see Install SSM Agent on Ubuntu Server 22.04 LTS, 20.10 STR & 20.04, 18.04, and 16.04 LTS 64-bit (Snap) in the AWS documentation.