Setting TNS_ADMIN with srvctl in RAC environment?
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?
2