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
- After the installation has finished, stop the four caperfcenter_* services (they start automatically)
- systemctl stop caperfcenter_*
- 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
- 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.
- Start all 4 caperfcenter_* services
- systemctl start caperfcenter_sso caperfcenter_eventmanager caperfcenter_devicemanager caperfcenter_console
- You are now using the new directory.
Feedback
thumb_up
Yes
thumb_down
No