Re: [Veritas-bu] vmchange script

2012-02-14 Thread Leo Dream
Hi

Last time i use this to generate a file with colon separated media labels:

@bpimagelist -A -media -idonly -hoursago 24 | find "MO" | tr \r\n ":" | sed
-e s/::/:/g -e s/:$//g > %MEDIA_FILE%

Hope it help.

Leo

On Sun, Feb 12, 2012 at 10:35 PM, Justin Piszcz wrote:

> Hi,
>
> ** **
>
> That would be just the media label— one command per TAPE.
>
> ** **
>
> vmchange .. etc etc .. –ml TAPE01
>
> vmchange .. etc etc .. –ml TAPE02
>
> vmchange .. etc etc .. –ml TAPE03
>
> ** **
>
> Justin.
>
> ** **
>
> *From:* Anurag Sharma [mailto:sharma.anu...@hotmail.com]
> *Sent:* Sunday, February 12, 2012 8:59 AM
> *To:* jpis...@lucidpixels.com; veritas-bu
>
> *Subject:* RE: [Veritas-bu] vmchange script
>
> ** **
>
>
> Justin,
>
> $Tape
>
>
> What would that file contain
>
> just the media labels
>
> or
>
> media labels which are colon seperated. if yes kind send how this script
> would look in windows nbu
>
> 
> --
>
> From: jpis...@lucidpixels.com
> To: sharma.anu...@hotmail.com; veritas-bu@mailman.eng.auburn.edu
> Subject: RE: [Veritas-bu] vmchange script
> Date: Sun, 12 Feb 2012 08:27:39 -0500
>
> Hi,
>
>  
>
> There is a better way.
>
> There is an undocumented option called –single_cycle.
>
> This will put the tapes in the cap one by one and not prompt you to remove
> them.
>
> The best of both worlds J
>
>  
>
> Example Syntax:
>
> /usr/openv/volmgr/bin/vmchange -h "$MASTER_SERVER" -rh "$ROBOT_CTRL_HOST"
> -rn "$ROBOT_NUM" -rt "$ROBOT_TYPE" -multi_eject -map any -res -ml "$TAPE"
> -verbose -single_cycle
>
>  
>
> Justin.
>
>  
>
> *From:* veritas-bu-boun...@mailman.eng.auburn.edu
> [mailto:veritas-bu-boun...@mailman.eng.auburn.edu] *On Behalf Of *Anurag
> Sharma
> *Sent:* Sunday, February 12, 2012 7:40 AM
> *To:* veritas-bu
> *Subject:* [Veritas-bu] vmchange script
>
>  
>
> Hi Team,
>
> Here's is my challenge.
>
> Every week I have to change tapes in two libraries one has a cap size of
> 25 and another has of 35.
>
> Now I get a list of tapes to be ejected and sent offsite via script the
> real challenge is ejecting them.
>
> I can use the vmchange command in two separate consoles
>
> Syntax : vmchange -res -multi_eject -w -rn 0 -rt tld -rh
> pnors950.mgroupnet.com -ml
>
> Example :vmchange -res -multi_eject -w -rn 0 -rt tld -rh server.xyz.com-ml 
> MO0371:MO0012:MO0454:MO0775:MO0017
>
>
> I want to create a script which automates this one of the sample script is
>
> *FOR /F %%i IN (E:\\setin.txt) DO E:\VERITAS\Volmgr\bin\vmchange -res
> -multi_eject -w -rn 3 -rt tld -rh pnors954.mgroupnet.com -ml
> %%i>>E:\\ejectoutput.txt*
>
> The above script uses a file setin.txt which would have list of labels
> with colon separated
>
> MO0371:MO0012:MO0454:MO0775:MO0017
>
> The only challenge is this I want the script to take input of labels as
> file and do not want manually colon separate them manually.
>
>
> Please provide suggestions.
>
> Anurag
>
>
>
>
>
> 
>
> ___
> 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] NBU 7.1.0.2

2011-09-16 Thread Leo Dream
Hi

Yes, it improves the speed of duplication from de-dup pool to tape, that's
what we need..

Thanks,

Leo

On Fri, Sep 16, 2011 at 1:22 AM, Justin Piszcz wrote:

> Hi,
>
> Has anyone installed this in production yet?
>
> Justin.
> ___
> 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] New tapes are frozen

2010-04-13 Thread Leo Dream
Hi

Thanks for the reply. The Tape drive we are using is HP MSL G3. We also have
the same problem with the Virtual tape library using Data domain.

I think label manually is a temp solution for this, however it should be
able to auto label it.

Thanks and Regards,

Leo

On Sun, Apr 11, 2010 at 5:25 AM, Martin, Jonathan wrote:

>  Have you tried running HP’s library and tape tools?
>
>
>
>
> http://h2.www2.hp.com/bizsupport/TechSupport/DriverDownload.jsp?pnameOID=406731&locale=en_US&taskId=135&prodSeriesId=406729&prodTypeId=12169
>
>
>
> I would run the suspected bad media and several known good media.
>
>
>
> I’ve had quirky issues like this before and generally speaking it’s been
> the drive.
>
>
>
> -Jonathan
>
>
>
>
>
> *From:* veritas-bu-boun...@mailman.eng.auburn.edu [mailto:
> veritas-bu-boun...@mailman.eng.auburn.edu] *On Behalf Of *Leo Dream
> *Sent:* Saturday, April 10, 2010 3:49 PM
> *To:* Veritas-bu@mailman.eng.auburn.edu
> *Subject:* [Veritas-bu] New tapes are frozen
>
>
>
> Hi All
>
> Recently we are having some errors with the tapes. We add some new tapes to
> the library and inventory successfully (with bar code). However when we run
> backups, the tapes are frozen, following errors are shown in the bptm log:
>
> io_ioctl: ioctl (MTWEOF) failed on media id XX, drive index 1, The
> media is write protected. (19) (bptm.c.23992)
>
> The strange thing is:
> 1. The tape is not write protected for sure.
> 2. If i unfreeze the tape and rerun the backup, the tape can be used
> without any problem, so don't know why we have write error the first time.
>
> The master server is 6.5.5 on Windows 2003 Standard server (64 bit), the
> tape drive is HP.
>
> Anyone has any idea?
>
> Thanks!
>
> Leo
>
___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


[Veritas-bu] New tapes are frozen

2010-04-10 Thread Leo Dream
Hi All

Recently we are having some errors with the tapes. We add some new tapes to
the library and inventory successfully (with bar code). However when we run
backups, the tapes are frozen, following errors are shown in the bptm log:

io_ioctl: ioctl (MTWEOF) failed on media id XX, drive index 1, The media
is write protected. (19) (bptm.c.23992)

The strange thing is:
1. The tape is not write protected for sure.
2. If i unfreeze the tape and rerun the backup, the tape can be used without
any problem, so don't know why we have write error the first time.

The master server is 6.5.5 on Windows 2003 Standard server (64 bit), the
tape drive is HP.

Anyone has any idea?

Thanks!

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