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.

Load Sharing Interactive Sessions<br />

Load Sharing Interactive Sessions<br />

There are different ways to use <strong>LSF</strong> to start an interactive session on the best<br />

available host.<br />

Logging on to the least loaded host<br />

To log on to the least loaded host, use the lslogin command.<br />

When you use lslogin, <strong>LSF</strong> automatically chooses the best host and does an<br />

rlogin to that host.<br />

With no argument, lslogin picks a host that is lightly loaded in CPU, has few<br />

login sessions, and whose binary is compatible with the current host.<br />

Logging on to a host with specific resources<br />

If you want to log on a host that meets specific resource requirements, use the<br />

lslogin -R res_req option.<br />

% lslogin -R "solaris order[ls:cpu]"<br />

This command opens a remote login to a host that has the sunos resource, few<br />

other users logged in, and a low CPU load level. This is equivalent to using<br />

lsplace to find the best host and then using rlogin to log in to that host:<br />

% rlogin 'lsplace -R "sunos order[ls:cpu]"'<br />

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