000031172 - How to enable verbose logging for the Authentication Manager 8 operations console backups

Document created by RSA Customer Support Employee on Jun 14, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000031172
Applies To

RSA Product Set: SecurID

RSA Product/Service Type: Authentication Manager

RSA Version/Condition: 8.x

  • How to enable verbose logging for troubleshooting the operations console tasks
  • How to enable verbose logs for troubleshooting backup problems
  1. Take a vmware snapshot or a backup before you begin  if possible, and perform the following and capture the logs for analysis.
  2. SSH to the primary server
  3. Take the backup of oc_cmd.sh using the below command
    cp /opt/rsa/am/utils/bin/appliance/oc_cmd.sh /home/rsaadmin/oc_cmd.sh.bkp

  4. Edit the oc_cmd.sh file and add the following highlighted line at the beginning, before CMD="$1"
    echo "$@" >>/home/rsaadmin/oc_cmd_parameters.out

  5. Now backup the log4j.xml and ops-log4j.xml files.
    cp /opt/rsa/am/utils/resources/log4j.xml /opt/rsa/am/utils/resources/log4j.xml.bkp
    cp /opt/rsa/am/utils/resources/ops-log4j.xml /opt/rsa/am/utils/resources/ops-log4j.xml.bkp

  6. Use vi on each of the above files and enter the below command in each file.
    vi /opt/rsa/am/utils/resources/log4j.xml

    vi /opt/rsa/am/utils/resources/ops-log4j.xml

  7. Restart the authentication manager services
    /opt/rsa/am/server/rsaserv restart all

  8. Perform a backup operation from the operations console. Note the time stamp and capture the troubleshooting logs for analysis. The backup verbose log should be created in the following path /home/rsaadmin/oc_cmd_parameters.out.
  9. Revert back to the old configuration files and restart the authentication manager services
    cp /opt/rsa/am/utils/bin/appliance/oc_cmd.sh.bkp /home/rsaadmin/oc_cmd.sh
    cp /opt/rsa/am/utils/resources/log4j.xml.bkp /opt/rsa/am/utils/resources/log4j.xml
    cp /opt/rsa/am/utils/resources/ops-log4j.xml.bkp /opt/rsa/am/utils/resources/ops-log4j.xml
    /opt/rsa/am/server/rsaserv restart all