5 Deploying a Connect Messaging Cluster |
When the Install Status changes to Installed, the installation is complete. You can then start the deployment by clicking the Activate Deployment command in the command menu at the top of the page.
When the following page appears, click the Apply Deployment button to initiate the deployment:
Once you click Apply Deployment, the UI will describe how to complete the deployment. On UNIX, you need to run prepare.sh as root on each node. On Windows, you need to run prepare.bat as an Administrator on each node.
At a command prompt page as shown below, cd to the kc directory.
Type in the command sh install/prepare.sh and press the Enter key.
When the script executes, it will provide the information in the following page:
When all machines are prepared, go back to the browser and click the Done button.
The image below shows the Machines tab of the current deployment. This page enables you to manage the flush status of the deployment, and to stop or start selected nodes. It also allows you to flush the message content caches on outside nodes.
Flush Status: the state of a Connect deployment is stored in the database and in storage files. Each storage files represents a log of activity on the outside nodes. The data in the storage files are eventually copied to the database. When the deployment is in Flush Enable status, the system will halt operations which results in no new information being created in storage files. In the meantime, existing storage files are copied to the database until the system reaches quiescence. Flush should be enabled, and the system should be quiesced, before shutting down nodes or performing upgrades.
To quiesce a deployment, click the Flush Status Enable button and wait for the Flush Status to display Complete. To restart operations, click the Flush Status Disable button.
To start Connect on a node, mouse over the Actions menu for the node and click the Start command. The node may be stopped in the same way.
It will take a few minutes for the machines to start running. You can click the Refresh command in the Commands menu periodically to verify the Status. Once all the machines are running, the Status will change as shown below, and the update process is completed.
Once the nodes are started, you can use the Monitor tab to track system activity in the deployment.
Congratulations, you have successfully completed the deployment.