unsubscribe

2006-05-08 Thread Riley, Craig
CONFIDENTIALITY NOTICE: The information contained in this message is legally 
privileged and confidential information intended for the use of the individual 
or 
entity named above. If the reader of this message is not the intended 
recipient, or 
the employee or agent responsible to deliver it to the intended recipient, you 
are 
hereby notified that any release, dissemination, distribution, or copying of 
this 
communication is strictly prohibited. If you have received this communication 
in 
error, please notify the author immediately by replying to this message and 
delete 
the original message. 
Thank you


Re: Command line restore not working

2005-03-29 Thread Riley, Craig
You are going to want to use the full path to the object being restored.



Craig Riley
Children's Hospital in Denver

-Original Message-
From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED] On Behalf Of
Timothy Hughes
Sent: Tuesday, March 29, 2005 8:14 AM
To: ADSM-L@VM.MARIST.EDU
Subject: Command line restore not working

Hello,

I am now trying to restore a inactive file using the command line.
but its no working. I am getting the following


$ dsmc rest prga.log -inactive -pick

Tivoli Storage Manager
Command Line Backup/Archive Client Interface - Version 5, Release 1,
Level 5.0
(C) Copyright IBM Corporation 1990, 2002 All Rights Reserved.

Restore function invoked.

Node Name: 
Session established with server TSM: AIX-RS/6000
  Server Version 5, Release 3, Level 0.1
  Data compression forced off by the server
  Server date/time: 03/29/05   10:09:01  Last access: 03/29/05
09:47:01

ANS1302E No objects on server match query


TSM AIX client version 5.1.5
TSM 5.3.0.1

Anyone ever had this problem

Thanks for any help!


DISCLAIMER:
CONFIDENTIALITY NOTICE:  The information contained in this message is legally 
privileged and confidential information intended for the use of the individual 
or entity named above. If the reader of this message is not the intended 
recipient, or the employee or agent responsible to deliver it to the intended 
recipient, you are hereby notified that any release, dissemination, 
distribution, or copying of this communication is strictly prohibited.  If you 
have received this communication in error, please notify the author immediately 
by replying to this message and delete the original message. Thank you.


Re: TSM scripts/macros

2005-03-15 Thread Riley, Craig
Here is how I do it.  The select * from processes where process='Backup
Storage Pool' will check for running processes or a given name; If none
are found than rc_notfound will be true and the section backup: will
be run; other wise I delete a tmp admin scheduled called ckproc and
redefine it for 10 minutes in the future to run the same command . 

You should be able to work through the logic here; unfortunately we are
very limited with the things we can do with TSM command schedules.


Hope this helps,

-Craig Riley
Children's Hospital in Denver.



BEGIN TSM SCRIPT : BACKUP_DISKPOOL

select * from processes where process='Backup Storage Pool'

 if(rc_notfound) goto backup

 del sched ckproc type=admin

 define sched ckproc cmd=run dskpool_bac active=yes startd=today
startt=now+00:10

 exit



 backup:

 backup stg online_diskpool drpool maxproc=8 wait=yes

 backup stg emr_diskpool drpool maxproc=6 wait=yes

 backup stg fs_diskpool drpool maxproc=6 wait=yes





 select * from processes where process='Backup Storage Pool'

 if(rc_notfound) goto defsched



 defsched:

 del sched ckproc type=admin

 define sched ckproc cmd=run tapepool_bac active=yes startd=today
startt=now+00:10

 exit



 /* END dskpool_bac /*


END SCRIPT

BEGIN SCRIPT TAPEPOOL_BAC




 select * from processes where process='Backup Storage Pool'

 if(rc_notfound) goto tapepools

 issue message I Tape Pool backups are still running. Will check again
in 10 minutes

 del sched ckproc type=admin

 define sched ckproc cmd=run tapepool_bac active=yes startd=today
startt=now+00:10

 exit

 tapepools:

 issue message I Starting backup of configured TAPEPOOLS

 backup stg onlinepool drpool maxproc=3 wait=yes

 backup stg emr_onlinepool drpool  maxproc=3 wait=yes

 backup stg ex_onlinepool drpool  maxproc=3 wait=yes

 backup stg fs_onlinepool drpool  maxproc=3 wait=yes

 issue message I Starting backup of TSM Database

 backup db dev=ait3 type=full wait=yes



 /* executre prepare, bkup volhist, devconf*/

 issue message I Running DR Plan prepare and backup of volhist and
