Syntax in the response file, Example response file, 165 example response file – Symantec Veritas 5 User Manual

Page 165

Advertising
background image

To perform automated installation

1

Navigate to the folder containing the installvcs program.

#

cd /mnt/cdrom/cluster_server

2

Start the installation from one of the cluster systems where you have copied
the response file.

#

./installvcs -responsefile /tmp/response_file

Where /tmp/response_file is the response file’s full path name.

Syntax in the response file

The syntax of the Perl statements that are included in the response file varies. It
can depend on whether the variables require scalar or list values.

For example, in the case of a string value:

$CFG{Scalar_variable}="value";

or, in the case of an integer value:

$CFG{Scalar_variable}=123;

or, in the case of a list:

$CFG{List_variable}=["value", "value", "value"];

Example response file

The example response file resembles the file that installvcs creates after the
example VCS installation. The file is a modified version of the response file
generated on vcs_cluster2 that you can use to install VCS on vcs_cluster3. Review
the variables that are required for installation.

See

“Response file variable definitions”

on page 166.

#

# installvcs configuration values:

#

$CPI::CFG{AT_ROOTDOMAIN}="root\@east.symantecexample.com";

$CPI::CFG{CMC_CC_CONFIGURED}=1;

$CPI::CFG{CMC_CLUSTERID}{east}=1146235600;

$CPI::CFG{CMC_MSADDR}{east}="mgmtserver1";

$CPI::CFG{CMC_MSADDR}{west}="mgmtserver1";

$CPI::CFG{CMC_MS_ROOT_HASH}="758a33dbd6fae716...3deb54e562fe98";

165

Advanced VCS installation topics

Performing automated VCS installations

Advertising