edmanage - File Transfer Management tool
edmanage [-l linkname] [-r receiver] [-s source_node ] [-p port ] [-w password] -G|P cmd -f filename {-o listingfile -S getdirstattusfile] >
cmd is one of :
-P: Put configuration file cfgfilename on the remote machine
-G: Get remote configuration from hostname and put it in cfgfilename
-G: Can also be used to get Recursive listing(D) or simple listing of files in a directory (L)
Where cmd is one of the following:
You can use -o outfilename to redirect output of D and L to a file. Outfilename will not be overwritten
-l linkname: linkname is the linkname. It is required when cmd is equal to F.
-r receivername:
This is the receiver hostname from/to which we need to connect to get or put a configuration file or from which to restore the data.
-p port:
This is the data distribution port.
-w password:
This is the password. We will normally default to using what is in etc/edpasswd.
-G cmd:
Get what is specified by cmd. cmd can be one of the parameters specified in the cmd section above.
-P cmd:
Put a configuration file on the remote server. cmd will specify the type of configuration to put.
Example: To get the schedule file: -G s -f /tmp/schedulefile
Example: To put the schedule file: -P s -f /tmp/newschedulefile
Example: To List the content of /home recursively: -G D -f /home -o /tmp/list.log
Example: Non recursive List of /home: -G L -f /home -o /tmp/list.log
Example: To restore /home/foo: -l l2 -r u32 -G F -f /home/foo -o /home2/restore -S /tmp/restore_status.log
Both the link and the receiver are required for restore (-G F)
$ED_BASE_DIR/etc/eddist.cfg
$ED_BASE_DIR/etc/edpasswd
$ED_BASE_DIR/etc/edscheduler.cfg
$ED_BASE_DIR/etc/excludes
$ED_BASE_DIR/etc/includes
$ED_BASE_DIR/etc/edrealtime.cfg
edintro(8)
edresume(8)
edpause(8)
edstat(8)
edq(8)
eddist.cfg(5)
The status is 0 on success.
ED_BASE_DIR: This is the name of the top directory where the content distribution software is installed. This directory will also contain various configuration, journals and log files.
ED_COLLECTOR_PORT: This environment variable is set to the port on which EnduraData eddist server listens to management commands. Set this environment variable to the port on which to listen for commands.
ED_DISTRIBUTION_PORT: This environment variable is set to the port on which EnduraData eddist server listens to data distribution services. Set this environment variable to the port on which to listen for data distribution connections.
ED_GET_ANY_PATH: This environment variable when set, lets the server know that we can list and retrieve files not under $ED_BASE_DIR/etc or storepath. It is set to 0 by default.
For more information about how to configure or manage your file replication and transfer contact <support@enduradata.com>