If you want to perform a BMR on multiple machines and you want to install the same operating environment on all the machines, you can perform a batch BMR. You do not have to create a job for each BMR job. You can save time and effort, and you can reduce the risk of any error while configuring the BMR machines.
Note: You must have a valid recovery point of the source machine that you want to restore. If you do not have a valid recovery point, you must first back up the source machine and then submit a restore job.
You first define all your BMR settings in a template BMR job and then change the target machine’s address (IP or MAC), hostname, and network configuration using the following command:
d2djob
Follow these steps:
Note: You can provide any name for the BMR job. You must provide the same job name in the batch BMR script.
#!/bin/sh prename=lab-server serverList[0]="<MAC_Address>" serverList[1]=" <MAC_Address>" serverList[2]=" <MAC_Address>" . . . serverList[300]=" <MAC_Address>" for((i=0;i<${#serverList[@]};i=i+1)) do ./d2djob --newrestore="BMR-TEMPLATE" --target=${serverList[i]} --hostname=$prename$i --network=dhcp done
The script runs. Multiple BMR jobs are created in the UI.
A batch of BMR job is run.
Copyright © 2016 |
|