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
- LSB_GPD_PORT
- The
gpolicyddaemon 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
gpolicyddaemon 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 thegpolicyddaemon. To configure the management host to start thegpolicyddaemon, specify a cluster name for the LSB_GPD_CLUSTER parameter within the lsf.conf file. If thegpolicyddaemon 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.
Configuring global policies
- Configure the
GlobalFairsharesection for global fair share policies. - Configuring the
Limitsection for global limit policies. - Configure the
Resourcesection for global resource policies.
After making changes to the lsb.globalpolices file, run badmin gpdrestart to reconfigure the global policy daemon and for the changes to take effect.