AHF - Autonomous Health Framework (TFA - ORACHK) (MOSC)

MOSC Banner

TFA install failing when running through shell script

edited Sep 20, 2017 2:18PM in AHF - Autonomous Health Framework (TFA - ORACHK) (MOSC) 3 commentsAnswered

Hi Team,

I am seeing a weird issue in one of my node.

I have a developed a KSH script to install the TFA, and change the configurations,..etc

This part of script does the installation

"export GRID_HOME=`cat /etc/init.d/init.ohasd | grep "HOME=" | cut -d'=' -f 2`

    unset TFA_HOME

    /u02/stage/installTFALite -tfabase $GRID_HOME -javahome $GRID_HOME/jdk/jre -silent"

When i am running this commands separately - it is working fine.

But when i put these commands in a Korn script and run it, it is not able to discover the nodes correctly.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center