17/Apr/2023 13:43:56 [DEBUG] (mcs_cli) -------------------------------------------------------------------------------- 17/Apr/2023 13:43:56 [DEBUG] (mcs_cli) Called "mcs cluster set api-key --key=6aa156e54afce9424e90f5b557637a65d55c623ed38b622f6d3c808858b1654f" 17/Apr/2023 13:43:56 [DEBUG] (mcs_cli) Cluster set API key command called. 17/Apr/2023 13:43:56 [DEBUG] (mcs_cli) No active nodes found, set API key into current CMAPI conf. 17/Apr/2023 13:43:56 [DEBUG] (mcs_cli) Setting new api key to "localhost". 17/Apr/2023 13:43:56 [DEBUG] (mcs_cli) Successfully set new api key to "localhost". 17/Apr/2023 13:43:56 [DEBUG] (mcs_cli) Successfully finished setting new API key to all nodes. 17/Apr/2023 13:43:56 [DEBUG] (mcs_cli) Command returned: {'timestamp': '2023-04-17 13:43:56.403679'} 17/Apr/2023 13:44:01 [DEBUG] (mcs_cli) -------------------------------------------------------------------------------- 17/Apr/2023 13:44:01 [DEBUG] (mcs_cli) Called "mcs cluster node add --node s1pm1" 17/Apr/2023 13:44:01 [DEBUG] (mcs_cli) Cluster add node command called. Adding node s1pm1. 17/Apr/2023 13:44:01 [DEBUG] (root) get_module_net_address Module 1 network address 127.0.0.1 17/Apr/2023 13:44:01 [INFO] (root) add_node(): replacing 127.0.0.1/localhost with 10.0.0.11/s1pm1 as this node's name. Be sure s1pm1 resolves to 10.0.0.11 on all other nodes in the cluster. 17/Apr/2023 13:44:01 [DEBUG] (root) get_module_net_address Module 1 network address 10.0.0.11 17/Apr/2023 13:44:05 [INFO] (root) Successfully pushed new config file to ['s1pm1'] 17/Apr/2023 13:44:05 [DEBUG] (mcs_cli) Successfully finished adding node s1pm1. 17/Apr/2023 13:44:05 [DEBUG] (mcs_cli) Command returned: [{'timestamp': '2023-04-17 13:44:01.651427', 'node_id': 's1pm1'}] 17/Apr/2023 13:44:05 [DEBUG] (mcs_cli) -------------------------------------------------------------------------------- 17/Apr/2023 13:44:05 [DEBUG] (mcs_cli) Called "mcs cluster node add --node s1pm2" 17/Apr/2023 13:44:05 [DEBUG] (mcs_cli) Cluster add node command called. Adding node s1pm2. 17/Apr/2023 13:44:05 [DEBUG] (root) Nothing to replace, DBRM_Controller/IPAddr isn't localhost. 17/Apr/2023 13:44:05 [INFO] (root) _add_Module_entries(): using ip address 10.0.0.12 and hostname s1pm2 17/Apr/2023 13:44:05 [INFO] (root) Waiting for Maxscale to choose the new repl master... 17/Apr/2023 13:44:05 [INFO] (root) The new replication master is s1pm1 17/Apr/2023 13:44:05 [INFO] (root) _move_primary_node(): dbroot 1 is assigned to ('s1pm1', '10.0.0.11') 17/Apr/2023 13:44:05 [DEBUG] (root) get_module_net_address Module 1 network address 10.0.0.11 17/Apr/2023 13:44:23 [INFO] (root) Successfully pushed new config file to ['s1pm2', 's1pm1'] 17/Apr/2023 13:44:23 [DEBUG] (mcs_cli) Successfully finished adding node s1pm2. 17/Apr/2023 13:44:23 [DEBUG] (mcs_cli) Command returned: [{'timestamp': '2023-04-17 13:44:05.231824', 'node_id': 's1pm2'}] 17/Apr/2023 13:44:23 [DEBUG] (mcs_cli) -------------------------------------------------------------------------------- 17/Apr/2023 13:44:23 [DEBUG] (mcs_cli) Called "mcs cluster node add --node s1pm3" 17/Apr/2023 13:44:23 [DEBUG] (mcs_cli) Cluster add node command called. Adding node s1pm3. 17/Apr/2023 13:44:23 [DEBUG] (root) Nothing to replace, DBRM_Controller/IPAddr isn't localhost. 17/Apr/2023 13:44:23 [INFO] (root) _add_Module_entries(): using ip address 10.0.0.13 and hostname s1pm3 17/Apr/2023 13:44:23 [INFO] (root) Waiting for Maxscale to choose the new repl master... 17/Apr/2023 13:44:23 [INFO] (root) The new replication master is s1pm1 17/Apr/2023 13:44:23 [INFO] (root) _move_primary_node(): dbroot 1 is assigned to ('s1pm1', '10.0.0.11') 17/Apr/2023 13:44:23 [DEBUG] (root) get_module_net_address Module 1 network address 10.0.0.11 17/Apr/2023 13:44:42 [INFO] (root) Successfully pushed new config file to ['s1pm3', 's1pm2', 's1pm1'] 17/Apr/2023 13:44:42 [DEBUG] (mcs_cli) Successfully finished adding node s1pm3. 17/Apr/2023 13:44:42 [DEBUG] (mcs_cli) Command returned: [{'timestamp': '2023-04-17 13:44:23.343571', 'node_id': 's1pm3'}] 17/Apr/2023 13:44:44 [DEBUG] (mcs_cli) -------------------------------------------------------------------------------- 17/Apr/2023 13:44:44 [DEBUG] (mcs_cli) Called "mcs cluster start" 17/Apr/2023 13:44:44 [DEBUG] (mcs_cli) Cluster start command called. Starting the cluster. 17/Apr/2023 13:44:44 [DEBUG] (root) get_module_net_address Module 1 network address 10.0.0.11 17/Apr/2023 13:45:03 [INFO] (root) Successfully pushed new config file to ['s1pm2', 's1pm3', 's1pm1'] 17/Apr/2023 13:45:03 [DEBUG] (mcs_cli) Successfully finished cluster start. 17/Apr/2023 13:45:03 [DEBUG] (mcs_cli) Command returned: {'timestamp': '2023-04-17 13:44:44.498377'} 17/Apr/2023 13:45:08 [DEBUG] (mcs_cli) -------------------------------------------------------------------------------- 17/Apr/2023 13:45:08 [DEBUG] (mcs_cli) Called "mcs cluster status" 17/Apr/2023 13:45:08 [DEBUG] (mcs_cli) Cluster status command called. Getting status. 17/Apr/2023 13:45:08 [DEBUG] (mcs_cli) Successfully finished getting cluster status. 17/Apr/2023 13:45:08 [DEBUG] (mcs_cli) Command returned: {'timestamp': '2023-04-17 13:45:08.692790', 's1pm1': {'timestamp': '2023-04-17 13:45:08.707301', 'uptime': 166, 'dbrm_mode': 'master', 'cluster_mode': 'readwrite', 'dbroots': ['1'], 'module_id': 1, 'services': [{'name': 'workernode', 'pid': 13081}, {'name': 'controllernode', 'pid': 13092}, {'name': 'PrimProc', 'pid': 13109}, {'name': 'WriteEngineServer', 'pid': 13152}, {'name': 'DMLProc', 'pid': 13161}, {'name': 'DDLProc', 'pid': 13191}]}, 's1pm2': {'timestamp': '2023-04-17 13:45:08.732983', 'uptime': 166, 'dbrm_mode': 'slave', 'cluster_mode': 'readonly', 'dbroots': ['2'], 'module_id': 2, 'services': [{'name': 'workernode', 'pid': 12198}, {'name': 'PrimProc', 'pid': 12220}, {'name': 'WriteEngineServer', 'pid': 12259}]}, 's1pm3': {'timestamp': '2023-04-17 13:45:08.757503', 'uptime': 167, 'dbrm_mode': 'slave', 'cluster_mode': 'readonly', 'dbroots': ['3'], 'module_id': 3, 'services': [{'name': 'workernode', 'pid': 11988}, {'name': 'PrimProc', 'pid': 12010}, {'name': 'WriteEngineServer', 'pid': 12052}]}, 'num_nodes': 3}