21 | | 1. Stop Eclipse by clicking the red square to the top-right of the output console. Close the application. |
22 | | 2. Kill all OVS processes: |
23 | | {{{ |
24 | | $ ps aux | grep ovs |
25 | | root 3577 0.0 0.0 0 0 ? S 14:31 0:00 [ovs_workq] |
26 | | root 3579 0.0 0.1 4200 1704 ? Ss 14:31 0:01 ovsdb-server --remote=punix:/usr/local/var/run/openvswitch/db.sock --remote=db:Open_vSwitch,manager_options --private-key=db:SSL,private_key --certificate=db:SSL,certificate --bootstrap-ca-cert=db:SSL,ca_cert --pidfile --detach |
27 | | root 3585 30.7 0.2 5352 2232 ? Rs 14:31 16:06 ovs-vswitchd --pidfile --detach |
28 | | root 4475 0.0 0.0 3308 776 pts/2 S+ 15:23 0:00 grep ovs |
29 | | }}} |
30 | | Note the process numbers (e.g. 3577, 3579, and 3585) of the OVS processes. |
31 | | 3. Run: |
32 | | {{{ |
33 | | $ kill 3577 && kill 3579 && kill 3585 |
34 | | }}} |
| 21 | 1. Stop ping by issuing a '''SIGINT''' via '''ctrl^c'''. |
| 22 | 2. Execute the '''/root/gec18_teardown.sh''' script to kill Floodlight and OVS. |
38 | | 1. Shutdown or suspend VM. |
| 26 | 1. Optionally, if you would like to save your image for future use and perhaps modify or expand upon this experiment: |
| 27 | a. Prepare the Orbit image for archival and run '''prepare.sh''' in the '''/root''' directory. This script will save the configuration of your image and shutdown the node (i.e. your SSH pipe will be broken). |
| 28 | b. Save the image from the Orbit now the client was running on by executing '''omf save -n <your_client's_node_ID>''' where '''<your_client's_node_ID>''' is the full name of the node you wish to save. For example, '''node10-10.grid.orbit-lab.org'''. This process might take some time, but note the name of your image, which will be something to the effect of '''<your_user_name>-node-<your_client's_node_ID>-<the_current_date_and_time>.ndz''' where '''<your_user_name>''' is your Orbit Lab user name, '''<your_client's_node_ID>''' is the full name of the node you wish to save, and '''<the_current_date_and_time>''' is the date and time of the saved image to the nearest second. Write this image name down or save it in a safe place. You will be able to load and boot it at a later date if you have a reservation in Orbit. |
| 29 | 2. If you skipped step 1, exit your SSH sessions by typing '''exit''' in all open SSH connections to the client. |
| 30 | 3. Shutdown any nodes you were using in Orbit by running '''omf tell -a offh -t <your_client's_node_ID>''', where '''<your_client's_node_ID>''' is the full name of the node you wish to shut down. If you have more than one node running, you may include it in the same command in a comma-separated, no-white-space list. Alternatively, if you are the only one using the testbed, you can shutdown all the nodes by running '''omf tell -a offh -t all'''. |
| 31 | |