Veritas-bu

[Veritas-bu] generate a list of clients?

2002-05-31 21:56:40
Subject: [Veritas-bu] generate a list of clients?
From: Harry.Schaefer AT turner DOT com (Schaefer, Harry)
Date: Fri, 31 May 2002 21:56:40 -0400
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C2090F.92423B6E
Content-Type: text/plain;
        charset="iso-8859-1"

Thanks, worked like a champ! This is what I did:

/usr/openv/netbackup/bin/admincmd/bpclclients -L -allunique |awk '{print $2}' > 
/home/offline/scripts/clients.list

- Harry

-----Original Message-----
From: Darren Dunham [mailto:ddunham AT taos DOT com]
Sent: Friday, May 31, 2002 9:33 PM
To: Veritas-bu AT mailman.eng.auburn DOT edu
Subject: Re: [Veritas-bu] generate a list of clients?


> Is there a command line command anyone knows that will return back a
> list of clients? I don't care if it has other stuff. I just want to be
> able to awk out a list of the clients currently configured in Veritas
> to generate a file that I can then use to be read into another
> script...

/usr/openv/netbackup/bin/admincmd/bpclclients -allunique
is a good palce to start.

If you're feeding it into another script, the -L or -l flags would
probably be recommended (or at least -noheader).



-- 
Darren Dunham                                           ddunham AT taos DOT com
Unix System Administrator                    Taos - The SysAdmin Company
Got some Dr Pepper?                           San Francisco, CA bay area
         < This line left intentionally blank to confuse you. >
_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu

------_=_NextPart_001_01C2090F.92423B6E
Content-Type: text/html;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2655.35">
<TITLE>RE: [Veritas-bu] generate a list of clients?</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>Thanks, worked like a champ! This is what I =
did:</FONT>
</P>

<P><FONT SIZE=3D2>/usr/openv/netbackup/bin/admincmd/bpclclients -L =
-allunique |awk '{print $2}' &gt; =
/home/offline/scripts/clients.list</FONT>
</P>

<P><FONT SIZE=3D2>- Harry</FONT>
</P>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Darren Dunham [<A =
HREF=3D"mailto:ddunham AT taos DOT com">mailto:ddunham AT taos DOT 
com</A>]</FONT>
<BR><FONT SIZE=3D2>Sent: Friday, May 31, 2002 9:33 PM</FONT>
<BR><FONT SIZE=3D2>To: Veritas-bu AT mailman.eng.auburn DOT edu</FONT>
<BR><FONT SIZE=3D2>Subject: Re: [Veritas-bu] generate a list of =
clients?</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>&gt; Is there a command line command anyone knows =
that will return back a</FONT>
<BR><FONT SIZE=3D2>&gt; list of clients? I don't care if it has other =
stuff. I just want to be</FONT>
<BR><FONT SIZE=3D2>&gt; able to awk out a list of the clients currently =
configured in Veritas</FONT>
<BR><FONT SIZE=3D2>&gt; to generate a file that I can then use to be =
read into another</FONT>
<BR><FONT SIZE=3D2>&gt; script...</FONT>
</P>

<P><FONT SIZE=3D2>/usr/openv/netbackup/bin/admincmd/bpclclients =
-allunique</FONT>
<BR><FONT SIZE=3D2>is a good palce to start.</FONT>
</P>

<P><FONT SIZE=3D2>If you're feeding it into another script, the -L or =
-l flags would</FONT>
<BR><FONT SIZE=3D2>probably be recommended (or at least =
-noheader).</FONT>
</P>
<BR>
<BR>

<P><FONT SIZE=3D2>-- </FONT>
<BR><FONT SIZE=3D2>Darren =
Dunham&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ddunham AT taos DOT com</FONT>
<BR><FONT SIZE=3D2>Unix System =
Administrator&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Taos - The =
SysAdmin Company</FONT>
<BR><FONT SIZE=3D2>Got some Dr =
Pepper?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp; San Francisco, CA bay area</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&lt; This line left intentionally blank to confuse you. &gt;</FONT>
<BR><FONT =
SIZE=3D2>_______________________________________________</FONT>
<BR><FONT SIZE=3D2>Veritas-bu maillist&nbsp; -&nbsp; =
Veritas-bu AT mailman.eng.auburn DOT edu</FONT>
<BR><FONT SIZE=3D2><A =
HREF=3D"http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu"; =
TARGET=3D"_blank">http://mailman.eng.auburn.edu/mailman/listinfo/veritas=
-bu</A></FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C2090F.92423B6E--

<Prev in Thread] Current Thread [Next in Thread>