Hey everyone,
I am fairly new to the whole world of Tivoli so bare
with me. One of the major task of the Tivoli Project
that I am working on is how to automate the installation
of a TME. The problem that I am currently facing is the remote configuration of DB2. The scripts have already
been written and work when run locally on a machine.
The problem that I am having is running these scripts remotely.
The mechanism that I am using to run these scripts is Software Distribution 4.0
I have packaged testing script using the Software Package Editor. The only thing that this package contains is the command script. The contents of this command script is as follows
** the line numbers don't appear in the actual test**
** script I am just using them for reference**
1.@echo off
2.echo "In the script" > c:\pwd.out
3.db2cmd -c db2 catalog database mdist2 as mdist2 at node db2
4.echo "leaving the script" >> c:\pwd.out
both Line 2 and 4 I added for testing purposes to see that the script was actually running….. both these lines work.
My main problem is with Line 3.
Right now I am guessing that I can't catalog a database because there is a conflict with regards to user name and password. If there are anyone out there that can shed some light on my current problem I would be most greatful.
I am fairly new to the whole world of Tivoli so bare
with me. One of the major task of the Tivoli Project
that I am working on is how to automate the installation
of a TME. The problem that I am currently facing is the remote configuration of DB2. The scripts have already
been written and work when run locally on a machine.
The problem that I am having is running these scripts remotely.
The mechanism that I am using to run these scripts is Software Distribution 4.0
I have packaged testing script using the Software Package Editor. The only thing that this package contains is the command script. The contents of this command script is as follows
** the line numbers don't appear in the actual test**
** script I am just using them for reference**
1.@echo off
2.echo "In the script" > c:\pwd.out
3.db2cmd -c db2 catalog database mdist2 as mdist2 at node db2
4.echo "leaving the script" >> c:\pwd.out
both Line 2 and 4 I added for testing purposes to see that the script was actually running….. both these lines work.
My main problem is with Line 3.
Right now I am guessing that I can't catalog a database because there is a conflict with regards to user name and password. If there are anyone out there that can shed some light on my current problem I would be most greatful.