edu.isi.pegasus.planner.catalog.site.classes
Class VORSSiteCatalogUtil
java.lang.Object
edu.isi.pegasus.planner.catalog.site.classes.VORSSiteCatalogUtil
public class VORSSiteCatalogUtil
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mLogger
private static LogManager mLogger
VORSSiteCatalogUtil
public VORSSiteCatalogUtil()
get_sites_in_grid
public static List<VORSVOInfo> get_sites_in_grid(String host,
String port,
String vo,
String grid)
get_sites_info
public static VORSSiteInfo get_sites_info(String host,
String port,
String vo,
String grid,
String id)
getLocalSiteInfo
public static VORSSiteInfo getLocalSiteInfo(String vo)
getGsiftp
public static String getGsiftp(VORSSiteInfo sitInfo)
createSiteCatalogEntry
public static SiteCatalogEntry createSiteCatalogEntry(VORSSiteInfo sitInfo)
- Creates a Pegasus
SiteCatalogEntry object from the information
in VORS.
The following coventions are followed for determining the worker node
and storage node directories.
head node shared -> data_loc
head node local -> tmp_loc
worker node shared ->data_loc
worker node local -> wntmp_loc
- Parameters:
sitInfo -
- Returns:
- SiteCatalogEntry object.
getSchedulerType
private static GridGateway.SCHEDULER_TYPE getSchedulerType(String url)
createHeadNodeFS
public static HeadNodeFS createHeadNodeFS(VORSSiteInfo sitInfo)
- Creates an object describing the head node filesystem.
The following conventions are followed.
shared:
scratch data_loc
storage data_loc
local:
scratch tmp_loc
storage tmp_loc
- Returns:
- the HeadNodeFS
createWorkerNodeFS
public static WorkerNodeFS createWorkerNodeFS(VORSSiteInfo sitInfo)
- Creates an object describing the worker node filesystem.
The following conventions are followed.
shared:
scratch data
storage data
local:
scratch wntmp
storage wntmp
- Returns:
- the WorkerNodeFS
Copyright © 2011 The University of Southern California. All Rights Reserved.