...) where ONOS runs. Cluster: a set of target machines working together as a distributed system. Management Machine: an optional machine meant for operators, used to deploy and manage ONOS from a single position on one or more target machines. At least one target machine is needed to install and run ONOS. Cluster allows ONOS to spread the load, being able to better scale and improve performances. ONOS can be deployed and managed on a target machine either locally (from the machine itself), or from a remote machine, called management machine. The management machine is optional. Ref: [Abstractions and de nitions]
- at least three nodes if you need fault tolerance. Underlying ONOS in part is several Raft clusters which require a majority of the cluster to be available to make progress... @jordan | Discussion Thread
> South Bridge > LPSS & SCC Con guration > SCC SDIO Support = PCI Mode F4 Boot and Install with the HWE kernel Install Ubuntu Server Notes: (1) No network interfaces were found -> Continue; (2) Guided - use entire disk
onos-1.12.0.tar.gz to /home/em/onos-1.12.0.tar.gz onos-1.12.0.tar.gz 100% 215MB 5.1MB/s 00:42 sftp> quit # Extract $ sudo mv onos-1.12.0.tar.gz /opt/ $ cd /opt && sudo tar xzf onos-1.12.0.tar.gz $ sudo rm -f onos-1.12.0.tar.gz $ sudo mv onos-1.12.0 onos # ------------------------------------- # Test $ /opt/onos/bin/onos-service start Welcome to Open Network Operating System (ONOS)! ____ _ ______ ____ / __ \/ |/ / __ \/ __/ / /_/ / / /_/ /\ \ \____/_/|_/\____/___/ Documentation: wiki.onosproject.org Tutorials: tutorials.onosproject.org Mailing lists: lists.onosproject.org Come help out! Find out how at: contribute.onosproject.org Hit '<tab>' for a list of available commands and '[cmd] --help' for help on a specific command. Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown ONOS. onos> apps -s -a Service org.onosproject.app.ApplicationService not found onos> apps -s -a + 18 org.onosproject.drivers 1.12.0 Default Drivers 22 / 50 ONOS Binary Test
logout from web ui em@onos182:~$ onos Password authentication Password: Welcome to Open Network Operating System (ONOS)! ____ _ ______ ____ / __ \/ |/ / __ \/ __/ / /_/ / / /_/ /\ \ \____/_/|_/\____/___/ Documentation: wiki.onosproject.org Tutorials: tutorials.onosproject.org Mailing lists: lists.onosproject.org Come help out! Find out how at: contribute.onosproject.org Hit '<tab>' for a list of available commands and '[cmd] --help' for help on a specific command. Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown ONOS. onos> ^D # ----------------------------- em@onos182:~$ ll /opt/onos/bin total 64 drwxrwxrwx 2 sdn sdn 4096 Dec 12 05:04 ./ drwxrwxrwx 8 sdn sdn 4096 Feb 25 08:57 ../ -rwxrwxrwx 1 sdn sdn 969 Dec 12 05:04 _check-json* -rwxrwxrwx 1 sdn sdn 1347 Dec 12 05:04 _find-node* -rwxrwxrwx 1 sdn sdn 273 Dec 12 05:04 onos* -rwxrwxrwx 1 sdn sdn 3368 Dec 12 05:04 onos-app* -rwxrwxrwx 1 sdn sdn 1287 Dec 12 05:04 onos-backup* -rwxrwxrwx 1 sdn sdn 1960 Dec 12 05:04 onos-cfg* -rwxrwxrwx 1 sdn sdn 1860 Dec 12 05:04 onos-compile-yang* -rwxrwxrwx 1 sdn sdn 1310 Dec 12 05:04 onos-form-cluster* -rwxrwxrwx 1 sdn sdn 197 Dec 12 05:04 onos-jpenable* -rwxrwxrwx 1 sdn sdn 1961 Dec 12 05:04 onos-netcfg* -rwxrwxrwx 1 sdn sdn 1073 Dec 12 05:04 onos-restore* -rwxrwxrwx 1 sdn sdn 2011 Dec 12 05:04 onos-service* 24 / 50 onos-user- password onos (Local CLI) onos-form- cluster
the code 2. Build ONOS with onos-buck buld onos 3. Load the cell settings with cell $YOUR_CELL_NAME 4. Load your topology with topo $YOUR_TOPO_NAME 5. Deploy ONOS target machines with stc setup 6. Deploy the Mininet topology with stc net-setup Ref: [Cells and ONOS test scripts]
file in which to save the key (/home/em/.ssh/id_rsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /home/em/.ssh/id_rsa. Your public key has been saved in /home/em/.ssh/id_rsa.pub. The key fingerprint is: SHA256:x61ayOgkKfOu4Kb1kg6qhzQg1zWtinDbeDRi7XOf8dk em@onos-ide The key's randomart image is: +---[RSA 2048]----+ | . | | o . | | o . o | |+ = = . . . | |o= O o S o . | | o+ *..o.o . | |+.=oooo.o+oo | |+=+= + ooo E | |B+o++ . . | +----[SHA256]-----+ # ---------------- # via ssh-copy-id em@onos-ide:~$ ssh-copy-id [email protected] /usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/home/em/.ssh/id_rsa.pub" /usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that a /usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are prompted now it is t [email protected]'s password: Number of key(s) added: 1 Now try logging into the machine, with: "ssh '[email protected]'" and check to make sure that only the key(s) you wanted were added. # via onos-push-keys em@onos-ide:~$ onos-push-keys 192.168.0.182 [email protected]'s password: em@onos-ide:~$ ONOS_USER=ubuntu onos-push-keys $OCN [email protected]'s password: 32 / 50 ssh-keygen onos-push-keys Test
Original contents retained as /home/em/.ssh/known_hosts.old usage: onos-user-password user {password|--remove} ID | State | Web-State | Level | Web-ContextPath | Name ------------------------------------------------------------------------------ 157 | Active | Deployed | 80 | /onos/v1 | onos-rest (1.12.0) 159 | Active | Deployed | 80 | /onos/ui | onos-gui (1.12.0) # Host [localhost]:8101 found: line 1 /home/em/.ssh/known_hosts updated. Original contents retained as /home/em/.ssh/known_hosts.old # Host [localhost]:8101 found: line 1 /home/em/.ssh/known_hosts updated. Original contents retained as /home/em/.ssh/known_hosts.old usage: onos-user-password user {password|--remove} ID | State | Web-State | Level | Web-ContextPath | Name ------------------------------------------------------------------------------ 157 | Active | Deployed | 80 | /onos/v1 | onos-rest (1.12.0) 159 | Active | Deployed | 80 | /onos/ui | onos-gui (1.12.0) # Host [localhost]:8101 found: line 1 /home/em/.ssh/known_hosts updated. Original contents retained as /home/em/.ssh/known_hosts.old # ----------------------- em@onos-ide:~$ onos Welcome to Open Network Operating System (ONOS)! ____ _ ______ ____ / __ \/ |/ / __ \/ __/ / /_/ / / /_/ /\ \ \____/_/|_/\____/___/ Documentation: wiki.onosproject.org Tutorials: tutorials.onosproject.org Mailing lists: lists.onosproject.org Come help out! Find out how at: contribute.onosproject.org Hit ' t b ' f li t f il bl d 33 / 50 onos-secure-ssh onos (CLI)
Load the cell settings with cell $YOUR_CELL_NAME 2. Load / activate apps (onos CLI) 3. Load your topology with topo $YOUR_TOPO_NAME 4. Deploy the Mininet topology with stc net-setup
scripts 3. Appendix A : List of ONOS Utility Scripts (onos-* scripts) 4. bocon13/onos-byon: Build Your Own Network 5. Abstractions and de nitions 6. ONOS Distributed Tutorial - Slides 7. Running ONOS as a service 8. Installing on a single machine 9. Distributed ONOS Tutorial 10. Experimenting with ONOS clustering 49 / 50