How do I change size and number of SMPS logs ?

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

When configuring the Policy Server in SSO or Secure Cloud, one of the parameters to decide is the logging.

The Policy Server allows to control the size and the number of policy server logs, stored in the server

This document explains how to set it up

Instructions:

In order to change the size and the rotation options of the smps logs, you need to access the smconsole in the Policy Server component.

To do this, perform the following options

  • Since the smconsole is a graphical application, make sure you can launch X11 applications from your policy server in your local environment. You can use for instance Xming if you are running in Windows. Allow remote connections to your XServer so that the graphical console may be started
  • In the policy server, direct you X11 traffic to your local XServer. For instance, if my local server is 10.130.45.44, and my policy server is secureps.ca.com, I would start the X11 server (Xming or similar) in 10.134.45.44, and in secureps.ca.com I would do export DISPLAY=10.130.45.44:0.0
  • Next it is necessary to source the environment variables required to launch the smconsole. To do this do the following in your Policy Server:

cd /opt/CA/siteminder

. ca_ps_env.ksh

You can verify that it has been correctly sourced because doing

env | grep NETE

You should be able to see the siteminder variables. For instance:

NETE_PS_BROWSER=/usr/bin/firefox
NETE_PS_PATH=/opt/CA/siteminder/bin:/opt/CA/siteminder:/opt/java32/jre/bin:/opt/CA/siteminder/CLI/bin
NETE_JDK_ROOT...

  • You can now start the smconsole

cd /opt/CA/siteminder/bin

/smconsole

  • In the smconsole GUI you can choose in the logs tab, the size, name and frequency of the smps log rotation

smconsole.JPG

Rotation may be specified according to size or time. The console also offers us the possibility of changing the log location or name