Visit Platform at http://www.platform.com

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: 28 Jun 2011
Platform Support: support@platform.com
Platform Information Development: doc@platform.com

Platform Computing. Accelerating Intelligence(TM).
Copyright © 1994-2011 Platform Computing Corporation. All rights reserved.