Forum Discussion

mfalge's avatar
mfalge
Level 3
7 years ago

Keeping master/media server lists up to date on clients

I’m relatively new to NetBackup. We are in process of upgrading our NetBackup master/media servers from 7.5 to 8.1.2 and we have a mix of Linux and Windows clients. One of the issues we are facing is that we need to create new master/media servers and consequently we need the Windows clients update their registries with the new master/media servers. Since we may be adding more master/media servers as needed we are looking for a way to be able to pull or push and add these servers automatically.

I’m not sure if the latest versions of NetBackup have an automated way of updating the Windows clients with these new master/media servers or if we would need to have some Powershell or Batch script scheduled task to pull these new servers.

Has anyone found a good way to do this?

Thanks,
Mark

5 Replies

  • I use the java admin console, and select 10-15 at a time, and grab the server page - you can allocate and delete media servers to all the chosen hosts. 

    Then just select at least one of the last group and another 10-15, and repeat - you can easily match your clients and delete old names.

    A scripted way would rely on bpgetconfig and bpsetconfig or nbgetconfig and nbsetconfig.

    • mfalge's avatar
      mfalge
      Level 3

      Please forgive my newbishness but would these same NetBackup commands work on the Windows clients via a Powershell or Batch script? I wrote a Powershell script that queries our LDAP server and pulls the master/media servers available and writes that to the client's registry key. It's a bit of a hack but it works. I was mostly wondering if there was an easier/prefered way to do this for thousands of clients...maybe on a regular basis?

      • Marianne's avatar
        Marianne
        Level 6

        You can run add_media_server_on_clients on the master server.

        From https://www.veritas.com/support/en_US/article.000031877   : 
        The add_media_server_on_clients command reads the server list information from the master server and pushes this list out to clients.  This prevents the need of updating every client manually with the appropriate server list. 

        Please bear in mind that add/removing master server name on a client is a different subject.
        A client can only have ONE master server.
        There needs to be a concious decision to move a client from one master to another.
        Here you will use the old master to add the new master as a regular 'server' (i.e. media server) on all clients to be migrated to new master. 
        This step is necessary for the clients to accepts connections and update requests from the new master. 
        Then, on new master, select the migrated clients in Host Properties -> Clients, and click on 'Make Master'.