list node directory信息来自哪里

我想问下大家利用db2 list node directory的信息来自哪个文件?书上有说是sqlnodir,我搜索了整个文件系统都没找到。版本:10.5
而且发现在实例目录:/home/db2inst1/sqllib目录下有一个sqldbdir目录,而在数据库目录:/home/db2inst1/db2inst1/NODE0000下也有一个sqldbdir目录。里面内容好像都是相同的。请问这两个有什么区别哪?
参与3

2同行回答

drdb2drdb2系统工程师se
Your second question is related to the concept oflocal db dir v.s. system db dirThey do have subtle difference显示全部
Your second question is related to the concept of
local db dir v.s. system db dir
They do have subtle difference收起
互联网服务 · 2014-07-13
浏览624
drdb2drdb2系统工程师se
Hope the example will be helpful for you to understand when the sqlnodir being created;[db2inst2@q2 sqllib]$ db2 list node directorySQL1027N  The node directory cannot be found.[db2inst2@q2 sqllib]$ ls ~/sqllib | grep dirsqldbdir[db2inst2@q...显示全部
Hope the example will be helpful for you to understand when the sqlnodir being created;

[db2inst2@q2 sqllib]$ db2 list node directory
SQL1027N  The node directory cannot be found.
[db2inst2@q2 sqllib]$ ls ~/sqllib | grep dir
sqldbdir
[db2inst2@q2 sqllib]$ db2 catalog tcpip node q1 remote q1 server 50000
DB20000I  The CATALOG TCPIP NODE command completed successfully.
DB21056W  Directory changes may not be effective until the directory cache is
refreshed.
[db2inst2@q2 sqllib]$ ls ~/sqllib | grep dir
sqldbdir
sqlnodir
[db2inst2@q2 sqllib]$ db2 list node directory

Node Directory

Number of entries in the directory = 1

Node 1 entry:

Node name                      = Q1
Comment                        =
Directory entry type           = LOCAL
Protocol                       = TCPIP
Hostname                       = q1
Service name                   = 50000收起
互联网服务 · 2014-07-13
浏览535

提问者

wangzk0206
数据库管理员scrcu

相关问题

相关资料

相关文章

问题状态

  • 发布时间:2014-07-11
  • 关注会员:1 人
  • 问题浏览:4472
  • 最近回答:2014-07-13
  • X社区推广