Global policy daemon

The gpolicyd daemon is controls global policy management across clusters.

About the gpolicyd daemon

The LSF global fair share, global limits, and global resources policies use the gpolicyd daemon within a multicluster environment (whereas other LSF global features (such as License Scheduler, multicluster, and global IDs) do integrate cross-clusters, but do not rely on the gpolicyd daemon).

The gpolicyd daemon only runs in a multicluster environment. It runs on the management host of one cluster that is configured as the global policy daemon (GPD) cluster, as defined in the LSB_GPD_CLUSTER parameter.

Configuring the gpolicyd daemon

The global policy daemon collects and broadcasts resource usage across clusters. When a cluster schedules user jobs, it applies global resource usage to determine the scheduling order. The global policy daemon depends on two parameters within the lsf.conf file:
LSB_GPD_PORT
The gpolicyd daemon listens on the port you define in the LSB_GPD_PORT parameter within the lsf.conf file, and synchronizes data among clusters. For example, for global fair share, the daemon receives fair share loads from all clusters which participate in global fair share. The daemon can synchronize global fair share load for multiple clusters (at least 32), and then broadcasts remote fair share load to all clusters.
LSB_GPD_CLUSTER

The gpolicyd daemon only runs on the management host of one cluster that is regarded as the global policy daemon (GPD) cluster, and this host must be a UNIX host within a multicluster environment. Define the GPD cluster with this LSB_GPD_CLUSTER parameter. The sbatchd daemon on that management host then starts the gpolicyd daemon. To configure the management host to start the gpolicyddaemon, specify a cluster name for the LSB_GPD_CLUSTER parameter within the lsf.conf file. If the gpolicyd daemon stops for any reason, the sbatchd daemon restarts it.

Use the gpolicyd command to display global policy daemon information. The gpolicyd daemon reads the lsf.conf settings for environment information.

LSF

Configuring global policies

Configure global policies for multiple clusters using the lsb.globalpolices configuration file. This file contains multiple sections for different LSF global policies. Specifically:

After making changes to the lsb.globalpolices file, run badmin gpdrestart to reconfigure the global policy daemon and for the changes to take effect.