Installation notes for EDpCloud File replication software and file transfer on UNIX like systems(Linux, Mac, Solaris, etc).

aRoot support tips

Abstract: EDpCloud file replication installation & configuration

Assuming you installed the Linux file sync and replication software under /usr/local/enduradata, your configuration files will be under /usr/local/enduradata/edpcloud/etc.

  1. Download the package edpcloud-version.tar.gz
  2. Uncompress the package
  3. cd enduradata_edpcloud
  4. ./install.sh  ( Use defaults)
  5.  Set up the environment:  .   /usr/local/enduradata/edpcloud/bin/enduradata_env
  6. Find the docs under /usr/local/enduradata/edpcloud/doc
  7. Read the man pages for eddist.cfg, edfsmonitor.cfg, edq, edscheduler.cfg
  8. Create eddist.cfg replication file in etc (see ls -lat eddist* for some examples)
  9. Create includes: An include is a list of regular expressions, one per line (See excludes for examples)
  10. Create/Edit excludes
  11. Create edfsmonitor.cfg configuration file
  12. Start EDpCloud using:   edpcloud.sh startall
  13. Use edstat to monitor
  14. Use edpause to pause and edresume to resume
  15. To troubleshoot see the logs directory

Introduction to EDpCloud file replication software

This blog entry is about EDpCloud file replication software installation. These notes are for system administrators.  We use <CR> to denote “Enter”.

Download the file replication software and the demo license

Download your replication software and follow these steps. Make sure you have downloaded the software for your platform. If you are running 64 bit UNIX/Linux, make sure you have downloaded the software that has **64* in the file name.

Installing EDpCloud file replication software on Linux and Unix like OSs

Become root

/bin/sudo  –
or
/bin/su  –

Untar the replication software package

tar xvf edpcloud_LINUX_x86_v4_1_5_E.tar.gz

(If your tar extraction fails: then gunzip the file first and  untar the gunziped file:

example:

gunzip edpcloud_LINUX_x86_v4_1_5_E.tar.gz

tar xvf edpcloud_LINUX_x86_v4_1_5_E.tar

Change directory and install EDpCloud file replication from the extracted directory

Note: Until you become familiar with EDpCloud, it is better to use the default installation parameters.

cd enduradata_edpcloud
./install.sh

Answer a few questions to configure file replication

Accept the entire agreement [YES/NO] : YES <CR>
Enter install path name [/usr/local/enduradata] :  <CR>
Management port: [9000] :  <CR>
Content receiver port: [8888] : <CR>
Start running the services now. (y|n): [Y] : Y <CR>
Enter management password [u32.enduradata.com10124] : fish <CR>
Enter expression for allowed host patterns [\*] : * <CR>

Installation complete.
———————————————–

Starting file replication software services

*************************************************************************************

For automatic start/stop: If you are running a variant of System V such as ubuntu or Solaris and if you want EDpCLOUD to run as root when the system restarts, please issue the
following command:

/usr/local/enduradata/edpcloud/bin/autostart/sys5debian_autostart

Otherwise:

1. append the following lines to /etc/profile
. /usr/local/enduradata/edpcloud/bin/enduradata_env

2. append the following lines to /etc/rc.local

. /usr/local/enduradata/edpcloud/bin/edpcloud.sh startall

Make sure your firewall allows traffic to port: 8888. See README_FIREWALL

Please read the man pages or point your browser to /usr/local/enduradata/edpcloud/doc/html

You can start/restart using this command:

. /usr/local/enduradata/edpcloud/bin/edpcloud.sh startall

OR

. /usr/local/enduradata/edpcloud/bin/edpcloud.sh restartall

To stop services:

. /usr/local/enduradata/edpcloud/bin/edpcloud.sh stopall

Install file replication software license

cp edlicensename /usr/local/enduradata/edpcloud/etc/edlicense
. /usr/local/enduradata/edpcloud/bin/edpcloud.sh restartall

Fix your environment

Add the following line  to your /etc/profile or root’s  .profile to setup the binary and library paths:

.   /usr/local/enduradata/edpcloud/bin/enduradata_env

File replication documentation

man eddist.cfg will get you started

or browse to /usr/local/enduradata/edpcloud/doc/html

Configure the file replication software using the browser

EDpCloud can be configured by browsing to https://www.enduradata.com or https:/IPADDRESS.

When using IPV6, make sure you use hostnames rather than PV6 numbering system.

Please chrome, firefox. Mac users use Safari. There is no guarantee that all versions of internet explorer will continue to be supported.

Make sure you change the GUI password immediately after installing it.
Go to advanced tab/ UI Password

You need to create one or more links. A link has one sender and one or more receivers. The sender replicates data to one or more receivers.

A link has name, a sender has a name, a password. A receiver has a name, a password and a storepath where data will be placed. A link defines a replication set with a file/directory replicator and a file /directory remote server.

Example of a file replication configuration

Assume you want to migrate /data from a solaris machine (192.168.10.10) to a Linux Machine (192.168.10.20). You want to put the data on /fromsolaris

create this configuration and restart the services

Create file /usr/local/enduradata/edpcloud/etc/eddist.cfg

<?xml version=”1.0″ encoding=”UTF-8″?>
<config name=”Network_Configuration”>
    <link name=”l1″>
        <sender hostname=”192.168.10.10″ alias=”*” password=”foo”/>
        <receiver hostname=”192.168.10.20″  numstreams=”6″ storepath=”/fromsolaris” password=”foo”/>
    </link>
</config>

Copy this file to both 192.168.10.10 and 192.168.10.20

Make the storage path directory /fromsolaris on 192.168.10.20  (mkdir /fromsolaris)

Restart the services on both hosts:

. /usr/local/enduradata/edpcloud/bin/edpcloud.sh restartall

Your replication is now set to replicate data the host with 192.168.10.10 as an IP to the remote server  with 192.168.10.20 as an IP.

Queue data for file transfer by issuing the following command from 192.168.10.10

edq -l l1 -r 192.168.10.20 -n /data

Since you have only one link on this configuration, you could have issued: edq -n /data

Now that you got a taste of it, please read the man pages for eddist.cfg and for edq.
You can always use the GUI to configure and manage file replication and file transfer.

Other posts about Linux file replication

https://www.enduradata.com/enduradata-data-replication-software-deployed-by-a-top-10-health-care-company/

https://www.enduradata.com/automatic-backup-and-file-sync-for-windows-mac-linux-solaris-aix-and-unix/

https://www.enduradata.com/file-mirroring-high-speed-file-sync-canada-columbia/

https://www.enduradata.com/edpcloud-file-synchronization-and-file-replication-software-installation-and-configuration/

Installation notes for EDpCloud File replication software and file transfer on UNIX like systems(Linux, Mac, Solaris, etc). was last modified: April 6th, 2020 by aRoot

Share this Post