| 547 | Sent request for administrative account to site contact from the [http://groups.geni.net/geni/wiki/GeniAggregate/UniversityOfTennesseeInstaGENI University of Tennesses InstaGENI] aggregate page. Followed instructions at the [http://groups.geni.net/geni/wiki/GENIRacksAdministration/InstaGENIAdministration InstaGENI Administration] page for account request. A local administrator account was requested by joining the ''emulab-ops'' group at https://www.instageni.utc.edu/joinproject.php3. Once the administrative account was approved and the membership to emulab-ops was granted, proceeded to execute administrative tests. |
| 548 | |
| 549 | {{{ |
| 550 | LNM:~$ ssh control.instageni.utc.edu |
| 551 | The authenticity of host 'control.instageni.utc.edu (150.182.135.3)' can't be established. |
| 552 | DSA key fingerprint is 3a:b8:3f:3f:77:66:88:c0:c9:8d:dc:14:38:1e:ce:af. |
| 553 | Are you sure you want to continue connecting (yes/no)? yes |
| 554 | Warning: Permanently added 'control.instageni.utc.edu,150.182.135.3' (DSA) to the list of known hosts. |
| 555 | Welcome to Ubuntu precise (development branch) (GNU/Linux 3.2.0-23-generic x86_64) |
| 556 | |
| 557 | * Documentation: https://help.ubuntu.com/ |
| 558 | |
| 559 | System information as of Wed Feb 11 18:51:45 UTC 2015 |
| 560 | |
| 561 | System load: 0.0 |
| 562 | Usage of /: 32.4% of 5.85GB |
| 563 | Memory usage: 38% |
| 564 | Swap usage: 0% |
| 565 | Processes: 132 |
| 566 | Users logged in: 1 |
| 567 | IP address for xenbr0: 150.182.135.3 |
| 568 | IP address for xenbr0:1: 172.16.0.1 |
| 569 | IP address for xenbr0:2: 10.249.249.253 |
| 570 | IP address for xenbr1: 10.1.1.254 |
| 571 | IP address for xenbr2: 10.2.1.254 |
| 572 | IP address for xenbr3: 10.3.1.254 |
| 573 | IP address for tun0: 10.8.0.1 |
| 574 | |
| 575 | Graph this data and manage this system at https://landscape.canonical.com/ |
| 576 | New release '14.04.1 LTS' available. |
| 577 | Run 'do-release-upgrade' to upgrade to it. |
| 578 | |
| 579 | |
| 580 | The programs included with the Ubuntu system are free software; |
| 581 | the exact distribution terms for each program are described in the |
| 582 | individual files in /usr/share/doc/*/copyright. |
| 583 | |
| 584 | Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by |
| 585 | applicable law. |
| 586 | |
| 587 | To run a command as administrator (user "root"), use "sudo <command>". |
| 588 | See "man sudo_root" for details. |
| 589 | |
| 590 | lnevers@utc:~$ sudo whoami |
| 591 | root |
| 592 | lnevers@utc:~$ uname -a |
| 593 | Linux utc.control-nodes.geniracks.net 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux |
| 594 | lnevers@utc:~$ |
| 595 | }}} |
| 596 | |
| 597 | Also access the boss node: |
| 598 | {{{ |
| 599 | LNM:~$ ssh boss.instageni.utc.edu |
| 600 | The authenticity of host 'boss.instageni.utc.edu (150.182.135.4)' can't be established. |
| 601 | RSA key fingerprint is 46:63:92:67:c8:75:20:4e:52:9f:2d:f6:cb:58:16:77. |
| 602 | Are you sure you want to continue connecting (yes/no)? yes |
| 603 | Warning: Permanently added 'boss.instageni.utc.edu,150.182.135.4' (RSA) to the list of known hosts. |
| 604 | FreeBSD 9.0-STABLE (TESTBED-XEN) #0: Mon Mar 3 15:37:17 MST 2014 |
| 605 | |
| 606 | Welcome to FreeBSD! |
| 607 | |
| 608 | You can permanently set environment variables for your shell by putting them |
| 609 | in a startup file for the shell. The name of the startup file varies |
| 610 | depending on the shell - csh and tcsh uses .login, bash, sh, ksh and zsh use |
| 611 | .profile. When using bash, sh, ksh or zsh, don't forget to export the |
| 612 | variable. |
| 613 | > bash |
| 614 | [lnevers@boss ~]$ sudo whoami |
| 615 | root |
| 616 | [lnevers@boss ~]$ uname -a |
| 617 | FreeBSD boss.instageni.utc.edu 9.0-STABLE FreeBSD 9.0-STABLE #0: Mon Mar 3 15:37:17 MST 2014 root@node.freebsd90-node.testbed.emulab.net:/usr/obj/usr/src/sys/TESTBED-XEN i386 |
| 618 | [lnevers@boss ~]$ |
| 619 | }}} |
| 620 | |
| 621 | From boss node accessed each of the experiment nodes that support VMs: |
| 622 | {{{ |
| 623 | [lnevers@boss ~]$ for i in pc1 pc2 pc3; do ssh $i "echo -n '===> Host: ';hostname;sudo whoami;uname -a;echo"; done |
| 624 | Warning: Permanently added 'pc1.instageni.utc.edu' (RSA) to the list of known hosts. |
| 625 | ===> Host: vhost1.shared-nodes.emulab-ops.instageni.utc.edu |
| 626 | root |
| 627 | Linux vhost1.shared-nodes.emulab-ops.instageni.utc.edu 3.8.0-37-generic #53~precise1 SMP Fri Mar 14 16:11:09 MDT 2014 x86_64 x86_64 x86_64 GNU/Linux |
| 628 | |
| 629 | Warning: Permanently added 'pc2.instageni.utc.edu' (RSA) to the list of known hosts. |
| 630 | ===> Host: vhost2.shared-nodes.emulab-ops.instageni.utc.edu |
| 631 | root |
| 632 | Linux vhost2.shared-nodes.emulab-ops.instageni.utc.edu 3.8.0-37-generic #53~precise1 SMP Fri Mar 14 16:11:09 MDT 2014 x86_64 x86_64 x86_64 GNU/Linux |
| 633 | |
| 634 | Warning: Permanently added 'pc3.instageni.utc.edu' (RSA) to the list of known hosts. |
| 635 | ===> Host: vhost3.shared-nodes.emulab-ops.instageni.utc.edu |
| 636 | root |
| 637 | Linux vhost3.shared-nodes.emulab-ops.instageni.utc.edu 3.8.0-37-generic #53~precise1 SMP Fri Mar 14 16:11:09 MDT 2014 x86_64 x86_64 x86_64 GNU/Linux |
| 638 | |
| 639 | [lnevers@boss ~]$ |
| 640 | |
| 641 | |
| 642 | }}} |
| 643 | |
| 644 | In order to access Dedicated Nodes some experiment must be running on the raw-pc device. At the time of this capture two raw-pc nodes were in use (pc4 and pc5): |
| 645 | {{{ |
| 646 | [lnevers@boss ~]$ for i in pc4 pc5 ; do sudo ssh $i "echo -n '===> Host: ';hostname;whoami;uname -a;echo"; done |
| 647 | ===> Host: pc2.ln2pc.ch-geni-net.instageni.utc.edu |
| 648 | root |
| 649 | Linux pc2.ln2pc.ch-geni-net.instageni.utc.edu 2.6.40-4.emulab2.fc15.i686.PAE #1 SMP Tue Feb 26 13:35:12 MST 2013 i686 i686 i386 GNU/Linux |
| 650 | |
| 651 | ===> Host: pc.ln2pc.ch-geni-net.instageni.utc.edu |
| 652 | root |
| 653 | Linux pc.ln2pc.ch-geni-net.instageni.utc.edu 2.6.40-4.emulab2.fc15.i686.PAE #1 SMP Tue Feb 26 13:35:12 MST 2013 i686 i686 i386 GNU/Linux |
| 654 | |
| 655 | [lnevers@boss ~]$ |
| 656 | }}} |
| 657 | |
| 658 | Further verified access by ssh from ops.instageni.gpolab.bbn.com to boss.instageni.gpolab.bbn.com, which is usually restricted for non-admin users: |
| 659 | {{{ |
| 660 | LNM:~$ ssh ops.instageni.utc.edu |
| 661 | The authenticity of host 'ops.instageni.utc.edu (150.182.135.5)' can't be established. |
| 662 | RSA key fingerprint is 46:63:92:67:c8:75:20:4e:52:9f:2d:f6:cb:58:16:77. |
| 663 | Are you sure you want to continue connecting (yes/no)? yes |
| 664 | Warning: Permanently added 'ops.instageni.utc.edu,150.182.135.5' (RSA) to the list of known hosts. |
| 665 | FreeBSD 9.0-STABLE (TESTBED-XEN) #0: Mon Mar 3 15:37:17 MST 2014 |
| 666 | |
| 667 | Welcome to FreeBSD! |
| 668 | |
| 669 | To change an environment variable in /bin/sh use: |
| 670 | |
| 671 | $ VARIABLE="value" |
| 672 | $ export VARIABLE |
| 673 | > bash |
| 674 | [lnevers@ops ~]$ sudo whoami |
| 675 | root |
| 676 | [lnevers@ops ~]$ uname -a |
| 677 | FreeBSD ops.instageni.utc.edu 9.0-STABLE FreeBSD 9.0-STABLE #0: Mon Mar 3 15:37:17 MST 2014 root@node.freebsd90-node.testbed.emulab.net:/usr/obj/usr/src/sys/TESTBED-XEN i386 |
| 678 | [lnevers@ops ~]$ |
| 679 | [lnevers@ops ~]$ ssh boss |
| 680 | The authenticity of host 'boss.instageni.utc.edu (150.182.135.4)' can't be established. |
| 681 | ECDSA key fingerprint is bd:05:23:a7:5b:cc:78:c8:8c:a8:d3:e9:f7:27:53:cb. |
| 682 | Are you sure you want to continue connecting (yes/no)? yes |
| 683 | Warning: Permanently added 'boss.instageni.utc.edu' (ECDSA) to the list of known hosts. |
| 684 | Last login: Wed Feb 11 13:52:25 2015 from dhcp89-73-116.bbn.com |
| 685 | FreeBSD 9.0-STABLE (TESTBED-XEN) #0: Mon Mar 3 15:37:17 MST 2014 |
| 686 | |
| 687 | Welcome to FreeBSD! |
| 688 | |
| 689 | Man pages are divided into section depending on topic. There are 9 different |
| 690 | sections numbered from 1 (General Commands) to 9 (Kernel Developer's Manual). |
| 691 | You can get an introduction to each topic by typing |
| 692 | |
| 693 | man <number> intro |
| 694 | |
| 695 | In other words, to get the intro to general commands, type |
| 696 | |
| 697 | man 1 intro |
| 698 | > bash |
| 699 | [lnevers@boss ~]$ |
| 700 | |
| 701 | }}} |
| 702 | Access infrastructure switches using documented password. First connect to the switch named procurve1 the control network switch: |
| 703 | {{{ |
| 704 | [lnevers@boss ~]$ sudo more /usr/testbed/etc/switch.pswd |
| 705 | XXXXXXXXX |
| 706 | [lnevers@boss ~]$ telnet procurve1 |
| 707 | |
| 708 | |
| 709 | }}} |
| 710 | |
| 711 | Connect to the switch named procurve2 the dataplane network switch via ssh using the documented password: |
| 712 | {{{ |
| 713 | [lnevers@boss ~]$ sudo more /usr/testbed/etc/switch.pswd |
| 714 | xxxxxxx |
| 715 | [lnevers@boss ~]$ ssh manager@procurve2 |
| 716 | }}} |
| 717 | |
| 718 | Access the FOAM VM and gather information for version |
| 719 | {{{ |
| 720 | LNM:~$ ssh lnevers@foam.instageni.utc.edu |
| 721 | The authenticity of host 'foam.instageni.utc.edu (150.182.135.6)' can't be established. |
| 722 | RSA key fingerprint is 7b:a5:d8:29:49:61:bc:97:7d:0e:17:4b:19:23:05:e3. |
| 723 | Are you sure you want to continue connecting (yes/no)? yes |
| 724 | Warning: Permanently added 'foam.instageni.utc.edu,150.182.135.6' (RSA) to the list of known hosts. |
| 725 | Welcome to Ubuntu 12.04.5 LTS (GNU/Linux 3.2.0-75-generic x86_64) |
| 726 | |
| 727 | * Documentation: https://help.ubuntu.com/ |
| 728 | New release '14.04.1 LTS' available. |
| 729 | Run 'do-release-upgrade' to upgrade to it. |
| 730 | |
| 731 | |
| 732 | The programs included with the Ubuntu system are free software; |
| 733 | the exact distribution terms for each program are described in the |
| 734 | individual files in /usr/share/doc/*/copyright. |
| 735 | |
| 736 | Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by |
| 737 | applicable law. |
| 738 | |
| 739 | lnevers@foam:~$ sudo whoami |
| 740 | root |
| 741 | lnevers@foam:~$ uname -a |
| 742 | Linux foam 3.2.0-75-generic #110-Ubuntu SMP Tue Dec 16 19:11:55 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux |
| 743 | lnevers@foam:~$ sudo foamctl admin:get-version --passwd-file=/etc/foam.passwd |
| 744 | { |
| 745 | "version": "0.14.0" |
| 746 | } |
| 747 | lnevers@foam:~$ |
| 748 | }}} |
| 749 | Check FOAM configuration for site.admin.email, geni.site-tag, email.from settings: |
| 750 | {{{ |
| 751 | lnevers@foam:~$ foamctl config:get-value --key="site.admin.email" --passwd-file=/etc/foam.passwd |
| 752 | { |
| 753 | "value": null |
| 754 | } |
| 755 | lnevers@foam:~$ |
| 756 | lnevers@foam:~$ foamctl config:get-value --key="geni.site-tag" --passwd-file=/etc/foam.passwd |
| 757 | { |
| 758 | "value": "foam.instageni.utc.edu" |
| 759 | } |
| 760 | lnevers@foam:~$ |
| 761 | lnevers@foam:~$ foamctl config:get-value --key="email.from" --passwd-file=/etc/foam.passwd |
| 762 | { |
| 763 | "value": "christopher-howard@utc.edu" |
| 764 | } |
| 765 | |
| 766 | |
| 767 | # check if FOAM auto-approve is on. Value 2 = auto-approve is on. |
| 768 | |
| 769 | lnevers@foam:~$ foamctl config:get-value --key="geni.approval.approve-on-creation" --passwd-file=/etc/foam.passwd |
| 770 | { |
| 771 | "value": 2 |
| 772 | } |
| 773 | lnevers@foam:~$ |
| 774 | |
| 775 | |
| 776 | }}} |
| 777 | |
| 778 | Show FOAM slivers details: |
| 779 | |
| 780 | {{{ |
| 781 | lnevers@foam:~$ foamctl geni:list-slivers --passwd-file=/etc/foam.passwd |
| 782 | { |
| 783 | "slivers": [] |
| 784 | } |
| 785 | |
| 786 | }}} |
| 787 | Access the FlowVisor VM and gather version information: |
| 788 | {{{ |
| 789 | |
| 790 | LNM:~$ ssh flowvisor.instageni.utc.edu |
| 791 | The authenticity of host 'flowvisor.instageni.utc.edu (150.182.135.7)' can't be established. |
| 792 | RSA key fingerprint is 63:e3:de:a2:22:19:68:f0:3a:3f:d8:8c:0f:e6:42:4b. |
| 793 | Are you sure you want to continue connecting (yes/no)? yes |
| 794 | Warning: Permanently added 'flowvisor.instageni.utc.edu,150.182.135.7' (RSA) to the list of known hosts. |
| 795 | Welcome to Ubuntu 12.04.5 LTS (GNU/Linux 3.2.0-75-generic x86_64) |
| 796 | |
| 797 | * Documentation: https://help.ubuntu.com/ |
| 798 | New release '14.04.1 LTS' available. |
| 799 | Run 'do-release-upgrade' to upgrade to it. |
| 800 | |
| 801 | |
| 802 | The programs included with the Ubuntu system are free software; |
| 803 | the exact distribution terms for each program are described in the |
| 804 | individual files in /usr/share/doc/*/copyright. |
| 805 | |
| 806 | Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by |
| 807 | applicable law. |
| 808 | |
| 809 | sudlnevers@flowvisor:~$ sudo whoami |
| 810 | root |
| 811 | lnevers@flowvisor:~$ uname -a |
| 812 | Linux flowvisor 3.2.0-75-generic #110-Ubuntu SMP Tue Dec 16 19:11:55 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux |
| 813 | lnevers@flowvisor:~$ |
| 814 | }}} |
| 815 | Check the !FlowVisor version, list of devices, get details for a device, list of active slices, and details for one of the slices: |
| 816 | {{{ |
| 817 | |
| 818 | lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd ping hello |
| 819 | Got reply: |
| 820 | PONG(fvadmin): FV version=flowvisor-0.8.17::hello |
| 821 | lnevers@flowvisor:~$ |
| 822 | |
| 823 | # Devices |
| 824 | lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd listDevices |
| 825 | lnevers@flowvisor:~$ |
| 826 | |
| 827 | fvctl --passwd-file=/etc/flowvisor.passwd getDeviceInfo XXX |
| 828 | |
| 829 | #Slices |
| 830 | fvctl --passwd-file=/etc/flowvisor.passwd listSlices |
| 831 | |
| 832 | fvctl --passwd-file=/etc/flowvisor.passwd getSliceInfo xxxx |
| 833 | }}} |
| 834 | |
| 835 | Check the FlowVisor setting: |
| 836 | {{{ |
| 837 | fvctl --passwd-file=/etc/flowvisor.passwd dumpConfig /tmp/flowvisor-config |
| 838 | more /tmp/flowvisor-config |
| 839 | |
| 840 | }}} |
| 841 | |