如果从 install_dir\samples\ee-samples\failover\apps\mqfailover\docs\index.html 运行以下命令:
控制台 1
cd install_dir\samples\ee-samples asant start-mq-master-broker1 |
控制台 2
cd install_dir\samples\ee-samples asant start-mq-cluster-broker1 |
控制台 3
cd install_dir\samples\ee-samples asant start-mq-cluster-broker2 |
控制台 4
cd install_dir\samples\ee-samples asadmin start-domain domain1 |
如果已经为任何其他 Enterprise Edition 样例执行了 asant setup-one-machine-cluster-without-ha 或 asant setup-one-machine-cluster-with-ha,则请执行 asant configure-mq,否则请执行 asant setup-one-machine-cluster-and-configure-mq。在这种情况下,命令显示为成功:
start_nodeagent: [echo] Start the node agent cluster1-nodeagent [exec] Command start-node-agent executed successfully. |
但随后系统将无限期挂起。