admin
cluster show;
mentdb
[ "cluster_id_2", "cluster_id_1" ]
admin
cluster create "cluster_id_1";
mentdb
Cluster created with successful.
admin
cluster exist "cluster_id_1";
mentdb
1
admin
cluster delete "cluster_id_2";
mentdb
Cluster deleted with successful.
admin
signal process;
mentdb
1
admin
signal deploy "cluster_id_1" "localhost" "9998" "admin" "pwd" "pwd" 10000 30000 "metric current cpu jvm;"
mentdb
ok/set/cluster_id_1/node_id_3 ok/set/cluster_id_1/node_id_4 ok/set/cluster_id_1/node_id_1 ok/set/cluster_id_1/node_id_2
admin
cluster signal set "cluster_id_1" "node_id_1" "localhost" "9998" "admin" "pwd" "pwd" 10000 30000 "metric current cpu jvm;"
mentdb
Signal added/updated with successful.
admin
cluster signal delete "cluster_id_1" "node_id_1"
mentdb
Signal deleted with successful.
admin
cluster signal show "cluster_id_1"
mentdb
CLUSTER_ID / NODE_ID / USER@HOSTNAME:PORT / CONNECT_TIMEOUT / READ_TIMEOUT / MQL_SIGNAL / LAST_TIME : ERROR cluster_id_1 / node_id_3 / admin@localhost:9998 / 10000 / 30000 / metric current cpu jvm; / 2019-07-01 09:58:07 : cluster_id_1 / node_id_4 / admin@localhost:9998 / 10000 / 30000 / metric current cpu jvm; / 2019-07-01 09:58:07 : cluster_id_1 / node_id_1 / admin@localhost:9998 / 10000 / 30000 / metric current cpu jvm; / 2019-07-01 09:58:07 : cluster_id_1 / node_id_2 / admin@localhost:9998 / 10000 / 30000 / metric current cpu jvm; / 2019-07-01 09:58:07 :
admin
signal remote_show "cluster_id_1"
mentdb
ok/CLUSTER_ID / NODE_ID / USER@HOSTNAME:PORT / CONNECT_TIMEOUT / READ_TIMEOUT / MQL_SIGNAL / LAST_TIME : ERROR cluster_id_1 / node_id_3 / admin@localhost:9998 / 10000 / 30000 / metric current cpu jvm; / 2019-07-01 09:57:47 : cluster_id_1 / node_id_4 / admin@localhost:9998 / 10000 / 30000 / metric current cpu jvm; / 2019-07-01 09:57:47 : cluster_id_1 / node_id_1 / admin@localhost:9998 / 10000 / 30000 / metric current cpu jvm; / : cluster_id_1 / node_id_2 / admin@localhost:9998 / 10000 / 30000 / metric current cpu jvm; / : ok/CLUSTER_ID / NODE_ID / USER@HOSTNAME:PORT / CONNECT_TIMEOUT / READ_TIMEOUT / MQL_SIGNAL / LAST_TIME : ERROR cluster_id_1 / node_id_3 / admin@localhost:9998 / 10000 / 30000 / metric current cpu jvm; / 2019-07-01 09:57:47 : cluster_id_1 / node_id_4 / admin@localhost:9998 / 10000 / 30000 / metric current cpu jvm; / 2019-07-01 09:57:47 : cluster_id_1 / node_id_1 / admin@localhost:9998 / 10000 / 30000 / metric current cpu jvm; / 2019-07-01 09:57:47 : cluster_id_1 / node_id_2 / admin@localhost:9998 / 10000 / 30000 / metric current cpu jvm; / : ok/CLUSTER_ID / NODE_ID / USER@HOSTNAME:PORT / CONNECT_TIMEOUT / READ_TIMEOUT / MQL_SIGNAL / LAST_TIME : ERROR cluster_id_1 / node_id_3 / admin@localhost:9998 / 10000 / 30000 / metric current cpu jvm; / 2019-07-01 09:57:47 : cluster_id_1 / node_id_4 / admin@localhost:9998 / 10000 / 30000 / metric current cpu jvm; / 2019-07-01 09:57:47 : cluster_id_1 / node_id_1 / admin@localhost:9998 / 10000 / 30000 / metric current cpu jvm; / 2019-07-01 09:57:47 : cluster_id_1 / node_id_2 / admin@localhost:9998 / 10000 / 30000 / metric current cpu jvm; / 2019-07-01 09:57:47 : ok/CLUSTER_ID / NODE_ID / USER@HOSTNAME:PORT / CONNECT_TIMEOUT / READ_TIMEOUT / MQL_SIGNAL / LAST_TIME : ERROR cluster_id_1 / node_id_3 / admin@localhost:9998 / 10000 / 30000 / metric current cpu jvm; / 2019-07-01 09:57:47 : cluster_id_1 / node_id_4 / admin@localhost:9998 / 10000 / 30000 / metric current cpu jvm; / 2019-07-01 09:57:47 : cluster_id_1 / node_id_1 / admin@localhost:9998 / 10000 / 30000 / metric current cpu jvm; / 2019-07-01 09:57:47 : cluster_id_1 / node_id_2 / admin@localhost:9998 / 10000 / 30000 / metric current cpu jvm; / 2019-07-01 09:57:47 :
admin
cluster signal give "cluster_id_1" "node_id_1" 52 "2019-06-18 10:21:56"
mentdb
1
admin
cluster node set "cluster_id_1" "node_id_1" "localhost" "9998" "admin" "pwd" "pwd" 10000 30000 true; cluster node set "cluster_id_1" "node_id_2" "localhost" "9998" "admin" "pwd" "pwd" 10000 30000 true; cluster node set "cluster_id_1" "node_id_3" "localhost" "9998" "admin" "pwd" "pwd" 10000 30000 true; cluster node set "cluster_id_1" "node_id_4" "localhost" "9998" "admin" "pwd" "pwd" 10000 30000 true;
mentdb
Node added/updated with successful.
admin
cluster nodes show_obj "cluster_id_1"
mentdb
{ "node_id_3": { "in_the_cluster": "1", "active_signal": "1", "signal_last_time": "2019-06-30 09:35:45", "user_key": "pwd", "error": "", "cluster_id": "cluster_id_1", "hostname": "localhost", "password": "pwd", "port": "9998", "readTimeout": "30000", "connectTimeout": "10000", "signal": "0.2", "user": "admin", "node_id": "node_id_3" }, "node_id_4": { "in_the_cluster": "1", "active_signal": "1", "signal_last_time": "2019-06-30 09:35:45", "user_key": "pwd", "error": "", "cluster_id": "cluster_id_1", "hostname": "localhost", "password": "pwd", "port": "9998", "readTimeout": "30000", "connectTimeout": "10000", "signal": "35.1", "user": "admin", "node_id": "node_id_4" }, "node_id_1": { "in_the_cluster": "1", "active_signal": "1", "signal_last_time": "2019-06-30 09:35:45", "user_key": "pwd", "error": "", "cluster_id": "cluster_id_1", "hostname": "localhost", "password": "pwd", "port": "9998", "readTimeout": "30000", "connectTimeout": "10000", "signal": "57.0", "user": "admin", "node_id": "node_id_1" }, "node_id_2": { "in_the_cluster": "1", "active_signal": "1", "signal_last_time": "2019-06-30 09:35:45", "user_key": "pwd", "error": "", "cluster_id": "cluster_id_1", "hostname": "localhost", "password": "pwd", "port": "9998", "readTimeout": "30000", "connectTimeout": "10000", "signal": "57.5", "user": "admin", "node_id": "node_id_2" } }
admin
cluster nodes show_txt "cluster_id_1"
mentdb
IN_THE_CLUSTER / ACTIVE_SIGNAL / CLUSTER_ID / NODE_ID / USER@HOSTNAME:PORT / CONNECT_TIMEOUT / READ_TIMEOUT / SIGNAL / LAST_TIME / NB_CMD : ERROR 1 / 0 / cluster_id_1 / node_id_3 / admin@localhost:9998 / 10000 / 30000 / 0.2 / 2019-07-01 09:41:07 / 11 : 1 / 0 / cluster_id_1 / node_id_4 / admin@localhost:9998 / 10000 / 30000 / 35.0 / 2019-07-01 09:41:07 / 0 : 1 / 0 / cluster_id_1 / node_id_1 / admin@localhost:9998 / 10000 / 30000 / 58.8 / 2019-07-01 09:41:07 / 0 : 1 / 0 / cluster_id_1 / node_id_2 / admin@localhost:9998 / 10000 / 30000 / 57.0 / 2019-07-01 09:41:07 / 0 :
admin
cluster node delete "cluster_id_1" "node_id_1";
mentdb
Node deleted with successful.
admin
cluster node expels "cluster_id_1" "node_id_1" "error message ...";
mentdb
1
admin
-> "[local_var1]" "data1"; -> "[local_var2]" "data2"; include "cluster.1n.hot.exe" "[cluster_id]" "cluster_id_1" "[method]" "LB_50_50|SIGNAL" "[tunnel_id]" "tunnel_id_1" "[request]" (concat "-> \"[remote_var1]\" " (mql encode [local_var1]) ";" "-> \"[remote_var2]\" " (mql encode [local_var2]) ";" (mql { concat [remote_var1] ":" [remote_var2] }) ) ;
mentdb
data1:data2
admin
-> "[local_var1]" "data1"; -> "[local_var2]" "data2"; execute "cluster.1n.exe" "[cluster_id]" "cluster_id_1" "[method]" "LB_50_50|SIGNAL" "[request]" (concat "-> \"[remote_var1]\" " (mql encode [local_var1]) ";" "-> \"[remote_var2]\" " (mql encode [local_var2]) ";" (mql { concat [remote_var1] ":" [remote_var2] }) ) ;
mentdb
data1:data2
admin
cluster node reinstate "cluster_id_1" "node_id_1"
mentdb
1
admin
in editor {cluster node generate_set "cluster_id_1"};
mentdb
cluster node set "cluster_id_1" "node_id_3" "localhost" "9998" "admin" "pwd" "pwd" 10000 30000 true; cluster node set "cluster_id_1" "node_id_4" "localhost" "9998" "admin" "pwd" "pwd" 10000 30000 true; cluster node set "cluster_id_1" "node_id_1" "localhost" "9998" "admin" "pwd" "pwd" 10000 30000 true; cluster node set "cluster_id_1" "node_id_2" "localhost" "9998" "admin" "pwd" "pwd" 10000 30000 true;
admin
cluster node "cluster_id_1" "LB_50_50"
mentdb
{ "subTunnels": "[MQL_TO_REPLACE]", "hostname": "localhost", "password": "pwd", "cluster_id": "cluster_id_1", "port": "9998", "readTimeout": "30000", "connectTimeout": "10000", "type": "mentdb", "user": "admin", "cluster_method": "lb_50_50", "key": "pwd", "node_id": "node_id_3" }