Difference between revisions of "Flow/Installation/Linux/Startup Settings"

From Observer GigaFlow Support | VIAVI Solutions Inc.
Jump to: navigation, search
Line 5: Line 5:
 
  echo $! > ros.pid
 
  echo $! > ros.pid
  
You can change the following
+
You can change the following:
-Xms, sets the default startup memory that java can use.
+
-'''Xms''', sets the default startup memory that java can use.
-Xmx, sets the default maximum amount of memory that java can use.
+
'''-Xmx''', sets the default maximum amount of memory that java can use.
  
 
You can also add the following parameters after the ros.ROS entry
 
You can also add the following parameters after the ros.ROS entry
  
httpport=7902, change the 7902 to whatever port you want to run the http server on
+
'''httpport=7902''', change the 7902 to whatever port you want to run the http server on
httpsport=8902, change the 8902 to whatever port you want to run the https server on
+
'''httpsport=8902''', change the 8902 to whatever port you want to run the https server on
createindex=true, will enable indexing for all netflow tables (significantly impacting disk IO requirements but improving query performance.
+
'''createindex=true''', will enable indexing for all netflow tables (significantly impacting disk IO requirements but improving query performance.
  
 
i.e.  
 
i.e.  

Revision as of 11:13, 20 October 2016

You can edit the /opt/ros/resources/start file to control some startup parameters. By default the file should have

/opt/java/bin/java -Xms364M -Xmx768M -Djava.net.preferIPv4Stack=true -Djava.library.path=./dist/libs/ -Djava.awt.headless=true -XX:+HeapDumpOnOutOfMemoryError -classpath ./dist/ROS.jar:./dist/libs/* ros.ROS &> ./console.log &
echo $! > ros.pid

You can change the following:

-Xms, sets the default startup memory that java can use.
-Xmx, sets the default maximum amount of memory that java can use.

You can also add the following parameters after the ros.ROS entry

httpport=7902, change the 7902 to whatever port you want to run the http server on
httpsport=8902, change the 8902 to whatever port you want to run the https server on
createindex=true, will enable indexing for all netflow tables (significantly impacting disk IO requirements but improving query performance.

i.e.

Changing

/opt/java/bin/java -Xms364M -Xmx768M -Djava.net.preferIPv4Stack=true -Djava.library.path=./dist/libs/ -Djava.awt.headless=true -XX:+HeapDumpOnOutOfMemoryError -classpath ./dist/ROS.jar:./dist/libs/* ros.ROS &> ./console.log &

To

/opt/java/bin/java -Xms364M -Xmx768M -Djava.net.preferIPv4Stack=true -Djava.library.path=./dist/libs/ -Djava.awt.headless=true -XX:+HeapDumpOnOutOfMemoryError -classpath ./dist/ROS.jar:./dist/libs/* ros.ROS httpport=7903 httpsport=8903 &> ./console.log &

Will cause anuview Flow to listen on port 7903 for HTTP connections and 8903 for HTTPS connections