Sybase Technical Library - Product Manuals Home
[Search Forms] [Previous Section with Hits] [Next Section with Hits] [Clear Search] Expand Search

Chapter 10 Troubleshooting [Table of Contents]

Installation Guide Adaptive Server Enterprise for Silicon Graphics IRIX

[-] Appendix A Alternative Installation Methods

Chapter 11

Alternative Installation Methods

Resource file installation

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 svrbuildres utility. The svrbuildres 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 4, "Installing Sybase Servers ."

You cannot install Monitor Server, XP Server or the full-text search engine using resource files.

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

  1. Edit a resource file as described in "Installing from a resource file".

  2. Execute the srvbuildres utility, using the edited resource file as described in "Using srvbuildres".

Installing from a resource file

You can install Sybase servers via a resource file. You can use either:

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 the following:

Editing a resource file created by srvbuild

You can create a resource file by running the srvbuild utility. A new file containing the values you specified for the Adaptive Server or Backup Server is written to:

$SYBASE/$SYBASE_ASE/init/logs/srvbuildMMDD.VVV-servername.rs.

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

Warning!

Be sure to edit the resource file generated by srvbuild to change attributes, such as device names, that may be different on another system.

Resource file attributes for Adaptive Server

Table A-1 shows the Adaptive Server resource file attributes, their default values, and other options.

The attributes in bold type are required.

All alpha values are case sensitive.

The prefix of the attribute name varies, depending on whether the resource file was created by srvbuild or by sybinit (from a pre-11.5 SQL Server). The prefix is ignored by srvbuildres when processing the resource file.

The attribute names in Table A-1 are the attribute names provided in the sample resource file included in your Adaptive Server distribution.

Resource file attributes for Adaptive Server

Attribute

Default value [other options]

sybinit.release_directory

The value of $SYBASE at your site

sybinit.product

sqlsrv

sqlsrv.server_name

server_name

sqlsrv.new_config

yes (required value)

sqlsrv.do_add_server (to interfaces file)

yes [no]

sqlsrv.network_protocol_list

tcp [spx]

sqlsrv.network_hostname_list

hostname

sqlsrv.network_port_list

port_number

sqlsrv.master_device_physical_name

path_and_name_of_master_device

sqlsrv.master_device_size

30 (MB)

sqlsrv.master_database_size

5 (MB)

sqlsrv.errorlog

$SYBASE/$SYBASE_ASE/install/server_name.log

sqlsrv.do_upgrade

no (required value)

sqlsrv.sybsystemprocs_device_physical_name

path_and_name_of_sybsystemprocs_device

sqlsrv.sybsystemprocs_device_size

100 (MB)

sqlsrv.sybsystemprocs_database_size

100 (MB)

sqlsrv.sybsytemdb_device_physical_name

path_and_name_of_ sybsystemdb_device

sqlsrv.sybsystemdb_device_size

5 (MB)

sqlsrv.sybsystemdb_database_size

5 (MB)

sqlsrv.default_backup_server

server_name_back

Resource file attributes for Backup Server

Table A-2 shows the Backup Server resource file attributes, their default values, and other options.

The attributes in bold type are required.

All values are case sensitive.

The prefix of the attribute name varies, depending on whether the resource file was created by srvbuild or by sybinit (from a pre-11.5 SQL Server). The prefix is ignored by srvbuildres when processing the resource file.

The attribute names in Table A-2 are the attribute names provided in the sample resource file included in your Adaptive Server distribution.

Resource file attributes for Backup Server

Attribute

Default value [other options]

sybinit.release_directory

$SYBASE

sybinit.product

bsrv

bsrv.server_name

server_name_back

bsrv.do_add_backup_server (to interfaces file)

yes [no]

bsrv.network_protocol_list

tcp [spx]

bserv.network_hostname_list

hostname

bsrv.network_port_list

port_number

bsrv.language

us_english [chinese, french, german, japanese, spanish]

bsrv.character_set

