Sybase 15.0.2 manual Configuration using resource files, Configuring from a resource file, 126

Models: 15.0.2

1 160
Download 160 pages 32.42 Kb
Page 140
Image 140

Configuration using resource files

.\setupConsole -silent -options <responseFileName> -W SybaseLicense.agreeToLicense=true

-G replaceNewerResponse="yesToAll"

Configuration using resource files

You can create an Adaptive Server or Backup Server, using values specified in a resource file that defines the attributes for the server.

Resource files are ASCII format template files that contain configuration variables. To use the template files, edit the resource file, replace variables with desired values, and execute the sybatch utility. The sybatch utility uses the variables to create servers.

Resource files allow you to create servers in batch mode. You can create servers on multiple systems from the same resource file by editing a few values in that file. Within a single resource file, you can create only one server at a time.

The server files must already exist on the computer before the servers can be created. Use procedures in Chapter 2, “Installing Adaptive Server.”

To install an Adaptive Server or Backup Server using resource files:

1Edit a resource file as described in “Configuring from a resource file” on page 126.

2Execute the sybatch utility, using the edited resource file as described in “Running the sybatch utility” on page 129.

Configuring from a resource file

You can install Adaptive Server via a resource file. Use the sample resource file provided with the software.

Editing a sample resource file

Sample resource files for creating Adaptive Server and Backup Server are included in your Adaptive Server distribution in:

%SYBASE%\%SYBASE_ASE\sample\server directory.

126

Adaptive Server Enterprise

Page 140
Image 140
Sybase 15.0.2 Configuration using resource files, Configuring from a resource file, Editing a sample resource file, 126