cluvfy stage -pre dbinst

Use the cluvfy stage -pre dbinst command to check the specified nodes before installing or creating an Oracle RAC database to verify that your system meets all of the criteria for installing or creating an Oracle RAC database.

Syntax

On Linux and UNIX platforms:

cluvfy stage -pre dbinst -n <node_list> [-r {10.1 | 10.2 | 11.1 | 11.2 | 12.1}]
  [-osdba osdba_group] [-osbackup osbackup_group] [-osdg osdg_group]
  [-oskm oskm_group] [-d oracle_home] [-fixup] [-fixupnoexec]
  [-method {sudo -user user_name [-___location directory_path] | root}]
  [-verbose]

cluvfy stage pre dbinst -upgrade -src_dbhome src_dbhome [-dbname dbname-list]
  -dest_dbhome dest_dbhome -dest_version dest_version
  [-fixup] [-fixupnoexec] [-method sudo -user user_name [-___location directory_path]

On Windows platforms:

cluvfy stage -pre dbinst -n node_list [-r {10.1 | 10.2 | 11.1 | 11.2 | 12.1}]
  [-d Oracle_home] [-fixup] [-fixupnoexec] [-serviceuser user_name [-servicepasswd]]]
  [-verbose]

cluvfy stage -pre dbinst -upgrade -src_dbhome src_dbhome [-dbname dbname-list
  -dest_dbhome dest_dbhome -dest_version dest_version [-fixup] [-fixupnoexec]
  [-verbose]]

Parameters

Table A-30 cluvfy stage -pre dbinst Command Parameters

Parameter Description
-n node_list

The comma-delimited list of nondomain qualified node names on which to conduct the verification.

-r {10.1 | 10.2 | 11.1 | 11.2 | 12.1}

Specifies the Oracle Database release that CVU checks as required for installation of Oracle RAC. If you do not specify this option, then CVU assumes Oracle Database 12c.

-osdba osdba_group

The name of the OSDBA group. If you do not specify this option, then CVU uses dba as the OSDBA group.

-d Oracle_home

The ___location of the Oracle home directory where you are installing Oracle RAC and creating the Oracle RAC database. If you specify this option, then the specified ___location is checked for sufficient free disk space for a database installation.

-osbackup osbackup_group

Specify the name of the OSBACKUP group.

-osdg osdg_group

Specify the name of the OSDG group.

-oskm oskm_group

Specify the name of the OSKM group.

-fixup

Specifies that if the verification fails, then CVU performs fixup operations, if feasible.

-upgrade

Specify this parameter to verify upgrade prerequisites.

-src_dbhome src_dbhome

Specify the ___location of the source database home from which you are upgrading.

-dbname dbname-list

Specify a comma-delimited list of unique names of the databases you want to upgrade.

-dest_dbhome dest_dbhome

Specify the ___location of the destination database home to which you are upgrading.

-dest_version dest_version

Specify the version to which you are upgrading, including any patchset, such as 11.2.0.1.0 or 11.2.0.2.0.

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

[-serviceuser user_name [-servicepwd]]

If you specify this option, then CVU checks the following:

  • Whether the specified user is a ___domain user. If the specified user is not a ___domain user, then CVU returns an error and does not perform any subsequent checks on the validation of the user.

    Note: You must specify the user name of the Oracle home user.

  • Whether the specified user is an administrator on all nodes in the cluster. If the user is not an administrator on any node in the cluster, then the check passes. Otherwise, the check fails.

  • If you do not specify the -servicepwd option, then CVU checks whether there is a password stored in the wallet on OCR for this user. If no password exists for the specified user, then CVU continues to run.

  • If you specify the -servicepwd option, then CVU prompts you for the password of the specified user, even if the password exists in the wallet.

Note: The -serviceuser and -servicepwd parameters only apply to Windows.

-verbose

CVU prints detailed output.