lsb_liveconfig
Updates LSF configuration according to the parameter specified.lsb_liveconfig dynamically changes LSF configuration without daemons restarting, and without impacting regular LSF operations. One LSF component (object) with one operation (action) is updated at a time. The update persists in configuration files that are the merge between original configuration files and live reconfig changes.
#include <lsf/lsbatch.h>
int lsb_liveconfig(LiveConfReq *liveReq, char **reply)
Data Structures: Define Statements:
- Parameters:
*liveReq The request which specifies the configuration update information. **reply The error messages from mbatchd. Errors:
- Returns:
- int: 0
Function was successful.
lsberrno is LSBE_NO_ERROR.int: n, (0<n<255)
Function failed.
lsberrno is LSBE_LIVECONF_MBD_RETERR. The request was partially accepted, where n is the number of failed parts and a detailed error message in reply gives failure reasons.int: -1
Function failed.
lsberrno is LSBE_LIVECONF_MBD_REJECT. The request was entirely rejected. A detailed error message in reply gives failure reasons.Equivalent line commands:
- If the request fails, lsberrno is set to indicate the error and reply gives the detailed error messages.
Files:
- bconf
- lsf.conf
- See also:
- none
Date Modified: 16 Jul 2014
Terms of Use
Copyright © 1994-2014 International Business Machines Corp.
US Government Users Restricted Rights - Use, duplication or disclosure
restricted by GSA ADP Schedule Contract with IBM Corp.