Specifying the list of machines in a partitioned database environment

By default, the list of computers is taken from the database partition configuration file, db2nodes.cfg.

About this task

Note: On Windows, to avoid introducing inconsistencies into the database partition configuration file, do not edit it manually. To obtain the list of computers in the instance, use the db2nlist command.

Procedure

To override the list of computers in db2nodes.cfg:
  • Specify a path name to the file that contains the list of computers by exporting (on Linux® and UNIX operating systems) or setting (on Windows) the environment variable RAHOSTFILE.
  • Specify the list explicitly, as a string of names separated by spaces, by exporting (on Linux and UNIX operating systems) or setting (on Windows) the environment variable RAHOSTLIST.
    Note: If both of these environment variables are specified, RAHOSTLIST takes precedence.