devconfig

 prepare planprefix=/tsm/dr/stage/KEYSTONE-PLAN wait=yes

 backup volhist filename=/tsm/dr/stage/volhist.out

 backup devconfig filename=/tsm/dr/devconfig.out

 /* send email to admins */

 issue message I ### END OF DAILIES ###

 del sched ckproc type=admin

 def schedule ckproc cmd=run start_migration active=yes startd=today
startt=now+00:02
  expi=today

 exit

 /* END STGPOOLBAC */


END SCRIPT

-Original Message-
From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED] On Behalf Of
Spearman, Wayne
Sent: Tuesday, March 15, 2005 10:29 AM
To: ADSM-L@VM.MARIST.EDU
Subject: TSM scripts/macros

We are interested using a script or macro to control our admin schedules
instead of using the Central Scheduler.  We are having trouble figuring
out
how to detect that diskpool migrations are done so we can start backup
copypool processes. Is anyone doing something similar to what we are
wanting
to do or have some examples they are willing to share?


Wayne


DISCLAIMER:
CONFIDENTIALITY NOTICE:  The information contained in this message is legally 
privileged and confidential information intended for the use of the individual 
or entity named above. If the reader of this message is not the intended 
recipient, or the employee or agent responsible to deliver it to the intended 
recipient, you are hereby notified that any release, dissemination, 
distribution, or copying of this communication is strictly prohibited.  If you 
have received this communication in error, please notify the author immediately 
by replying to this message and delete the original message. Thank you.


Re: a simple question

2005-02-16 Thread Riley, Craig
Type : q script SCRIPT_NAME f=d

Or format=detailed

-Craig Riley
The Children's Hospital in Denver

-Original Message-
From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED] On Behalf Of Liu, 
Haifeng
Sent: Wednesday, February 16, 2005 6:56 PM
To: ADSM-L@VM.MARIST.EDU
Subject: a simple question


Hi,all, i type in query script,and find a script, how can I see the script?


DISCLAIMER:
CONFIDENTIALITY NOTICE:  The information contained in this message is legally 
privileged and confidential information intended for the use of the individual 
or entity named above. If the reader of this message is not the intended 
recipient, or the employee or agent responsible to deliver it to the intended 
recipient, you are hereby notified that any release, dissemination, 
distribution, or copying of this communication is strictly prohibited.  If you 
have received this communication in error, please notify the author immediately 
by replying to this message and delete the original message. Thank you.


Re: ksh here documents for sql cmds

2004-11-19 Thread Riley, Craig
You might also like to try the perl module TSM.pm located on CPAN. The modules 
provides very easy access to TSM .

-Craig Riley
The Children's Hospital in Denver


-Original Message-
From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED] On Behalf Of Richard 
Rhodes
Sent: Friday, November 19, 2004 10:30 AM
To: [EMAIL PROTECTED]
Subject: ksh here documents for sql cmds


Be kind . . . . don't laugh tooo hard . . . .

I thought I'd share this.

I got tired coding dsmadmc cmd line sql cmds like the following in ksh scripts 
. . .

  dsmadmc -id=admin -password=admin -tab \
   select entity, count\(\*\) \
from summary \
where cast\(\(current_timestamp-start_time\)hours as decimal\(8,0\)\) \ 25 
\
group by entity having count\(\*\)\1 \
order by 2 desc

The admin ref manual doesn't say anything about dsmadmc accepting input from 
stdin, but I figured I'd try it anyway . . . it WORKED

dsmadmc -id=admin -password=admin -tab EOD
  select entity, count(*) \
  from summary \
  where cast((current_timestamp-start_time)hours as decimal(8,0))  25 \
  group by entity having count(*)1 \
  order by 2 desc
EOD

Now, doesn't that look much better?

ok . . you can stop laughing at me now . . .

Rick


-
The information contained in this message is intended only for the personal and 
confidential use of the recipient(s) named above. If the reader of this message 
is not the intended recipient or an agent responsible for delivering it to the 
intended recipient, you are hereby notified that you have received this 
document in error and that any review, dissemination, distribution, or copying 
of this message is strictly prohibited. If you have received this communication 
in error, please notify us immediately, and delete the original message.


