Thursday, August 27, 2015

Configure vCenter in Netbackup

Goal:
Configure Netbackup 7.6.0.4 with more than one VMware Virtual Center Server

Detail:
In order to get advantage of Symantec VMware Backup Policies through all "vcenters" in IT environment, got my hands on configuring Netbackup with more than one "vcenter"

Vendor documentation:
I didn't find any documentation that explicitly mentioned the support of having more than one "vCenter Server" configured in Netbackup. 
According to Symantec Netbackup for VMware Admin Guide (Release 7.6) I did follow steps below:

  • In Java Admin Console > Media and Device Management > Credentials > Virtual Machine Servers
  • Actions > New > New Virtual Machine Server
  • Enter the name of a vCenter server (in this scenario)
    • Used FQDN, exactly the same name registered in DNS server and the name used by vCenter
  • Enter username according Symantec Admin Guide, domain\\user (use double backslash)
  • Enter Password
  • For backup host. If you set "Any", Netbackup attemps to validate the credentials using each backup host in turn. 
  • Port number. Unless you change the 443 in vcenter, leave it.



My World findings:
If I leave the "For backup host" setting by default <Any>, the operation terminated with error 195. Eventually timed out. In my set up I've a lot of Backup hosts.

Worldaround:
At the time I was not aware about the importance of the setting "For backup host", so I decided to manage it through command line.
  • Get configurations for virtual center in bash:
    • /usr/openv/volmgr/bin/tpconfig -dvirtualmachines
  • Add a VMware Virtual Center Server via bash:
    • tpconfig -add -virtual_machine vcenter.FQDN -vm_user_id domain\\user -vm_type 1 -requiredport 443 -password <password>
  • Update a credential to a VMware Virtual Center Server:
    • tpconfig -update -virtual_machine vcenter.FQDN -vm_user_id domain\\user -vm_type 1 -requiredport 443 -password password


If you do not add the password in command, netbackup will prompt you for it.

No comments:

Post a Comment