Previous  |  Next  >  
Product: Storage Foundation Guides   
Manual: Storage Foundation 4.1 Installation Guide   

Options for the Installation Script

The following options are available when using the product installation script. For an initial install or upgrade, options are not usually required.

Available Command Line Options

Command Line Option Function

–configure system1 system2...

Configures the product after installing using the –installonly option.

–installonly system1 system2...

Installs packages, but does not configure the product.

–license system1 system2...

Updates or installs a product license.

–nolic system1 system2...

Installs product packages without licensing or configuring. Licensed features are not installed when using this option.

–patchpath patch_path

Designates a path to VERITAS patches. Used for cluster updates. This option enables the installation of patches without having to copy them to all systems in a cluster. patch_path must be a full path name, typically to an NFS-mounted location, that contains the patches to be installed on all systems by any cluster product installation script.

–pkgpath package_path

Designates a path to VERITAS packages. Used for cluster installations. This option enables the installation of packages without having to copy them to all systems in a cluster. package_path must be a full path name, typically to an NFS-mounted location, that contains the packages to be installed on all systems by any cluster product installation script.

–precheck system1 system2...

Performs a preinstallation check to determine if systems meet all installation requirements.

–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. For more information, see Using a Response File With the Installation Script.

–systems system1 system2...

Specifies the systems to be installed.

–tmppath tmp_path

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

–usessh

Specifies when the secure shell (ssh) or secure copy (scp) programs are used for communication between systems instead of rsh and rcp. The –usessh option requires that systems be preconfigured to allow execution of secure commands without prompting for passwords or confirmations.

Using a Response File With the Installation Script

To use a response file for a fresh installation, you can use any text editor to create a file similar to the following:


#
# installsf configuration values:
#
$CFG{DONOTINSTALL}=[];
$CFG{DONOTREMOVE}=[];
$CFG{INSTALL}{AUTOSTART}=1;
$CFG{INSTALL}{SIMULTANEOUS}=0;
$CFG{INSTALL}{SYSTEMS}=["system_name"];
$CFG{INSTALL}{USESSH}=0;
$CFG{KEYS}{system_name}=[];
$CFG{NEWNAMES_FILE}{system_name}=0;
$CFG{VM_RESTORE_CFG}{system_name}=1;

Refer to the following table for descriptions of the response file variables:

Response File Variable Explanations

Response File Variable Description

CFG{DONOTINSTALL}{package_name}

Optional, two-dimensional list variable that instructs the installation script to either install or not install the optional packages designated in the list. A 1 (one) indicates that the optional packages will be installed and a 0 (zero) indicates that the optional packages will not be installed.

CFG{DONOTREMOVE}{package_name}

Optional, two-dimensional list variable that instructs the installation script to either remove the existing packages in the list and install new packages or to leave the existing packages on the system and skip installation of the new packages. A 1 (one) indicates that the existing packages will not be removed and a 0 (zero) indicates that the existing packages will be removed.

CFG{INSTALL}{AUTOSTART}

Optional, one-dimensional scalar variable that defines whether the product is to be started following installation. A 1 (one) indicates that the system will be restarted and a 0 (zero) indicates that the system will not be restarted.

CFG{INSTALL}{SIMULTANEOUS}

Optional, one-dimensional scalar variable that defines whether the product is to be installed on systems simultaneously or consecutively. A 1 (one) indicates that the installation will be simultaneous and a 0 (zero) indicates that the installation will be consecutive.

CFG{INSTALL}{SYSTEMS}

Required, one-dimensional list variable that defines the list of systems on which the product will be installed.

CFG{INSTALL}{USESSH}

Optional, one-dimensional scalar variable that defines whether ssh and scp are configured or rsh is configured for execution of the local or remote installation. A 1 (one) indicates that ssh and scp are configured and a 0 (zero) indicates that rsh is configured.

CFG{KEYS}{system_name}

Optional, two-dimensional scalar variable that defines the product keys to be registered on a system. This variable is not necessary if the system already has a license key installed.

CFG{NEWNAMES_FILE}{system_name}

Optional, one-dimensional scalar variable that defines whether enclosure-based naming is being used or not. A 1 (one) indicates enclosure-based naming is being used and a 0 (zero) indicates that enclosure-based naming is not being used.

CFG{SFORA_USERNAME}{system_name}

For an installsfora installation only.

An optional, two-dimensional scalar variable that defines the user name of the database administrator.

CFG{SFORA_GROUPNAME}{system_name}

For an installsfora installation only.

An optional, two-dimensional scalar variable that defines the group name for the database administrators (DBAs).

CFG{VM_RESTORE_CFG}{system_name}

Optional, one-dimensional scalar variable that determines whether a previously-existing configuration of VERITAS Volume Manager will be restored or not. A 1 (one) indicates that the configuration will be restored and a 0 (zero) indicates that the configuration will not be restored.

CFG{INSTALL}{SYSTEMSCONFIG}

Optional, one-dimensional list variable that defines the list of systems to be recognized for configuration when a secure environment prevents all systems from being installed simultaneously.

When you perform an interactive installation of a VERITAS Storage Foundation product using the installation script, a response file is automatically generated in the /opt/VRTS/install/logs directory. The file name is generated as installernumber.response, where the number is random. You can use this response file for future installations on the same machine.


Note   Note    If you installed to a remote system, the response file will be generated on that system.
 ^ Return to Top Previous  |  Next  >  
Product: Storage Foundation Guides  
Manual: Storage Foundation 4.1 Installation Guide  
VERITAS Software Corporation
www.veritas.com