DB2 Database Cataloging Instructions
[Db2inst2@localhost ~]$ DB2 catalog TCPIP node node_247 remote 108.88.3.247 server 50000
db20000i CATALOG TCPIP NODE command completed successfully.
db21056w The directory changes will not take effect until the directory cache is refreshed.
[Db2inst2@localhost ~]$ DB2 catalog db Ptsdb as ptsdb247 at node node_247
The db20000i CATALOG DATABASE command was successfully completed.
db21056w The directory changes will not take effect until the directory cache is refreshed.
Db2inst2@localhost ~]$ DB2 List DB directory
Database 4 Items:
Database alias = PTSDB247
Database name = Ptsdb
Node name = node_247
Database Release level = d.00
Comment =
Directory Entry Type = remote
directory database partition Number = 1
Alternate server Host name =
Standby server Port number =
[Db2inst2@localhost ~]$ DB2 connect to PTSDB User Administrator
Enter the current password for administrator:
Database connection Information
Database Server = Db2/nt 9.5.7
SQL Authorization id = administ ...
Local Database alias = Ptsdb
Table/view mode type creation time
------------------------------- --------------- ----- --------------------------
TANK ADMINISTRATOR T 2015-09-08-17.44.59.243001
1 records have been selected.
http://www.bkjia.com/PHPjc/1067484.html www.bkjia.com true http://www.bkjia.com/PHPjc/1067484.html techarticle DB2 Database Cataloging instructions [db2inst2@localhost ~]$ DB2 catalog TCPIP node node_247 remote 108.88.3.247 server 50000 db20000i Catalog T The CPIP NODE command completed successfully. db21056w until Brush ...