Resource export
lsb.resources file
The lsb.resources file contains MultiCluster configuration information for the lease model, including the export policies which describe the hosts and resources that are exported, and the clusters that can use them.
You must reconfigure the cluster to make the configuration take effect.
Resources that can be exported
- Job slots
To export resources, you must always export job slots on hosts, so that the consumer cluster can start jobs on the borrowed hosts.
- Additional host-based resources
By default, all the jobs on a host compete for its resources. To help share resources fairly when a host’s job slots are divided among multiple clusters, you can export quantities of memory and swap space, also for the use of the consumer cluster.
- Shared resources
By default, shared resources are not exported. You can create a separate policy to export these resources.
Who can use exported resources
The export policy defines the consumers of exported resources. By default, resources that are exported can be used by the provider; this applies to job slots on a host and also to resources like memory.
With resource reclaim, exported job slots can be reclaimed by the provider if the consumer is not using them to run jobs. In this way, the provider can share in the use of the exported job slots.