Before you prepare VMs for conversion to Google Cloud (GC), you can use a script to skip manual installation of GC drivers on Linux VMware virtual machines.
Before You Begin
Verify that the following modules are configured to be available during the boot process: virtio, virtio_ring, virtio_pci, virtio_net, virtio_scsi. Although commonly used Linux distributions (RHEL, OpenSUSE, Ubuntu) will have these virtio driver modules packaged, you should still ensure that they are configured to be available.
Procedure
-
Copy the Script. From the Commvault path on the Linux proxy:
/opt/commvault/iDataAgent64/systemrecovery/bootimage/INITRD/ -
Copy the cvInjectDrivers.sh script to the following location on the source VM:
/etc/commvault/ -
Run the following commands with the specified arguments and wait for the driver injection to complete:
chmod +x cvInjectDrivers.sh ./cvInjectDrivers.sh / "virtio, virtio_ring, virtio_pci, virtio_scsi, virtio_net" /var/log/CVInjectDrivers.log 0 0 0 gcp -
Verify the driver injection status by reviewing the logs:
tail -500 /var/log/CVInjectDrivers.log -
Run a full backup of the Linux VMWare VMs.
-
Perform a full replication on the GCP target.
-
Run a planned failover and then verify that the destination VM boots up.