Arc migration
The arcmigrate command is used for migrating queued jobs from one cluster to another cluster. Currently migration only works between clusters running the A-REX BES interface.
arcmigrate [options] [jobid ...]
select one or more computing elements: name can be an alias for a single CE, a group of CEs or a URL
select one or more computing elements for the new jobs: name can be an alias for a single CE, a group of CEs or a URL
select one or more registries: name can be an alias for a single registry, a group of registries or a URL
skip jobs which are on a computing element with a given URL
skip the service with the given URL during service discovery
only use this interface for submitting (e.g. org.nordugrid.gridftpjob, org.ogf.glue.emies.activitycreation, org.ogf.bes)
the computing element specified by URL at the command line should be queried using this information interface (possible options: org.nordugrid.ldapng, org.nordugrid.ldapglue2, org.nordugrid.wsrfglue2, org.ogf.glue.emies.resourceinfo)
keep the files on the server (do not clean)
the file storing information about active jobs (default ~/.arc/jobs.xml)
a file containing a list of jobIDs
migration will be attempted all jobs specified in the jobfile
the IDs of the submitted jobs will be appended to this file
a file containing a list of jobIDs
force migration, ignore kill failure
list the available plugins
timeout in seconds (default 20)
configuration file (default ~/.arc/client.conf)
FATAL, ERROR, WARNING, INFO, VERBOSE or DEBUG
selected broker: Random (default), FastestQueue or custom
print version information
print help
id of a queued job which should be migrated
The arcmigrate command is used for migrating jobs which are queuing in the batch system. Currently only jobs having status Queuing can be migrated, and the command is only supported for migration between clusters running the A-REX BES interface.
The --qluster option can be used to force the job to be migrated to a particular cluster, or to reject migration to a particular cluster. The --qluster option can be repeated several times. The name of the cluster should be given in the format
[ARC1:][protocol://]hostname[:port]/path
Examples:
will migrate the job to example.org.
will migrate the job to some other cluster than interop.grid.niif.hu.
Jobs to be migrated can be specified in serveral ways. Job IDs can be specified as arguments on the command line, clusters holding queued jobs can be specified with the --cluster option, and to migrate all jobs in the jobfile the --all option can be given.
If the job(s) is successfully migrated a jobid(s) is printed to stdout. This jobid uniquely identifies the job while it is being executed.
Information about active jobs, including the old job id of the migrated job, are stored in a local joblist file. By using the --joblist option a customized location for this file can be defined. If this option is used when migrating a job using arcmigrate, the same joblist file must be specified using the --joblist option for all subsequent handling of the job using arcstat(1), arcget(1), etc.
The arcmigrate command locates the available clusters by querying information index servers. Which servers to query can be specified by giving the --index option to the command. The name of the index server should be given in the format
Flavor:protocol://hostname[:port]/path
Example:
use the NorduGrid index at index1.nordugrid.org
do not use the Sweden index at grid.tsl.uu.se
~/.arc/client.conf
Some options can be given default values by specifying them in the ARC client configuration file. By using the --conffile option a different configuration file can be used than the default.
~/.arc/jobs.xml
This a local list of the user's active jobs. When a job is successfully migrated the old jobid is removed and the new is added to this list. This list is used as the list of all active jobs when the user specifies the --all option to the various NorduGrid ARC user interface commands. By using the --joblist option a different file can be used than the default.
X509_USER_PROXY
The location of the user's Grid proxy file. Shouldn't be set unless the proxy is in a non-standard location.
ARC_LOCATION
The location where ARC is installed can be specified by this variable. If not specified the install location will be determined from the path to the command being executed, and if this fails a WARNING will be given stating the location which will be used.
ARC_PLUGIN_PATH
The location of ARC plugins can be specified by this variable. Multiple locations can be specified by separating them by : (; in Windows). The default location is $ARC_LOCATION/lib/arc (nbsp;in Windows).
APACHE LICENSE Version 2.0
ARC software is developed by the NorduGrid Collaboration (http://www.nordugrid.org), please consult the AUTHORS file distributed with ARC. Please report bugs and feature requests to http://bugzilla.nordugrid.org