1 person found this helpful
Yes there are several same executables in both homes.
And for linux you can check them for example this way (this will sort you files that will be in both directories + files that are only one of the directories):
diff -q <GRID_HOME/bin> <ORACLE_HOME/bin> | sort
In AIX there seems to be 'dircmp' to do the diff .
Hi Thanks for the reply.
For AIX box the diff command is little different. but i am able to get list of all file which is common in both folders.
And im still wondering why Oracle kept these executables like srvctl in both grid and oracle home and whats the need for it?
Anyone shower some light on it.
I think You should check this Ref Doc :http://docs.oracle.com/cd/E11882_01/rac.112/e41960/srvctladmin.htm
Overview of SRVCTL
Use SRVCTL to manage configuration information. You can use SRVCTL commands to add, remove, start, stop, modify, enable, and disable a number of entities, such as databases, instances, listeners, SCAN listeners, services, grid naming service (GNS), and Oracle ASM.
Some SRVCTL operations modify the configuration data stored in the Oracle Cluster Registry (OCR). SRVCTL performs other operations, such as starting and stopping instances, by sending requests to the Oracle Clusterware process (CRSD), which then starts or stops the Oracle Clusterware resources.
To manage Oracle ASM on Oracle Database 11g release 2 (11.2) installations, use the SRVCTL binary in the Oracle Grid Infrastructure home for a cluster (Grid home). If you have Oracle RAC or Oracle Database installed, then you cannot use the SRVCTL binary in the database home to manage Oracle ASM.
Instead we can have only one srvctl in grid_home to manage asm right? Im just curious y and whats is the exact need of srvctl in oracle_home also?
Do one thing , just type
You will get the no. of usage of that command , you run some from Grid_home some from oracle_home
All srvctl -h in all home, returns same value.
My concern is srvctl in grid_home is enough to do RAC admin activities. I dont know why oracle is creating srvctl utility in database home (oracle_home) during RAC database software installation...
i still couldn't get clear explanation for my question :-(
Hi, I think that Oracle wants to give users possibility to create different admin roles.
For example database admin can be different person with different privileges than system admin (or ASM admin).
With two different homes and binaries you can give different privileges for certain users:
Please read this:
To use SRVCTL to change your Oracle RAC database configuration, log in to the database as the owner of the home that you want to manage.
For example, if you installed Oracle Database and ASM in separate homes and each one has a different owner, then log in as the database user to manage databases and log in as the ASM user to manage ASM instances. Users who are members of the dba group can start and stop the database.
More Guidelines from here:
Depending your own privileges you can do all from grid_home but it is up to you to decide what kind of privileges, groups and users you do.