Windows 플랫폼에서 mqfailover 명령을 사용하려면 Ctrl+C 키를 눌러 중단된 프로세스를 종료해야 합니다. setup-one-machine-cluster 프로세스를 다시 실행해야 합니다.
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. |
그러나 그런 다음에 시스템이 중단됩니다.
없습니다. 이 문제는 Windows에서 이 ant 대상을 사용하는 모든 Enterprise Edition 샘플에 비슷한 영향을 미칩니다. 해결 방법은 Ctrl+C를 눌러 중단된 프로세스를 끝낸 다음 다시 실행하는 것입니다.