DISCLAIMER:
CONFIDENTIALITY NOTICE:  The information contained in this message is legally 
privileged and confidential information intended for the use of the individual 
or entity named above. If the reader of this message is not the intended 
recipient, or the employee or agent responsible to deliver it to the intended 
recipient, you are hereby notified that any release, dissemination, 
distribution, or copying of this communication is strictly prohibited.  If you 
have received this communication in error, please notify the author immediately 
by replying to this message and delete the original message. Thank you.


Re: AIT drive I/O problems

2004-06-25 Thread Riley, Craig
We have been seeing something similar with out AIT3 drives running in a Spectralogic 
64K. Also almost exclusivly during reclamation processing . The difference with our 
situation is in addition to read errors occationally the volume will fail to unmout 
and remain stuck in the drive . We then have to power cycle the drive to eject the 
tape. running scsi traces on the drives when this issue comes up we have found that 
the event is always preceded by a scsi forward command asking the drive firmware to 
move the tape position forward by some increment. Sony has identified this as a 
firmware problem and is testing a fixed version of code right now.

Craig Riley
The Children's Hospital in Denver


-Original Message-
From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED] Behalf Of
Steven Bridge
Sent: Friday, June 25, 2004 8:02 AM
To: [EMAIL PROTECTED]
Subject: AIT drive I/O problems


Currently running TSM server version 5.1.8 on an AIX 5.2 machine.
We have a Qualstar TLS-412600 library with three AIT-2 drives.

We are having continual problems with I/O errors almost exclusively
during the reclamation of tapes. Most often 98-99% of the reclaim works
but we are seeing with perhaps quarter to a half of our reclaims a
number of read errors (  100 ). In almost all cases, when we then
perform a 'move data' on the errant tape, it reads the remaining data
off without any problems. Errors have been seen on two of the drives
over the past month - but I'm not sure about the relative frequency
of use of all 3 drives to determine whether the other drive is error
free or just lucky.

What is most frustrating about this problem, is that a drive
experiencing read errors then hangs. The reclaim process is cancelled
when the volume has no reads 'logged' for some time - but the process
usually takes between 4 to 12 hours to stop - presumably waiting on some
I/O timeout. The drive can be observed performing some activity during
this time - continual retries perhaps ? If we can't wait for 12 hours
for the drives to be available again, the whole AIX box has to be
reloaded to clear the situation.

Drives have been replaced following tape jams but the replacement
drives still exhibit the same problems.

We have set the drives up with a cleaning frequency of 1000 GB - so
they are being cleaned every now and then.

I would be interested to hear if anyone else has experienced the
same problems with these drives - assuming anyone else uses AIT drives.
I wonder whether the problem is symptomatic with these drives or
whether there are any firmware upgrades that might fix the problem.
How do you find out what version is on the drive ?

I would also be very interested in any suggestions for preventing the
interminable hangs. Is there anywhere that this timeout can be reduced ?

Examples of errors logged :

2004-06-24 15:12:14 ANR8302E I/O error on drive DRIVE0 (/dev/mt0) (OP=READ, Error 
Number=7
8, CC=205, KEY=FF, ASC=FF, ASCQ=FF, SENSE=**NONE**, Description=SCSI adapter failure). 
Ref
er to Appendix D in the 'Messages' manual for recommended action.

then eventually when the cancel process completes ;

2004-06-24 23:17:49 ANR8302E I/O error on drive DRIVE0 (/dev/mt0) (OP=FSR, Error 
Number=78
, CC=205, KEY=FF, ASC=FF, ASCQ=FF, SENSE=**NONE**, Description=SCSI adapter failure). 
Refe
r to Appendix D in the 'Messages' manual for recommended action.

+--+
 Steven Bridge Systems Group, Information Systems, EISD
  University College London


DISCLAIMER:
CONFIDENTIALITY NOTICE:  The information contained in this message is legally 
privileged and confidential information intended for the use of the individual or 
entity named above. If the reader of this message is not the intended recipient, or 
the employee or agent responsible to deliver it to the intended recipient, you are 
hereby notified that any release, dissemination, distribution, or copying of this 
communication is strictly prohibited.  If you have received this communication in 
error, please notify the author immediately by replying to this message and delete the 
original message. Thank you.


Automated drive cleaning is failing.

2003-08-16 Thread Riley, Craig
I have a Spectralogic Gator 64K (AIT3) w/ TSM 5.1.7 on W2K.

I have successfully run automated cleaning of my drives from months but
since I upgraded to 5.1.7 from 5.1.6 I will periodicly get an error :

