{question}
How can get the admin domain configuration?
{question}
{answer}
You should use the following command via nuocmd.
./nuocmd get server-config --server-id <server ID>
For example:
Step 1: Get domain information
./nuocmd show domain
server version: 4.0-1-b947d0fa06, server license: Enterprise
server time: 2019-08-07T19:43:22.015, client token: 65acc5a9d26ebcbbbf982bc295443c80a9fd41af
Servers:
[server0] localhost:48005 [last_ack = 9.23] [member = ADDED] [raft_state = ACTIVE] (LEADER, Leader=server0, log=0/1172/1172) Connected *
Databases:
Step 2: Get process server configuration
./nuocmd get server-config --server-id server0
properties:
ThisServerId = server0
UseUnframedBlocking = true
adminBindAddress =
adminPort = 48005
agentBindAddress =
agentPort = 48004
allowMixedMembership = false
altAddr = localhost
binDir = /opt/nuodb/bin
broadcastLatencyMicros = 1000
com.nuodb.appname = nuoadmin
configDir = /etc/nuodb
cron.delay = 300000
cron.initialDelay = 10000
cron.poolSize = 10
customGlobalLoadBalancer =
disableEngineEncryption = false
domainEntryClient.peerWaitTimeout = 60
domainEntryServer.changeMembershipTimeout = 5
homeDir = /opt/nuodb
hostId = server0
isInitialMembershipDurable = true
keystore = nuoadmin.jks
keystore-password = changeIt
keystore-type = JKS
keystoreUpdateIntervalMs = 5000
leaderAssignmentTimeout = 10000
loadBalancerExpiration = 60000
logConfig = /etc/nuodb/nuoadmin.logback.xml
logDir = /var/log/nuodb
peer =
peerPingClientPoolSize = 1
peerPingConnectTimeout = 1000
peerPingDelay = 10000
peerPingInitialDelay = 5000
peerPingSchedulePoolSize = 10
peerPingSocketTimeout = 3000
pendingProcessTimeout = 5000
pendingReconnectTimeout = 10000
portRange = 48006
processLivenessCheckSec = -1
processStaggerMax = 1000
processStatsInterval = -1
raft.compactionThreshold = 1024
raft.heartbeatPeriodMillis = -1
raft.maxElectionTimeoutMillis = -1
raft.minElectionTimeoutMillis = -1
raft.upgradeTimeoutMillis = -1
reaperPeriod = 5000
requireClientAuth = false
restyml = /etc/nuodb/nuoadmin.rest.yml
ssl = false
statsSet-config = default
thrift.client.processService.poolSize = 10
thrift.idle-connection-timeout = 1d
thrift.port = 48005
thrift.threads.max = 50
tmpDir = /tmp
truststore = nuoadmin-truststore.jks
truststore-password = changeIt
truststore-type = JKS
varDir = /var/opt/nuodb
initialMembership:
server0
transport = localhost:48005
version = 0:10000
otherServices:
CRON
REST
PING
statsPlugins:
com.nuodb.nagent.stats.DropWizardMetricsStatsListener
enableHistograms = true
enableJMX = true
enableTimers = true
com.nuodb.host.stats.StatsLogger
disabled = false
loadBalancers:
This will give you a full list of the configuration settings for your server. You can find read more about the nuocmd, our command line interface, here.
This information is also found in the $NUODB_CFGDIR/nuoadmin.conf file. The default location for $NUODB_CFGDIR depends on your installation medium. You can find the value for your installation type here.
{answer}
Comments