DB2数据库取消编目和重新设定编目
71切换使用72 远程编目的操作过程:
# 1. 取消旧的编目; 谨慎操作;不明白就不要操作
db2 uncatalog database CENTRAL
db2 uncatalog node CENTRAL
# 2. 编目新的远程节点和数据库
db2 catalog tcpip node central remote 10.210.11.72 server 50000
db2 catalog database central as CENTRAL at node CENTRAL
# 3. 刷新并使新配置生效
db2 terminate
# 4. 测试连接到新编目的数据库
db2 connect to CENTRAL user db2inst1 using Mics@123
# 1. 取消旧的编目; 谨慎操作;不明白就不要操作
db2 uncatalog database CENTRAL
db2 uncatalog node CENTRAL
# 2. 编目新的远程节点和数据库
db2 catalog tcpip node central remote 10.210.11.72 server 50000
db2 catalog database central as CENTRAL at node CENTRAL
# 3. 刷新并使新配置生效
db2 terminate
# 4. 测试连接到新编目的数据库
db2 connect to CENTRAL user db2inst1 using Mics@123

浙公网安备 33010602011771号