cluvfy stage [-pre | -post] crsinst

Use the cluvfy stage -pre crsinst command with either the -file, -n, -flex, or -upgrade parameters to check the specified nodes before installing or upgrading Oracle Clusterware.

Use the cluvfy stage -post crsinst command to check the specified nodes after installing Oracle Clusterware.

Syntax

cluvfy stage -pre crsinst -file config_file [-fixup] [-fixupnoexec] 
  [-method {sudo -user user_name [-location directory_path] | root}] [-verbose]

cluvfy stage -pre crsinst -n node_list | -flex -hub hub_list [-leaf leaf_list]
  [-r {10.1 | 10.2 | 11.1 | 11.2 | 12.1}] [-c ocr_location_list] [-q voting_disk_list]
  [-osdba osdba_group] [-orainv orainventory_group] [-asm [-presence {local | flex}
  | -asmcredentials client_data_file] [-asmgrp asmadmin_group] [-asmdev asm_device_list]]
  [-crshome Grid_home] [-fixup] [-fixupnoexec]
  [-method {sudo -user user_name [-location directory_path] | root}]
  [-networks network_list] [-dhcp -clustername cluster_name [-dhcpport dhcp_port]]
  [-verbose]

crsinst -upgrade [-rolling] [-src_crshome src_crshome] -dest_crshome dest_crshome
  -dest_version dest_version [-fixup] [-fixupnoexec] [-method {sudo -user user_name
  [-location directory_path] | root}] [-verbose]

cluvfy stage -post crsinst -n node_list
  [-method {sudo -user user_name [-location directory_path] | root}] [-verbose]

Parameters

Table A-28 cluvfy stage [-pre | -post] crsinst Command Parameters

Parameter Description
-file config_file

Specify the root script configuration file containing Oracle installation variables.

-n node_list

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

-flex -hub hub_list
 [-leaf leaf_list]

Alternative to the -n parameter, specify a comma-delimited list of Hub Node names on which to conduct checks. Optionally, you can specify a comma-delimited list of Leaf Nodes.

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

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

-c ocr_location_list

Specify a comma-delimited list of directory paths for OCR locations or files that CVU checks for availability to all nodes. If you do not specify this option, then the OCR locations are not checked.

-q voting_disk_list

Specify a comma-delimited list of directory paths for voting files that CVU checks for availability to all nodes. If you do not specify this option, then the voting file locations are not checked

-osdba osdba_group

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

-orainv orainventory_group

Specify the name of the Oracle Inventory group. If you do not specify this option, then CVU uses oinstall as the inventory group.

-asm [-presence {local | flex} |
 -asmcredentials client_data_file]

This parameter indicates that Oracle ASM is used for storing the Oracle Clusterware files.

Specify the Oracle ASM presence, either LOCAL or FLEX, on this Oracle Clusterware installation. Optionally, for an Oracle ASM client, specify the path to an Oracle ASM client credential file.

-asmgrp asmadmin_group

Specify the name of the OSASM group. If you do not specify this option, then CVU uses the same group as the Oracle Inventory group.

-asmdev asm_device_list

Specify a list of devices you plan for Oracle ASM to use that CVU checks for availability to all nodes.

If you do not specify this option, then CVU uses an internal operating system-dependent value.

-crshome Grid_home

Specify the location of the Oracle Grid Infrastructure or Oracle Clusterware home directory. If you specify this option, then the supplied file system location is checked for sufficient free space for an Oracle Clusterware installation.

-networks [network_list]

Checks the network parameters of a slash ("/")-delimited list of networks in the form of "if_name" [:subnet_id [:public | :cluster_interconnect]].

  • You can use the asterisk (*) wildcard character when you specify the network interface name (if_name), such as eth*, to match interfaces.

  • Specify a subnet number for the network interface for the subnet_id variable and choose the type of network interface.

-dhcp -clustername
 cluster_name [-dhcpport
 dhcp_port]

Specify the name of the cluster. Optionally, you can specify the port to which the DHCP packets will be sent. The default value for this port is 67.

-rolling

Specify this if the upgrade you want to perform is a rolling upgrade.

-src_crshome src_crshome

Specify the location of the source Grid home.

-dest_crshome dest_crshome

Specify the location of the destination Grid home.

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

-fixup

Specifies that if the verification fails, then CVU performs fixup operations, 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

  • To perform checks for a new installation, specify either the -file or -n parameters, and use -upgrade for performing checks for upgrading to another version.

  • CVU performs additional checks on OCR and voting files if you specify the -c and -q options with the -n parameter.