Fair Share

Fair Share API functions via PyLoadL


SYNOPSIS


  #
  # Fair Share API
  #

  (rc, errObj) = ll_fair_share( FAIR_SHARE_RESET | FAIR_SHARE_SAVE, save_dir="", restore_file="")


DESCRIPTION

The LoadLeveler Fair Share API via PyLoadL has the following functions:

ll_fair_share

Function to set following function calls on a selected cluster or unselect a previous selected cluster.


  (rc, errObj) = ll_fair_share( operation, save_dir, restore_file )
  

Parameters

  1. operation

    Numeric : Specifies an intended operation on fair share scheduling with one of the following values:

    • FAIR_SHARE_RESET
      Indicates that fair share scheduling will be reset either to start from scratch again by erasing all previous historic data, or to start from a previously saved point by reading from a saved data file.
    • FAIR_SHARE_SAVE
      Indicates that a snapshop of the historic data for fair share scheduling will be saved to a file in a specified directory.
  2. save_dir

    String : Specifies the directory for saving a snapshot of the historic data for fair share scheduling. The directory should be initialized to NULL if not used. A valid directory writable by the central manager must be specified for the FAIR_SHARE_SAVE operation.

  3. restore_file

    String : ndicates that the previously saved file will be used in the FAIR_SHARE_RESET operation, if specified, to reset fair share scheduling to a known point. The file should be initialized to NULL if not used.


SEE ALSO

the LoadLeveler page the DataAccess page the Error Handling page

IBM LoadLeveler for AIX 5L: Using and Administering