Quantcast
Channel: Symantec conecta - Backup and Recovery - Discusiones
Viewing all articles
Browse latest Browse all 5780

Will Script work if we run from Master Server to get the client NBU version and host

$
0
0
Necesito una solución

Hi All,

My requirement is i want to run below Script from Master Server and it should tell the the all NBU Media Servers/All Clients/AllVersion /All OS Name associated with Master Server....

Currently the script is running good on Media Servers and it fave me all info:

# cat cl-version

#!/bin/ksh

PATH=$PATH:/usr/openv/netbackup/bin:/usr/openv/netbackup/bin/admincmd

echo "      Client         \t         OS Level        \t Release">> /tmp/cl.out

echo "=====================\t ========================\t =======" >>/tmp/cl.out

for c in `bpplclients -allunique -noheader | awk '{print $3}'`

do

  bpgetconfig -s $c -L -A | \

    awk -F'=' '{if($1~/Client.OS/){os=$2}

                if($1~/Patch/)   {p=$2}

                if($1~/Protocol/){v=$2}}

                END { if(p~/^ *$/){r=v}else{r=p}

                      printf("%-22s\t%-25s\t%s\n","'$c'",os,r)} ' >>/tmp/cl.out

done

----------------------------------------------------------------------------------------------------------------------------------------------------

But i want the the script should run from Master Servers and it should gave me all Media Servers/All Clients/All NBU Version & OS Name..

Anyone can help me on this......Will appreciate.....


Viewing all articles
Browse latest Browse all 5780

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>