License Scheduling
Overview
fsched provides license server monitoring and license allocation management for the current cluster. When a license query script exists, fsched automatically monitors license usage changes and adjusts the number of licenses available to jobs in real time, ensuring licenses are allocated correctly during scheduling.
warning
- Enabling license scheduling affects job scheduling and must be configured carefully by administrators.
tip
- Ensure network connectivity between the cluster head node and the license server.
- The license query script is uploaded to the cluster head node. The fixed path and file name must be
/etc/fastone/license_query, and the script output format must follow the specified format. See >>> License Query Script Output Format. - Because fsched converts license names and server names to lowercase, users must submit license names and server names in lowercase when submitting jobs.
- If the license query script uses the license server client tool
lmstat, you must add the license server domain name to/etc/hostson the head node first.
Configuration
License scheduling provides two configuration tools for administrators:
- License Allocation management: manage current cluster license allocations to limit the maximum number of licenses the cluster can use, using the
sacctmgrresource command. - License Sync management: manage synchronization of license usage.