Forum Discussion

Sid1987's avatar
Sid1987
Level 6
8 years ago

command line equivalent for detect operating system in policy tab

Hi Techiz,

 Please let me know if there is any command line equivalent for the action we do "detect operating system" in policies for any client.

I want to update it on all clients in my environment to update there os by detecting which in turn runs bpgetconfig i guess and updates the info.

Thanks

Sid

  • bpgetconfig -s client_name -L

    OR 

    bptestbpcd -client client_name -verbose

    Check for PLATFORM from the output. You may also try using "-l" for short listing.

     

    • Sid1987's avatar
      Sid1987
      Level 6

      Thanks for the reply, You didn't understand the question, in netbackup 7.7 there is an option when you add or update a  client in a policy you can detect the operating system, I need command line equivalent for updating client os by detect option in GUI.

      • Tousif's avatar
        Tousif
        Level 6

        Hello,

        Interesting, Any specific reason for looking that command?

        The option "Detect Operating System" is applicable for Windows client only. For unix and linux we have to select the operating system manually from drop down list. 

        The "bpgetconfig" and "bptestbpcd" command only applicable if client mahcine part of NBU master environment.

        I didn't find yet any specific command run in background to detect the operating system. Got less time today to resarch. I am planing to reproduce this issue, may be nbsl and nbproxy give us some hint. Keep you update...

        Thanks & Regards,