public class VORSSiteCatalogUtil extends Object
Modifier and Type | Field and Description |
---|---|
private static LogManager |
mLogger |
Constructor and Description |
---|
VORSSiteCatalogUtil() |
Modifier and Type | Method and Description |
---|---|
static HeadNodeFS |
createHeadNodeFS(VORSSiteInfo sitInfo)
Creates an object describing the head node filesystem.
|
static SiteCatalogEntry |
createSiteCatalogEntry(VORSSiteInfo sitInfo)
Creates a Pegasus
SiteCatalogEntry object from the information
in VORS. |
static WorkerNodeFS |
createWorkerNodeFS(VORSSiteInfo sitInfo)
Creates an object describing the worker node filesystem.
|
static List<VORSVOInfo> |
get_sites_in_grid(String host,
String port,
String vo,
String grid) |
static VORSSiteInfo |
get_sites_info(String host,
String port,
String vo,
String grid,
String id) |
static String |
getGsiftp(VORSSiteInfo sitInfo) |
static VORSSiteInfo |
getLocalSiteInfo(String vo) |
private static GridGateway.SCHEDULER_TYPE |
getSchedulerType(String url) |
private static LogManager mLogger
public static List<VORSVOInfo> get_sites_in_grid(String host, String port, String vo, String grid)
public static VORSSiteInfo get_sites_info(String host, String port, String vo, String grid, String id)
public static VORSSiteInfo getLocalSiteInfo(String vo)
public static String getGsiftp(VORSSiteInfo sitInfo)
public static SiteCatalogEntry createSiteCatalogEntry(VORSSiteInfo sitInfo)
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
sitInfo
- private static GridGateway.SCHEDULER_TYPE getSchedulerType(String url)
public static HeadNodeFS createHeadNodeFS(VORSSiteInfo sitInfo)
shared: scratch data_loc storage data_loc local: scratch tmp_loc storage tmp_loc
public static WorkerNodeFS createWorkerNodeFS(VORSSiteInfo sitInfo)
shared: scratch data storage data local: scratch wntmp storage wntmp
Copyright © 2011 The University of Southern California. All Rights Reserved.