Are there any sample CA Service Desk Manager (CA SDM) UNIX/Linux environment variable scripts?

Document ID : KB000048177
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

This document helps set the most needed environment variables for a CA Service Desk Manager (CA SDM) UNIX/Linux setup.

Solution:

Here is a sample .profile file that can be created for CA SDM UNIX user and source the same file before performing an installation and/or running 'pdm_configure'.

# Sample Oracle 11g profile for CA SDM - Requires that ORACLE_HOME referred to is 32-bit Oracle client.

PATH=$PATH:$HOME/bin; export PATH 	
TMP=/tmp; export TMP 	
TMPDIR=$TMP; export TMPDIR 

NX_ROOT=/opt/CA/ServiceDeskManager; export NX_ROOT 	
ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE 	
ORACLE_HOME=$ORACLE_BASE/product/11.2.0/db_1; export ORACLE_HOME 	
ORACLE_SID=ORCL11G; export ORACLE_SID 	
PATH=$NX_ROOT/bin:$NX_ROOT/local:$ORACLE_HOME/bin:/usr/sbin:$PATH; export PATH 	
LD_LIBRARY_PATH=$NX_ROOT/lib:$ORACLE_HOME/lib:/lib:/usr/lib:$LD_LIBRARY_PATH; export LD_LIBRARY_PATH 	 

# NOTE: For AIX, instead of LD_LIBRARY_PATH, you could use LIBPATH 

The above information is NOT recommend to be done to the /etc/profile. Instead, it is recommended to add the above to the $HOME/.profile file for the CA SDM Unix user first. This file is automatically sourced when you login to the Unix shell as that user.

If you are performing operations as the root user, then source the file using ksh/bourne/bash shells using the below command:


.$HOME/.profile #notice there is a space between first dot and $

From this point onwards, you can run the CA SDM installer or 'pdm_configure'.

When starting CA SDM, perform the same and do the rest of the operations. You could also add more options/directories to the LD_LIBRARY_PATH/LIBPATH/PATH.

NOTE: Additional explanation about the 32-bit requirement is also explained in the following CA SDM Communities thread: https://communities.ca.com/web/ca-service-management-global-user-community/message-board/-/message_boards/message/17049143