DB2 Universal Database V8.1 Certification Exam 700 Study Guide
The process used to catalog nodes (servers) is significantly different from the process used to catalog databases. Instead of being explicitly cataloged as needed, nodes are usually implicitly cataloged whenever a remote database is cataloged using the Configuration Assistant. However, if you desire to explicitly catalog a particular node, you can do so by executing the CATALOG NODE command that corresponds to the communications protocol that will be used to access the server being cataloged. Several forms of the CATALOG NODE command are available, including:
The syntax for all of these commands is very similar, the major difference being that many of the options available with each are specific to the communications protocol the command has been tailored for. Because TCP/IP is certainly the most common communications protocol used today, let's take a look at the syntax for that form of the CATALOG NODE command. The syntax for the CATALOG TCPIP NODE command is: CATALOG <ADMIN> TCPIP NODE [ NodeName ] REMOTE [ HostName ] SERVER [ ServiceName ] <SECURITY SOCKS> <REMOTE INSTANCE [ InstanceName ]> <SYSTEM [ SystemName ]> <OSTYPE [ SystemType ]> <WITH "[ Description ]"> where:
If you wanted to catalog a node for an AS/400 server workstation named DB2HOST and assign it the alias DB2_TCPIP, you could do so by executing a CATALOG TCPIP NODE command that looks something like this: CATALOG TCPIP NODE DB2_TCPIP REMOTE DB2HOST SERVER 5000 OSTYPE OS400 WITH "A remote TCP/IP node" Regardless of which CATALOG NODE command was used to catalog it, any node can be uncataloged by executing the UNCATALOG NODE command. The syntax for this command is: UNCATALOG NODE [ NodeName ] where:
So if you wanted to uncatalog the node that was cataloged in the previous example, you could do so by executing an UNCATALOG NODE command that looks like this: UNCATALOG NODE DB2_TCPIP |