Installation script options

Table: Available command line options shows command line options for the product 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.

- configure

Configures the product after installation.

- fencing

Configures I/O fencing in a running cluster.

-ha

Specifies that the Storage Foundation High Availability software is installed or displayed. Otherwise, the list of Storage Foundation packages excludes the Veritas Cluster Server packages.

This option only applies to the installsf script when one of the following options is specified:

  • -allpkgs

  • -recpkgs

  • -minpkgs

-hostfile full_path_to_file

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

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

- 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

Generates a response file without performing an actual installation, configuration, or uninstallation.

-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 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 packages to install. The directory is typically an NFS-mounted location and must be accessible by all specified installation systems.

-pkgset

Discovers and lists the 5.1 packages installed on the systems that you specify.

-pkgtable

Displays the SFCFS 5.1 packages in the correct installation order.

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

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

- rsh

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

See Configuring secure shell (ssh) or remote shell before installing products.

-security

Enable or disable Symantec Product Authentication Service in a VCS cluster that is running. Install and configure Root Broker for Symantec Product Authentication Service.

You can specify this option with the installvcs, installsf 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.

-upgrade

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