cluvfy comp admprv

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.

Syntax

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]

Parameters

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 ssh.

-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:

  • -asmgrp: Specify the name of the OSASM group. The default is asmadmin.
  • -asmdbagrp: Specify the name of the ASMDBA group. The default is asmdba.
  • -orainv: Specify the name of the Oracle Inventory group. The default is oinstall.
-o db_inst [-osdba osdba_group]

Checks administrative privileges for installing an Oracle RAC database. Optionally, you can specify the following:

  • -osdba: The name of the OSDBA group. The default is dba.
-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 sudo or root, for root user access. If you specify sudo, then you must specify the user name to access all the nodes with root privileges and, optionally, provide the full file system path for the sudo executable.

-verbose

CVU prints detailed output.

Usage Notes

  • 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.

Examples

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