( Step ) AP User:
(1) enter db2
db2
(2) catalog database command
catalog db list
(3) Check local node directory, IP, node name, service name, the type of directory entry
list node directory
(4) Canceled node cataloged
uncatalog node ADP
(5) a cataloging tcp / ip node
tcpip the Node Cataog / * ADP node name * / Remote / * 10.108.48.205 IP address * / Server / * 50000 port number * /
(6) to exit the db2
terminate
Knowledge points:
1. Check local node directory
list node directory
2. Cataloging a TCP / IP node
catalog tcpip node n_aaa remote ip_xxx server 50000
3. Cancel the node cataloged
uncatalog node n_aaa
4. Check the system database directory
list db directory
5. Catalog database
catalog db db_aaa as db_bbb at node n_aaa
6. Cancellation database catalog
uncatalog db db_bbb
7. Configuration Example
catalog TCPIP node node_1 remote 192.168.0.1 server 50000
catalog db db_aaa as db_bbb at node node_1
----------------
Disclaimer: This article is part of the knowledge CSDN blogger "huryer 'original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
Original link: https: //blog.csdn.net/huryer/article/details/54924266