Here are my notes.
Spent some time last night helping a few guys deploy Securonix. The installation meeting was so impromptu, that it even got me thinking about the steps in a nutshell. So read on!
1. Create Securonix Database schema.
Database deployment can be split up into the following 3 steps
On MySQL: Run the scripts in following order:
2. SECURONIX_HOME Environment variable Unzip this folder at a convenient location. This folder will have all the external bits for profiler to refer.
Now you need to deploy SECURONIX_HOME environment variable. (Make sure SECURONIX_HOME is in CAPITAL letters)
Here you have 2 choices: - You can deploy SECURONIX_HOME as an environment variable. Look up the same for your respective Operating Systems.
Tomcat Installation - Install Tomcat 7
for MySQL (sample, do changes to port and server name as needed)
export CATALINA_OPTS="-Xms1024m -Xmx6000m -XX:PermSize=1024m -XX:MaxPermSize=1024m"
If everything goes smooth, then a new Folder Profiler gets deployed in Tomcat7/webapps folder.
Navigate to tomcat7/webapps/Profiler/WEB-INF/classes edit log4j.properties
Note the lines below, this is how it should look like
Log on to http://localhost:8080/Profiler and you are good to go! Obviously you need to substitute localhost:8080 to your respective ports.
answered 07 Jan '13, 17:43
also.. since version 4.0 onwards the following CATALINA_OPTS is recommended
export CATALINA_OPTS="-Xms4g -Xmx8g -XX:MaxPermSize=512m -XX:+AggressiveOpts -XX:+UseCompressedOops -Xmn2g -XX:+UseLargePages -Dsolr.solr.home=/home/scx1001/securonix_home/solr"
answered 22 Apr '13, 14:42
To deploy environment variables for Java and Securonix Home in Windows, one can set them both in the startup.bat and shutdown.bat files located in the bin folder. Adding the following lines will set the environment variable: ........ set "JAVA_HOME=C:\Program Files\Java\jdk1.7.0_05" set "SECURONIX_HOME=Path\to\securonix_home" set PATH=%JAVA_HOME%\bin;%SECURONIX_HOME%;%PATH% ........... set "EXECUTABLE=%CATALINA_HOME%\bin\catalina.bat" This enables setting up the environment variables without restarting the system.
answered 08 May '13, 14:43
Please add Garbage collection parameter in CATALINA_OPTS : -XX:+UseG1GC
answered 18 Apr '14, 12:58