This tech doc gives detail steps on how to install SCM agent on a Linux server. Installing on Aix/Solaris should be similar.
Release : 14.0 and up
Component : CA Harvest Software Change Manager
Please follow these steps, with some modification to fit your env:
# log in as root to start:
# Mount the DVD image and copy the file for 64-bit client to the /tmp/scm folder
cd <mount folder location>/SCM_<version>_INSTALL/client/linux_x86_64/
cp *.gz /tmp/scm
# Create a new directory structure for SCM agent
mkdir -p /opt/CA/scm /opt/CA/pec /opt/CA/etpki /opt/CA/SharedComponents/lib /opt/CA/SharedComponents/bin
chown -R cascm:cascm /opt/CA/scm /opt/CA/pec /opt/CA/etpki /opt/CA/SharedComponents /tmp/scm
chmod -R 755 /opt/CA/scm /opt/CA/pec /opt/CA/etpki /opt/CA/SharedComponents /tmp/scm
# Create a script to set the environment variables
# (copy this block from the "cat >" line to the "EOF" line and paste it into putty as one chunk)
cat > /home/cascm/setenv_scm.sh <<EOF
# Harvest Settings
umask 0022
export CASHCOMP=/opt/CA_SharedComponents
export CABIN=/opt/CA/SharedComponents/bin
export CALIB=/opt/CA/SharedComponents/lib
export CAPKIHOME=\$CASHCOMP/CAPKI
export PATH=\$CABIN:\$PATH
export LD_LIBRARY_PATH=\$CALIB:\$LD_LIBRARY_PATH
export RTHOME=/opt/CA/pec
export PATH=\$RTHOME:\$PATH
export LD_LIBRARY_PATH=\$RTHOME/lib/i86_64_linux24:\$LD_LIBRARY_PATH
export CA_SCM_HOME=/opt/CA/scm
export PATH=\$CA_SCM_HOME/bin:\$PATH
export LD_LIBRARY_PATH=\$CA_SCM_HOME/lib:\$LD_LIBRARY_PATH
EOF
cat setenv_scm.sh
# Make it executable
chmod a+x /home/cascm/setenv_scm.sh
# Set owner to the cascm user
chown cascm:cascm /home/cascm/setenv_scm.sh
# Add a call to the script to the cascm user's .bash_profile
# (copy this block from the "cat >>" line to the "EOF" line and paste it into putty as one chunk)
cat >> /home/cascm/.bash_profile <<EOF
# Harvest Settings
. setenv_scm.sh
EOF
# Switch to the folder where the install files are and install CAPKI
cd /tmp/scm
mkdir etpki
mv etpki.tar.gz etpki
cd etpki/
gunzip etpki.tar.gz
tar xvf etpki.tar
cd etpki_linux/
./setup install caller=SCMAGENT verbose env=all
# Switch to the "cascm" user
su - cascm
# Switch to the folder where the install files are and install PEC
cd /tmp/scm
mkdir pec
mv pec474_64.tar.gz pec
cd pec
gunzip pec474_64.tar.gz
tar xvf pec474_64.tar
sed -i 's/\/bin\/ksh/\/bin\/sh/' INSTALL.SH
./INSTALL.SH configure_rtserver=false
# Switch to the folder where the install files are and move the agentonly.tar.gz to the scm home folder, install the agent
cd /tmp/scm
mv agentonly.tar.gz /opt/CA/scm
cd /opt/CA/scm
gunzip agentonly.tar.gz
tar xvf agentonly.tar
cd install/
./setup.sh
# Exit back to root to start the agent
exit
cd /opt/CA/scm/bin
./agntd
cd /opt/CA/scm/bin
./agntd
ps -ef | grep agntd
# And we're done
exit