24 | | Using instructions from https://openflow.stanford.edu/display/flowvisor/fv_deploy, downloaded and installed !FlowVisor Version 0.8.1 |
| 24 | == Install and Configure Flowvisor == |
| 25 | |
| 26 | Using instructions from https://openflow.stanford.edu/display/flowvisor/fv_deploy, installed the ubuntu package !FlowVisor Version 0.8.1.2. |
| 27 | First, add the following to ''/etc/apt/sources.list'' file: |
| 28 | |
| 29 | {{{deb http://updates.flowvisor.org/openflow/downloads/GENI/DEB unstable/binary-$(ARCH)/}}} |
| 30 | |
| 31 | Install package: |
| 32 | {{{sudo apt-get update && sudo apt-get install flowvisor}}} |
| 33 | |
| 34 | Before proceeding to configuration step, should modify the ''SSL_KEYPASSWD'' in the file /usr/etc/flowvisor/envs.sh to define the password to be used by the fv-admin profile: |
| 35 | |
| 36 | You can now start the flowvisor, note if this is a new flowvisor installation, the SSL keystor must be generated, below is a capture of the process: |
| 37 | {{{ |
| 38 | $ sudo /usr/sbin/flowvisor /usr/etc/flowvisor/config.xml |
| 39 | Starting FlowVisor |
| 40 | Running with FV_JVM_ARGS=-server -Xms100M -Xmx1000M -XX:OnError=flowvisor-crash-logger -XX:+UseConcMarkSweepGC |
| 41 | --- Setting logging level to NOTE |
| 42 | java.lang.RuntimeException: SSL Key Store file not found: '/usr/etc/flowvisor/mySSLKeyStore' |
| 43 | Please generate with `fvconfig generateCert` |
| 44 | at org.flowvisor.api.APIServer.spawn(APIServer.java:85) |
| 45 | at org.flowvisor.FlowVisor.run(FlowVisor.java:143) |
| 46 | at org.flowvisor.FlowVisor.main(FlowVisor.java:191) |
| 47 | |
| 48 | lnevers@mallorea:~$ sudo fvconfig generateCert |
| 49 | Trying to generate SSL Server Key with passwd from scripts/envs.sh |
| 50 | Generating cert with common name == mallorea.gpolab.bbn.com |
| 51 | |
| 52 | $ sudo /usr/sbin/flowvisor /usr/etc/flowvisor/config.xml & |
| 53 | [1] 1283 |
| 54 | lnevers@mallorea:~$ Starting FlowVisor |
| 55 | Running with FV_JVM_ARGS=-server -Xms100M -Xmx1000M -XX:OnError=flowvisor-crash-logger -XX:+UseConcMarkSweepGC |
| 56 | --- Setting logging level to NOTE |
| 57 | }}} |
| 58 | |
| 59 | |
| 60 | Minor issues found, with setting password and paths. (expand) |
| 61 | |
| 62 | Instal |
| 63 | |
| 64 | |