Configuring Contenta Server
Follow these steps to configure the Contenta Server.
Procedure
- Log in as the root user.
- Verify or complete the following in the /pdm/bin/pdm.cshrc file.
Note: that when Contenta is installed, the /pdm directory is linked to the directory where Contenta is installed.
When necessary, uncomment (remove the pound (
#) sign in front of) any environment variables that you want to define.- Make certain
XYV_PDM_ROOTvariable is defined for the top level directory path where Contenta is installed. - Uncomment and set the JAVA_HOME variable to the path where the JRE is installed, for example, /home/java
The default for JAVA_HOME is /usr/java. You can create a link if JRE is not installed in /usr/java or specify the location in the JAVA_HOME variable.
- If the Contenta License Server resides on a different machine, uncomment the setenv line that sets the
sdlxysoft_LICENSEvariable and specify the node name of the license server. - Verify that the $PATH variable includes the following.
{$XYV_PDM_ROOT}/bin {$XYV_PDM_ROOT}/bin/reap - Uncomment and modify the line that sets the environment variable for XAPPLRESDIR as noted below.
setenv XAPPLRESDIR $XYV_PDM_ROOT/distr/usr/lib/X11/app-defaults
This ensures that, when using pcmadmin, the drop down lists display more than one line of options.
- Create the following variables and values for the
PcmPortallogs.Modify the value of the
XYE_PRTL_LOG_DIRvariable to the directory path where you want Contenta to write the portal logs.setenv XYE_PRTL_LOG_DIR<logdir>
If not specified, the default name and path for the Contenta log file is $XYV_PDM_ROOT\logs\dbname.log. To specify a different path and filename:
setenv XYV_PDM_LOGFILE/<logdir>/name.log
To add the socket (PcmPortal) number to the portal log filename, set the following variable.
setenv XYV_LOG_PER_PORT 1
To cycle the portal log at midnight:
setenv XYV_LOG_CYCLE 1
See the SDL Contenta Administration User section of the Contenta documentation for additional information about the variables and portal log files.
- Verify that the
LD_LIBRARY_PATHenvironment variable is defined to include the following.{$XYV_PDM_ROOT}/system - Uncomment the
XYV_PDM_DATA_DIRline and set this variable to a valid directory path on the server.
- Make certain
- Modify the /pdm/bin/pdm.cshrc.ora file for your database as follows.
Verify that the following environment variables are not commented out and are defined accurately.
setenv ORACLE_HOME ora_directory setenv ORACLE_SID SID setenv XYE_PDM_DATABASE_SID SID setenv XYE_PRTL_DATABASE_SID SIDwhereora_directoryis your Oracle directory where the Oracle bin directory is located (do not include bin in the path), andSIDis the Oracle system identifiersetenv NLS_LANG American_America.AL32UTF8This value must be consistent with the value defined for the
NLS_CHARACTERSET(Oracle database character set) during the Oracle server installation. - When you have completed these steps, at the command line enter:
source pdm.cshrcThe pdm.cshrc file sources the pdm.cshrc.ora file; together they define all necessary Contenta environment variables.