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 the Veritas installer.

Table: Available command line options

Commandline Option

Function

-addnode

Adds a node to a high availability cluster.

-allpkgs

Displays all RPMs required for the specified product. The RPMs 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 secure shell or remote shell configuration added by installer on the systems. The option is only required when installation routines that performed auto-configuration of the shell are abruptly terminated.

-configure

Configures the product after installation.

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

-installallpkgs

The -installallpkgs option is used to select all RPMs.

-installrecpkgs

The -installrecpkgsoption is used to select the recommended RPMs set.

- installminpkgs

The -installminpkgsoption is used to select the minimum RPMs set.

-ignorepatchreqs

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

- keyfile ssh_key_file

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

- kickstart dir_path

Produces a kickstart configuration file for installing with Linux RHEL Kickstart. The file contains the list of Symantec RPMs in the correct order for installing, in a format that can be used for Kickstart installations. The dir_path indicates the path to the directory in which to create the file.

-license

Registers or updates product licenses on the specified systems.

- 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

Use the -makeresponsefile option only to generate response files. No actual software installation occurs when you use this option.

-minpkgs

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

-nolic

Allows installation of product RPMs without entering a license key. Licensed features cannot be configured, started, or used when this option is specified.

- pkginfo

Displays a list of RPMs 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 RPMs.

- pkgpath package_path

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

- pkgset

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

-pkgtable

Displays product's RPMs 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 RPMs required for the specified product. The RPMs are listed in correct installation order. Optional RPMs 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 RPMs and 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.

-rolling_upgrade

Starts a rolling upgrade. Using this option, the installer detects the rolling upgrade status on cluster systems automatically without the need to specify rolling upgrade phase 1 or phase 2 explicitly.

-rollingupgrade_phase1

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

-rollingupgrade_phase2

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

-rsh

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

See About configuring secure shell or remote shell communication modes before installing products.

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

-settunables

Specify this option when you want to set tunable parameters after you install and configure a product. You may need to restart processes of the product for the tunable parameter values to take effect. You must use this option together with the -tunablesfile option.

-start

Starts the daemons and processes for the specified product.

-stop

Stops the daemons and processes for the specified product.

-timeout

The -timeout option is used to specify the number of seconds that the script should wait for each command to complete before timing out. Setting the -timeout option overrides the default value of 1200 seconds. Setting the -timeout option to 0 prevents the script from timing out. The -timeout option does not work with the -serial option

- 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 RPMs are copied on remote systems before installation.

-tunables

Lists all supported tunables and create a tunables file template.

-tunables_file tunables_file

Specify this option when you specify a tunables file. The tunables file should include tunable parameters.

-upgrade

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

-upgrade_kernelpkgs

The -upgrade_kernelpkgs option has been renamed to -rollingupgrade_phase1.

-upgrade_nonkernelpkgs

The -upgrade_nonkernelpkgs option has been renamed to -rollingupgrade_phase2.

-version

Checks and reports the installed products and their versions. Identifies the installed and missing RPMs and patches where applicable for the product. Provides a summary that includes the count of the installed and any missing RPMs and patches where applicable. Lists the installed patches, hotfixes, and available updates for the installed product if an Internet connection is available.

-yumgroupxml

The -yumgroupxml option is used to generate a yum group definition XML file. The createrepo command can use the file on Redhat Linux to create a yum group for automated installation of all RPMs for a product. An available location to store the XML file should be specified as a complete path. The -yumgroupxml option is supported on Redhat Linux only.