Hi All.
I'm attempting to wrap some perl around TDP for domino commands, and I want the
result to
be domino-instance agnostic as it will run on multiple domino instances on
multiple AIX
partitions (TSM Server 5.3.1.4, API 5.3.0 TDP for domino 5.1.5.1 all on AIX 5.2
RML6. Domino
is 654+hotfixes)
The weirdness is as follows. these two commands were run one after the other -
no editing-
, as the domino user
dommp02:/domino/dom/mp02/data > domdsmc q dbb | head -20
IBM Tivoli Storage Manager for Mail:
Data Protection for Lotus Domino
Version 5, Release 1, Level 5.01
(C) Copyright IBM Corporation 1999, 2002. All rights reserved.
Database Backup List
--------------------
Domino Server: dommp02
--------------
DB Backup Date Size A/I Logged Database Title Database File
--------------------- ----------- --- ------ -------------- -------------
23-09-2005 20:05:58 648.00KB A Yes Java AgentRunne
AgentRunner.nsf
23-09-2005 20:07:46 3,000.25MB A Yes Mail Journaling MJ000006.nsf
09-09-2005 20:17:15 3,584.00KB A Yes Activity Trends activity.nsf
19-09-2005 20:17:57 254.53MB A Yes Administration admin4.nsf
02-09-2005 20:17:30 126.00MB A Yes Catalog (6) catalog.nsf
13-07-2005 09:31:07 1,128.00KB A No Catalog (6) catalog.ntf
dommp02:/domino/dom/mp02/data > perl -e 'print qx/domdsmc q dbb/' | head -20
IBM Tivoli Storage Manager for Mail:
Data Protection for Lotus Domino
Version 5, Release 1, Level 5.01
(C) Copyright IBM Corporation 1999, 2002. All rights reserved.
ACD5811I There are no database backups matching the filespec * and the server
name
dommp02.
ie, the shell finds the backups and perl running the same command in a spawned
shell
doesn't.
If I use domdsmc_instancename it works in both cases, but I don't want to
include the
instancename in my script.
Ideas as to why its broken and how to fix it will be gladly accepted.
|