This section provides instructions for upgrading existing on premise Clarity LIMS deployments to cloud hosted deployments. For assistance with upgrade steps, contact the Clarity LIMS Support team.
This section explains how to install purchased SSL/TLS certificates into Clarity LIMS v5 and later.
#! /bin/bash
echo "privatekeypassword"SSLPassPhraseDialog exec:/path/to/passphrase-script % openssl rsa -in private.key -out private_nopassphrase.key [root@doclarity04 ~]# cd /opt/gls/clarity/config/
[root@doclarity04 config]# bash installCertificates.sh
Java KeyTool detected
  This script will prompt you to supply the required SSL Certificates for your ClarityLIMS server.
  These files include:
  - A private key file and signed Certificate file for use by apache.
  - Optionally, depending on the organization that signs your Certificate, you may receive a 'Chain' file.
Enter the full path to the SSL Private Key for your server:/tmp/certs/private.key
Enter the full path to the Apache Certificate for your server - This is the Certificate signed by the SSL Vendor or Certificate Authority:/tmp/certs/customer_domain.crt
Enter the full path to the SSL Vendor Chain file:/tmp/certs/intermediate.crt
INFO: Testing Apache
Syntax OK
Apache Proxy is ready ./opt/gls/clarity/config/pending/05_configure_claritylims_secretutil.shbash /opt/gls/ClarityUpgradeValidation/bin/validate.shyum remove ClarityLIMS-UpgradePreValidationyum --enablerepo=GLS_Clarity62 install ClarityLIMS-UpgradePreValidation/opt/gls/clarity/bin/run_clarity.sh stop cd ~glsjboss
mkdir -p backups/database
pg_dump -U <database_user> -O -b -Ft <database_name> -f ~glsjboss/backups/database/clarity-old_version-`date +%Y%m%d%H%M`.tarThis section provides instructions for upgrading existing cloud hosted Clarity LIMS deployments to on premise deployments. For assistance with upgrade steps, contact the Clarity LIMS Support team.
This section provides instructions for upgrading an existing on premise Clarity LIMS deployment. For assistance with upgrade steps, contact the Clarity LIMS Support team.
psql -U postgres -d <OL8DB> -c 'ALTER DATABASE "<OL8DB>" OWNER TO "<OL8User>"'./opt/gls/clarity/config/pending/05_configure_claritylims_secretutil.shbash /opt/gls/ClarityUpgradeValidation/bin/validate.shyum remove ClarityLIMS-UpgradePreValidationbash /opt/gls/clarity/config/pending/60_initialize_lablink.shyum --enablerepo=GLS_Clarity62 install ClarityLIMS-UpgradePreValidation/opt/gls/clarity/bin/run_clarity.sh stop /etc/yum.repos.d/yum --enablerepo=GLS_Clarity62 install ClarityLIMS-LabLinkcd /opt/gls/clarity/config/
./migrate_claritylims_database.shservice elasticsearch startfor indexname in `curl -s ''`; do echo "Delete index: $indexname"; curl -XDELETE ""; echo ""; done/opt/gls/clarity/bin/run_clarity.sh stop/opt/gls/clarity/bin/run_clarity.sh startyum --enablerepo=GLS_Clarity62 install ClarityLIMS-UpgradePreValidation/opt/gls/clarity/bin/run_clarity.sh stop /etc/yum.repos.d/yum --enablerepo=GLS_Clarity62 install ClarityLIMS-LabLinkservice elasticsearch startfor indexname in `curl -s ''`; do echo "Delete index: $indexname"; curl -XDELETE ""; echo ""; done/opt/gls/clarity/bin/run_clarity.sh stop/opt/gls/clarity/bin/run_clarity.sh startcd /opt/gls/clarity/config/
./migrate_claritylims_database.shcd ~glsjboss
mkdir -p backups/database
pg_dump -U <database_user> -O -b -Ft <database_name> -f ~glsjboss/backups/database/clarity-old_version-`date +%Y%m%d%H%M`.tar./opt/gls/clarity/config/pending/05_configure_claritylims_secretutil.shbash /opt/gls/ClarityUpgradeValidation/bin/validate.shyum remove ClarityLIMS-UpgradePreValidationbash /opt/gls/clarity/config/pending/60_initialize_lablink.shcd ~glsjboss
mkdir -p backups/database
pg_dump -U <database_user> -O -b -Ft <database_name> -f ~glsjboss/backups/database/clarity-old_version-`date +%Y%m%d%H%M`.tar