Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

2. Run a yum update to pull in the patched version of libxml2 from the IFI CLAIMS repository and any other pending updates.

Code Block
languagebash
sudo yum update libxml2
Note

Note: Reboot if kernel was upgraded.

...

Install:

Code Block
languagetextbash
sudo yum -y install postgresql postgresql-contrib postgresql-plperl postgresql-server

...

4. Enable and restart the PostgreSQL cluster.

Code Block
languagetextbash
sudo systemctl enable postgresql.service ; sudo systemctl start postgresql.service

...

5. Create the role alexandria and load the SQL via psql into the instance.

Code Block
languagetextbash
echo "create role alexandria with superuser login;" \
  | psql -U postgres postgres

...

6. To ensure that the database has been created, run:

Code Block
languagetextbash
psql -U alexandria --list

...

8. Run the pre-flight check script to confirm that your system is properly configured to load the data.

Code Block
languagebash
cd-pre-flight-check.sh 

The sample output of a properly configured system looks like this:

...

11. Once the loading process is complete, you can run the cd-count.sh script, a simple QA of table counts, to ensure that the tables have loaded correctly. This may take an hour or more to run.

Code Block
languagetextbash
cd-count.sh

The results should show that 39 xml tables and 4 cdws tables have loaded. The following tables will show a count of 0:

...