IBM

lsb_mig

Migrates a job from one host to another.

lsb_mig migrates a job from one host to another. Any program using this API must be setuid to root if LSF_AUTH is not defined in the lsf.conf file.

#include <lsf/lsbatch.h>

int lsb_mig(struct submig *mig, int *badHostIdx)

Parameters:
*mig The job to be migrated.
*badHostIdx If the call fails, (**askedHosts)[*badHostIdx] is not a host known to the LSF system.
Data Structures:
submig
Define Statements:
none
Returns:
int:0
The function was successful.

int:-1
Function failed.

Errors:
If the function fails, lsberrno is set to indicate the error and badHostIdx indicates which askedHost is not acceptable.
Equivalent line command:
none
Files:
${LSF_ENVDIR:-/etc}/lsf.conf
See also:
lsb_submit


     
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.