| 460 | }}} |
| 461 | |
| 462 | === Results of testing: 2012-05-18 === |
| 463 | |
| 464 | * Here is an rspec for two physical nodes with no OS specified: |
| 465 | {{{ |
| 466 | jericho,[~],14:40(0)$ cat omni/rspecs/request/rack-testing/acceptance-tests/IG-MON-nodes-D.rspec |
| 467 | <?xml version="1.0" encoding="UTF-8"?> |
| 468 | <!-- This rspec will reserve two physical node, each with no OS specified, |
| 469 | and create a single dataplane link between them. It should work |
| 470 | on any Emulab which has nodes available and supports OpenVZ. --> |
| 471 | <rspec xmlns="http://www.geni.net/resources/rspec/3" |
| 472 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 473 | xsi:schemaLocation="http://www.geni.net/resources/rspec/3 |
| 474 | http://www.geni.net/resources/rspec/3/request.xsd" |
| 475 | type="request"> |
| 476 | |
| 477 | <node client_id="phys1" exclusive="true"> |
| 478 | <sliver_type name="raw" /> |
| 479 | <interface client_id="phys1:if0" /> |
| 480 | </node> |
| 481 | <node client_id="phys2" exclusive="true"> |
| 482 | <sliver_type name="raw" /> |
| 483 | <interface client_id="phys2:if0" /> |
| 484 | </node> |
| 485 | |
| 486 | <link client_id="phys1-phys2-0"> |
| 487 | <interface_ref client_id="phys1:if0"/> |
| 488 | <interface_ref client_id="phys2:if0"/> |
| 489 | <property source_id="phys1:if0" dest_id="phys2:if0"/> |
| 490 | <property source_id="phys2:if0" dest_id="phys1:if0"/> |
| 491 | </link> |
| 492 | </rspec> |
| 493 | }}} |
| 494 | * Create a slice for this experiment: |
| 495 | {{{ |
| 496 | omni createslice ecgtest3 |
| 497 | }}} |
| 498 | * Create a sliver using this rspec: |
| 499 | {{{ |
| 500 | jericho,[~],14:50(0)$ omni -a http://www.utah.geniracks.net/protogeni/xmlrpc/am createsliver ecgtest3 omni/rspecs/request/rack-testing/acceptance-tests/IG-MON-nodes-D.rspec |
| 501 | INFO:omni:Loading config file /home/chaos/omni/omni_pgeni |
| 502 | INFO:omni:Using control framework pg |
| 503 | INFO:omni:Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+ecgtest3 expires on 2012-05-22 19:50:36 UTC |
| 504 | INFO:omni:Creating sliver(s) from rspec file omni/rspecs/request/rack-testing/acceptance-tests/IG-MON-nodes-D.rspec for slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+ecgtest3 |
| 505 | INFO:omni:Asked http://www.utah.geniracks.net/protogeni/xmlrpc/am to reserve resources. Result: |
| 506 | INFO:omni:<?xml version="1.0" ?> |
| 507 | INFO:omni:<!-- Reserved resources for: |
| 508 | Slice: ecgtest3 |
| 509 | At AM: |
| 510 | URL: http://www.utah.geniracks.net/protogeni/xmlrpc/am |
| 511 | --> |
| 512 | 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"> |
| 513 | |
| 514 | <node client_id="phys1" component_id="urn:publicid:IDN+utah.geniracks.net+node+pc5" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" exclusive="true" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+779"> |
| 515 | <sliver_type name="raw-pc"/> |
| 516 | <interface client_id="phys1:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc5:eth1" mac_address="e4115bed1cb6" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+782"> <ip address="10.10.1.1" type="ipv4"/> </interface> |
| 517 | <rs:vnode name="pc5" xmlns:rs="http://www.protogeni.net/resources/rspec/ext/emulab/1"/> <host name="phys1.ecgtest3.pgeni-gpolab-bbn-com.utah.geniracks.net"/> <services> <login authentication="ssh-keys" hostname="pc5.utah.geniracks.net" port="22" username="chaos"/> </services> </node> |
| 518 | <node client_id="phys2" component_id="urn:publicid:IDN+utah.geniracks.net+node+pc4" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" exclusive="true" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+780"> |
| 519 | <sliver_type name="raw-pc"/> |
| 520 | <interface client_id="phys2:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc4:eth1" mac_address="e83935b1ec9e" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+783"> <ip address="10.10.1.2" type="ipv4"/> </interface> |
| 521 | <rs:vnode name="pc4" xmlns:rs="http://www.protogeni.net/resources/rspec/ext/emulab/1"/> <host name="phys2.ecgtest3.pgeni-gpolab-bbn-com.utah.geniracks.net"/> <services> <login authentication="ssh-keys" hostname="pc4.utah.geniracks.net" port="22" username="chaos"/> </services> </node> |
| 522 | |
| 523 | <link client_id="phys1-phys2-0" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+781" vlantag="259"> |
| 524 | <interface_ref client_id="phys1:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc5:eth1" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+782"/> |
| 525 | <interface_ref client_id="phys2:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc4:eth1" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+783"/> |
| 526 | <property dest_id="phys2:if0" source_id="phys1:if0"/> |
| 527 | <property dest_id="phys1:if0" source_id="phys2:if0"/> |
| 528 | </link> |
| 529 | </rspec> |
| 530 | INFO:omni: ------------------------------------------------------------ |
| 531 | INFO:omni: Completed createsliver: |
| 532 | |
| 533 | Options as run: |
| 534 | aggregate: http://www.utah.geniracks.net/protogeni/xmlrpc/am |
| 535 | configfile: /home/chaos/omni/omni_pgeni |
| 536 | framework: pg |
| 537 | native: True |
| 538 | |
| 539 | Args: createsliver ecgtest3 omni/rspecs/request/rack-testing/acceptance-tests/IG-MON-nodes-D.rspec |
| 540 | |
| 541 | Result Summary: Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+ecgtest3 expires on 2012-05-22 19:50:36 UTC |
| 542 | Reserved resources on http://www.utah.geniracks.net/protogeni/xmlrpc/am. |
| 543 | INFO:omni: ============================================================ |
| 544 | }}} |
| 545 | * According to sliverstatus, my nodes are pc4 and pc5. |
| 546 | * Incidentally, sliverstatus here does include MAC addresses. |
| 547 | * Login to pc4.utah.geniracks.net with agent forwarding |
| 548 | * Find that it is phys2 and has eth1=10.10.1.2 |
| 549 | * Find a big file: |
| 550 | {{{ |
| 551 | [chaos@phys2 ~]$ ls -l /usr/lib/locale/locale-archive |
| 552 | -rw-r--r-- 1 root root 104997424 Aug 10 2011 /usr/lib/locale/locale-archive |
| 553 | }}} |
| 554 | * Copy the big file over the dataplane in a loop: |
| 555 | {{{ |
| 556 | [chaos@phys2 ~]$ bash |
| 557 | [chaos@phys2 ~]$ while [ 1 ]; do scp /usr/lib/locale/locale-archive 10.10.1.1:/tmp/; done |
| 558 | The authenticity of host '10.10.1.1 (10.10.1.1)' can't be established. |
| 559 | RSA key fingerprint is 46:63:92:67:c8:75:20:4e:52:9f:2d:f6:cb:58:16:77. |
| 560 | Are you sure you want to continue connecting (yes/no)? yes |
| 561 | Warning: Permanently added '10.10.1.1' (RSA) to the list of known hosts. |
| 562 | locale-archive 100% 100MB 33.4MB/s 00:03 |
| 563 | locale-archive 100% 100MB 50.1MB/s 00:02 |
| 564 | locale-archive 100% 100MB 50.1MB/s 00:02 |
| 565 | locale-archive 100% 100MB 50.1MB/s 00:02 |
| 566 | ... |
| 567 | }}} |
| 568 | * After a bit of that, delete the sliver: |
| 569 | {{{ |
| 570 | jericho,[~],14:56(0)$ omni -a http://www.utah.geniracks.net/protogeni/xmlrpc/am deletesliver ecgtest3 |