PEGASUS-TC-CLIENT(1) | Pegasus Manual | PEGASUS-TC-CLIENT(1) |
NAME¶
pegasus-tc-client - A full featured generic client to handle adds, deletes and queries to the Transformation Catalog (TC).
SYNOPSIS¶
pegasus-tc-client [-Dproperty=value...] [-h] [-v] [-V]
OPERATION TRIGGERS [OPTIONS]
DESCRIPTION¶
The pegasus-tc-client command is a generic client that performs the three basic operation of adding, deleting and querying of any Transformation Catalog implemented to the TC API. The client implements all the operations supported by the TC API. It is up to the TC implementation whether they support all operations or modes.
The following 3 operations are supported by the pegasus-tc-client. One of these operations have to be specified to run the client.
ADD
DELETE
QUERY
See the TRIGGERS and VALID COMBINATIONS section for more details.
OPERATIONS¶
To select one of the 3 operations.
-a, --add
-d, --delete
-q, --query
TRIGGERS¶
Triggers modify the behavior of an OPERATION. For example, if you want to perform a bulk operation you would use a BULK Trigger or if you want to perform an operation on a Logical Transformation then you would use the LFN Trigger.
The following 7 Triggers are available. See the VALID COMBINATIONS section for the correct grouping and usage.
-B
-L
-P
-R
-E
-T
-S
OPTIONS¶
The following options are applicable for all the operations.
-Dproperty=value
-l, --lfn logical
-p, --pfn physical
-t, --type type
-r, --resource resource
-e, --profile profiles
-s, --system systeminfo
-v, --verbose
-V, --version
-h, --help
OTHER OPTIONS¶
-o, --oldformat
-c, --conf
VALID COMBINATIONS¶
The following are valid combinations of OPERATIONS, TRIGGERS, OPTIONS for the pegasus-tc-client.
ADD¶
Add TC Entry
Adds a single entry into the transformation catalog.
Add PFN Profile
Adds profiles to a specified physical transformation on a given resource and of a given type.
Add LFN Profile
Adds profiles to a specified logical transformation.
Add Bulk Entries
Adds entries in bulk mode by supplying a file containing the entries. The format of the file contains 6 columns. E.g.
#RESOURCE LFN PFN TYPE SYSINFO PROFILES # isi NS::NAME:VER /bin/date INSTALLED ARCH::OS:OSVERS:GLIBC NS::KEY=VALUE,KEY=VALUE;NS2::KEY=VALUE,KEY=VALUE
DELETE¶
Delete all TC
Deletes the entire contents of the TC.
WARNING : USE WITH CAUTION.
Delete by LFN
Deletes entries from the TC for a particular logical transformation and additionally a resource and or type.
Delete by PFN
Deletes entries from the TC for a given logical and physical transformation and additionally on a particular resource and or of a particular type.
Delete by Type
Deletes entries from TC of a specific type and/or on a specific resource.
Delete by Resource
Deletes the entries from the TC on a particular resource.
Delete by SysInfo
Deletes the entries from the TC for a particular system information type.
Delete Pfn Profile
Deletes all or specific profiles associated with a physical transformation.
Delete Lfn Profile
Deletes all or specific profiles associated with a logical transformation.
QUERY¶
Query Bulk
Queries for all the contents of the TC. It produces a file format TC which can be added to another TC using the bulk option.
Query LFN
Queries the TC for logical transformation and/or on a particular resource and/or of a particular type.
Query PFN
Queries the TC for physical transformations for a give logical transformation and/or on a particular resource and/or of a particular type.
Query Resource
Queries the TC for resources that are registered and/or resources registered for a specific type of transformation.
Query LFN Profile
Queries for profiles associated with a particular logical transformation
Query Pfn Profile
Queries for profiles associated with a particular physical transformation
PROPERTIES¶
These are the properties you will need to set to use either the File or Database TC.
For more details please check the $PEGASUS_HOME/etc/sample.properties file.
pegasus.catalog.transformation
pegasus.catalog.transformation.file
FILES¶
$PEGASUS_HOME/var/tc.data
$PEGASUS_HOME/etc/properties
pegasus.jar
ENVIRONMENT VARIABLES¶
PEGASUS_HOME
JAVA_HOME
CLASSPATH
AUTHORS¶
Gaurang Mehta <gmehta at isi dot edu>
Karan Vahi <vahi at isi dot edu>
Pegasus Team http://pegasus.isi.edu
11/09/2018 | Pegasus 4.4.0 |