iso_1[iso_1, cp850, cp437, deckanji, ascii_8, eucgb, eucjis, mac, roman8, sjis, utf8]

bsrv.tape_config_file

$SYBASE/$SYBASE_ASE/ backup_tape.cfg

bsrv.errorlog

$SYBASE/$SYBASE_ASE/ server_name_back.log

Using srvbuildres

To execute srvbuildres at the UNIX prompt enter:

$SYBASE/$SYBASE_ASE/bin/srvbuildres -r resource_file

where resource_file specifies the resource file containing the attributes that describe the server to build.

Unlike srvbuild, the srvbuildres utility does not require any X libraries.

When you have completed resource file installation, go to Chapter 5, "Post-Installation Tasks."

Installing files in NOGUI mode

To install components in a NOGUI environment, perform all pre-installation preparation steps as described; however, replace the window-based Studio Installer instructions (Chapter 4, "Installing Sybase Servers ") with these instructions.

There are several arguments you can use when you run Studio Installer from the command line. The syntax is:

install -argument

Complete the following steps:

  1. IRIX mounts the CD automatically.

    If the CD is in your first CD-ROM drive, the CD is automounted as /CDROM.

  2. At the prompt, type:

    cd /CDROM
    ./install -c

  3. Select the type of install to perform.

  4. From the prompt, enter the installation directory (the default is /usr/sybase/).

  5. Select one of the following:

  6. The installer prompts: "Have you registered Sybase Software Asset Management Certificates at a central license host?"

    If Yes, enter the following information about the primary network node from which this machine will be checking out licenses:

For information on licensing features on the primary license host, see Chapter 3, "Sybase Software Asset Management (SySAM)."

Completing the installation process

  1. Follow the directions on the screen.

  2. When the installation is complete, use the asecfg utility to:

  3. Exit the asecfg utility.

  4. Check the installation log file to see a record of the installation process. The server log file is located in:

    $SYBASE/Installer.log

  5. When the unloading is complete, log out as the "sybase" user.

    When the unloading is complete, eject the CD using the eject command.

Installing components in cmdfile

To install components by means of a cmdfile, you must begin in GUI mode. To begin the installation process:

  1. Verify that you are logged in as the "sybase" user with "root" privileges and that your environment is set up as described in the "Pre-installation tasks ".

  2. Insert the Server CD in the CD-ROM drive.

  3. At the UNIX prompt, start the Studio Installer:

    cd /CDROM
    ./install

  4. Select the type of installation to be performed. Backup Server, Monitor Server, and XP Server are installed, by default, with Adaptive Server.

  5. Select a new installation directory, or accept the default.

    If you select Customized Install, the next window is the Component Selection screen, which allows you to specify the components to install.

    Components that would be installed in a standard installation appear with a check in the check box to the left of the product name. You may select or deselect components from this list. Components with subcomponents have a More... button enabled. Click this button to select or deselect subcomponents.

  6. Click Save.

  7. Specify a directory. The component information is automatically generated when saving to the cmdfile. You may rename the cmdfile.

  8. After the information is written to the cmdfile, the installer returns you to the GUI. Click Cancel, then Yes, to exit the Studio Installer.

  9. To complete the installation using the cmdfile, go to a command-line prompt at the CD-ROM drive and enter:

    ./install -f path/filename

    where path is the full path to the cmdfile, and filename is the name of the cmdfile.

  10. When the installation is complete, log out as the "sybase" user.

    When the installation is complete, eject the CD using the eject command.

  11. After Studio Installer is exited, the environment variables are set manually or with the.sh and .csh script files, automatically downloaded by the Studio Installer. The procedures for using the scripts files are provided in Chapter 4, "Installing Sybase Servers ."

  12. Check the installation log file to see a record of the installation process. The server log file is located in:

    $SYBASE/Installer.log

    The PC-client installation log file is in:

    %SYBASE%\Installer.log


Chapter 10 Troubleshooting [Table of Contents]