Updating the node configuration file (Linux® and UNIX)
In a Db2® partitioned database environment, this task provides steps for updating the db2nodes.cfg file to include entries for participating computers.
Before you begin
- The Db2 database product must be installed on all participating computers.
- A Db2 instance must exist on the primary computer.
- You must be a user with SYSADM authority.
- Review the configuration examples and file format information provided in the Format of
the Db2 node
configuration file topic if either of the following conditions apply:
- You plan to use a high speed switch for communication between database partition servers
- Your partitioned configuration will have multiple logical partitions
About this task
The node configuration file (db2nodes.cfg), located in the instance owner's home directory, contains configuration information that tells the Db2 database system which servers participate in an instance of the partitioned database environment. A db2nodes.cfg file exists for each instance in a partitioned database environment.
The db2nodes.cfg file must contain one entry for each server participating in the instance. When you create an instance, the db2nodes.cfg file is automatically created and an entry for the instance-owning server is added.
ServerA
, the
db2nodes.cfg file is updated as follows:
0 ServerA 0
Restrictions
The hostnames used in the steps of the Procedure section must be fully qualified hostnames.
Procedure
To update the db2nodes.cfg file: