In addition to job slots and some other built-in resources, it is possible to export numeric shared resources (for example, representing software application licenses). The resource definitions in lsf.shared must be the same in both clusters.
Export policies for shared resources are defined in lsb.resources, after export policies for hosts. The configuration is different—shared resources are not exported per host.
When you export a shared resource to a consumer cluster, you must already have a host export policy that exports hosts to the same consumer cluster, and the shared resource must be available on one or more of those exported hosts. Otherwise, the export policy does not have any effect.
In lsb.resources, configure a resource export policy for each resource as shown:
Begin SharedResourceExportNAME = AppXNINSTANCES = 10DISTRIBUTION = ([C1, 30] [C2, 70])End SharedResourceExport
In each policy, you specify one shared numeric resource (here, a license for ApplicationX), the maximum number of these you want to export, and distribution, using the same syntax as a host export policy.
If some quantity of the resource is available, but not the full amount you configured, LSF exports as many instances of the resource as are available to the exported hosts.