Difference between revisions of "Update linux"

From Observer GigaFlow Support | VIAVI Solutions Inc.
Jump to: navigation, search
Line 1: Line 1:
 +
Server With Direct Internet Access
 +
 
If the server has internet access you can run the following which will download the latest build and install it (causing service Gigaflow to restart)
 
If the server has internet access you can run the following which will download the latest build and install it (causing service Gigaflow to restart)
 
  /opt/ros/resources/unix/update.sh
 
  /opt/ros/resources/unix/update.sh
  
 
+
Server Without  Direct Internet Access
 
If the server has no internet access, copy the build https://update.viavisolutions.com/latest/ObserverGigaFlowUnixx64.tgz) file into the server folder /opt and then run  
 
If the server has no internet access, copy the build https://update.viavisolutions.com/latest/ObserverGigaFlowUnixx64.tgz) file into the server folder /opt and then run  
 
  tar -vxzf /opt/ObserverGigaFlowUnixx64.tgz -C /
 
  tar -vxzf /opt/ObserverGigaFlowUnixx64.tgz -C /
 +
Now restart the gigaflow service
  
 
When updating to Gigaflow 18.16.0.0 from any previous version, you should run the following command after the 18.16.0.0 has been installed and then restart the gigaflow service
 
When updating to Gigaflow 18.16.0.0 from any previous version, you should run the following command after the 18.16.0.0 has been installed and then restart the gigaflow service
 
  /opt/ros/resources/unix/updatepost.sh  
 
  /opt/ros/resources/unix/updatepost.sh  
  
When done, double check that only 1 copy of GigaFlow is running
+
 
 +
To Double check that only 1 copy of GigaFlow is running
 
  ps aux | grep java | grep ROS
 
  ps aux | grep java | grep ROS
 
You should see a single output similar to below
 
You should see a single output similar to below
 
  root    2158693  3.1  8.6 5022980 686268 ?      Sl  Feb02  20:43 /opt/java/bin/java -Xms364M -Xmx968M -Djava.net.preferIPv4Stack=true -Djava.library.path=./dist/libs/ -Djava.awt.headless=true -XX:+HeapDumpOnOutOfMemoryError -classpath ./dist/ROS.jar:./dist/libs/* ros.ROS httpport=80 httpsport=443
 
  root    2158693  3.1  8.6 5022980 686268 ?      Sl  Feb02  20:43 /opt/java/bin/java -Xms364M -Xmx968M -Djava.net.preferIPv4Stack=true -Djava.library.path=./dist/libs/ -Djava.awt.headless=true -XX:+HeapDumpOnOutOfMemoryError -classpath ./dist/ROS.jar:./dist/libs/* ros.ROS httpport=80 httpsport=443

Revision as of 12:23, 12 July 2023

Server With Direct Internet Access

If the server has internet access you can run the following which will download the latest build and install it (causing service Gigaflow to restart)

/opt/ros/resources/unix/update.sh

Server Without Direct Internet Access If the server has no internet access, copy the build https://update.viavisolutions.com/latest/ObserverGigaFlowUnixx64.tgz) file into the server folder /opt and then run

tar -vxzf /opt/ObserverGigaFlowUnixx64.tgz -C /

Now restart the gigaflow service

When updating to Gigaflow 18.16.0.0 from any previous version, you should run the following command after the 18.16.0.0 has been installed and then restart the gigaflow service

/opt/ros/resources/unix/updatepost.sh 


To Double check that only 1 copy of GigaFlow is running

ps aux | grep java | grep ROS

You should see a single output similar to below

root     2158693  3.1  8.6 5022980 686268 ?      Sl   Feb02  20:43 /opt/java/bin/java -Xms364M -Xmx968M -Djava.net.preferIPv4Stack=true -Djava.library.path=./dist/libs/ -Djava.awt.headless=true -XX:+HeapDumpOnOutOfMemoryError -classpath ./dist/ROS.jar:./dist/libs/* ros.ROS httpport=80 httpsport=443