Warning! You are viewing an older version of ECGCDRLoader Guides. View the latest
ECGCDRLoader
Prerequisites
Mongo Setup
ECGCDRLoader uses Mongo as it's backing database. A minimum of version 3.4 is required. The newest release can be found on Mongo's webpage.
Follow the official install instructions
CDR NFS Setup
Source Application Server
- Make sure the following packages are installed:
nfs-utils-*
nfs-utils-lib-*
rpcbind-*
- Add the following line to the /etc/exports file.
-
/var/broadworks/billing/ <ECGCDRLOADER_SERVER_IP>(ro,fsid=0,sync)
-
- Run the following commands:
chkconfig nfs on
chkconfig rpcbind on
service rpcbind start
service nfs start
ECGCDRLoader Setup
- Download the ECGCDRLoader tarball(.tar.gz) to the
/opt
directory on the server. - Extract the archive.
cd /opt
tar xzvf /opt/ECGCDRLoader-<VERSION>-bin.tar.gz
- Create a symlink to the new ecgcdrloader directory.
-
ln -s ECGCDRLoader-<VERSION> /opt/ecgcdrloader
-
- Create an ecgcdrloader user with the home directory of
/opt/ecgcdrloader
.useradd -m ecgcdrloader
- Change the ownership of the
/opt/ecgcdrloader
directory and all of its children.chown -R ecgcdrloader:ecgcdrloader /opt/ecgcdrloader/
- Copy the license file from the ECG portal
ecg.license.txt
into theconfig
directory. - Perform configuration according to ECGCDRLoader guides.
- Copy the
ecgcdrloader
file into/etc/init.d
. - Run the following commands:
-
chkconfig --add ecgcdrloader
chkconfig ecgcdrloader on
-
- Launch service with
service ecgcdrloader start
.
Upgrading ECGCDRLoader
- To upgrade ECGCDRLoader first ensure the version of Mongo is 3.4 as required, if not upgrade Mongo per Mongo's official guides
- Download the ECGCDRLoader tarball(.tar.gz) to the
/opt
directory on the server. - Extract the archive.
cd /opt
tar xzvf /opt/ECGCDRLoader-<VERSION>-bin.tar.gz
- Stop the current version of ECGCDRLoader.
service ecgcdrloader stop
- Update the symlink to the new ecgcdrloader directory.
unlink /opt/ecgcdrloader
ln -s ECGCDRLoader-<VERSION> /opt/ecgcdrloader
- Change the ownership of the
/opt/ecgcdrloader
directory and all of its children.chown -R ecgcdrloader:ecgcdrloader /opt/ecgcdrloader/
- Copy the license file from the ECG portal
ecg.license.txt
into theconfig
directory. - Perform configuration according to ECGCDRLoader guides, reviewing the previous installation's configuration for specific settings.
- Copy the
ecgcdrloader
file into/etc/init.d
, replacing the old file. - Launch service with
service ecgcdrloader start
. - After testing the current version you can safely remove the old version using rm
rm -r /opt/ECGCDRLoader-<PREVIOUS_VERSION>