Creating and configuring a multipartitioned database
In this recipe, we will proceed to create the NAV
database as a multipartitioned database.
Getting ready
We will use nodedb21
and nodedb22
for all recipes in this chapter. The NAV
database will be created under instance db2instp
, created and configured in the Creating and configuring instances for a multipartitioned environments recipe in Chapter 1, DB2 Instance—Administration and Configuration.
For database storage, we have defined a new Linux partition /data
. The database storage path will reside on the /data/db2
directory.
How to do it...
Navigate to the
/db2partinst/db2instp/sqllib
directory. Here, opendb2nodes.cfg
with your preferred editor; you should find three nodes already configured in the Creating and configuring an instance for multipartitioned environments recipe, in Chapter 1, DB2 Instance—Administration and Configuration:[db2instp@nodedb21 sqllib]$ more db2nodes.cfg 0 nodedb21 0 1 nodedb22 0 2 nodedb21 1
These three nodes...