All,
Now that OTM is part of Oracle Apps, we've doing a lot of work with the Oracle EBS (eBusiness Suite) server -- including many instances per client (DEV, TEST, PROD, etc). In order to help keep things straight, we configure each applmgr user with the following commands, inserted into either the ~/.bashrc or ~/.profile, depending on the OS.
Code:
echo
echo
. /u01/app/oracle/product/ebs/prod/prodappl/APPSORA.env
echo 'The PROD environment is now set automatically'
echo
alias gut="cd \$APPLCSF/sc*/*"
alias goul="cd \$APPL_TOP/admin/\$TWO_TASK/log"
alias gop='cd /oracle7/pat*'
alias gap='cd /u01/app/oracle/product/ebs/prod/prodora/iAS/Apache/Jserv/etc'
echo " "
echo You are logged on as applmgr
echo " "
echo "TWO_TASK: " $TWO_TASK
echo "APPL_TOP: " $APPL_TOP
echo "COMMON_TOP: " $COMMON_TOP
echo " "
echo Note the above to ensure you are on the right system
echo " "
echo " "
Now when we login as applmgr, we get the following:
Code:
The PROD environment is now set automatically
You are logged on as applmgr
TWO_TASK: prod
APPL_TOP: /u01/app/oracle/product/ebs/prod/prodappl
COMMON_TOP: /u01/app/oracle/product/ebs/prod/prodcomn
Note the above to ensure you are on the right system
Hope this helps!
--Chris