Forum Discussion

Kayser's avatar
Kayser
Level 3
8 years ago

List of Netbackup clients

Hello, people...

I have upgraded our Netbackup from 7.6.0.4 to 7.7.2.

I need a list with all clients with agent installed( to upgrade it) , but the GUI only shows part of them.

The clients in policy with qVMware Intelligent Policy query are not in the list...

Anyone know how to get this?

Thanks in advance...

13 Replies

  • VMware clients does not list in Host properties of Master server, and they does not need to have Netbackup clients installed for backups... they need to netbackup installed and configured only in case you are looking for file and direcotry restore in the the VM.

    if you would like to have the list of VMs, 

    1) if you are using the manual vm seleciton you can pull that info form Clients tab from VM.

    2) if you are using query based Vm selection in policy.. you need to run test query from policy or nbdiscover command to get the VMs that are included in Backups..( this list is dynamic)

    • Marianne's avatar
      Marianne
      Level 6

      NetBackup does not have any way of knowing or detecting which machines have NBU software installed.

      First NBU knows of the existence of a client is when the backup admin adds it to a policy.

      Host Properties will only list clients that appear in a backup policy.

  • Hello Kayser,

     

    Not sure, But I think you are taking backup using VMware policy type and you want to see the all client in that policy should listed in client properties.

    If yes then NBU client doesn't install on client servers and there is no policy for that client server.

    If you create policy for any xyz client in NBU it will show in NBU master server client properties but it doesn't mean that master server resolve that client and comunicate.

    You need to install the NBU client packages on that client and NBU services should running.

    When you click on any client to check the properties. Master contact client server  to fetch the client information.

    Thanks

    • Tousif's avatar
      Tousif
      Level 6

      Hello Kayser,

       

      There is no direct command or option to get this information in NBU.

      Could you please run the below command from unix master or media server.

      Below command will list all client listed in policies.

      bppllist -l -allpolicies | grep CLIENT | awk '{print $2}' | sort -u >/tmp/list

      Create one touch file

      #touch /tmp/clientlist.sh

      Give the 777 permission to that file.

      #chmod 777 /tmp/clientlist.sh

      Open that file using vi command

      #vi /tmp/clientlist.sh

      Put following contain in that file and save it.

      #!/bin/bash

      while read p;
      do
      /usr/openv/netbackup/bin/admincmd/bpgetconfig -g $p -L >>/tmp/clientinfo
      done </tmplist

       

      Now run that script. It will try to connect each and every client of you environment to fetch the information.

      Save the information to /tmp/clientinfo file.

      I do not have lab access not so I haven't get chance to test this script today

      If you are intrested then please run this script and share the result or I will try this in my lab tomorrow.

      Thanks & Regards,

       

       

      • Kayser's avatar
        Kayser
        Level 3

        Very thanks, Tousif.

        I´ve run the command, but it only shows clients that are explicited in a policy.

        What I need is a list of all the clients that have agent installed.

        I´ll continue to search a way, since the Netbackup itself doesn´t give us this...

        Meanwhile, I will have to list from a backup report, and verify the version, vm to vm...

        Best Regards.

         

  • Thanks for the answers.

    The clients I´m looking to list are VMs with SQL, that have the agent installed. The inclusion in the policy is by a query.

    I need to list all the clients to check the one´s that I haven´t upgraded yet...

    Any idea?

    Best Regards.

    Kayser.