25.06.2015 Views

Administering Platform LSF - SAS

Administering Platform LSF - SAS

Administering Platform LSF - SAS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

External Load Indices and ELIM<br />

Begin ResourceMap<br />

RESOURCENAME<br />

LOCATION<br />

myrsc<br />

[hostA]<br />

End ResourceMap<br />

6 Reconfigure <strong>LSF</strong> with the commands:<br />

❖ lsadmin reconfig<br />

❖ badmin mbdrestart<br />

7 Display the resource with the command lsload -l. You should be able<br />

to see the new resource and value:<br />

HOST_NAME status r15s r1m r15m ut pg io ls it tmp swp mem myrsc<br />

hostA ok 0.4 0.4 0.4 0% 0.0 0 22 0 24M 26M 6M 2<br />

Additional<br />

examples<br />

Debugging an ELIM<br />

Example code for an ELIM is included in the <strong>LSF</strong>_MISC/examples directory.<br />

The elim.c file is an ELIM written in C. You can modify this example to collect<br />

the load indices you want.<br />

Set the parameter <strong>LSF</strong>_ELIM_DEBUG=y in the Parameters section of<br />

lsf.cluster.cluster_name to log all load information received by LIM<br />

from the ELIM in the LIM log file.<br />

Set the parameter <strong>LSF</strong>_ELIM_BLOCKTIME=seconds in the Parameters section<br />

of lsf.cluster.cluster_name to configure how long LIM waits before<br />

restarting the ELIM.<br />

Use the parameter <strong>LSF</strong>_ELIM_RESTARTS=integer in the Parameters section<br />

of lsf.cluster.cluster_name to limit the number of times an ELIM can<br />

be restarted.<br />

See the <strong>Platform</strong> <strong>LSF</strong> Reference for more details on these parameters.<br />

162<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!