Skip to content

Installation from Binary

alshabib edited this page Dec 19, 2012 · 5 revisions

As of right now, we have binary for all platforms that can run a java application and support debian packages.

Builds

  • Release - the latest and greatest
    • Add deb http://updates.onlab.us/debian stable contrib to /etc/apt/sources.list
  • Staging - what coming next
    • Add deb http://updates.onlab.us/debian staging contrib to /etc/apt/sources.list
  • Nightly - the bleeding edge
    • Add deb http://updates.onlab.us/debian unstable contrib to /etc/apt/sources.list

Installation procedure

First obtain the repository public key:

$ wget http://updates.onlab.us/debian/onlab-repo.gpg

$ sudo apt-key add onlab-repo.gpg

Then, update your apt database:

$ sudo apt-get update

Next, install FlowVisor:

$ sudo apt-get install flowvisor

Note that this will create a flowvisor user on your system.

Finally, deploy the database and generate a configuration file:

$ sudo -u flowvisor fvconfig generate /etc/flowvisor/config.json

Now, you can run FlowVisor by running (make sure you run it as the flow visor user):

$ sudo -u flowvisor flowvisor

or

$ sudo /etc/init.d/flowvisor start (runs FlowVisor as user flowvisor)

Upgrading FlowVisor

When upgrading, FlowVisor may update the structure of its internal database. Therefore it is important to save the configuration file after an upgrade, by running:

fvctl dumpConfig config.json

Note

All configuration changes are done in the db in place during the execution. If you would like to dump the contents of the db, run:

$ fvctl dumpConfig config.json

Clone this wiki locally