[ 
https://issues.apache.org/jira/browse/UIMA-6031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16856026#comment-16856026
 ] 

Lou DeGenaro commented on UIMA-6031:
------------------------------------

Proposed new syntax:

./ducc_rsync -h
Merging 
/home/ducc/install/ducc/apache-uima-ducc-3.0.0/resources/default.ducc.properties
 with 
/home/ducc/install/ducc/apache-uima-ducc-3.0.0/resources/site.ducc.properties 
into /home/ducc/install/ducc/apache-uima-ducc-3.0.0/resources/ducc.properties
usage: ducc_rsync [-h] [--head-nodes HEAD_NODES] [--agent-nodes AGENT_NODES]
 [--head-dirs HEAD_DIRS] [--agent-dirs AGENT_DIRS] [--debug]
 [--quiet]

optional arguments:
 -h, --help show this help message and exit
 --head-nodes HEAD_NODES
 Blank separated list of head nodes to synchronize,
 default:"None"; specify "all" for ducc-
 master-2.sl.cloud9.ibm.com ducc-
 master-3.sl.cloud9.ibm.com
 --agent-nodes AGENT_NODES
 Blank separated list of agent nodes to synchronize,
 default:"None"; specify "all" for ducc-
 master-2.sl.cloud9.ibm.com ducc-
 master-3.sl.cloud9.ibm.com ducc-
 worker-801.sl.cloud9.ibm.com ducc-
 worker-802.sl.cloud9.ibm.com
 --head-dirs HEAD_DIRS
 Blank separated list of head directories to
 synchronize, default="admin apache-uima bin cassandra-
 server cron docs duccling examples lib webserver
 resources resources.private"
 --agent-dirs AGENT_DIRS
 Blank separated list of agent directories to
 synchronize, default="admin apache-uima bin cron docs
 duccling examples lib resources resources.private"
 --debug Display debugging messages.
 --quiet Suppress informational messages.

Purpose: synchronize DUCC directory(s) from present node to other head & agent 
nodes.

 

> ducc_rsync options could be more useful
> ---------------------------------------
>
>                 Key: UIMA-6031
>                 URL: https://issues.apache.org/jira/browse/UIMA-6031
>             Project: UIMA
>          Issue Type: Improvement
>          Components: DUCC
>    Affects Versions: 3.0.0-Ducc
>            Reporter: Eddie Epstein
>            Assignee: Lou DeGenaro
>            Priority: Major
>             Fix For: 3.0.1-Ducc
>
>
> ducc_rsync is used to copy/sync parts of ducc_runtime from one machine to 
> another. It currently requires the user to specify the list of directories to 
> sync. More useful would be options for the type of target machine: a worker 
> machine or a secondary head node.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to