bdrsuitev56u2
Add ESXi/vCenter Servers

Add ESXi/vCenter Servers

This operation will add a large number of ESXi/vCenter Servers to the BDRSuite backup server. Follow the steps given below to prepare the input file and execute the python script for adding ESXi/vCenter Servers,

Information Note: Applicable To Windows BDR Backup Server and Linux BDR Backup Server

1. The input.csv file for adding ESXi/vCenter Servers operation will be present inside the following;

Windows BDR Backup Server

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

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

Linux BDR Backup Server

$$InstallationDirectory/Vembu/BDRSuiteScripts/AddVMwareHost/input.csv

For Example,  home/vembubudr/Vembu/BDRSuiteScripts/AddVMwareHost/input.csv

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

Sample Input


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

ADD_VMWARE_HOST,192.168.102.85,443,vmware5,,,

ADD_VMWARE_HOST,192.168.102.27,443,,27,root,Vembu123$


Input Details:

Name

Type

Description

Mandatory / Optional

Action

String

ADD_VMWARE_HOST

Mandatory

hostIP

String

Value specifying IP address of VMware host to be added.

Mandatory

portNumber

String

Value specifying port number which will be used for data communication between VMWare host and backup server.By default it is 443

Mandatory

useExistingCredential

String

Value specifying the credential name for VMWare 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/new credential

credentialUserName

String

Value specifying User name of VMware host  to be added.

Mandatory for adding host using fresh/new credential

credentialPassword

String

Value specifying password of VMware host to be added.

Mandatory for adding host using fresh/new credential

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

Windows BDR Backup Server

$$InstallationDirectory\Vembu\BDRSuiteScripts\AddVMwareHost\AddVmwareHost.py

For Example,  C:\Program Files\Vembu\BDRSuiteScripts\AddVMwareHost\AddVmwareHost.py 

Linux BDR Backup Server

$$InstallationDirectory/Vembu/BDRSuiteScripts/AddVMwareHost/AddVmwareHost.py 

For Example,  home/vembubudr/Vembu/BDRSuiteScripts/AddVMwareHost/AddVmwareHost.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" AddVmwareHost.py

For ExampleC:\Program Files\Vembu\BackupForAWS\Python37\python.exe" AddVmwareHost.py

Linux BDR Backup Server

"$$InstallationDirectory/Vembu/BackupForAWS/Python37/bin/python" AddVmwareHost.py

For Example, home/vembubdr/Vembu/BackupForAWS/Python37/bin/python" AddVmwareHost.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\AddVMwareHost\output.csv

For Example,  C:\Program Files\Vembu\BDRSuiteScripts\AddVMwareHost\output.csv

Linux BDR Backup Server

$$InstallationDirectory/Vembu/BDRSuiteScripts/AddVMwareHost/output.csv

For Example, home/vembubudr/Vembu/BDRSuiteScripts/AddVMwareHost/output.csv

PreviousNext