Forum Discussion

Deb_Techie's avatar
Deb_Techie
Level 4
11 years ago
Solved

To Check the vCenter Connectivity and Information from Backup Server - VMWare backup

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.

 

  • 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'"

     

7 Replies

  • 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

     

  • 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

  • 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

  • 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'"

     

  • try nbdiscover

     

    nbdiscover -noxmloutput "vmware:/?filter=vCenter Equal \"vcentername\" "

    # note the two quotes at the end of the phrase