How to change the temp directory used by NetOps Portal services from /tmp to something else
search cancel

How to change the temp directory used by NetOps Portal services from /tmp to something else

book

Article ID: 10442

calendar_today

Updated On:

Products

CA Performance Management - Usage and Administration DX NetOps

Issue/Introduction

We have already installed the Portal using IATEMPDIR, how do we move things like the RIB docs somewhere else?

Due to our environment restrictions, we cannot use /tmp.  

Environment

All supported releases of DX NetOps Performance Management

Resolution

  1. After the installation has finished, stop the four caperfcenter_* services (they start automatically)
    • systemctl stop caperfcenter_*
  2. Edit each of the following files:
    • <install_dir>/PerformanceCenter/DM/conf/wrapper-user.conf
    • <install_dir>/PerformanceCenter/EM/conf/wrapper-user.conf
    • <install_dir>/PerformanceCenter/PC/conf/wrapper-user.conf
    • <install_dir>/PerformanceCenter/sso/conf/wrapper-user.conf
  3. Add this entry to the bottom of each, pointing to your new directory.
    • wrapper.java.additional.33=-Djava.io.tmpdir=<new tmp directory of choice>
    •  THIS DIRECTORY MUST EXIST AND NOT BE WITHIN THE "<install_dir>/PerformanceCenter" DIRECTORY TREE.
  4. Start all 4 caperfcenter_* services
    • systemctl start caperfcenter_sso caperfcenter_eventmanager caperfcenter_devicemanager caperfcenter_console
  5. You are now using the new directory.