| 577 | |
| 578 | |
| 579 | == EG-CT-6 - Administrative Tests == |
| 580 | |
| 581 | Administrator accounts on an ExoGENI rack are documented at https://wiki.exogeni.net/doku.php?id=public:operators:start, with https://wiki.exogeni.net/doku.php?id=public:operators:start#authentication_authorization proving insight into accounts creation and usage. |
| 582 | |
| 583 | With requested account accessed rack head node and verified root access and group membership: |
| 584 | {{{ |
| 585 | LNM:~$ ssh psc-hn.exogeni.net |
| 586 | lnevers@psc-hn.exogeni.net's password: |
| 587 | Last login: Sat Apr 29 01:43:41 2017 from dhcp152-54-9-188.europa.renci.org |
| 588 | |-----------------------------------------------------------------| |
| 589 | | ____ ____ ____ ____ ____ ____ ____ | |
| 590 | | ||E |||x |||o |||G |||E |||N |||I || | |
| 591 | | ||__|||__|||__|||__|||__|||__|||__|| | |
| 592 | | |/__\|/__\|/__\|/__\|/__\|/__\|/__\| | |
| 593 | | | |
| 594 | |-----------------------------------------------------------------| |
| 595 | [lnevers@psc-hn ~]$ sudo whoami |
| 596 | [sudo] password for lnevers: |
| 597 | root |
| 598 | [lnevers@psc-hn ~]$ id |
| 599 | uid=2556(lnevers) gid=2000(nonrenci) groups=2000(nonrenci),2500(fiuadmins),2501(uhadmins),2507(ufladmins),2508(osfadmins),2510(sladmins),2511(wvnadmins),2513(tamuadmins),2515(wsuadmins),2519(cienaadmins),2523(unfadmins),2524(ciena2admins),9500(xoadmins),9503(geni-imf),9510(bbnadmins) |
| 600 | [lnevers@psc-hn ~]$ |
| 601 | }}} |
| 602 | |
| 603 | From head node verified login and administrative access to each of the worker nodes that supply VMs. |
| 604 | {{{ |
| 605 | [lnevers@psc-hn ~]$ for i in 1 2 3 4 5 6 7 8; do sudo ssh root@psc-w$i "echo -n 'Executing on: ' ; hostname;whoami;uname -a"; done |
| 606 | Executing on: psc-w1 |
| 607 | root |
| 608 | Linux psc-w1 2.6.32-642.11.1.el6.x86_64 #1 SMP Fri Nov 18 19:25:05 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux |
| 609 | Executing on: psc-w2 |
| 610 | root |
| 611 | Linux psc-w2 2.6.32-642.11.1.el6.x86_64 #1 SMP Fri Nov 18 19:25:05 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux |
| 612 | Executing on: psc-w3 |
| 613 | root |
| 614 | Linux psc-w3 2.6.32-642.11.1.el6.x86_64 #1 SMP Fri Nov 18 19:25:05 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux |
| 615 | Executing on: psc-w4 |
| 616 | root |
| 617 | Linux psc-w4 2.6.32-642.11.1.el6.x86_64 #1 SMP Fri Nov 18 19:25:05 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux |
| 618 | Executing on: psc-w5 |
| 619 | root |
| 620 | Linux psc-w5 2.6.32-642.11.1.el6.x86_64 #1 SMP Fri Nov 18 19:25:05 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux |
| 621 | Executing on: psc-w6 |
| 622 | root |
| 623 | Linux psc-w6 2.6.32-642.11.1.el6.x86_64 #1 SMP Fri Nov 18 19:25:05 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux |
| 624 | Executing on: psc-w7 |
| 625 | root |
| 626 | Linux psc-w7 2.6.32-642.11.1.el6.x86_64 #1 SMP Fri Nov 18 19:25:05 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux |
| 627 | Executing on: psc-w8 |
| 628 | root |
| 629 | Linux psc-w8 2.6.32-642.11.1.el6.x86_64 #1 SMP Fri Nov 18 19:25:05 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux |
| 630 | [lnevers@psc-hn ~]$ |
| 631 | }}} |
| 632 | |
| 633 | Connect to the management switch: |
| 634 | {{{ |
| 635 | [lnevers@psc-hn ~]$ ssh psc-8052.psc.xo |
| 636 | |
| 637 | >ena |
| 638 | |
| 639 | show interface status |
| 640 | show version |
| 641 | show vlan |
| 642 | }}} |
| 643 | |
| 644 | }}} |
| 645 | |
| 646 | Connect to the !OpenFlow switch: |
| 647 | {{{ |
| 648 | [lnevers@psc-hn ~]$ ssh psc-8052.psc.xo |
| 649 | The authenticity of host 'psc-8052.psc.xo (192.168.118.2)' can't be established. |
| 650 | DSA key fingerprint is 9d:2b:da:99:3b:70:33:19:b8:49:a4:13:28:03:45:0a. |
| 651 | Are you sure you want to continue connecting (yes/no)? yes |
| 652 | Warning: Permanently added 'psc-8052.psc.xo,192.168.118.2' (DSA) to the list of known hosts. |
| 653 | Enter radius password: |
| 654 | |
| 655 | IBM Networking Operating System RackSwitch G8052. |
| 656 | |
| 657 | |
| 658 | psc-8052.psc.xo>ena |
| 659 | |
| 660 | Enable privilege granted. |
| 661 | psc-8052.psc.xo#show interface status |
| 662 | ------------------------------------------------------------------ |
| 663 | Alias Port Speed Duplex Flow Ctrl Link Name |
| 664 | ------- ---- ----- -------- --TX-----RX-- ------ ------ |
| 665 | 1 1 any any no no down 1 |
| 666 | 2 2 100 full no no up 2 |
| 667 | 3 3 1000 full no no up 3 |
| 668 | 4 4 1000 full no no up 4 |
| 669 | 5 5 1000 full no no up 5 |
| 670 | 6 6 1000 full no no up 6 |
| 671 | 7 7 1000 full no no up 7 |
| 672 | 8 8 1000 full no no up 8 |
| 673 | 9 9 1000 full no no up 9 |
| 674 | 10 10 1000 full no no up 10 |
| 675 | 11 11 1000 full no no up 11 |
| 676 | 12 12 1000 full no no up 12 |
| 677 | 13 13 1000 full no no up 13 |
| 678 | 14 14 1000 full no no up 14 |
| 679 | 15 15 any any no no down 15 |
| 680 | 16 16 any any no no down 16 |
| 681 | 17 17 any any no no down 17 |
| 682 | 18 18 any any no no down 18 |
| 683 | 19 19 any any no no down 19 |
| 684 | 20 20 any any no no down 20 |
| 685 | 21 21 any any no no down 21 |
| 686 | 22 22 any any no no down 22 |
| 687 | 23 23 any any no no down 23 |
| 688 | 24 24 any any no no down 24 |
| 689 | 25 25 any any no no down 25 |
| 690 | 26 26 any any no no down 26 |
| 691 | 27 27 any any no no down 27 |
| 692 | 28 28 any any no no down 28 |
| 693 | 29 29 any any no no down 29 |
| 694 | 30 30 any any no no down 30 |
| 695 | 31 31 any any no no down 31 |
| 696 | 32 32 any any no no down 32 |
| 697 | 33 33 any any no no down 33 |
| 698 | 34 34 any any no no down 34 |
| 699 | 35 35 1000 full no no up iSCSI Appliance |
| 700 | 36 36 1000 full no no up headnode second embedded nic (em3) |
| 701 | 37 37 1000 full no no up 37 |
| 702 | 38 38 1000 full no no up 38 |
| 703 | 39 39 1000 full no no up 39 |
| 704 | 40 40 1000 full no no up 40 |
| 705 | 41 41 1000 full no no up 41 |
| 706 | 42 42 1000 full no no up 42 |
| 707 | 43 43 1000 full no no up 43 |
| 708 | 44 44 1000 full no no up 44 |
| 709 | 45 45 100 full no no up 45 |
| 710 | 46 46 any any no no down 46 |
| 711 | 47 47 any any no no down 47 |
| 712 | 48 48 any any no no down 48 |
| 713 | XGE1 49 10000* full* no* no* down XGE1 |
| 714 | XGE2 50 10000 full no no up XGE2 |
| 715 | XGE3 51 10000 full yes yes up XGE3 |
| 716 | XGE4 52 10000 full no no up XGE4 |
| 717 | * = value set by configuration; not autonegotiated. |
| 718 | psc-8052.psc.xo# |
| 719 | psc-8052.psc.xo#show version brief |
| 720 | ^ |
| 721 | % Invalid input detected at '^' marker. |
| 722 | psc-8052.psc.xo#show version |
| 723 | System Information at 9:35:07 Mon May 1, 2017 |
| 724 | Time zone: America/US/Eastern |
| 725 | Daylight Savings Time Status: Enabled |
| 726 | |
| 727 | IBM Networking Operating System RackSwitch G8052 |
| 728 | |
| 729 | Switch has been up for 139 days, 9 hours, 45 minutes and 5 seconds. |
| 730 | Last boot: 8:27:17 Wed Dec 14, 2016 (power cycle) |
| 731 | |
| 732 | MAC address: a8:97:dc:c0:a7:00 IP (If 1) address: 192.168.118.2 |
| 733 | Hardware Revision: |
| 734 | Board Revision: |
| 735 | Switch Serial No: Y014CM45M008 |
| 736 | Hardware Part No: 00AY327 Spare Part No: 00AY327 |
| 737 | Manufacturing date: 14/21 |
| 738 | |
| 739 | MTM: 7309HC1 |
| 740 | ESN: MM48440 |
| 741 | Software Version 7.2.2.0 (FLASH image1), active configuration. |
| 742 | |
| 743 | |
| 744 | Temperature Top: 31 C |
| 745 | Temperature Bottom: 36 C |
| 746 | Temperature Fan Ctrl 88: 33 C |
| 747 | Temperature Fan Ctrl 8a: 62 C |
| 748 | Temperature Fan Ctrl 8c: 45 C |
| 749 | Temperature Phy 0x01: 67 C |
| 750 | Temperature Phy 0x09: 61 C |
| 751 | Temperature Phy 0x11: 45 C |
| 752 | Temperature Phy 0x21: 47 C |
| 753 | Temperature Phy 0x29: 70 C |
| 754 | Temperature Phy 0x31: 59 C |
| 755 | |
| 756 | Warning at 55 C and Recover at 80 C |
| 757 | |
| 758 | Fan 1 in Module 1: Not Installed |
| 759 | Fan 2 in Module 1: Not Installed |
| 760 | Fan 3 in Module 2: RPM= 8059 PWM= 25 ( 9%) Back-To-Front [J] |
| 761 | Fan 4 in Module 2: RPM= 3266 PWM= 25 ( 9%) Back-To-Front [J] |
| 762 | Fan 5 in Module 3: RPM= 7627 PWM= 25 ( 9%) Back-To-Front [J] |
| 763 | Fan 6 in Module 3: RPM= 3197 PWM= 25 ( 9%) Back-To-Front [J] |
| 764 | Fan 7 in Module 4: RPM= 7552 PWM= 25 ( 9%) Back-To-Front [J] |
| 765 | Fan 8 in Module 4: RPM= 3099 PWM= 25 ( 9%) Back-To-Front [J] |
| 766 | |
| 767 | System Fan Airflow: Back-To-Front |
| 768 | |
| 769 | Power Supply 1: OK |
| 770 | Power Supply 2: OK |
| 771 | |
| 772 | Power Faults: () |
| 773 | Fan Faults: () |
| 774 | Service Faults: () |
| 775 | |
| 776 | psc-8052.psc.xo#show vlan |
| 777 | VLAN Name Status Ports |
| 778 | ---- -------------------------------- ------ ------------------------- |
| 779 | 1 Default VLAN ena 17-34 37-44 47 |
| 780 | 1006 ExoGENI Management ena 1-16 48-XGE4 |
| 781 | 1007 openstack workers ena 35 37-44 XGE2 XGE4 |
| 782 | 1008 baremetal workers ena 45 46 XGE2 XGE4 |
| 783 | 1010 Public Connectivity ena 36 |
| 784 | 1011 openstack VMs ena 37-44 XGE2 XGE4 |
| 785 | psc-8052.psc.xo# |
| 786 | |
| 787 | }}} |
| 788 | |
| 789 | Verify FOAM and !FlowVisor configuration files ownership and paths: |
| 790 | {{{ |
| 791 | [lnevers@psc-hn ~]$ ls -l /etc/foam.passwd /etc/flowvisor.passwd /etc/flowvisor/fvpasswd /opt/foam/etc/foampasswd |
| 792 | lrwxrwxrwx 1 root flowvisor 21 Nov 24 2014 /etc/flowvisor/fvpasswd -> /etc/flowvisor.passwd |
| 793 | -r--r----- 1 flowvisor pscadmins 25 Nov 24 2014 /etc/flowvisor.passwd |
| 794 | -r--r----- 1 root pscadmins 25 Nov 24 2014 /etc/foam.passwd |
| 795 | lrwxrwxrwx 1 root root 16 Nov 24 2014 /opt/foam/etc/foampasswd -> /etc/foam.passwd |
| 796 | }}} |
| 797 | |
| 798 | Check FOAM version and FOAM configuration for site.admin.email, geni.site-tag, email.from settings on the PSC head node: |
| 799 | {{{ |
| 800 | [lnevers@psc-hn ~]$ sudo foamctl admin:get-version --passwd-file=/etc/foam.passwd |
| 801 | { |
| 802 | "version": "0.14.0" |
| 803 | } |
| 804 | [lnevers@psc-hn ~]$ |
| 805 | [lnevers@psc-hn ~]$ sudo foamctl admin:get-version --passwd-file=/etc/foam.passwd |
| 806 | { |
| 807 | "version": "0.14.0" |
| 808 | } |
| 809 | [lnevers@psc-hn ~]$ sudo foamctl config:get-value --key="site.admin.email" --passwd-file=/opt/foam/etc/foampasswd |
| 810 | { |
| 811 | "value": "foam-admin@gpolab.bbn.com" |
| 812 | } |
| 813 | [lnevers@psc-hn ~]$ sudo foamctl config:get-value --key="geni.site-tag" --passwd-file=/opt/foam/etc/foampasswd |
| 814 | { |
| 815 | "value": "psc-hn.exogeni.net" |
| 816 | } |
| 817 | [lnevers@psc-hn ~]$ sudo foamctl config:get-value --key="email.from" --passwd-file=/opt/foam/etc/foampasswd |
| 818 | { |
| 819 | "value": null |
| 820 | } |
| 821 | [lnevers@psc-hn ~]$ sudo foamctl config:get-value --key="geni.approval.approve-on-creation" --passwd-file=/opt/foam/etc/foampasswd |
| 822 | { |
| 823 | "value": 0 |
| 824 | } |
| 825 | [lnevers@psc-hn ~]$ |
| 826 | }}} |
| 827 | Show FOAM slivers details: |
| 828 | {{{ |
| 829 | [lnevers@psc-hn ~]$ sudo foamctl geni:list-slivers --passwd-file=/opt/foam/etc/foampasswd |
| 830 | { |
| 831 | "slivers": [] |
| 832 | } |
| 833 | [lnevers@psc-hn ~]$ |
| 834 | }}} |
| 835 | |
| 836 | Check the !FlowVisor version, list of devices, get details for a device, list of active slices, and details for one of the slices on the PSC Head node: |
| 837 | {{{ |
| 838 | [lnevers@psc-hn ~]$ sudo /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd ping hello |
| 839 | Got reply: |
| 840 | PONG(fvadmin): FV version=flowvisor-0.8.1::hello |
| 841 | [lnevers@psc-hn ~]$ sudo /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd listDevices |
| 842 | [lnevers@psc-hn ~]$ sudo /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd getDeviceInfo |
| 843 | command 'getDeviceInfo' takes 1 args: only 0 given |
| 844 | getDeviceInfo <dpid> |
| 845 | [lnevers@psc-hn ~]$ sudo /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd listSlices |
| 846 | Slice 0: bob |
| 847 | Slice 1: fvadmin |
| 848 | Slice 2: alice |
| 849 | lnevers@psc-hn ~]$ sudo /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd getSliceInfo fvadmin |
| 850 | Got reply: |
| 851 | contact_email=fvadmin@localhost |
| 852 | controller_hostname=localhost |
| 853 | controller_port=25838 |
| 854 | creator=fvadmin |
| 855 | [lnevers@psc-hn ~]$ |
| 856 | }}} |
| 857 | |
| 858 | ---- |
| 859 | {{{ |
| 860 | #!html |
| 861 | Email <a href="mailto:help@geni.net"> help@geni.net </a> for GENI support or email <a href="mailto:luisa.nevers@bbn.com">me</a> with feedback on this page! |
| 862 | }}} |