显示持久域配置信息

Use the get server-config command to display domain configuration information.

The get server-config command is issued using NuoDB Command (nuocmd). For more information on NuoDB Command and other command line tools, see 命令行工具.

For example, run the the get server-config command on the Nuoadmin-1 server ID:

nuocmd get server-config --server-id nuoadmin-1

properties:
   NUODB_ADMIN_PORT = 48005
   NUODB_ALT_ADDRESS = nuoadmin-1
   NUODB_DOMAIN_ENTRYPOINT = nuoadmin-1
   NUODB_SERVERID = nuoadmin-1
   ThisServerId = nuoadmin-1
   adminPort = 48005
   agentBindAddress =
   agentPort = 48004
   allowMixedMembership = false
   allowedClientAuthFailuresPerSecond = 5.0
   altAddr = nuoadmin-1
   ...

initialMembership:
   nuoadmin-1
      transport = nuoadmin-1:48005
      version = 0:10000

otherServices:
   REST
   PING

statsPlugins:

loadBalancers:

Use the show domain command to display information about the durable domain configuration including connectivity and processes.

例如:

nuocmd show domain
server version: 4.0.rel40dev-21-546a5cbef7, server license: Enterprise
server time: 2019-06-24T14:36:20.967, client token: 93313258aed467898d032893d480f4b9e70d57ad

Servers:
  [server0] localhost:48005 (LEADER, Leader=nuoadmin-1) ACTIVE:Connected *
  [server1] localhost:48005 (FOLLOWER, Leader=nuoadmin-1) ACTIVE:Connected
  [server2] localhost:48005 (FOLLOWER, Leader=nuoadmin-1) ACTIVE:Connected
Databases:
  test [RUNNING]
    [SM] server0:48006 [StartId = 0] [ServerId = server0] MONITORED:RUNNING
    [TE] server0:48006 [StartId = 1] [ServerId = server0] MONITORED:RUNNING
    [SM] server1:48006 [StartId = 2] [ServerId = server1] MONITORED:RUNNING
    [TE] server1:48006 [StartId = 3] [ServerId = server1] MONITORED:RUNNING
    [SM] server2:48006 [StartId = 4] [ServerId = server2] MONITORED:RUNNING
    [TE] server2:48006 [StartId = 5] [ServerId = server2] MONITORED:RUNNING