Installation script options

Table: Available command line options shows command line options for the installation script. For an initial install or upgrade, options are not usually required. The installation script options apply to all Veritas Storage Foundation product scripts, except where otherwise noted.

See About installation scripts.

Table: Available command line options

Command Line Option

Function

system1 system2...

Specifies the systems on which to run the installation options. A system name is required for all options. If not specified, the command prompts for a system name.

- addnode

Adds a node to a high availability cluster.

- allpkgs

Displays all packages and patches required for the specified product. The packages and patches are listed in correct installation order. The output can be used to create scripts for command line installs, or for installations over a network.

- comcleanup

The -comcleanup option removes the ssh or rsh configuration added by installer on the systems. The option is only required when installation routines that performed auto-configuration of ssh or rsh are abruptly terminated.

- configure

Configures the product after installation.

-copyinstallscripts

Use this option when you manually install products and want to use the intallation scripts that are stored on the system to perform product configuration, uninstallation, and licensing tasks without the product media.

Use this option to copy the installation scripts to an alternate rootpath when you use it with the -rootpath option.

The following examples demonstrate the usage for this option:

  • ./installer -copyinstallscripts

    Copies the installation and uninstallation scripts for all products in the release to /opt/VRTS/install. It also copies the installation Perl libraries to /opt/VRTSperl/lib/site_perl/release_name .

  • ./installproduct_name -copyinstallscripts

    Copies the installation and uninstallation scripts for the specified product and any subset products for the product to /opt/VRTS/install. It also copies the installation Perl libraries to /opt/VRTSperl/lib/site_perl/release_name .

  • ./installer -copyinstallscripts -rootpath alt_root_path

    The path alt_root_path can be a directory like /rdisk2. In that case, this command copies installation and uninstallation scripts for all the products in the release to /rdisk2/opt/VRTS/install. CPI perl libraries are copied to /rdisk2/opt/VRTSperl/lib/site_perl/release_name, where the release_name is a string that starts with UXRT and includes the release version with no punctuation.

- fencing

Configures I/O fencing in a running cluster.

- hostfile full_path_to_file

Specifies the location of a file that contains a list of hostnames on which to install.

- ignorepatchreqs

The -ignorepatchreqs option is used to allow installation or upgrading even if the prerequisite packages or patches are missed on the system.

- install

The -install option is used to install products on systems.

- installallpkgs

Specifies that all packages are installed.

- installminpkgs

Specifies that the minimum package set is installed.

- installrecpkgs

Specifies that the required package set is installed.

- jumpstart dir_path

Produces a sample finish file for Solaris JumpStart installation. The dir_path indicates the path to the directory in which to create the finish file.

- keyfile ssh_key_file

Specifies a key file for secure shell (SSH) installs. This option passes -i ssh_key_file to every SSH invocation.

- license

Registers or updates product licenses on the specified systems.

- listpatches

The -listpatches option displays product patches in correct installation order.

- logpath log_path

Specifies a directory other than /opt/VRTS/install/logs as the location where installer log files, summary files, and response files are saved.

- makeresponsefile

The -makeresponsefile generates a response file without doing an actual installation. Text displaying install, uninstall, start, and stop actions are simulations. These actions are not being performed on the system.

- minpkgs

Displays the minimal packages and patches required for the specified product. The packages and patches are listed in correct installation order. Optional packages are not listed. The output can be used to create scripts for command line installs, or for installations over a network. See allpkgs option.

- patchpath patch_path

Designates the path of a directory that contains all patches to install. The directory is typically an NFS-mounted location and must be accessible by all specified installation systems.

- pkginfo

Displays a list of packages and the order of installation in a human-readable format. This option only applies to the individual product installation scripts. For example, use the -pkginfo option with the installvcs script to display VCS packages.

- pkgpath package_path

Designates the path of a directory that contains all packages to install. The directory is typically an NFS-mounted location and must be accessible by all specified installation systems.

- pkgset

Discovers and displays the package group (minimum, recommended, all) and packages that are installed on the specified systems.

- pkgtable

Displays product's packages in correct installation order by group.

- postcheck

Checks for different HA and file system-related processes, the availability of different ports, and the availability of cluster-related service groups.

- precheck

Performs a preinstallation check to determine if systems meet all installation requirements. Symantec recommends doing a precheck before installing a product.

- recpkgs

Displays the recommended packages and patches required for the specified product. The packages and patches are listed in correct installation order. Optional packages are not listed. The output can be used to create scripts for command line installs, or for installations over a network. See allpkgs option.

- redirect

Displays progress details without showing the progress bar.

- requirements

The -requirements option displays required OS version, required patches, file system space, and other system requirements in order to install the product.

- responsefile response_file

Automates installation and configuration by using system and configuration information stored in a specified file instead of prompting for information. The response_file must be a full path name. You must edit the response file to use it for subsequent installations. Variable field definitions are defined within the file.

- rootpath root_path

Specifies an alternative root directory on which to install packages.

On Solaris operating systems, -rootpath passes -R path to pkgadd command.

- rsh

Specify this option when you want to use RSH and RCP for communication between systems instead of the default SSH and SCP.

- security

Enable or disable Symantec Product Authentication Service in a VCS cluster that is running.

You can specify this option with the installvcs, installsfha or installsfcfs scripts.

For more information about Symantec Product Authentication Service in a VCS cluster, see the Veritas Cluster Server Installation Guide.

- serial

Specifies that the installation script performs install, uninstall, start, and stop operations on each system in a serial fashion. If this option is not specified, these operations are performed simultaneously on all systems.

- start

Starts the daemons and processes for the specified product.

- stop

Stops the daemons and processes for the specified product.

- tmppath tmp_path

Specifies a directory other than /var/tmp as the working directory for the installation scripts. This destination is where initial logging is performed and where packages are copied on remote systems before installation.

- uninstall

The -uninstall option is used to uninstall products from systems.

- upgrade

Specifies that an existing version of the product exists and you plan to upgrade it.

- upgrade_kernelpkgs

The -upgrade_kernelpkgs option is used to perform rolling upgrade Phase-I. In the phase, the product kernel packages get upgraded to the latest version

- upgrade_nonkernelpkgs

The -upgrade_nonkernelpkgs option is used to perform rolling upgrade Phase-II. In the phase, VCS and other agent packages upgrade to the latest version. Product kernel drivers are rolling-upgraded to the latest protocol version."

- version

Checks and reports the installed products and their versions. Identifies the installed and missing packages and patches where applicable for the product. Provides a summary that includes the count of the installed and any missing packages and patches where applicable.