cancel
Showing results for 
Search instead for 
Did you mean: 

Bpgetconfig

nbritton
Level 4
I am trying get to centerlize some scripts , the problem I am having is with bpgetconfig. I have installed a media server on the central server so I have access to the cli tools, and added it to all hosts in all domains but I am still getting an access on all domains but one. I think that's due to the media server belonging to that domain.

Any thoughts on how to utilize bpgetconfig for multiple domains?
1 ACCEPTED SOLUTION

Accepted Solutions

nbritton
Level 4

I think i figured it out. 

 

the media i am using to run the script belongs to domain1.

I am trying to get the config of a host in domain2.

 

I ended up needing to add the master server of domain1 to the client on domain2 for the command to work.   

It must be the master that sends the request for the data.

View solution in original post

12 REPLIES 12

sdo
Moderator
Moderator
Partner    VIP    Certified

What you've done, by adding the name of your special media server to the server list of all clients in all NetBackup domains, should work...

...if you are having trouble accessing clients... then it can only be down to firewall ports... or the troublesome clients are unable to resolve the name and/or IP of your special media server.

Does bptestbpcd to the troublesome clients work?

I thought that as well.  So i had let it run against all hosts in all domains, and the only ones that worked where the hosts in the same domain where it shows as a media server.   

 

I had validated that firewalls and ports are not a problem, and i can get all the conectivity tests to work as well.

 

 

yes that test result was :

C:\Program Files\Veritas\NetBackup\bin\admincmd>bptestbpcd.exe -host client1
1 1 1
10.70.108.122:64244 -> 10.27.108.227:1556
10.70.108.122:64245 -> 10.27.108.227:1556

 

sdo
Moderator
Moderator
Partner    VIP    Certified

What versions of NetBackup on:

1) The special media server

2) On example problem client

master 7.7.3

media 7.7.3

client  7.6, however clients range from 7.6 to 7.7.3 that see the probelm

sdo
Moderator
Moderator
Partner    VIP    Certified

So, bptestbpcd works...

...the next level up of the handshake is:   bpgetconfig -g client1

...and the level after that is:                      bpgetconfig -M client1 something

So, do the levels (after bptestbpcd) both fail?   Or does the "-g work and -M fail" ?

C:\Program Files\Veritas\NetBackup\bin\admincmd>bpgetconfig.exe -g client1
Client of linux6160
PC-x64, WindowsVista
7.6.0
NetBackup
7.6
760000
C:\Program Files\Veritas\NetBackup\bin
Windows2008 6

C:\Program Files\Veritas\NetBackup\bin\admincmd>bpgetconfig.exe -M client1
server not allowed access

C:\Program Files\Veritas\NetBackup\bin\admincmd>bpgetconfig.exe -M client1
exclude
server not allowed access

sdo
Moderator
Moderator
Partner    VIP    Certified

I think the next thing to try is restarting the NetBackup Client services on client1.

Sure i can try it.   I dont think that will be it though.  When i let the script loop through all the domains, the only domain that it worked for was the one where the media server shows as a media server.   All the others and for all clients in them failed.

 

I will let you know the result shortly.

same result, server not allowed access

nbritton
Level 4

I think i figured it out. 

 

the media i am using to run the script belongs to domain1.

I am trying to get the config of a host in domain2.

 

I ended up needing to add the master server of domain1 to the client on domain2 for the command to work.   

It must be the master that sends the request for the data.

sdo
Moderator
Moderator
Partner    VIP    Certified

Well done.  Good work, and thanks for posting the solution, which will benefit others.