Upgrade the Oracle Clinical Database Server
To complete to upgrade Oracle Clinical 5.4 on UNIX database servers, perform the following tasks:
- Grant Access for the opapps Account
- Set Permissions
- Check for an ORA-29548 Error
- Gather Required Information for Oracle Clinical Database Server
- Prepare to Install the Oracle Clinical Database Server Software
- Upgrade the Oracle Clinical Database Server Software
- Perform Post-Upgrade Tasks
Parent topic: Upgrade Oracle Clinical Database Components on UNIX
Grant Access for the opapps Account
- Grant write access for the opapps account to the ORACLE_HOME directory and its contents.
Parent topic: Upgrade the Oracle Clinical Database Server
Set Permissions
Note:
You might have to perform these steps whenever you apply an HSGBU-approved Critical Patch Update, or any Oracle software that uses the Oracle Database ORACLE_HOME directory.After you install Oracle Database and before you install the Oracle Clinical component, you must:
- Change Permissions for Running oraenv Script
- Grant Access to the ORACLE_HOME Directory
- Set Permissions for the Oracle Inventory Directory
Parent topic: Upgrade the Oracle Clinical Database Server
Change Permissions for Running oraenv Script
With the Bourne shell, you use the Oracle environment-setting script (oraenv) when granting write access to the ORACLE_HOME directory.
However, the oraenv script gives an error if run by a non-Oracle user. To avoid this error:
Parent topic: Set Permissions
Grant Access to the ORACLE_HOME Directory
You must change the access settings for this directory before you install Oracle Clinical, because the Oracle Clinical Installer checks if the ORACLE_HOME directory exists and if it has write access.
To grant write access to the ORACLE_HOME directory and its contents:
Parent topic: Set Permissions
Set Permissions for the Oracle Inventory Directory
To set the permissions for the Oracle Inventory (oraInventory) directory:
Parent topic: Set Permissions
Gather Required Information for Oracle Clinical Database Server
Have the following information ready to enter in the Installer:
Parent topic: Upgrade the Oracle Clinical Database Server
Prepare to Install the Oracle Clinical Database Server Software
Parent topic: Upgrade the Oracle Clinical Database Server
Upgrade the Oracle Clinical Database Server Software
- Log in to the server computer using the opapps account.
- In the staging area, locate the directory where you downloaded Oracle Clinical and extract the .zip file for your database 19c if you have not already done so.
- Navigate to this location:
server_code_
platform
\Disk1\install
- Change protections on all files to
755
:chmod 755 *
- Run one of the following commands, depending on whether or nor you are using Oracle Real Application Cluster (RAC):
- For a non-RAC installation:
./runInstaller
Or, if the database server has multiple Oracle Homes, then enter:
./runInstaller -invPtrLoc ORACLE_HOME/oraInst.loc
For example:
./runInstaller -invPtrLoc /u01/app/oracle/product/19.3.0.0/dbhome_1/oraInst.loc
- For a RAC installation:
./runInstaller -local
Or, if the database server has multiple Oracle Homes, then enter:
./runInstaller -local -invPtrLoc ORACLE_HOME/oraInst.loc
For example:
./runInstaller -invPtrLoc /u01/app/oracle/product/19.3.0.0/dbhome_1/oraInst.loc
This ensures that the installation is performed only on the local node.
Note:
See Use the Silent Installer (Optional) for instructions for running the Installer as a file with pre-entered parameter values.Note:
Although there is a button for deinstalling products on the Welcome screen, Oracle does not support using the Installer to deinstall Oracle Clinical or Oracle Clinical Remote Data Capture (RDC) Onsite. - For a non-RAC installation:
- In the Select a Product to Install page, select OC Server for UNIX 5.4.0.0.x.
- Follow the instructions on the installation screens, providing the information you assembled in Gather Required Information for Oracle Clinical Database Server.
- You can review the progress of the installation:
- Open another terminal session as the
opapps
user. - To review the relinking progress, run the following:
tail -f
$OPA_HOME/oc/54/relink_rxc.log
- Open the installActionstimestamp.log in the oraInventory/logs directory.
- Open another terminal session as the
Parent topic: Upgrade the Oracle Clinical Database Server
Perform Post-Upgrade Tasks
Note:
To perform the required changes done for PDR hyperlinks during DCI form version generation, follow the instruction in Doc ID 2763299.1 on My Oracle Support.This section describes the following tasks that you perform to complete the upgrade of Oracle Clinical database server on a UNIX computer:
- Complete the Setup of the opapps Account
- Limit Permissions on the XMLTEMP Folder
- Review the opa_settings File
- Check for Oracle Clinical Databases on a UNIX Server
Parent topic: Upgrade the Oracle Clinical Database Server
Complete the Setup of the opapps Account
To complete the setup of the opapps account:
- Create the log directory for opapps in the following location:
OPA_HOME/log
- Define the environment variables for the opapps user:
- Open the .cshrc file. This file is located in the
home directory after you log in as the
opapps
user. You can use the following command to view the hidden .cshrc file:ls -arlt
- Add the following lines to the .cshrc file:
set path=( $path
ORACLE_HOME
/bin
ORACLE_HOME
/lib )
setenv RXC_LOG
OPA_HOME
/log
source
OPA_HOME
/bin/copa_setup_alias
where:
ORACLE_HOME is the directory where you installed Oracle Database 19c (19.3.0.0.0).
OPA_HOME is the directory where you installed Oracle Clinical database server.
- Source the .cshrc file when you finish editing it:
source .cshrc
-
For HP-UX Port, copy $ORACLE_HOME/bin/oraenv to $OPA_BIN/oraenv_opa.
For example,
$ORACLE_HOME/bin/oraenv
becomes$OPA_BIN/oraenv_opa
ORACLE_HOME: Oracle 19c HomeOPA_BIN:
<OPA Home>/bin
- Open the .cshrc file. This file is located in the
home directory after you log in as the
Parent topic: Perform Post-Upgrade Tasks
Limit Permissions on the XMLTEMP Folder
To reduce security risks, you should limit permissions on the XMLTEMP folder for all database server installations.
Parent topic: Perform Post-Upgrade Tasks
Review the opa_settings File
The Installer creates the opa_setting file and enters all necessary entries and default values for the Oracle Clinical environment.
Note:
- The
db_env_setting
records in opa_settings define a default value for particular environment variables that are set when the application calls opa_setup. You can override the default values for all databases or for a particular database. - See Choose a Character Set.
- NLS_DATE_FORMAT must be set to DD-MON-RRRR. It is possible to override this setting for display in RDC Onsite, the Patient Data Report, and Oracle Clinical data entry, but the value in opa_settings must be DD-MON-RRRR.
Parent topic: Perform Post-Upgrade Tasks
Check for Oracle Clinical Databases on a UNIX Server
As part of the implementation of the PDR hyperlinks on
superscripts, a new script post-processes DCI Form Version templates to insert
hyperlink placeholders. This process can fail with error ORA-27369, when a database
post-install step has not been completed. For example, for a database on HP-UX,
refer to https://docs.oracle.com/en/database/oracle/oracle-database/19/hpdbi/oracle-database-postinstallation-tasks.html#GUID-FCF693BF-FB7F-4FA6-81BD-DF669675D401
. You can also refer to My Oracle
Support Article ID 391820.1, Scheduled Job Running Shell.
Parent topic: Perform Post-Upgrade Tasks