Platform LSF Administration Guide Version 6.2
Order String
Administering Platform LSF
268
Order String
The order string allows the selected hosts to be sorted according to the values of
resources. The values of
r15s, r1m, and r15m used for sorting are the normalized load
indices returned by
lsload -N.
The order string is used for host sorting and selection. The ordering begins with the
rightmost index in the order string and proceeds from right to left. The hosts are sorted
into order based on each load index, and if more hosts are available than were requested,
the LIM drops the least desirable hosts according to that index. The remaining hosts are
then sorted by the next index.
After the hosts are sorted by the leftmost index in the order string, the final phase of
sorting orders the hosts according to their status, with hosts that are currently not
available for load sharing (that is, not in the
ok state) listed at the end.
Because the hosts are sorted again for each load index, only the host status and the
leftmost index in the order string actually affect the order in which hosts are listed. The
other indices are only used to drop undesirable hosts from the list.
When sorting is done on each index, the direction in which the hosts are sorted
(increasing vs. decreasing values) is determined by the default order returned by
lsinfo
for that index. This direction is chosen such that after sorting, by default, the hosts are
ordered from best to worst on that index.
Syntax
[
-
]
resource_name
[
:
[
-
]
resource_name
]...
You can specify any built-in or external load index.
When an index name is preceded by a minus sign ‘-’, the sorting order is reversed so that
hosts are ordered from worst to best on that index.
Default
The default sorting order is r15s:pg (except for lslogin(1): ls:r1m).
Example
swp:r1m:tmp:r15s