Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Panel
titleBefore you start
  • The Alexandria client tools can be installed on the PostgreSQL machine or on a separate processing server for security purposes.
  • All commands, unless otherwise noted, must be run as root.
  • If you are installing the client tools on the same machine as PostgreSQL and have already installed the IFI CLAIMS repository on this machine, skip to step 45.
Warning

Important: Do not start the update process until you have completed the initial load of the database.

...

Operating SystemRepository
RHEL/CentOS 8
yum -y install \
https://repo.ificlaims.com/ifi-claims-direct/centos/8/x86_64/ifi-claims-direct-beta-0.0.2-2.el8.x86_64.rpm

Note: This installs EPEL and the PowerTools repositories.

Amazon Linux 2
yum -y install \
 https://repo.ificlaims.com/ifi-claims-direct/amzn2/x86_64/ifi-claims-direct-beta-0.0.2-1.amzn2.x86_64.rpm

2. If you are using Amazon Linux 2, install the EPEL repository.

Code Block
languagebash
#Install the EPEL repository
sudo amazon-linux-extras install epel -y
 
#Enable the EPEL repository
sudo yum-config-manager --enable epel

3. After installing the repository, run a yum update to pull in the patched version of libxml2 from the IFI CLAIMS repository.

Code Block
languagebash
sudo yum -yupdate updatelibxml2
Note

Note: If there are conflicts, change the command line to yum --allowerasing update as directed. Reboot if kernel was upgraded.

34. Install the Alexandria client tools package.

Code Block
languagebash
yum -y install perl-Alexandria-Library perl-Alexandria-Client-Tools

45. Configure PostgreSQL user and password.

Note

Note: If you are installing the client tools on a different machine from your PostgreSQL instance, you must change the database entry in the configuration file /etc/alexandria.xml, e.g., the default should reflect the host (IP address) of your PostgreSQL instance. If you added a password for user alexandria (or changed user at all), you must modify @user/@password entries as well. For example, if your PostgreSQL instance is running on 10.234.211.3, the configuration entry will look like this:

Code Block
languagetext
<database name="alexandria" host="10.234.211.3" port="5432" user="alexandria" password="alexandria">
      <atts pg_errorlevel="0" AutoCommit="1" RaiseError="1" PrintError="0" LongTruncOk="0" LongReadLen="10485760" />
     </database>

56. Configure CLAIMS Direct user name and password.
Edit /etc/alexandria/apgupd.conf and replace CD_USER and CD_PASSWORD entries appropriately.

...

Code Block
languagebash
# Credentials given by IFI to access updates
CD_USER=test
CD_PASSWORD=test

67. Enable the service.

Code Block
languagebash
# Amazon
chkconfig apgupd
# CentOS / RHEL
systemctl enable apgupd.service

78. Start the service.

Code Block
languagebash
# Amazon
service apgupd start
# CentOS / RHEL
systemctl start apgupd.service

...