12-13-2019 01:22 AM - edited 12-13-2019 01:23 AM
Hi,
is there a way to add one name (glb) to multiple hosts (host id) automatically?
it can be done via admin console but we need to script it so there aren't any manual intervention needed.
on screenshot there is shown what I mean.The name archeadb to both those hosts automatucally... at the moment the name goes just for the first host.
Thank you very much.
cheers/sven
12-13-2019 01:25 AM
on screenshot the name is manually added.
it does not appear automatically for the second host.
cheers/sven
12-13-2019 01:47 AM - edited 12-13-2019 01:50 AM
In my setup, I have NetBackup Master in "High" for "Security level for certificate deployment", and what I do is I add new clients to the Master Server "Client Attributes" (using the "bpclient -add -client myclient.blah.com" command) before I actually install the NetBackup Client inside the OS of the soon to be new backup client. What this means then is that the Master Server already knows the client name, and so (assuming all server and client DNS naming etc is ok) the Master Server will accept the new client when it first talks to the Master during client install to establish certificated trust. i.e. the backup client install will still perform all the necessary certification, assuming the client install has a token of course.
Here's the outline :
1) scripted client attributes - bpclient -add -client whatever.where.com
2) scripted client install - e.g. silentclient plus a valid token - this creates certificates and host management entries on the Master
3) scripted client add to a default first policy - bppl*
4) scripted first backup - bpbackup
HTH
12-13-2019 07:09 PM
Have a look at the nbhostmgmt command.
I think you will need to do to do something like (the option for the second one will allow you to share the mapped name
1. nbhostmgmt -add -host arheadb1.domain -mappingname arheadb.domain
2. nbhostmgmt -add -host arheadb2.domain -mappingname arheadb.domain -isshared
Cheers
12-16-2019 12:31 AM
Thank you for your replays. Made things clearer.