Use the cluvfy comp admprv
command to check the required administrative privileges for the operation specified by -o
parameter on all the nodes that you specify in the node list. The operations are mutually exclusive and you can specify only one operation at a time.
On Linux and UNIX platforms:
cluvfy comp admprv [-n node_list] -o user_equiv [-sshonly] | -o crs_inst [-asmgrp asmadmin_group] [-asmdbagrp asmdba_group] [-orainv orainventory_group] [-fixup] [-fixupnoexec] [-method {sudo -user user_name [-___location directory_path] | root}] | -o db_inst [-osdba osdba_group] [-fixup] [-fixupnoexec] [-method {sudo -user user_name [-___location dir_path] | root}] | -o db_config -d oracle_home [-fixup] [-fixupnoexec] [-method {sudo -user user_name [-___location directory_path] | root}] [-verbose]
On Windows platforms:
cluvfy comp admprv [-n node_list] | -o user_equiv | -o crs_inst [-fixup] [-fixupnoexec] | -o db_inst [-fixup] [-fixupnoexec] | -o db_config -d oracle_home [-fixup] [-fixupnoexec] [-verbose]
Table A-3 cluvfy comp admprv Command Parameters
Parameter | Description |
---|---|
-n node_list |
The comma-delimited list of nondomain qualified node names on which to conduct the verification. If you do not specify this option, then CVU checks only the local node. |
-o user_equiv [-sshonly] |
Checks user equivalence between the nodes. On Linux and UNIX platforms, this command verifies user equivalence using |
-o crs_inst [-asmgrp asmadmin_group] [-asmdbagrp asmdba_group] [-orainv orainventory_group] |
Checks administrative privileges for installing Oracle Clusterware. Optionally, you can specify the following:
|
-o db_inst [-osdba osdba_group] |
Checks administrative privileges for installing an Oracle RAC database. Optionally, you can specify the following:
|
-o db_config -d oracle_home |
Checks administrative privileges for creating or configuring an Oracle RAC database. Specify the ___location of the Oracle home for the Oracle RAC database. |
-fixup |
Specifies that if the verification fails, then CVU generates fixup instructions, if feasible. |
-fixupnoexec |
Specifies that if verification fails, then CVU generates the fixup data and displays the instructions for manual execution of the generated fixups. |
-method {sudo -user user_name [-___location dir_path] | root} |
Specify whether the privilege delegation method is |
-verbose |
CVU prints detailed output. |
By default, the equivalence check does not verify X-Windows configurations, such as whether you have disabled X-forwarding, whether you have the proper setting for the DISPLAY
environment variable, and so on.
To verify X-Windows aspects during user equivalence checks, set the CV_XCHK_FOR_SSH_ENABLED
key to TRUE
in the configuration file that resides in the CV_HOME/cv/admin/cvu_config
directory before you run the cluvfy comp admprv -o user_equiv
command.
Example 1: Verifying Permissions Required to Install Oracle Clusterware
You can verify that the permissions required for installing Oracle Clusterware have been configured on the nodes racnode1
and racnode2
by running the following command:
cluvfy comp admprv -n racnode1,racnode2 -o crs_inst -verbose
Example 1: Verifying Permissions Manage Oracle RAC Databases
You can verify that the permissions required for creating or modifying an Oracle RAC database using the C:\app\oracle\product\11.2.0\dbhome_1
Oracle home directory, and generate a script to configure the permissions by running the following command:
cluvfy comp admprv -n racnode1,racnode2 -o db_config -d C:\app\oracle\product\11.2.0\dbhome_1 -fixup -verbose