Re: Source Tivoli environment at boot...

1999-06-07 22:33:23
Subject: Re: Source Tivoli environment at boot...
From: Leslie Clark <lclark AT US.IBM DOT COM>
To: nv-l AT lists.tivoli DOT com
Date: Mon, 7 Jun 1999 22:33:23 -0400
This is for users at login, not at boot. Put it in your $HOME/.kshrc that gets
 whenever you run a korn shell. In your  $HOME/.profile, put
     export ENV=$HOME/.kshrc
In your $HOME/.dtprofile, uncomment that last line that says to run the .profile

Something else to consider is that the setup_env.sh prepends stuff to the
path. So I also put in (at the beginning) of .kshrc the explicit path statement
as set in /etc/environment, plus any other stuff needed by other products on
the system. That way it idoes not keep getting longer and longer every time
you open a new window.


Leslie A. Clark
IBM Global Services - Systems Mgmt & Networking

Hello All.

I am running AIX 4.3.2 and Framework 3.6 and Netview 5.1.

Whenever my server has to be rebooted, I must source my Tivoli environment
so that I can run the Framework and Netview.

I have to type in ". /etc/Tivoli/setup_env.sh"

I would like to have this done automatically when the AIX box boots up.

I am not a shell script expert, but I think the code to accomplist this
would be something like....

if [ -f /etc/Tivoli/setup_env.sh] ; then
    . /etc/Tivoli/setup_env.sh

However, I am not sure where to place this within the AIX environemt.
Would it be best to edit the /etc/inittab file with a entry for a script,
say, rc.tivoli, and then include this code here?

Is there a better way of doing this?

Any help/info appreciated.



Get Your Private, Free Email at http://www.hotmail.com

<Prev in Thread] Current Thread [Next in Thread>