Operation in Master Mode
A master is a FlowForce Server instance responsible for maintaining continuous service, tracking worker job status, and reporting execution outcomes.
For efficient load balancing, you can assign jobs to queues processed by workers, leaving the master to manage the service interface. If no workers are available, the master can be configured to handle the processing workload itself (see Queues).
A cluster can have only one master and an unlimited number of workers.
You can monitor and manage cluster activities on the Cluster Management page. For example, you can:
•View all active workers
•View any workers that attempted to join but did not confirm the security token
•Generate security tokens to authorize new workers
•Remove existing workers from the cluster
To view information about jobs executed by a cluster member, go to the Running Jobs section on the Home page.
Standalone operation vs master mode
A master instance functions like a standalone FlowForce Server instance, except that the master communicates with cluster workers to distribute and balance workloads.
Enable master mode
To enable master mode, follow the instructions below:
1.Open the FlowForce Server Setup page. Depending on your operating system, the instructions may vary:
2.On the Setup page, click the Configure Parameters button in the block of the server instance for which you want to enable master mode.
3.Navigate to the section FlowForce Server | Cluster.
4.Click the Master radio button.
5.Select the Enabled check box.
6.Specify the bind address and port where the master instance should listen. Note that this port must be different from the ports used by the FlowForce Server and FlowForce Web Server services.
You can then proceed to add workers to the cluster. Note that you will need to manually confirm the security token of each worker before it can join the cluster.