| 702 | === Results of testing step 3: 2012-05-26 === |
| 703 | |
| 704 | ''Note: per discussion on instageni-design on 2012-05-17, request of an OpenFlow-controlled dataplane is not yet possible. So this will need to be retested once OpenFlow control is available.'' |
| 705 | |
| 706 | * Recreating the experiment, ecgtest, which was initially used for IG-MON-1. |
| 707 | * Here is the rspec again: |
| 708 | {{{ |
| 709 | jericho,[~],07:29(0)$ cat omni/rspecs/request/rack-testing/acceptance-tests/IG-MON-nodes-B.rspec |
| 710 | <?xml version="1.0" encoding="UTF-8"?> |
| 711 | <!-- This rspec will reserve one physical node and one openvz node, each |
| 712 | with no OS specified, and create a single dataplane link between |
| 713 | them. It should work on any Emulab which has nodes available and |
| 714 | supports OpenVZ. --> |
| 715 | <rspec xmlns="http://www.geni.net/resources/rspec/3" |
| 716 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 717 | xsi:schemaLocation="http://www.geni.net/resources/rspec/3 |
| 718 | http://www.geni.net/resources/rspec/3/request.xsd" |
| 719 | type="request"> |
| 720 | |
| 721 | <node client_id="phys1" exclusive="true"> |
| 722 | <sliver_type name="raw" /> |
| 723 | <interface client_id="phys1:if0" /> |
| 724 | </node> |
| 725 | <node client_id="virt1" exclusive="false"> |
| 726 | <sliver_type name="emulab-openvz" /> |
| 727 | <interface client_id="virt1:if0" /> |
| 728 | </node> |
| 729 | |
| 730 | <link client_id="phys1-virt1-0"> |
| 731 | <interface_ref client_id="phys1:if0"/> |
| 732 | <interface_ref client_id="virt1:if0"/> |
| 733 | <property source_id="phys1:if0" dest_id="virt1:if0"/> |
| 734 | <property source_id="virt1:if0" dest_id="phys1:if0"/> |
| 735 | </link> |
| 736 | </rspec> |
| 737 | }}} |
| 738 | * Create the sliver: |
| 739 | {{{ |
| 740 | jericho,[~],07:29(0)$ omni -a http://www.utah.geniracks.net/protogeni/xmlrpc/am createsliver ecgtest omni/rspecs/request/rack-testing/acceptance-tests/IG-MON-nodes-B.rspec |
| 741 | INFO:omni:Loading config file /home/chaos/omni/omni_pgeni |
| 742 | INFO:omni:Using control framework pg |
| 743 | INFO:omni:Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+ecgtest expires on 2012-06-30 00:00:00 UTC |
| 744 | INFO:omni:Creating sliver(s) from rspec file omni/rspecs/request/rack-testing/acceptance-tests/IG-MON-nodes-B.rspec for slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+ecgtest |
| 745 | INFO:omni:Asked http://www.utah.geniracks.net/protogeni/xmlrpc/am to reserve resources. Result: |
| 746 | INFO:omni:<?xml version="1.0" ?> |
| 747 | INFO:omni:<!-- Reserved resources for: |
| 748 | Slice: ecgtest |
| 749 | At AM: |
| 750 | URL: http://www.utah.geniracks.net/protogeni/xmlrpc/am |
| 751 | --> |
| 752 | INFO:omni:<rspec type="manifest" xmlns="http://www.geni.net/resources/rspec/3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.geni.net/resources/rspec/3 http://www.geni.net/resources/rspec/3/manifest.xsd"> |
| 753 | |
| 754 | <node client_id="phys1" component_id="urn:publicid:IDN+utah.geniracks.net+node+pc2" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" exclusive="true" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+2993"> |
| 755 | <sliver_type name="raw-pc"/> |
| 756 | <interface client_id="phys1:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc2:eth1" mac_address="e83935b10c7e" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+2996"> <ip address="10.10.1.1" type="ipv4"/> </interface> |
| 757 | <rs:vnode name="pc2" xmlns:rs="http://www.protogeni.net/resources/rspec/ext/emulab/1"/> <host name="phys1.ecgtest.pgeni-gpolab-bbn-com.utah.geniracks.net"/> <services> <login authentication="ssh-keys" hostname="pc2.utah.geniracks.net" port="22" username="chaos"/> </services> </node> |
| 758 | <node client_id="virt1" component_id="urn:publicid:IDN+utah.geniracks.net+node+pc3" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" exclusive="false" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+2994"> |
| 759 | <sliver_type name="emulab-openvz"/> |
| 760 | <interface client_id="virt1:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc3:eth1" mac_address="00000a0a0102" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+2997"> <ip address="10.10.1.2" type="ipv4"/> </interface> |
| 761 | <rs:vnode name="pcvm3-1" xmlns:rs="http://www.protogeni.net/resources/rspec/ext/emulab/1"/> <host name="virt1.ecgtest.pgeni-gpolab-bbn-com.utah.geniracks.net"/> <services> <login authentication="ssh-keys" hostname="pc3.utah.geniracks.net" port="30010" username="chaos"/> </services> </node> |
| 762 | |
| 763 | <link client_id="phys1-virt1-0" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+2995" vlantag="260"> |
| 764 | <interface_ref client_id="phys1:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc2:eth1" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+2996"/> |
| 765 | <interface_ref client_id="virt1:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc3:eth1" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+2997"/> |
| 766 | <property dest_id="virt1:if0" source_id="phys1:if0"/> |
| 767 | <property dest_id="phys1:if0" source_id="virt1:if0"/> |
| 768 | </link> |
| 769 | </rspec> |
| 770 | INFO:omni: ------------------------------------------------------------ |
| 771 | INFO:omni: Completed createsliver: |
| 772 | |
| 773 | Options as run: |
| 774 | aggregate: http://www.utah.geniracks.net/protogeni/xmlrpc/am |
| 775 | configfile: /home/chaos/omni/omni_pgeni |
| 776 | framework: pg |
| 777 | native: True |
| 778 | |
| 779 | Args: createsliver ecgtest omni/rspecs/request/rack-testing/acceptance-tests/IG-MON-nodes-B.rspec |
| 780 | |
| 781 | Result Summary: Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+ecgtest expires on 2012-06-30 00:00:00 UTC |
| 782 | Reserved resources on http://www.utah.geniracks.net/protogeni/xmlrpc/am. |
| 783 | INFO:omni: ============================================================ |
| 784 | }}} |
| 785 | * My physical node is pc2 |
| 786 | * My virtual node is pc3 port 30010 |
| 787 | * Login to pc2 using ssh -A, whose eth1 is 10.10.1.1 |
| 788 | * Make a bigger dataplane file by catting the other a few times, then start copying it around again: |
| 789 | {{{ |
| 790 | bash |
| 791 | touch /tmp/locale-archive |
| 792 | for i in {1..40}; do cat /usr/lib/locale/locale-archive >> /tmp/locale-archive; done |
| 793 | |
| 794 | [chaos@phys1 ~]$ ls -l /tmp/locale-archive |
| 795 | -rw-r--r-- 1 chaos pgeni-gpolab-bbn 4199896960 May 26 05:38 /tmp/locale-archive |
| 796 | |
| 797 | [chaos@phys1 ~]$ while [ 1 ]; do scp /tmp/locale-archive 10.10.1.2:/tmp/; done |
| 798 | ... |
| 799 | }}} |
| 800 | * Leave this running. |
| 801 | |
| 961 | CTID NPROC STATUS IP_ADDR HOSTNAME |
| 962 | 1 19 running - virt1.ecgtest.pgeni-gpolab-bbn-com.utah.geniracks.net |
| 963 | }}} |
| 964 | |
| 965 | === Results of testing step 4: 2012-05-26 === |
| 966 | |
| 967 | * Per-host view of current state: |
| 968 | * From [https://boss.utah.geniracks.net/nodecontrol_list.php3?showtype=dl360] in red dot mode, i can once again see that pc2 is allocated as phys1 to `pgeni-gpolab-bbn-com/ecgtest`. |
| 969 | * I can see that pc3 and pc5 are configured as OpenVZ shared hosts, but i can't see what experiments they are running. |
| 970 | * Using [https://boss.utah.geniracks.net/showpool.php], i can see that pc3 is running one VM and pc5 is running zero, but not what experiments each is running. I opened [instaticket:35] to ask whether a node-to-experiment mapping would be an easy modification to `showpool.php`. |
| 971 | * Per-experiment view of current state: |
| 972 | * Browse to [https://boss.utah.geniracks.net/genislices.php] and find two slices running on the Component Manager: |
| 973 | {{{ |
| 974 | ID HRN Created Expires |
| 975 | 949 bbn-pgeni.lnubuntu12b (lnubuntu12b) 2012-05-25 09:54:08 2012-05-29 18:00:00 |
| 976 | 951 bbn-pgeni.ecgtest (ecgtest) 2012-05-26 05:30:20 2012-06-29 18:00:00 |
| 977 | }}} |
| 978 | * Click `(ecgtest)` to view the details of that experiment at [https://boss.utah.geniracks.net/showexp.php3?experiment=952#details]. |
| 979 | * This shows what nodes it's using, including that its VM has been put on pc3: |
| 980 | {{{ |
| 981 | Physical Node Mapping: |
| 982 | ID Type OS Physical |
| 983 | --------------- ------------ --------------- ------------ |
| 984 | phys1 dl360 FEDORA15-STD pc2 |
| 985 | virt1 pcvm OPENVZ-STD pcvm3-1 (pc3) |
| 986 | }}} |
| 987 | * Here are some other interesting things: |
| 988 | {{{ |
| 989 | IP Port allocation: |
| 990 | Low High |
| 991 | --------------- ------------ |
| 992 | 30000 30255 |
| 993 | |
| 994 | SSHD Port allocation ('ssh -p portnum'): |
| 995 | ID Port SSH command |
| 996 | --------------- ---------- ---------------------- |
| 997 | |
| 998 | Physical Lan/Link Mapping: |
| 999 | ID Member IP MAC NodeID |
| 1000 | --------------- --------------- --------------- -------------------- --------- |
| 1001 | phys1-virt1-0 phys1:0 10.10.1.1 e8:39:35:b1:0c:7e pc2 |
| 1002 | 1/1 <-> 1/28 procurve2 |
| 1003 | phys1-virt1-0 virt1:0 10.10.1.2 00:00:0a:0a:01:02 pcvm3-1 |
| 1004 | }}} |
| 1005 | * So, indeed, a MAC address is reported for the virtual node. However, virt1 itself still says: |
| 1006 | {{{ |
| 1007 | mv1.1 Link encap:Ethernet HWaddr 82:01:0A:0A:01:02 |
| 1008 | inet addr:10.10.1.2 Bcast:10.10.1.255 Mask:255.255.255.0 |
| 1009 | }}} |
| 1010 | * Now, use the OpenVZ host itself to view activity: |
| 1011 | * As an admin, login to pc3.utah.geniracks.net |
| 1012 | * Everything seems similar to when i looked Friday: |
| 1013 | {{{ |
| 1014 | vhost2,[~],06:00(0)$ sudo vzlist -a |