Docly

Add Microsoft Hyper-V Hosts

Estimated reading: 2 minutes 0 views

This operation will add a large number of Hyper-V Standalone/Cluster/SMB Servers to the BDRSuite backup server. Follow the steps given below to prepare the input file and execute the python script for adding Microsoft Hyper-V Hosts,

Note: Applicable to Windows BDR Backup Server.

1. The input.csv file for adding Microsoft Hyper-V Hosts operation will be present inside the following folder

Windows BDR Backup Server

$$InstallationDirectory\Vembu\BDRSuiteScripts\AddHyperVHost\input.csv

For Example , C:\Program Files\Vembu\BDRSuiteScripts\AddHyperVHost\input.csv

2. Open the input.csv file using any text editor and give inputs.

Sample Input

Action,hostIP,PortNumber,serverType,useExistingCredential,credentialName,credentialUserName,credentialPassword

ADD_HYPERV_HOST,192.168.102.119,42005,0,hyperv,,,

ADD_HYPERV_HOST,192.168.102.127,42005,0,,newhypervadd,administrator,*****

Name Type Description Mandatory / Optional
Action String ADD_HYPERV_HOST Mandatory
hostIP String Value specifying IP address of HyperV host to be added. Mandatory
PortNumber String Value specifying port number which will be used for data communication between HyperV host and backup server.By default it is 42005. Mandatory
serverType Integer Value specifying the type of HyperV Server to be added

0-HyperV StandAlone

1-HyperV Cluster

2.HyperV SMB

3-HyperV SMB Cluster

Mandatory
useExistingCredential String Value specifying the credential name for HyperV host to be added Mandatory for adding host using existing credential
credentialName String Value specifying the name of the credential to be added. Mandatory for adding host using fresh credential
credentialUserName String Value specifying User name of HyperV host  to be added. Mandatory for adding host using fresh credential
credentialPassword String Value specifying password of HyperV host to be added. Mandatory for adding host using fresh credential

3.  The python script for adding Hyper-V host will be present inside the following folder,

Windows BDR Backup Server

$$InstallationDirectory\Vembu\BDRSuiteScripts\AddHyperVHost\AddHyperVHost.py

For Example, C:\ProgramFiles\Vembu\ BDRSuiteScripts\AddHyperVHost\AddHyperVHost.py

4. Open command prompt with administrative privileges. Change the working directory to where you have download the python script folder and run the file with command given below,

Windows BDR Backup Server

$$InstallationDirectory\Vembu\BackupForAWS\Python37\python.exe” AddHyperVHost.py

For Example , C:\Program Files\Vembu\BackupForAWS\Python37\python.exe” AddHyperVHost.py

5. After successful execution of the script the output will be saved as a csv file.

6.Open output.csv to check the response in the following location below,

Windows BDR Backup Server

$$InstallationDirectory\Vembu\BDRSuiteScripts\AddHyperVHost\output.csv

For Example , C:\Program Files\Vembu\BDRSuiteScripts\AddHyperVHost\output.csv
On This Page