ANR8300E I/O error on library GATOR (OP=8401C058, CC=314, KEY=05, ASC=3B,
ASCQ=0E, SENSE=F0.00.05.00.00.00.00.2C.0-0.00.00.00.3B.0E.00.00.00.00.4D.65.64.
69.75.6D.20.53.6F.-75.72.63.65.20.45.6C.65.6D.65.6E.74.20.45.6D.70.74.79.00-.00
.00.00.00.00.00., Description=The source slot or drive was empty in an
attempt to move a volume).  Refer to Appendix D in the 'Messages' manual
for recommended action.
08/15/2003 10:43:23  ANR8907E CLEAN DRIVE for drive DRIVE2 (mt2.2.0.3) in
library GATOR failed.

The error refers to the source being empty but a q libvol shows the volume
there. I have audited the library and verified that the inventory is
correct by checking out/in multiple volumes checklabel=yes to verify TSM
knows where the tapes are. I also can not find any similar error in the
activity log for any other process except cleaning.

Does anyone know why this function is no longer working for me? Any
insight would be greatly apprieciated.


Craig Riley
TSM/UNIX Administrator
The Children's Hosptial in Denver
[EMAIL PROTECTED]


DISCLAIMER:
CONFIDENTIALITY NOTICE:  The information contained in this message is legally 
privileged and confidential information intended for the use of the individual or 
entity named above. If the reader of this message is not the intended recipient, or 
the employee or agent responsible to deliver it to the intended recipient, you are 
hereby notified that any release, dissemination, distribution, or copying of this 
communication is strictly prohibited.  If you have received this communication in 
error, please notify the author immediately by replying to this message and delete the 
original message. Thank you.


Strange backup behavior

2003-08-14 Thread Riley, Craig
I have a W2K box that has been backing up just fine for months. Nothing
has changed except the addition of service pack 4 in just as long.
However, when ever I run a backup the client backs up every single file
even though it's executing an incremental. As a test we event manually
did an incr on c:\ waited for it to complete, then did it again; it
backed up every file. Client version is 5.1.0 (realize there's an
upgrade but its worked for us so far) and the server version is 5.1.6.1
.

Any thought would be greatly appriciated

Craig Riley
The Children's Hospital in Denver



DISCLAIMER:
CONFIDENTIALITY NOTICE:  The information contained in this message is legally 
privileged and confidential information intended for the use of the individual or 
entity named above. If the reader of this message is not the intended recipient, or 
the employee or agent responsible to deliver it to the intended recipient, you are 
hereby notified that any release, dissemination, distribution, or copying of this 
communication is strictly prohibited.  If you have received this communication in 
error, please notify the author immediately by replying to this message and delete the 
original message. Thank you.


Re: 3494 and tapes question.

2003-01-15 Thread Riley, Craig
I would so strongly recommend that you do not remove onsite storage
volumes from you library if you can help it at all. Yes it will work,
but when you need to do restores, or reclaimation management becomes a
full time job. When we out grew our system I had a similar situation, I
ended up having to write a perl script to query the server every 5
minutes and email outstanding requests to my OPS team. Although there
are ways to find out what tape one might hold a nodes data while
preparing for a restore, there is no easy way to know which tape has the
active data. This makes tape shuffling very probable. Simply put, if
there is a way to keep it all in the robot, do so!


Craig Riley
The Children's Hospital in Denver
UNIX / TSM Admin

-Original Message-
From: Farren Minns [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, January 15, 2003 9:47 AM
To: [EMAIL PROTECTED]
Subject: 3494 and tapes question.

Hi TSMers

I am looking at what to do in the next year or so when our tape library
becomes full. Baring in mind that we don't do much in the way of
restores
(most backups are for DR), is it feasible to remove tapes from the
library
and just keep them on site in case they are requested for a restore,
reclamation etc. Does anyone out there do this kind of thing and how
does
it work for you?

Thanks all

Farren Minns - John Wiley  Sons Ltd


DISCLAIMER:
CONFIDENTIALITY NOTICE:  The information contained in this message is legally 
privileged and confidential information intended for the use of the individual or 
entity named above. If the reader of this message is not the intended recipient, or 
the employee or agent responsible to deliver it to the intended recipient, you are 
hereby notified that any release, dissemination, distribution, or copying of this 
communication is strictly prohibited.  If you have received this communication in 
error, please notify the author immediately by replying to this message and delete the 
original message. Thank you.