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.....