在web上启动数据数据节点后,可以到shell中运行
ps -ef |grep dolphindb
例如我服务器上显示如下:
其中下面的命令就是启动了2个数据节点:
xhtang 152290 1 2 Oct26 ? 00:55:57 ./dolphindb -home /home/xhtang/dolphindb_test/server/data/P2-datanode1 -logFile /home/xhtang/dolphindb_test/server/log/P2-datanode1.log -jobLogFile /home/xhtang/dolphindb_test/server/log/P2-datanode1_job.log -keyPath /home/xhtang/dolphindb_test/server/data/P2-agent/keys -publicName 115.239.209.224 -volumes /hdd/hdd6/seis,/hdd/hdd7/seis,/hdd/hdd8/seis,/hdd/hdd9/seis -subPort 24110 -console 0 -mode datanode -localSite 192.168.1.13:24116:P2-datanode1 -webLoginRequired 0 -lanCluster 1 -perfMonitoring 1 -sites 192.168.1.14:24116:P3-datanode1,192.168.1.14:24118:P3-datanode2,192.168.1.13:24118:P2-datanode2,192.168.1.13:24116:P2-datanode1,192.168.1.12:24118:P1-datanode2,192.168.1.12:24116:P1-datanode1 -maxMemSize 64 -localExecutors 31 -dataSync 1 -maxPubConnections 5 -dfsReplicationFactor 2 -workerNum 32 -diskIOConcurrencyLevel 4 -newValuePartitionPolicy add -enableHTTPS 0 -subThrottle 1 -maxPartitionNumPerQuery 9999999999 -persistenceDir /hdd/hdd5/streamseis -config /noconfig -controllerSite 192.168.1.12:24112:controller -maxSubConnections 64 -chunkCacheEngineMemSize 8
xhtang 152291 1 2 Oct26 ? 00:58:04 ./dolphindb -home /home/xhtang/dolphindb_test/server/data/P2-datanode2 -logFile /home/xhtang/dolphindb_test/server/log/P2-datanode2.log -jobLogFile /home/xhtang/dolphindb_test/server/log/P2-datanode2_job.log -keyPath /home/xhtang/dolphindb_test/server/data/P2-agent/keys -publicName 115.239.209.224 -volumes /hdd/hdd1/seis,/hdd/hdd2/seis,/hdd/hdd3/seis,/hdd/hdd4/seis -subPort 24119 -console 0 -mode datanode -localSite 192.168.1.13:24118:P2-datanode2 -webLoginRequired 0 -lanCluster 1 -perfMonitoring 1 -sites 192.168.1.14:24116:P3-datanode1,192.168.1.14:24118:P3-datanode2,192.168.1.13:24118:P2-datanode2,192.168.1.13:24116:P2-datanode1,192.168.1.12:24118:P1-datanode2,192.168.1.12:24116:P1-datanode1 -maxMemSize 64 -localExecutors 31 -dataSync 1 -maxPubConnections 5 -dfsReplicationFactor 2 -workerNum 32 -diskIOConcurrencyLevel 4 -newValuePartitionPolicy add -enableHTTPS 0 -subThrottle 1 -maxPartitionNumPerQuery 9999999999 -persistenceDir /hdd/hdd5/streamseis -config /noconfig -controllerSite 192.168.1.12:24112:controller -maxSubConnections 64 -chunkCacheEngineMemSize 8
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…