03-04-2014 03:26 AM
Hi Friends
I there any command available by using which I can Identify the VM host is connected to Which vCenter? I have only access to Master and Media Server, No Access to Client is available.
Please let me know in case it is feasible.
Solved! Go to Solution.
03-04-2014 12:57 PM
Ah! I think I see what you are asking.
Well - you can create a new policy of type VMware, set the backup host on the VMware tab - and then on the clients list you can select Add and Browse - there you can see them all
This is done automatically every 8 hours by NetBackup and it creates an XML file on the VMware Backup host (stored under the vmware directory under the machines temp directory if i remember correctly - or \program files\veritas\netbackup\online_util\fi_cntl\)
All details are stored in that and i think they are also stored under the bpvmutil log folder too - as before every backup it queries the list
The command it runs is the nbdiscover command - from a previous post this is the type of command used:
nbdiscover -noxmloutput "vmware:/?filter=vCenter Contains 'vcenter01'"
03-04-2014 04:15 AM
tpconfig -dvirtualmachines
is the command which actaully display all the registored Virtual Machine Credentials (Vcenter/Esxi/Restore Esxi)
you can also see this from GUI---> Credentials--> Virtual Machine Credentials
03-04-2014 04:43 AM
When you go to the credentials section if you double click your vCenter Server, select one of your backup hosts under the "For backup host:" section and click OK it will run a check that it can connect
If it just closes then all is OK - if not you will get an error displayed
You can then repeat this selecting the next backup host to check that they can all authenticate
Once complete open it up again and select <Any> as the "For backup host" and save it again.
Hope this helps
03-04-2014 12:13 PM
tpconfig -dvirtualmachines will display all the vCenter Servers which are included in the backup configuration. but here my requirement is want to know the "client is connected to which vcenter" if we have multiple vcenter configured.
hope the Question is Clear now
03-04-2014 12:57 PM
Ah! I think I see what you are asking.
Well - you can create a new policy of type VMware, set the backup host on the VMware tab - and then on the clients list you can select Add and Browse - there you can see them all
This is done automatically every 8 hours by NetBackup and it creates an XML file on the VMware Backup host (stored under the vmware directory under the machines temp directory if i remember correctly - or \program files\veritas\netbackup\online_util\fi_cntl\)
All details are stored in that and i think they are also stored under the bpvmutil log folder too - as before every backup it queries the list
The command it runs is the nbdiscover command - from a previous post this is the type of command used:
nbdiscover -noxmloutput "vmware:/?filter=vCenter Contains 'vcenter01'"
03-04-2014 01:28 PM
try nbdiscover
nbdiscover -noxmloutput "vmware:/?filter=vCenter Equal \"vcentername\" "
# note the two quotes at the end of the phrase
03-04-2014 01:30 PM
Mark beat me by a few minutes :)
03-05-2014 03:03 AM
Thanks Mark & wr, will check this and let you know the results