ndb_print_sys_file 从 NDB 集群系统文件获取诊断信息。ndb_print_sys_file obtains diagnostic information from an NDB Cluster system file.
用法Usage
ndb_print_sys_file file_name
file_name 是集群系统文件(sysfile)的名称。集群系统文件位于数据节点的数据目录中(DataDir);该目录下系统文件的路径模式为 ndb_。在每种情况下,#_fs/D#/DBDIH/P#.sysfile# 表示一个数字(不一定相同)。有关更多信息,请参阅 NDB Cluster 数据节点文件系统目录。file_name is the name of a cluster
system file (sysfile). Cluster system files are located in a
data node's data directory
(DataDir); the path
under this directory to system files matches the pattern
ndb_.
In each case, the #_fs/D#/DBDIH/P#.sysfile# represents a
number (not necessarily the same number). For more information,
see NDB Cluster Data Node File System Directory.
像 ndb_print_backup_file 和 ndb_print_schema_file(与大多数其他 NDB 工具不同,这些工具通常在管理服务器主机上运行或连接到管理服务器),ndb_print_backup_file 必须在集群数据节点上运行,因为它直接访问数据节点的文件系统。由于它不使用管理服务器,因此当管理服务器未运行时,甚至当集群已完全关闭时,也可以使用此工具。Like ndb_print_backup_file and
ndb_print_schema_file (and unlike most of the
other NDB utilities that are
intended to be run on a management server host or to connect to
a management server) ndb_print_backup_file
must be run on a cluster data node, since it accesses the data
node file system directly. Because it does not make use of the
management server, this utility can be used when the management
server is not running, and even when the cluster has been
completely shut down.
附加选项Additional Options
无。None.