Re: Post RAC Operations

Posted by ErmanArslansOracleBlog on
URL: http://erman-arslan-s-oracle-forum.114.s1.nabble.com/Post-RAC-Operations-tp2235p2238.html

Okay...
I see the script, it builds the dbc file path as follows;

# Check for dbc file
if [ "$DBCFILE" = "" ]; then
  DBCFILE=$FND_SECURE/$TWO_TASK.dbc
fi

if [ ! -f "$DBCFILE" ]; then
    bail "Unable to find .dbc file: $DBCFILE"
fi

So, you have 2 choices.

1)you can set TWO_TASK env variable to "DB" and then execute the cpadmin.sh afterwards.. (i.e export TWO_TASK=DB)
2)or you can set DBCFILE env variable to "$FND_SECURE/DB.dbc" and then execute the cpadmin.sh afterwards.. (i.e export DBCFILE=blablabla)