[Veritas-bu] automated ejection of full tapes
2004-02-04 10:52:01
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_01C3EB36.D41A98A0
Content-Type: text/plain;
charset="iso-8859-1"
Has anyone posted the st.conf entries for LTO2 support for Solaris 9?
-----Original Message-----
From: David Chapa [mailto:david.chapa AT adic DOT com]
Sent: Tuesday, February 03, 2004 12:22 PM
To: koconnor AT midsouth.rr DOT com; veritas-bu AT mailman.eng.auburn DOT edu
Subject: RE: [Veritas-bu] automated ejection of full tapes
You can run the available_media script and do the following
/usr/openv/netbackup/bin/goodies/available_media | grep FULL | grep TLD |
while read id mtype rtype robnum slot rest
do
vmchange -res -m $id -mt $mtype -rt NONE -rc1 0 -rc2 0 -e -sec 1
done
That will eject them to you mailcap, but if you are ejecting >10 then it
will fail at the 11th. You'll have to build in some logic to prevent that
from happening.
David A. Chapa * Technical Advisor, Technical Marketing * ADIC *
720.249.5836 * david.chapa AT adic DOT com <mailto:david.chapa AT adic DOT com>
Pathlight VX - Integrated Disk-to-Tape Backup - <http://www.adic.com>
http://www.adic.com
-----Original Message-----
From: veritas-bu-admin AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu] On Behalf Of
koconnor AT midsouth.rr DOT com
Sent: Tuesday, February 03, 2004 5:54 PM
To: veritas-bu AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] automated ejection of full tapes
Does anyone have a script that will take the info from, say the bpmedialist
output, create a list, and eject the FULL tapes from a TLD library to the
mail slots? I have checked the archives and found a few examples that were
similar, but a bit more elaborate than what I need. I think from the
research
I have done, that you can use the vmquery command with the -ev option for
the eject? I would appreciate any suggestions/help. BTW, I am running
Netbackup 4.5 on Solaris 2.6 with a StorEdge L11000 that has 10 mail slots.
Drives are DLT 7000. Thanks again.
------_=_NextPart_001_01C3EB36.D41A98A0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns=3D"http://www.w3.org/TR/REC-html40" xmlns:v =3D=20
"urn:schemas-microsoft-com:vml" xmlns:o =3D=20
"urn:schemas-microsoft-com:office:office" xmlns:w =3D=20
"urn:schemas-microsoft-com:office:word" xmlns:st1 =3D=20
"urn:schemas-microsoft-com:office:smarttags"><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META content=3DWord.Document name=3DProgId>
<META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR>
<META content=3D"Microsoft Word 10" name=3DOriginator><LINK=20
href=3D"cid:[email protected]" =
rel=3DFile-List><o:SmartTagType=20
name=3D"PersonName"=20
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"></o:SmartTag=
Type><!--[if gte mso 9]><xml>
<o:OfficeDocumentSettings>
<o:DoNotRelyOnCSS/>
</o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:SpellingState>Clean</w:SpellingState>
<w:GrammarState>Clean</w:GrammarState>
<w:DocumentKind>DocumentEmail</w:DocumentKind>
<w:EnvelopeVis/>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</xml><![endif]--><!--[if !mso]>
<STYLE>st1\:* {
BEHAVIOR: url(#default#ieooui)
}
</STYLE>
<![endif]-->
<STYLE>@font-face {
font-family: Tahoma;
}
@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; =
mso-header-margin: .5in; mso-footer-margin: .5in; mso-paper-source: 0; =
}
P.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"; =
mso-style-parent: ""; mso-pagination: widow-orphan; =
mso-fareast-font-family: "Times New Roman"
}
LI.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"; =
mso-style-parent: ""; mso-pagination: widow-orphan; =
mso-fareast-font-family: "Times New Roman"
}
DIV.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"; =
mso-style-parent: ""; mso-pagination: widow-orphan; =
mso-fareast-font-family: "Times New Roman"
}
A:link {
COLOR: blue; TEXT-DECORATION: underline; text-underline: single
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline; text-underline: single
}
A:visited {
COLOR: purple; TEXT-DECORATION: underline; text-underline: single
}
SPAN.MsoHyperlinkFollowed {
COLOR: purple; TEXT-DECORATION: underline; text-underline: single
}
P {
FONT-SIZE: 12pt; MARGIN-LEFT: 0in; MARGIN-RIGHT: 0in; FONT-FAMILY: =
"Times New Roman"; mso-pagination: widow-orphan; =
mso-fareast-font-family: "Times New Roman"; mso-margin-top-alt: auto; =
mso-margin-bottom-alt: auto
}
SPAN.EmailStyle17 {
COLOR: navy; FONT-FAMILY: Arial; mso-style-type: personal-reply; =
mso-style-noshow: yes; mso-ansi-font-size: 10.0pt; mso-bidi-font-size: =
10.0pt; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial; =
mso-bidi-font-family: Arial
}
SPAN.SpellE {
mso-style-name: ""; mso-spl-e: yes
}
SPAN.GramE {
mso-style-name: ""; mso-gram-e: yes
}
DIV.Section1 {
page: Section1
}
</STYLE>
<!--[if gte mso 10]>
<style>
/* Style Definitions */=20
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin:0in;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman";}
</style>
<![endif]--><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></HEAD>
<BODY lang=3DEN-US style=3D"tab-interval: .5in" vLink=3Dpurple =
link=3Dblue=20
bgColor=3Dwhite>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D604075115-04022004>Has=20
anyone posted the st.conf entries for LTO2 support for Solaris=20
9?</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D604075115-04022004></SPAN></FONT> </DIV>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
<DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
size=3D2>-----Original Message-----<BR><B>From:</B> David Chapa=20
[mailto:david.chapa AT adic DOT com]<BR><B>Sent:</B> Tuesday, February 03, =
2004 12:22=20
PM<BR><B>To:</B> koconnor AT midsouth.rr DOT com;=20
veritas-bu AT mailman.eng.auburn DOT edu<BR><B>Subject:</B> RE: [Veritas-bu] =
automated ejection of full tapes<BR><BR></FONT></DIV>
<DIV class=3DSection1>
<P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">You can =
run the <SPAN=20
class=3DSpellE>available_media</SPAN> script and do the=20
following<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">/<SPAN=20
class=3DSpellE>usr/openv/netbackup/bin/goodies/available_media</SPAN> =
| <SPAN=20
class=3DSpellE>grep</SPAN> FULL | <SPAN class=3DSpellE>grep</SPAN> =
TLD | while=20
read id <SPAN class=3DSpellE>mtype</SPAN> <SPAN =
class=3DSpellE>rtype</SPAN> <SPAN=20
class=3DSpellE>robnum</SPAN> slot rest<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><SPAN class=3DGramE><FONT face=3DArial =
color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial">do</SPAN></FONT></SPAN><FONT=20
face=3DArial color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial"><o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><SPAN class=3DSpellE><SPAN class=3DGramE><FONT =
face=3DArial=20
color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial">vmchange</SPAN></FONT></SPAN></SPAN><FONT=20
face=3DArial color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> -<SPAN=20
class=3DSpellE>res</SPAN> -m $id -<SPAN class=3DSpellE>mt</SPAN> =
$<SPAN=20
class=3DSpellE>mtype</SPAN> -<SPAN class=3DSpellE>rt</SPAN> NONE -rc1 =
0 -rc2 0 -e=20
-sec 1<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><SPAN class=3DGramE><FONT face=3DArial =
color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial">done</SPAN></FONT></SPAN><FONT=20
face=3DArial color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial"><o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">That will =
eject them=20
to you <SPAN class=3DSpellE>mailcap</SPAN>, but if you are ejecting =
>10 then=20
it will fail at the 11<SUP>th</SUP>.<SPAN style=3D"mso-spacerun: =
yes"> =20
</SPAN>You'll have to build in some logic to prevent that from=20
happening.<o:p></o:p></SPAN></FONT></P>
<DIV>
<P><B><FONT face=3D"Times New Roman" color=3Dnavy size=3D1><SPAN=20
style=3D"FONT-WEIGHT: bold; FONT-SIZE: 7.5pt; COLOR: navy; =
mso-no-proof: yes">David=20
A. Chapa </SPAN></FONT></B><FONT face=3DSymbol color=3Dnavy =
size=3D1><SPAN=20
style=3D"FONT-SIZE: 7.5pt; COLOR: navy; FONT-FAMILY: Symbol; =
mso-no-proof: yes">=BD</SPAN></FONT><FONT=20
color=3Dnavy size=3D1><SPAN=20
style=3D"FONT-SIZE: 7.5pt; COLOR: navy; mso-no-proof: yes"> Technical =
Advisor,=20
Technical Marketing </SPAN></FONT><FONT face=3DSymbol color=3Dnavy =
size=3D1><SPAN=20
style=3D"FONT-SIZE: 7.5pt; COLOR: navy; FONT-FAMILY: Symbol; =
mso-no-proof: yes">=BD</SPAN></FONT><FONT=20
color=3D#999999 size=3D1><SPAN=20
style=3D"FONT-SIZE: 7.5pt; COLOR: #999999; mso-no-proof: yes">=20
</SPAN></FONT><B><FONT color=3Dred size=3D1><SPAN=20
style=3D"FONT-WEIGHT: bold; FONT-SIZE: 7.5pt; COLOR: red; =
mso-no-proof: yes">ADIC</SPAN></FONT></B><FONT=20
color=3D#999999 size=3D1><SPAN=20
style=3D"FONT-SIZE: 7.5pt; COLOR: #999999; mso-no-proof: yes">=20
</SPAN></FONT><FONT face=3DSymbol color=3Dnavy size=3D1><SPAN=20
style=3D"FONT-SIZE: 7.5pt; COLOR: navy; FONT-FAMILY: Symbol; =
mso-no-proof: yes">=BD</SPAN></FONT><FONT=20
color=3Dnavy size=3D1><SPAN=20
style=3D"FONT-SIZE: 7.5pt; COLOR: navy; mso-no-proof: yes"> =
720.249.5836=20
</SPAN></FONT><FONT face=3DSymbol color=3Dnavy size=3D1><SPAN=20
style=3D"FONT-SIZE: 7.5pt; COLOR: navy; FONT-FAMILY: Symbol; =
mso-no-proof: yes">=BD<FONT FACE=3D"Courier New"></FONT>=20
</SPAN></FONT><FONT color=3Dnavy size=3D1><SPAN=20
style=3D"FONT-SIZE: 7.5pt; COLOR: navy; mso-no-proof: yes"><A=20
=
href=3D"mailto:david.chapa AT adic DOT com">david.chapa AT adic DOT
com</A></SPAN></FO=
NT><FONT=20
color=3Dnavy><SPAN=20
style=3D"COLOR: navy; mso-no-proof: =
yes"><o:p></o:p></SPAN></FONT></P>
<P><FONT face=3D"Times New Roman" color=3Dnavy size=3D1><SPAN=20
style=3D"FONT-SIZE: 7.5pt; COLOR: navy; mso-no-proof: yes">Pathlight =
VX -=20
Integrated Disk-to-Tape Backup - </SPAN></FONT><FONT =
color=3Dnavy><SPAN=20
style=3D"COLOR: navy; mso-no-proof: yes"><A =
href=3D"http://www.adic.com"><FONT=20
size=3D1><SPAN=20
style=3D"FONT-SIZE: =
7.5pt">http://www.adic.com</SPAN></FONT></A></SPAN></FONT><o:p></o:p></P=
></DIV>
<P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><FONT face=3DTahoma =
size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">-----Original=20
Message-----<BR><B><SPAN style=3D"FONT-WEIGHT: bold">From:</SPAN></B> =
</SPAN></FONT><st1:PersonName><FONT face=3DTahoma size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Tahoma">veritas-bu-admin AT mailman.eng.auburn DOT edu</SPAN></FONT></st1:Perso=
nName><FONT=20
face=3DTahoma size=3D2><SPAN style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Tahoma">=20
[mailto:</SPAN></FONT><st1:PersonName><FONT face=3DTahoma =
size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Tahoma">veritas-bu-admin AT mailman.eng.auburn DOT edu</SPAN></FONT></st1:Perso=
nName><FONT=20
face=3DTahoma size=3D2><SPAN style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Tahoma">]=20
<B><SPAN style=3D"FONT-WEIGHT: bold">On Behalf Of=20
</SPAN></B>koconnor AT midsouth.rr DOT com<BR><B><SPAN=20
style=3D"FONT-WEIGHT: bold">Sent:</SPAN></B> Tuesday, February 03, =
2004 5:54=20
PM<BR><B><SPAN style=3D"FONT-WEIGHT: bold">To:</SPAN></B>=20
</SPAN></FONT><st1:PersonName><FONT face=3DTahoma size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Tahoma">veritas-bu AT mailman.eng.auburn DOT edu</SPAN></FONT></st1:PersonName>=
<FONT=20
face=3DTahoma size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"><BR><B><SPAN=20
style=3D"FONT-WEIGHT: bold">Subject:</SPAN></B>=20
[</SPAN></FONT><st1:PersonName><FONT face=3DTahoma size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Tahoma">Veritas</SPAN></FONT></st1:PersonName><FONT=20
face=3DTahoma size=3D2><SPAN style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Tahoma">-bu]=20
automated ejection of full tapes</SPAN></FONT></P>
<P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><FONT face=3D"Times =
New Roman"=20
size=3D3><SPAN style=3D"FONT-SIZE: =
12pt"><o:p> </o:p></SPAN></FONT></P>
<DIV>
<P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><FONT face=3D"Times =
New Roman"=20
size=3D3><SPAN style=3D"FONT-SIZE: =
12pt"> <o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><FONT face=3DArial =
size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Does anyone have a =
script that=20
will take the info from, say the bpmedialist output, create a =
list, and=20
eject the FULL tapes from a TLD library to the mail =
slots? I=20
have checked the archives and found a few examples that were similar, =
but a=20
bit more elaborate than what I need. I think from the research=20
</SPAN></FONT><o:p></o:p></P></DIV>
<DIV>
<P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><FONT face=3DArial =
size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">I have done, that you =
can use the=20
vmquery command with the -ev option for the eject? =
I would=20
appreciate any suggestions/help. BTW, I am running Netbackup =
4.5 on=20
Solaris 2.6 with a StorEdge L11000 that has 10 mail =
slots. =20
Drives are DLT 7000. Thanks=20
=
again.</SPAN></FONT><o:p></o:p></P></DIV></DIV></BLOCKQUOTE></BODY></HTM=
L>
------_=_NextPart_001_01C3EB36.D41A98A0--
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Veritas-bu] automated ejection of full tapes, Hector Villalobos
- [Veritas-bu] automated ejection of full tapes, David Chapa
- [Veritas-bu] automated ejection of full tapes, Donaldson, Mark
- [Veritas-bu] automated ejection of full tapes, koconnor AT midsouth.rr DOT com
- [Veritas-bu] automated ejection of full tapes,
Robison, Anthony B. (NGIT) <=
- [Veritas-bu] automated ejection of full tapes, Corbett, Nancy
- [Veritas-bu] automated ejection of full tapes, Robison, Anthony B. (NGIT)
|
|
|