25.06.2015 Views

Administering Platform LSF - SAS

Administering Platform LSF - SAS

Administering Platform LSF - SAS

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Order String<br />

Order String<br />

Syntax<br />

Default<br />

Example<br />

The order string allows the selected hosts to be sorted according to the values<br />

of resources. The values of r15s, r1m, and r15m used for sorting are the<br />

normalized load indices returned by lsload -N.<br />

The order string is used for host sorting and selection. The ordering begins<br />

with the rightmost index in the order string and proceeds from right to left. The<br />

hosts are sorted into order based on each load index, and if more hosts are<br />

available than were requested, the LIM drops the least desirable hosts<br />

according to that index. The remaining hosts are then sorted by the next index.<br />

After the hosts are sorted by the leftmost index in the order string, the final<br />

phase of sorting orders the hosts according to their status, with hosts that are<br />

currently not available for load sharing (that is, not in the ok state) listed at the<br />

end.<br />

Because the hosts are sorted again for each load index, only the host status<br />

and the leftmost index in the order string actually affect the order in which<br />

hosts are listed. The other indices are only used to drop undesirable hosts from<br />

the list.<br />

When sorting is done on each index, the direction in which the hosts are sorted<br />

(increasing vs. decreasing values) is determined by the default order returned<br />

by lsinfo for that index. This direction is chosen such that after sorting, by<br />

default, the hosts are ordered from best to worst on that index.<br />

[-]resource_name [:[-]resource_name]...<br />

You can specify any built-in or external load index.<br />

When an index name is preceded by a minus sign ‘-’, the sorting order is<br />

reversed so that hosts are ordered from worst to best on that index.<br />

The default sorting order is r15s:pg (except for lslogin(1): ls:r1m).<br />

swp:r1m:tmp:r15s<br />

194<br />

<strong>Administering</strong> <strong>Platform</strong> <strong>LSF</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!