Re: [Veritas-bu] Media Changer Utility for Solaris

2007-09-11 Thread Greenberg, Katherine (ISD, IT)
Why not just use tpautoconf -t? 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of selwyn
Sent: Sunday, September 09, 2007 8:10 PM
To: VERITAS-BU@mailman.eng.auburn.edu
Subject: [Veritas-bu] Re: Media Changer Utility for Solaris


Curtis is correct, I use the script to populate a file which map tape
drives devices to device paths.  The map information is then used to
provide parameters to tpconfig to define the drives for netbackup to
use.

I can get the device files for the drives and the robot from sgscan.  

I will try echoing parameters to tldtest tomorrow.  

I also found an open source utility called mtx which may work.  I
downloaded it today, but I have not installed it yet.

+--
|This was sent by [EMAIL PROTECTED] via Backup Central.
|Forward SPAM to [EMAIL PROTECTED]
+--


___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


*
This communication, including attachments, is
for the exclusive use of addressee and may contain proprietary,
confidential and/or privileged information.  If you are not the intended
recipient, any use, copying, disclosure, dissemination or distribution is
strictly prohibited.  If you are not the intended recipient, please notify
the sender immediately by return e-mail, delete this communication and
destroy all copies.
*


___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


Re: [Veritas-bu] Media Changer Utility for Solaris

2007-09-09 Thread Curtis Preston
I'm guessing this is something he wants to do before building the
library in NBU.  And the library needs to be built in NBU for robtest to
work.  Tldtest can be told which specific robotic device to use, but
robtest figures it out by listing libraries already defined.

So the question really is, "why not just use tldtest?"

Another answer might be to use mtx, the open source library manager.

---
W. Curtis Preston
Backup Blog @ www.backupcentral.com
VP Data Protection, GlassHouse Technologies 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Justin
Piszcz
Sent: Sunday, September 09, 2007 9:39 AM
To: selwyn
Cc: VERITAS-BU@mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] Media Changer Utility for Solaris



On Sun, 9 Sep 2007, selwyn wrote:

>
> I had written a script to match locations of robotic drives with their
device path for HP-UX.  I used the mc utility to move a tape from one
drive to the next and then used mt to find out which device path matched
the physical drive path.  I would like to do create a script for solaris
to do the same task, but there is no mc utility native to Solaris.
>
> Can anyone point me a solaris equivalent for the HP-UX mc utility?
>
>
+--
> |This was sent by [EMAIL PROTECTED] via Backup Central.
> |Forward SPAM to [EMAIL PROTECTED]
>
+--
>
>
> ___
> Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
>

Why not just use robtest?
___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu

___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


Re: [Veritas-bu] Media Changer Utility for Solaris

2007-09-09 Thread Justin Piszcz


On Sun, 9 Sep 2007, Tim Hoke wrote:

> More specifically, use the appropriate *test utility and pipe the
> commands to it... for a tld type robot you might do the following to
> move slot 1 to drive 1:
>
> echo "m s1 d1" | tldtest -r /dev/sg/
>
> I'm not at my system right now, but I seem to recall that being the usage.
>
> HTH
> -Tim
>
> On 9/9/07, Justin Piszcz <[EMAIL PROTECTED]> wrote:
>>
>>
>> On Sun, 9 Sep 2007, selwyn wrote:
>>
>>>
>>> I had written a script to match locations of robotic drives with their 
>>> device path for HP-UX.  I used the mc utility to move a tape from one drive 
>>> to the next and then used mt to find out which device path matched the 
>>> physical drive path.  I would like to do create a script for solaris to do 
>>> the same task, but there is no mc utility native to Solaris.
>>>
>>> Can anyone point me a solaris equivalent for the HP-UX mc utility?
>>>
>>> +--
>>> |This was sent by [EMAIL PROTECTED] via Backup Central.
>>> |Forward SPAM to [EMAIL PROTECTED]
>>> +--
>>>
>>>
>>> ___
>>> Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
>>> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
>>>
>>
>> Why not just use robtest?
>> ___
>> Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
>> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
>>
> ___
> Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
>

That is a good question then, I am not sure robtest can take input from a 
pipe.
___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


Re: [Veritas-bu] Media Changer Utility for Solaris

2007-09-09 Thread Tim Hoke
More specifically, use the appropriate *test utility and pipe the
commands to it... for a tld type robot you might do the following to
move slot 1 to drive 1:

echo "m s1 d1" | tldtest -r /dev/sg/

I'm not at my system right now, but I seem to recall that being the usage.

HTH
-Tim

On 9/9/07, Justin Piszcz <[EMAIL PROTECTED]> wrote:
>
>
> On Sun, 9 Sep 2007, selwyn wrote:
>
> >
> > I had written a script to match locations of robotic drives with their 
> > device path for HP-UX.  I used the mc utility to move a tape from one drive 
> > to the next and then used mt to find out which device path matched the 
> > physical drive path.  I would like to do create a script for solaris to do 
> > the same task, but there is no mc utility native to Solaris.
> >
> > Can anyone point me a solaris equivalent for the HP-UX mc utility?
> >
> > +--
> > |This was sent by [EMAIL PROTECTED] via Backup Central.
> > |Forward SPAM to [EMAIL PROTECTED]
> > +--
> >
> >
> > ___
> > Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
> > http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
> >
>
> Why not just use robtest?
> ___
> Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
>
___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


Re: [Veritas-bu] Media Changer Utility for Solaris

2007-09-09 Thread Justin Piszcz


On Sun, 9 Sep 2007, selwyn wrote:

>
> I had written a script to match locations of robotic drives with their device 
> path for HP-UX.  I used the mc utility to move a tape from one drive to the 
> next and then used mt to find out which device path matched the physical 
> drive path.  I would like to do create a script for solaris to do the same 
> task, but there is no mc utility native to Solaris.
>
> Can anyone point me a solaris equivalent for the HP-UX mc utility?
>
> +--
> |This was sent by [EMAIL PROTECTED] via Backup Central.
> |Forward SPAM to [EMAIL PROTECTED]
> +--
>
>
> ___
> Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
>

Why not just use robtest?
___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


[Veritas-bu] Media Changer Utility for Solaris

2007-09-09 Thread selwyn

I had written a script to match locations of robotic drives with their device 
path for HP-UX.  I used the mc utility to move a tape from one drive to the 
next and then used mt to find out which device path matched the physical drive 
path.  I would like to do create a script for solaris to do the same task, but 
there is no mc utility native to Solaris.  

Can anyone point me a solaris equivalent for the HP-UX mc utility?

+--
|This was sent by [EMAIL PROTECTED] via Backup Central.
|Forward SPAM to [EMAIL PROTECTED]
+--


___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu