Flow/Installation/Linux/Startup Settings

From Observer GigaFlow Support | VIAVI Solutions Inc.
Jump to: navigation, search

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 in relation to java:

-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 to edit how anuview Flow behaves.

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