Configuration using resource files, Configuring from a resource file, Editing a sample resource file – Sybase ADAPTIVE 15.0.2 User Manual

Page 140

Advertising
background image

Configuration using resource files

124

Adaptive Server Enterprise

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

srvbuildres

utility. The

srvbuildres

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:

1

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

2

Execute the

srvbuildres

utility, using the edited resource file as described

in “Using srvbuildres” on page 128.

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/init/sample_resource_files.

Edit these files to specify the attributes for the servers you want to create.

Note that:

If you use USE-DEFAULT as the Adaptive Server name, the utility
substitutes the name of the computer on which it is running for the server
name.

Advertising