Documentation Center

Configuring Contenta Server

Follow these steps to configure the Contenta Server.

Procedure

  1. Log in as the root user.
  2. Verify or complete the following in the /pdm/bin/pdm.cshrc file.
    1. Make certain XYV_PDM_ROOT variable is defined for the top level directory path where Contenta is installed.
    2. 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.

    3. If the Contenta License Server resides on a different machine, uncomment the setenv line that sets the sdlxysoft_LICENSE variable and specify the node name of the license server.
    4. Verify that the $PATH variable includes the following.
      {$XYV_PDM_ROOT}/bin
      {$XYV_PDM_ROOT}/bin/reap
    5. Uncomment and modify the line that sets the environment variable for XAPPLRESDIR as follows.

      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.

    6. Create the following variables and values for the PcmPortal logs.

      Modify the value of the XYE_PRTL_LOG_DIR variable 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.

    7. Verify that the LD_LIBRARY_PATH environment variable is defined to include the following.
      {$XYV_PDM_ROOT}/system
    8. Uncomment the XYV_PDM_DATA_DIR line and set this variable to a valid directory path on the server.
  3. 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 SID
    where ora_directory is your Oracle directory where the Oracle bin directory is located (do not include bin in the path), and SID is the Oracle system identifier
    setenv NLS_LANG American_America.AL32UTF8
    

    This value must be consistent with the value defined for the NLS_CHARACTERSET (Oracle database character set) during the Oracle server installation.

  4. When you have completed these steps, at the command line enter:
    source pdm.cshrc

    The pdm.cshrc file sources the pdm.cshrc.ora file; together they define all necessary Contenta environment variables.