I would use "passwordaccess generate", but have a separate stanza in the
dsm.sys file to control the parameters that pertain to your oracle specific
backup. You need to have a separate dsm.opt file (so
-optfile=dsmoracle.opt could be used) in which the servername will be
different than that of the default's dsm.opt file.
e.g.
dsm.sys
________
SErvername bkpall
COMMmethod TCPip
TCPPort 1500
TCPServeraddress 192.168.1.10
NODENAME node1
PASSWORDACCESS Generate
PASSworddir /usr/tivoli/tsm/client/ba/bin
Schedlogname /usr/tivoli/tsm/client/ba/bin/schedule.log
Schedlogretention 10 D
DOMAIN all-local
INCLExcl /usr/tivoli/tsm/client/ba/bin/GlobalINCLEXCL.list
SErvername bkporacle
COMMmethod TCPip
TCPPort 1500
TCPServeraddress 192.168.1.10
NODENAME node1
PASSWORDACCESS Generate
PASSworddir /usr/tivoli/tsm/client/ba/bin
Schedlogname /usr/tivoli/tsm/client/ba/bin/oracleschedule.log
Schedlogretention 10 D
DOMAIN all-local
INCLExcl /usr/tivoli/tsm/client/ba/bin/OracleINCLEXCL.list
in your dsm.opt file, have only:
SErvername bkpall
in your dsmoracle.opt, have only
SErvername bkporacle
This should help you setup your 2nd dsm scheduler for your oracle needs.
(I juts hope I didn't forget any details.... I haven't had to do this in a
while, and I was working from memory. There may be a blurb on this
surrounding the documentation with regards to the DSM_* environment
variables too...)
Note: This is valid for UNIX type environment..... where the dsm.opt and
dsm.sys are used together to setup the client's options.
Hope this helps.
Regards,
Serge Gaudet, CMI
Consultant
"Joshua S.
Bassi" To: [EMAIL PROTECTED]
<jbassi@GLORY cc:
WORKS.COM> Subject: Re: schedule daemon and password
Sent by:
"ADSM: Dist
Stor Manager"
<[EMAIL PROTECTED]
RIST.EDU>
01/11/2000
10:54 PM
Please
respond to
"ADSM: Dist
Stor Manager"
Unfortunately that's the way it work when you pass it the -pass= flag.
You might to try create a korn shell script with that cmd in there and
see what happens when you execute it.
--
Joshua S. Bassi
IBM Certified - AIX Support, HACMP,
Enterprise Disk(Shark)& Tape Solutions
Tivoli Certified Consultant - ADSM/TSM
[EMAIL PROTECTED]
-----Original Message-----
From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED]]On Behalf Of
Phillip Guan
Sent: Wednesday, November 01, 2000 3:28 PM
To: [EMAIL PROTECTED]
Subject: schedule daemon and password
Hi all,
Does anyone know if there are some ways to start a schedule daemon safely
while 'passwordaccess' is set to 'prompt' ? This happens when we want to
backup Oracle automatically . Here is what we do:
#nohup dsmc sched -password=secretexxxx -optfile=dsm.opt &
But if someone types 'ps -ef' command, the whole command line will show up
and he can see the password. This happens on Solaris system; on AIX, the
'secretexxxx' will not be shown.
Best regards,
Phillip Guan
Sansia System Solutions