edu.isi.pegasus.planner.catalog.site.impl.myosg.util
Class MYOSGSiteCatalogUtil
java.lang.Object
edu.isi.pegasus.planner.catalog.site.impl.myosg.util.MYOSGSiteCatalogUtil
public class MYOSGSiteCatalogUtil
- extends Object
Utility class for converting the Facade object to SiteCatalogEntry object
- Author:
- Pt
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mLogger
private static LogManager mLogger
MYOSGSiteCatalogUtil
public MYOSGSiteCatalogUtil()
getGsiftp
public static String getGsiftp(MYOSGSiteInfoFacade sitInfo)
createSiteCatalogEntry
public static SiteCatalogEntry createSiteCatalogEntry(MYOSGSiteInfoFacade 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(MYOSGSiteInfoFacade 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(MYOSGSiteInfoFacade 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.