LSF_DYNAMIC_HOST_TIMEOUT
Defines how long LSF waits before automatically removing unavailable dynamic hosts from the cluster.
Syntax
- LSF_DYNAMIC_HOST_TIMEOUT=time_hours
- LSF_DYNAMIC_HOST_TIMEOUT=time_minutesm|M
- LSF_DYNAMIC_HOST_TIMEOUT="EXPIRY[time_minutesm|M] THRESHOLD[number] INTERVAL[time_minutesm|M]"(Additionally, as of Fix Pack 14, you can also use this syntax)
Description
- Prior to Fix Pack 14, , disable this feature and remove unwanted hosts from the hostcache file manually.
- Starting in Fix Pack 14, define the LSF_DYNAMIC_HOST_TIMEOUT parameter using the LSF_DYNAMIC_HOST_TIMEOUT="EXPIRY[time_minutesm|M] THRESHOLD[numberm|M] INTERVAL[time_minutesm|M]" syntax. Specify additional THRESHOLD and INTERVAL values based on the number of dynamic hosts in your cluster.
Use this parameter to specify how long LSF waits
before the management
host automatically removes unavailable dynamic hosts. Starting in Fix
Pack 14, you can mark these unavailable hosts using the lsadmin expire command;
then, LSF
removes these hosts based on this LSF_DYNAMIC_HOST_TIMEOUT settings. Each
time LSF
removes a dynamic host, mbatchd
automatically reconfigures itself.
Valid values
- The timeout value must be greater than or equal to ten minutes.
- Values below ten minutes are set to the minimum allowed value ten minutes; values above 100 hours are set to the maximum allowed value 100 hours.
- "EXPIRY[time_hours] or EXPIRY[time_minutesm|M]"
- The amount of time, in hours or minutes, that a host is kept as unavailable. After this time, it
is marked as expired and cleaned from the hostcache only, but kept in
MLIM
andmbatchd
memory. Expired hosts start to wait for cleanup if the THRESHOLD and INTERVAL options are specified.The default unit for the expiry time is in hours (for example, EXPIRY[60] indicates 60 hours). To specify time in minutes, specify m or M after the value (for example, EXPIRY[60m] indicates 60 minutes). Valid values are any number between 0 and 2147483647.
- "THRESHOLD[number]"
- When the number of expired dynamic hosts reaches this threshold,
MLIM
will remove them from memory, and thembatchd
daemon is reconfigured once, when it gets host information after hosts are removed. Valid values are any number between 1 and 2147483647. - "INTERVAL[time_hours] or INTERVAL[time_minutesm|M]"
- How often, in hours or minutes, that
MLIM
attempts to clean up expired dynamic hosts from its memory. Thembatchd
daemon is reconfigured once, when it gets host information after hosts are removed.The default unit for this interval is in hours (for example, INTERVAL[20] indicates every 20 hours). To specify time in minutes, specify m or M after the value (for example, INTERVAL[20m] indicates every 20 minutes). Valid values are any number between 0 and 2147483647.
Examples
LSF_DYNAMIC_HOST_TIMEOUT=15
LSF_DYNAMIC_HOST_TIMEOUT="EXPIRY[15] THRESHOLD[1]"
LSF_DYNAMIC_HOST_TIMEOUT="THRESHOLD[100]"
LSF_DYNAMIC_HOST_TIMEOUT="INTERVAL[15m]"
LSF_DYNAMIC_HOST_TIMEOUT="EXPIRY[15m] THRESHOLD[100]"
LSF_DYNAMIC_HOST_TIMEOUT="EXPIRY[15m] INTERVAL[1]"
LSF_DYNAMIC_HOST_TIMEOUT="THRESHOLD[100] INTERVAL[15m]"
LSF_DYNAMIC_HOST_TIMEOUT="EXPIRY[15m] THRESHOLD[100] INTERVAL[30m]"
EGO parameter
EGO_DYNAMIC_HOST_TIMEOUT
Default
Not defined. Unavailable hosts are never removed from the cluster.