FPolicy supports load sharing among different servers registered for one policy. FPolicy allows more than one server to register for one policy. These servers can register as primary or secondary servers.
When more than one FPolicy server is registered to the storage system as a primary server, all FPolicy notifications are shared equally among the registered FPolicy servers. The notifications are sent out as per the load sharing of all the connected FPolicy servers.
If no primary server is available, the notifications are shared among the secondary servers. Once the primary server is available, the requests are sent to the primary server and not to the secondary server.
If any one of the FPolicy servers hits the limit of maximum outstanding requests, currently 50, the notification is redirected to the other active servers. When all the registered servers reach this limit of maximum outstanding requests, all notifications are queued in the throttle queue.
Servers are configured based on feature types. For example, pass through read, file size, and owner are server-based features. These features need to be enabled on specific servers. However, features like notification of permission changes, inode to file path and offline bit are policy-wide features. That is, when they are enabled on one policy, the feature gets updated to all the FPolicy servers using the policy.
The limitation of multiple server configuration is that it cannot distinguish between slow and fast responding servers. Slow responding servers can reduce the performance of the entire system.
When an FPolicy server is connected, this feature is enabled.