Tivoli Storage Manager for HP-UX Quick Start


Running Multiple Servers on a Single Machine

To have multiple servers running on a single machine, issue the DSMSERV FORMAT command from different directories to create multiple pairs of recovery log and database files. Do not attempt to install the server executable files in more than one directory.

Note:Each TSM server requires approximately 100 kernel semaphores. If you wish to run more than one TSM server, you may need to increase the number of semaphores in the kernel configuration parameter semmns. You may increase this parameter by using System Administration Manager (SAM), and selecting the Kernel Configuration option.

The following example shows how to set up an additional TSM server:

  1. Determine the directory where you want the server files created, for example: /users/myserver.
  2. Change to the newly created directory, for example:
    +--------------------------------------------------------------------------------+
    |cd /users/myserver                                                              |
    +--------------------------------------------------------------------------------+
  3. Copy the dsmserv.opt file to your directory, for example:
    +--------------------------------------------------------------------------------+
    |cp /opt/tivoli/tsm/server/bin/dsmserv.opt dsmserv.opt                           |
    +--------------------------------------------------------------------------------+
    Note:Ensure that the communication method parameters are different from those of the existing TSM servers. For example, the servers cannot use the same TCPPORT or HTTPPORT.
  4. Define your environment variables, for example:
    1. To define the DSMSERV_DIR, enter:
      +--------------------------------------------------------------------------------+
      |DSMSERV_DIR=/opt/tivoli/tsm/server/bin                                          |
      |export DSMSERV_DIR                                                              |
      +--------------------------------------------------------------------------------+
    2. To define the DSMSERV_CONFIG to point to the server options file, enter:
      +--------------------------------------------------------------------------------+
      |DSMSERV_CONFIG=/users/myserver/dsmserv.opt                                      |
      |export DSMSERV_CONFIG                                                           |
      +--------------------------------------------------------------------------------+
  5. Format the database and recovery log files, for example:
    +--------------------------------------------------------------------------------+
    |/opt/tivoli/tsm/server/bin/dsmfmt -m -db dbvol2 5                               |
    |/opt/tivoli/tsm/server/bin/dsmfmt -m -log logvol2 9                             |
    +--------------------------------------------------------------------------------+
  6. Create the database and recovery log in the desired directory for the new server, for example:
    +--------------------------------------------------------------------------------+
    |/opt/tivoli/tsm/server/bin/dsmserv format 1 logvol2 1 dbvol2                    |
    +--------------------------------------------------------------------------------+
  7. You must be in the correct subdirectory to start the appropriate server with the dsmserv command. Enter:
    +--------------------------------------------------------------------------------+
    |/opt/tivoli/tsm/server/bin/dsmserv                                              |
    +--------------------------------------------------------------------------------+

Notes:

  1. You will need additional license authorizations to run additional servers.

  2. When you are running multiple servers and have more than one server options file, you can specify which options file to use by starting the server with the following command:
    +--------------------------------------------------------------------------------+
    |/opt/tivoli/tsm/server/bin/dsmserv -options filename                            |
    +--------------------------------------------------------------------------------+

    where filename is the name of the server options file.

  3. When the server is started, it searches the current directory for the existence of the dsmserv.dsk file. If the file is found, the names of the recovery log and database files are used for server operation. If the dsmserv.dsk file is not found in the current directory, an error message (ANR0212E) is issued and server initialization stops.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]