Platform LSF Reference Version 6.2

SharedResourceExport Section
Platform LSF Reference
450
SharedResourceExport Section
Optional. Requires HostExport section. Defines an export policy for a shared resource.
Defines how much of the shared resource is exported, and the distribution among the
consumers.
The shared resource must be available on hosts defined in the HostExport sections.
Example SharedResourceExport section
Begin SharedResourceExport
NAME= AppLicense
NINSTANCES= 10
DISTRIBUTION= ([C1, 30] [C2, 70])
End SharedResourceExport
SharedResourceExport section structure
All parameters are required.
NAME
Syntax
NAME=
shared_resource_name
Description
Shared resource to export. This resource must be available on the hosts that are
exported to the specified clusters; you cannot export resources without hosts.
NINSTANCES
Syntax
NINSTANCES=
integer
Description
Maximum quantity of shared resource to export. If the total number available is less than
the requested amount, LSF exports all that are available.
DISTRIBUTION
Syntax
DISTRIBUTION=([
cluster_name, number_shares]...)
Description
Specifies how the exported resources are distributed among consumer clusters.
The syntax for the distribution list is a series of share assignments. The syntax of each
share assignment is the cluster name, a comma, and the number of shares, all enclosed
in square brackets, as shown. Use a space to separate multiple share assignments.
Enclose the full distribution list in a set of round brackets.
cluster_name
Specify the name of a cluster allowed to use the exported resources.
number_shares
Specify a positive integer representing the number of shares of exported resources
assigned to the cluster.
The number of shares assigned to a cluster is only meaningful when you compare it to
the number assigned to other clusters, or to the total number. The total number of shares
is the sum of all the shares assigned in each share assignment.