| 529 | Request 2 VMs of size 2048 MB (twice the maximum) using the following RSpec: |
| 530 | {{{ |
| 531 | <node client_id="xen1" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" exclusive="false"> |
| 532 | <sliver_type name="emulab-xen"> |
| 533 | <emulab:xen ram="2048"/> |
| 534 | </sliver_type> |
| 535 | <interface client_id="xen1:if0"> |
| 536 | </interface> |
| 537 | </node> |
| 538 | <node client_id="xen2" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" exclusive="false"> |
| 539 | <sliver_type name="emulab-xen"> |
| 540 | <emulab:xen ram="2048"/> |
| 541 | </sliver_type> |
| 542 | <interface client_id="xen2:if0"> |
| 543 | </interface> |
| 544 | </node> |
| 545 | }}} |
| 546 | Create a slice and slivers: |
| 547 | {{{ |
| 548 | $ omni.py createslice xen-2vm-64 |
| 549 | ... |
| 550 | Result Summary: Created slice with Name xen-2vm-64, URN urn:publicid:IDN+ch.geni.net:ln-prj+slice+xen-2vm-64, Expiration 2013-08-19 15:15:54 |
| 551 | }}} |
| 552 | $ omni.py createslice xen-2vm-2048 |
| 553 | ... |
| 554 | Result Summary: Created slice with Name xen-2vm-2048, URN urn:publicid:IDN+ch.geni.net:ln-prj+slice+xen-2vm-2048, Expiration 2013-08-19 15:24:47 |
| 555 | ... |
| 556 | $ omni.py createsliver -a ig-utah xen-2vm-2048 ./insta-xen-2vm-2048.rspec |
| 557 | 11:25:06 INFO omni: Loading config file /home/lnevers/.gcf/omni_config |
| 558 | 11:25:06 INFO omni: Using control framework portal |
| 559 | 11:25:06 INFO omni: Substituting AM nickname ig-utah with URL https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0, URN urn:publicid:IDN+utah.geniracks.net+authority+cm |
| 560 | 11:25:07 INFO omni: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+xen-2vm-2048 expires on 2013-08-19 15:24:47 UTC |
| 561 | 11:25:07 INFO omni: Substituting AM nickname ig-utah with URL https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0, URN urn:publicid:IDN+utah.geniracks.net+authority+cm |
| 562 | 11:25:07 INFO omni: Substituting AM nickname ig-utah with URL https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0, URN urn:publicid:IDN+utah.geniracks.net+authority+cm |
| 563 | 11:25:07 INFO omni: Creating sliver(s) from rspec file ./insta-xen-2vm-2048.rspec for slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+xen-2vm-2048 |
| 564 | 11:25:22 WARNING omni: Failed CreateSliver for slice xen-2vm-2048 at https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0. Error from Aggregate: code 2. protogeni AM code: 2: Could not verify topo (PG log url - look here for details on any failures: https://boss.utah.geniracks.net/spewlogfile.php3?logfile=d7adecc39ef239763d8eda5d5075555b). |
| 565 | 11:25:22 INFO omni: ------------------------------------------------------------ |
| 566 | 11:25:22 INFO omni: Completed createsliver: |
| 567 | |
| 568 | Options as run: |
| 569 | aggregate: ['ig-utah'] |
| 570 | framework: portal |
| 571 | project: ln-prj |
| 572 | |
| 573 | Args: createsliver xen-2vm-2048 ./insta-xen-2vm-2048.rspec |
| 574 | |
| 575 | Result Summary: Failed CreateSliver for slice xen-2vm-2048 at https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0. Error from Aggregate: code 2. protogeni AM code: 2: Could not verify topo (PG log url - look here for details on any failures: https://boss.utah.geniracks.net/spewlogfile.php3?logfile=d7adecc39ef239763d8eda5d5075555b). |
| 576 | 11:25:22 INFO omni: ============================================================ |
| 577 | |
| 578 | }}} |
| 579 | |
| 580 | Failed as expected. |
| 581 | |
| 583 | |
| 584 | Request 2 guest VMs of size 128MB using the following RSpec: |
| 585 | {{{ |
| 586 | .... |
| 587 | <node client_id="xen1" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" exclusive="false"> |
| 588 | <sliver_type name="emulab-xen"> |
| 589 | <emulab:xen ram="128"/> |
| 590 | </sliver_type> |
| 591 | <interface client_id="xen1:if0"> |
| 592 | </interface> |
| 593 | </node> |
| 594 | <node client_id="xen2" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" exclusive="false"> |
| 595 | <sliver_type name="emulab-xen"> |
| 596 | <emulab:xen ram="128"/> |
| 597 | </sliver_type> |
| 598 | <interface client_id="xen2:if0"> |
| 599 | </interface> |
| 600 | </node> |
| 601 | ... |
| 602 | }}} |
| 603 | |
| 604 | Create slice and sliver: |
| 605 | {{{ |
| 606 | $ omni.py createslice xen-2vm-128 |
| 607 | ... |
| 608 | Result Summary: Created slice with Name xen-2vm-128, URN urn:publicid:IDN+ch.geni.net:ln-prj+slice+xen-2vm-128, Expiration 2013-08-19 14:57:23 |
| 609 | |
| 610 | $ omni.py createsliver -a ig-utah xen-2vm-128 insta-xen-2vm-128.rspec |
| 611 | 10:57:42 INFO omni: Loading config file /home/lnevers/.gcf/omni_config |
| 612 | 10:57:42 INFO omni: Using control framework portal |
| 613 | 10:57:42 INFO omni: Substituting AM nickname ig-utah with URL https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0, URN urn:publicid:IDN+utah.geniracks.net+authority+cm |
| 614 | 10:57:43 INFO omni: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+xen-2vm-128 expires on 2013-08-19 14:57:23 UTC |
| 615 | 10:57:43 INFO omni: Substituting AM nickname ig-utah with URL https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0, URN urn:publicid:IDN+utah.geniracks.net+authority+cm |
| 616 | 10:57:43 INFO omni: Substituting AM nickname ig-utah with URL https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0, URN urn:publicid:IDN+utah.geniracks.net+authority+cm |
| 617 | 10:57:43 INFO omni: Creating sliver(s) from rspec file insta-xen-2vm-128.rspec for slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+xen-2vm-128 |
| 618 | 10:58:04 INFO omni: (PG log url - look here for details on any failures: https://boss.utah.geniracks.net/spewlogfile.php3?logfile=44d0806a090e4f8f63f3919ebd51ad17) |
| 619 | 10:58:04 INFO omni: Got return from CreateSliver for slice xen-2vm-128 at https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0: |
| 620 | 10:58:04 INFO omni: <!-- Reserved resources for: |
| 621 | Slice: xen-2vm-128 |
| 622 | at AM: |
| 623 | URN: urn:publicid:IDN+utah.geniracks.net+authority+cm |
| 624 | URL: https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0 |
| 625 | --> |
| 626 | 10:58:04 INFO omni: <rspec xmlns="http://www.geni.net/resources/rspec/3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:emulab="http://www.protogeni.net/resources/rspec/ext/emulab/1" xmlns:sharedvlan="http://www.protogeni.net/resources/rspec/ext/shared-vlan/1" xmlns:stitch="http://hpn.east.isi.edu/rspec/ext/stitch/0.1/" xsi:schemaLocation="http://www.geni.net/resources/rspec/3 http://www.geni.net/resources/rspec/3/manifest.xsd http://hpn.east.isi.edu/rspec/ext/stitch/0.1/ http://hpn.east.isi.edu/rspec/ext/stitch/0.1/stitch-schema.xsd" type="manifest"> |
| 627 | <node xmlns:emulab="http://www.protogeni.net/resources/rspec/ext/emulab/1" client_id="xen1" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" exclusive="false" component_id="urn:publicid:IDN+utah.geniracks.net+node+pc3" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24669"> |
| 628 | <sliver_type name="emulab-xen"> |
| 629 | <emulab:xen ram="128"/> |
| 630 | </sliver_type> |
| 631 | <interface client_id="xen1:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc3:lo0" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24674" mac_address="023c1d2df649"> |
| 632 | <ip address="10.10.1.2" type="ipv4"/></interface> |
| 633 | <emulab:vnode name="pcvm3-57"/><host name="xen1.xen-2vm-128.ch-geni-net.utah.geniracks.net"/><services><login authentication="ssh-keys" hostname="pc3.utah.geniracks.net" port="38714" username="lnevers"/></services></node> |
| 634 | <node xmlns:emulab="http://www.protogeni.net/resources/rspec/ext/emulab/1" client_id="xen2" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" exclusive="false" component_id="urn:publicid:IDN+utah.geniracks.net+node+pc3" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24670"> |
| 635 | <sliver_type name="emulab-xen"> |
| 636 | <emulab:xen ram="128"/> |
| 637 | </sliver_type> |
| 638 | <interface client_id="xen2:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc3:lo0" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24673" mac_address="028059167536"> |
| 639 | <ip address="10.10.1.1" type="ipv4"/></interface> |
| 640 | <emulab:vnode name="pcvm3-58"/><host name="xen2.xen-2vm-128.ch-geni-net.utah.geniracks.net"/><services><login authentication="ssh-keys" hostname="pc3.utah.geniracks.net" port="38715" username="lnevers"/></services></node> |
| 641 | <link client_id="link0" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24672"> |
| 642 | <component_manager name="urn:publicid:IDN+utah.geniracks.net+authority+cm"/> |
| 643 | <interface_ref client_id="xen2:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc3:lo0" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24673"/> |
| 644 | <interface_ref client_id="xen1:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc3:lo0" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24674"/> |
| 645 | <property source_id="xen2:if0" dest_id="xen1:if0"/> |
| 646 | <property source_id="xen1:if0" dest_id="xen2:if0"/> |
| 647 | </link> |
| 648 | </rspec> |
| 649 | 10:58:04 INFO omni: ------------------------------------------------------------ |
| 650 | 10:58:04 INFO omni: Completed createsliver: |
| 651 | |
| 652 | Options as run: |
| 653 | aggregate: ['ig-utah'] |
| 654 | framework: portal |
| 655 | project: ln-prj |
| 656 | |
| 657 | Args: createsliver xen-2vm-128 insta-xen-2vm-128.rspec |
| 658 | |
| 659 | Result Summary: Got Reserved resources RSpec from utah-geniracks-net |
| 660 | 10:58:04 INFO omni: ============================================================ |
| 661 | }}} |
| 662 | |
| 663 | Verify Memory Allocation: |
| 664 | {{{ |
| 665 | $ remote-execute.py -a ig-utah xen-2vm-128 -m "cat /proc/meminfo|grep MemTotal" |
| 666 | Find login Info for hosts in slice xen-2vm-128 |
| 667 | Send command cat /proc/meminfo|grep MemTotal to xen2 |
| 668 | MemTotal: 113884 kB |
| 669 | Done with command cat /proc/meminfo|grep MemTotal to xen2 |
| 670 | Send command cat /proc/meminfo|grep MemTotal to xen1 |
| 671 | MemTotal: 113884 kB |
| 672 | Done with command cat /proc/meminfo|grep MemTotal to xen1 |
| 673 | }}} |
| 674 | |
| 675 | Since 128 Mb works, request a smallet guest with memory size of 64 MB. Modified RSpec from ''' ''<emulab:xen ram="128"/>'' ''' to ''' ''<emulab:xen ram="64"/>'' '''. |
| 676 | Create slice and sliver: |
| 677 | {{{ |
| 678 | $ omni.py createslice xen-2vm-64 |
| 679 | ... |
| 680 | Result Summary: Created slice with Name xen-2vm-64, URN urn:publicid:IDN+ch.geni.net:ln-prj+slice+xen-2vm-64, Expiration 2013-08-19 15:15:54 |
| 681 | ... |
| 682 | $ omni.py createsliver -a ig-utah xen-2vm-64 ./insta-xen-2vm-64.rspec |
| 683 | 11:16:56 INFO omni: Loading config file /home/lnevers/.gcf/omni_config |
| 684 | 11:16:56 INFO omni: Using control framework portal |
| 685 | 11:16:56 INFO omni: Substituting AM nickname ig-utah with URL https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0, URN urn:publicid:IDN+utah.geniracks.net+authority+cm |
| 686 | 11:16:57 INFO omni: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+xen-2vm-64 expires on 2013-08-19 15:15:54 UTC |
| 687 | 11:16:57 INFO omni: Substituting AM nickname ig-utah with URL https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0, URN urn:publicid:IDN+utah.geniracks.net+authority+cm |
| 688 | 11:16:57 INFO omni: Substituting AM nickname ig-utah with URL https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0, URN urn:publicid:IDN+utah.geniracks.net+authority+cm |
| 689 | 11:16:57 INFO omni: Creating sliver(s) from rspec file ./insta-xen-2vm-64.rspec for slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+xen-2vm-64 |
| 690 | 11:17:12 INFO omni: (PG log url - look here for details on any failures: https://boss.utah.geniracks.net/spewlogfile.php3?logfile=7f370eb19129ea6a790f7180915bb90f) |
| 691 | 11:17:12 INFO omni: Got return from CreateSliver for slice xen-2vm-64 at https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0: |
| 692 | 11:17:12 INFO omni: <!-- Reserved resources for: |
| 693 | Slice: xen-2vm-64 |
| 694 | at AM: |
| 695 | URN: urn:publicid:IDN+utah.geniracks.net+authority+cm |
| 696 | URL: https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0 |
| 697 | --> |
| 698 | 11:17:12 INFO omni: <rspec xmlns="http://www.geni.net/resources/rspec/3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:emulab="http://www.protogeni.net/resources/rspec/ext/emulab/1" xmlns:sharedvlan="http://www.protogeni.net/resources/rspec/ext/shared-vlan/1" xmlns:stitch="http://hpn.east.isi.edu/rspec/ext/stitch/0.1/" xsi:schemaLocation="http://www.geni.net/resources/rspec/3 http://www.geni.net/resources/rspec/3/manifest.xsd http://hpn.east.isi.edu/rspec/ext/stitch/0.1/ http://hpn.east.isi.edu/rspec/ext/stitch/0.1/stitch-schema.xsd" type="manifest"> |
| 699 | <node xmlns:emulab="http://www.protogeni.net/resources/rspec/ext/emulab/1" client_id="xen1" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" exclusive="false" component_id="urn:publicid:IDN+utah.geniracks.net+node+pc3" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24688"> |
| 700 | <sliver_type name="emulab-xen"> |
| 701 | <emulab:xen ram="64"/> |
| 702 | </sliver_type> |
| 703 | <interface client_id="xen1:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc3:lo0" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24693" mac_address="024c68e16f22"> |
| 704 | <ip address="10.10.1.2" type="ipv4"/></interface> |
| 705 | <emulab:vnode name="pcvm3-57"/><host name="xen1.xen-2vm-64.ch-geni-net.utah.geniracks.net"/><services><login authentication="ssh-keys" hostname="pc3.utah.geniracks.net" port="38202" username="lnevers"/></services></node> |
| 706 | <node xmlns:emulab="http://www.protogeni.net/resources/rspec/ext/emulab/1" client_id="xen2" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" exclusive="false" component_id="urn:publicid:IDN+utah.geniracks.net+node+pc3" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24689"> |
| 707 | <sliver_type name="emulab-xen"> |
| 708 | <emulab:xen ram="64"/> |
| 709 | </sliver_type> |
| 710 | <interface client_id="xen2:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc3:lo0" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24692" mac_address="02c61ff00fea"> |
| 711 | <ip address="10.10.1.1" type="ipv4"/></interface> |
| 712 | <emulab:vnode name="pcvm3-58"/><host name="xen2.xen-2vm-64.ch-geni-net.utah.geniracks.net"/><services><login authentication="ssh-keys" hostname="pc3.utah.geniracks.net" port="38203" username="lnevers"/></services></node> |
| 713 | <link client_id="link0" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24691"> |
| 714 | <component_manager name="urn:publicid:IDN+utah.geniracks.net+authority+cm"/> |
| 715 | <interface_ref client_id="xen2:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc3:lo0" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24692"/> |
| 716 | <interface_ref client_id="xen1:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc3:lo0" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24693"/> |
| 717 | <property source_id="xen2:if0" dest_id="xen1:if0"/> |
| 718 | <property source_id="xen1:if0" dest_id="xen2:if0"/> |
| 719 | </link> |
| 720 | </rspec> |
| 721 | 11:17:12 INFO omni: ------------------------------------------------------------ |
| 722 | 11:17:12 INFO omni: Completed createsliver: |
| 723 | |
| 724 | Options as run: |
| 725 | aggregate: ['ig-utah'] |
| 726 | framework: portal |
| 727 | project: ln-prj |
| 728 | |
| 729 | Args: createsliver xen-2vm-64 ./insta-xen-2vm-64.rspec |
| 730 | |
| 731 | Result Summary: Got Reserved resources RSpec from utah-geniracks-net |
| 732 | 11:17:12 INFO omni: ============================================================ |
| 733 | }}} |
| 734 | |
| 735 | Verify allocation on node: |
| 736 | {{{ |
| 737 | |
| 738 | }}} |
| 739 | |