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.

Adding and Removing Hosts Dynamically<br />

Local resources<br />

for slave hosts<br />

Use <strong>LSF</strong>_LOCAL_RESOURCES in a localized lsf.conf to define instances of<br />

local resources residing on the slave host:<br />

◆ For numeric resources, defined name-value pairs:<br />

[resourcemap value*resource_name]<br />

◆<br />

For Boolean resources, the value will be the resource name in the form:<br />

[resource resource_name]<br />

When the slave host calls the master host to add itself, it also reports its local<br />

resources. The local resources to be added must be defined in lsf.shared.<br />

If the same resource is already defined in lsf.cluster.cluster_name as<br />

default or all, it cannot be added as a local resource. The shared resource<br />

overrides the local one.<br />

Resources must already be mapped to hosts in the ResourceMap section of<br />

lsf.cluster.cluster_name. If the ResourceMap section does not exist, local<br />

resources are not added.<br />

<strong>LSF</strong>_LOCAL_RESOURCES is usually set in the slave.config file during installation.<br />

If <strong>LSF</strong>_LOCAL_RESOURCES are already defined in a local lsf.conf on the slave host,<br />

lsfinstall does not add resources you define in <strong>LSF</strong>_LOCAL_RESOURCES in<br />

slave.config. You should not have duplicate <strong>LSF</strong>_LOCAL_RESOURCES entries in<br />

lsf.conf. If local resources are defined more than once, only the last definition is valid.<br />

lsadmin command<br />

Master failover<br />

mbatchd<br />

The lsadmin command is now able to run on a non-<strong>LSF</strong> host. Use<br />

lsadmin limstartup to start LIM on a newly added dynamic host.<br />

If the master LIM dies, the next master candidate will have the same knowledge<br />

as the master LIM about dynamically added hosts in the cluster.<br />

mbatchd gets host information from master LIM; when it detects that a host has<br />

been added or removed dynamically, mbatchd automatically reconfigures<br />

itself.<br />

After adding a batch host dynamically, you may have to wait a few moments for<br />

mbatchd to detect the host and reconfigure. Depending on system load, mbatchd<br />

may wait up to a maximum of 10 minutes before reconfiguring.<br />

Host configuration in lsb.hosts and lsb.queues<br />

For host configuration in lsb.hosts and lsb.queues to apply to dynamically<br />

added hosts, use default or all, as appropriate, to enable configuration to<br />

apply to all hosts in the cluster.<br />

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