Database - RAC/Scalability (MOSC)

MOSC Banner

Setting TNS_ADMIN with srvctl in RAC environment?

edited Aug 14, 2016 1:49AM in Database - RAC/Scalability (MOSC) 10 commentsAnswered ✓
According to MOS Note - "Setting Environment Variables Through Srvctl [ID 733567.1]", srvctl can be used to set up TNS_ADMIN in RAC environment, so for 11.2 RAC db, the command will be like following: 
srvctl setenv database -d mydb -T "TNS_ADMIN=/u01/app/11.2.0/grid/network/admin"

In my case, $GRID_HOME/network/admin=/u01/app/11.2.0/grid/network/admin

Question: 
1 when there are multiple nodes in this 11.2 RAC environment, does the above "srvctl" command sets up TNS_ADMIN to a directory shared by all those nodes?
2 in my case, each node has its own local directory for both $GRID_HOME/network/admin and $ORACLE_HOME/network/admin. Does the above "srvctl setenv ..." command tells OCR that each node has its own local TNS_ADMIN directory? 

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