Changes between Version 13 and Version 14 of GENIRacksHome/InstageniRacks/ConfirmationTestStatus/UHawaii


Ignore:
Timestamp:
05/03/17 11:00:18 (2 years ago)
Author:
lnevers@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIRacksHome/InstageniRacks/ConfirmationTestStatus/UHawaii

    v13 v14  
    614614
    615615== IG-CT-6 - Administrative Tests ==
    616 
     616Sent request for administrative account to site contact from the [http://groups.geni.net/geni/wiki/GeniAggregate/HawaiiInstaGENI Hawaii 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.hawaii.edu/joinproject.php3.   Once the administrative account was approved and the membership to emulab-ops was granted, proceeded to execute administrative tests. 
     617
     618{{{
     619LNM:~$ ssh control.instageni.hawaii.edu
     620Welcome to Ubuntu 14.04.5 LTS (GNU/Linux 3.13.0-107-generic x86_64)
     621
     622 * Documentation:  https://help.ubuntu.com/
     623
     624  System information as of Tue May  2 11:11:17 HST 2017
     625
     626  System load:  0.0               Users logged in:       0
     627  Usage of /:   25.6% of 5.65GB   IP address for xenbr0: 128.171.8.67
     628  Memory usage: 8%                IP address for xenbr1: 10.1.1.254
     629  Swap usage:   0%                IP address for xenbr2: 10.2.1.254
     630  Processes:    236               IP address for xenbr3: 10.3.1.254
     631
     632  Graph this data and manage this system at:
     633    https://landscape.canonical.com/
     634
     635The programs included with the Ubuntu system are free software;
     636the exact distribution terms for each program are described in the
     637individual files in /usr/share/doc/*/copyright.
     638
     639Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
     640applicable law.
     641
     642To run a command as administrator (user "root"), use "sudo <command>".
     643See "man sudo_root" for details.
     644
     645lnevers@hawaii:~$ sudo whoami
     646root
     647lnevers@hawaii:~$ uname -a
     648Linux hawaii.control-nodes.geniracks.net 3.13.0-107-generic #154-Ubuntu SMP Tue Dec 20 09:57:27 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
     649lnevers@hawaii:~$
     650}}}
     651
     652Also access the boss node:
     653{{{
     654LNM:~$ ssh boss.instageni.hawaii.edu
     655Last login: Tue May  2 10:41:34 2017 from 128.89.73.1
     656FreeBSD 9.0-STABLE (TESTBED-XEN) #0: Mon Mar  3 15:37:17 MST 2014
     657
     658Welcome to FreeBSD!
     659
     660You can use "whereis" to search standard binary, manual page and source
     661directories for the specified programs. This can be particularly handy
     662when you are trying to find where in the ports tree an application is.
     663
     664Try "whereis firefox" and "whereis whereis".
     665                -- Konstantinos Konstantinidis <kkonstan@duth.gr>
     666> bash
     667[lnevers@boss ~]$ sudo whoami
     668root
     669[lnevers@boss ~]$ uname -a
     670FreeBSD boss.instageni.hawaii.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
     671[lnevers@boss ~]$
     672}}}
     673
     674From boss node accessed each of the experiment nodes that support VMs:
     675{{{
     676[lnevers@boss ~]$ for i in pc1 pc2 pc3; do ssh $i "echo -n '===> Host: ';hostname;sudo whoami;uname -a;echo"; done
     677Warning: Permanently added 'pc1.instageni.hawaii.edu' (RSA) to the list of known hosts.
     678===> Host: vhost1.shared-nodes.emulab-ops.instageni.hawaii.edu
     679root
     680Linux vhost1.shared-nodes.emulab-ops.instageni.hawaii.edu 4.4.0-45-generic #66-Ubuntu SMP Wed Oct 19 14:12:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
     681
     682Warning: Permanently added 'pc2.instageni.hawaii.edu' (RSA) to the list of known hosts.
     683===> Host: vhost2.shared-nodes.emulab-ops.instageni.hawaii.edu
     684root
     685Linux vhost2.shared-nodes.emulab-ops.instageni.hawaii.edu 4.4.0-45-generic #66-Ubuntu SMP Wed Oct 19 14:12:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
     686
     687Warning: Permanently added 'pc3.instageni.hawaii.edu' (RSA) to the list of known hosts.
     688===> Host: vhost3.shared-nodes.emulab-ops.instageni.hawaii.edu
     689root
     690Linux vhost3.shared-nodes.emulab-ops.instageni.hawaii.edu 4.4.0-45-generic #66-Ubuntu SMP Wed Oct 19 14:12:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
     691
     692[lnevers@boss ~]$
     693}}}
     694
     695In 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):
     696{{{
     697[lnevers@boss ~]$ for i in pc4 pc5 ; do sudo ssh $i "echo -n '===> Host: ';hostname;whoami;uname -a;echo"; done
     698===> Host: pc.ln2pc.ch-geni-net.instageni.hawaii.edu
     699root
     700Linux pc.ln2pc.ch-geni-net.instageni.hawaii.edu 4.4.0-34-generic #53-Ubuntu SMP Wed Jul 27 16:06:39 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
     701
     702===> Host: pc2.ln2pc.ch-geni-net.instageni.hawaii.edu
     703root
     704Linux pc2.ln2pc.ch-geni-net.instageni.hawaii.edu 4.4.0-34-generic #53-Ubuntu SMP Wed Jul 27 16:06:39 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
     705
     706[lnevers@boss ~]$
     707}}}
     708
     709Further verified access by ssh from ops.instageni.gpolab.bbn.com to boss.instageni.gpolab.bbn.com, which is usually restricted for non-admin users:
     710{{{
     711LNM:~$ ssh ops.instageni.hawaii.edu
     712Last login: Tue May  2 10:45:27 2017 from 128.89.73.1
     713FreeBSD 9.0-STABLE (TESTBED-XEN) #0: Mon Mar  3 15:37:17 MST 2014
     714
     715Welcome to FreeBSD!
     716
     717You can press Ctrl-D to quickly exit from a shell, or logout from a
     718login shell.
     719                -- Konstantinos Konstantinidis <kkonstan@duth.gr>
     720> bash
     721[lnevers@ops ~]$ sudo whoami
     722root
     723[lnevers@ops ~]$ uname -a
     724FreeBSD ops.instageni.hawaii.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
     725[lnevers@ops ~]$ ssh boss
     726The authenticity of host 'boss.instageni.hawaii.edu (128.171.8.68)' can't be established.
     727ECDSA key fingerprint is bd:05:23:a7:5b:cc:78:c8:8c:a8:d3:e9:f7:27:53:cb.
     728Are you sure you want to continue connecting (yes/no)? yes
     729Warning: Permanently added 'boss.instageni.hawaii.edu' (ECDSA) to the list of known hosts.
     730Last login: Wed May  3 04:50:08 2017 from 128.89.73.1
     731FreeBSD 9.0-STABLE (TESTBED-XEN) #0: Mon Mar  3 15:37:17 MST 2014
     732
     733Welcome to FreeBSD!
     734
     735If you have a CD-ROM drive in your machine, you can make the CD-ROM that is
     736presently inserted available by typing 'mount /cdrom' as root.  The CD-ROM
     737will be available under /cdrom/.  Remember to do 'umount /cdrom' before
     738removing the CD-ROM (it will usually not be possible to remove the CD-ROM
     739without doing this.)
     740
     741Note: This tip may not work in all configurations.
     742> bash
     743[lnevers@boss ~]$
     744
     745}}}
     746Access infrastructure switches using documented password. First connect to the switch named procurve1 the control network switch:
     747{{{
     748[lnevers@boss ~]$ telnet procurve1
     749Trying 10.1.1.253...
     750Connected to procurve1.
     751Escape character is '^]'.
     752
     753HP J9623A E2620-24 Switch
     754Software revision RA.15.08.0009
     755
     756Copyright (C) 1991-2012 Hewlett-Packard Development Company, L.P.
     757
     758                   RESTRICTED RIGHTS LEGEND
     759 Confidential computer software.  Valid license from HP required for possession,
     760 use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer
     761 Software, Computer Software Documentation, and Technical Data for Commercial
     762 Items are licensed to the U.S. Government under vendor's standard commercial
     763 license.
     764                   HEWLETT-PACKARD DEVELOPMENT COMPANY, L.P.
     765                   20555 State Highway 249, Houston, TX 77070
     766
     767We'd like to keep you up to date about:
     768  * Software feature updates
     769  * New product announcements
     770  * Special events
     771Please register your products now at:  www.hp.com/networking/register
     772
     773
     774
     775
     776Username: manager             
     777Password:
     778HP-E2620-24# show version
     779Image stamp:    /ws/swbuildm/rel_galt_qaoff/code/build/xform(rel_galt_qaoff)
     780                May  9 2012 15:28:43
     781                RA.15.08.0009
     782                474
     783Boot Image:     Primary
     784HP-E2620-24# show vlan
     785
     786 Status and Counters - VLAN Information
     787
     788  Maximum VLANs to support : 50                   
     789  Primary VLAN : DEFAULT_VLAN     
     790  Management VLAN : control-hardware
     791
     792  VLAN ID Name                             | Status     Voice Jumbo
     793  ------- -------------------------------- + ---------- ----- -----
     794  1       DEFAULT_VLAN                     | Port-based No    No   
     795  10      control-hardware                 | Port-based No    No   
     796  11      control-alternate                | Port-based No    No   
     797 
     798
     799HP-E2620-24# show in
     800 include-credentials
     801 instrumentation
     802 interfaces
     803HP-E2620-24# show interfaces
     804
     805 Status and Counters - Port Counters
     806
     807                                                                Flow Bcast
     808  Port  Total Bytes    Total Frames   Errors Rx    Drops Tx     Ctrl Limit
     809  ----- -------------- -------------- ------------ ------------ ---- -----
     810  1     3,605,323,663  76,002,801     0            0            off  0   
     811  2     3,453,709,598  38,051,642     0            0            off  0   
     812  3     1,482,360,944  81,621,509     0            96           off  0   
     813  4     3,424,210,495  37,931,912     0            0            off  0   
     814  5     3,699,896,092  76,056,530     0            87           off  0   
     815  6     3,418,974,222  37,898,554     0            0            off  0   
     816  7     2,837,865,934  41,442,806     0            0            off  0   
     817  8     3,418,416,152  37,894,719     0            0            off  0   
     818  9     1,199,922,375  38,960,892     361          0            off  0   
     819  10    3,451,623,909  38,025,499     0            0            off  0   
     820  11    0              0              0            0            off  0   
     821  12    0              0              0            0            off  0   
     822  13    0              0              0            0            off  0   
     823  14    0              0              0            0            off  0   
     824  15    0              0              0            0            off  0   
     825  16    0              0              0            0            off  0   
     826  17    0              0              0            0            off  0   
     827  18    0              0              0            0            off  0   
     828  19    0              0              0            0            off  0   
     829  20    0              0              0            0            off  0   
     830  21    0              0              0            0            off  0   
     831  22    3,647,347,870  96,582,799     0            0            off  0   
     832  23    491,537,894    2,751,673      0            0            off  0   
     833  24    489,340,928    2,717,609      1            0            off  0   
     834  25    1,485,332,033  342,405,955    0            0            off  0   
     835  26    1,207,212,199  257,544,884    0            0            off  0   
     836  27    0              0              0            0            off  0   
     837  28    0              0              0            0            off  0   
     838 
     839HP-E2620-24#  show running-config
     840
     841Running configuration:
     842
     843; J9623A Configuration Editor; Created on release #RA.15.08.0009
     844; Ver #02:13.2d:3c
     845hostname "HP-E2620-24"
     846max-vlans 50
     847no stack
     848no web-management
     849ip default-gateway 10.1.1.254
     850snmp-server community "xxx" unrestricted
     851aaa authentication ssh login public-key
     852aaa authentication ssh enable public-key
     853vlan 1
     854   name "DEFAULT_VLAN"
     855   no untagged 23-24
     856   untagged 1-22,25-28
     857   ip address 10.254.254.253 255.255.255.0
     858   ip igmp
     859   exit
     860vlan 10
     861   name "control-hardware"
     862   untagged 23
     863   ip address 10.1.1.253 255.255.255.0
     864   exit
     865vlan 11
     866   name "control-alternate"
     867   untagged 24
     868   ip address 10.2.1.253 255.255.255.0
     869   exit
     870management-vlan 10
     871no dhcp config-file-update
     872password xx
     873password xxx
     874
     875HP-E2620-24# 
     876
     877
     878}}}
     879
     880Connect to the switch named procurve2 the dataplane network switch via ssh using the documented password:
     881{{{
     882[lnevers@boss ~]$ sudo more /usr/testbed/etc/switch.pswd
     883xxxxxxx
     884[lnevers@boss ~]$ sudo ssh manager@procurve2
     885We'd like to keep you up to date about:
     886  * Software feature updates
     887  * New product announcements
     888  * Special events
     889Please register your products now at:  www.hp.com/networking/register
     890
     891
     892HP J8697A Switch E5406zl
     893Software revision K.15.06.5008
     894
     895Copyright (C) 1991-2012 Hewlett-Packard Development Company, L.P.
     896
     897                   RESTRICTED RIGHTS LEGEND
     898 Confidential computer software.  Valid license from HP required for possession,
     899 use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer
     900 Software, Computer Software Documentation, and Technical Data for Commercial
     901 Items are licensed to the U.S. Government under vendor's standard commercial
     902 license.
     903                   HEWLETT-PACKARD DEVELOPMENT COMPANY, L.P.
     904                   20555 State Highway 249, Houston, TX 77070
     905
     906HP-E5406zl# show version
     907Image stamp:    /ws/swbuildm/of_bridge_qaoff/code/build/btm(of_bridge_qaoff)
     908                Feb 18 2012 11:26:28
     909                K.15.06.5008
     910                79
     911Boot Image:     Primary
     912HP-E5406zl# show vlan
     913
     914 Status and Counters - VLAN Information
     915
     916  Maximum VLANs to support : 256                 
     917  Primary VLAN : DEFAULT_VLAN   
     918  Management VLAN : control-hardware
     919
     920  VLAN ID Name                             | Status     Voice Jumbo
     921  ------- -------------------------------- + ---------- ----- -----
     922  1       DEFAULT_VLAN                     | Port-based No    No   
     923  10      control-hardware                 | Port-based No    No   
     924  257     5000                             | Port-based No    No   
     925  258     5075                             | Port-based No    No   
     926  1750    5013                             | Port-based No    No   
     927 
     928
     929HP-E5406zl# show interfaces
     930
     931 Status and Counters - Port Counters
     932
     933                                                                 Flow Bcast
     934  Port   Total Bytes    Total Frames   Errors Rx    Drops Tx     Ctrl Limit
     935  ------ -------------- -------------- ------------ ------------ ---- -----
     936  A1     3,964,344,510  447,167        0            0            off  0   
     937  A2     62,435,296     255,936        0            0            off  0   
     938  A3     62,435,824     255,941        0            0            off  0   
     939  A4     2,993,037,341  260,345        0            0            off  0   
     940  A5     62,433,678     255,917        0            0            off  0   
     941  A6     62,433,414     255,910        0            0            off  0   
     942  A7     2,871,620,121  453,669        0            0            off  0   
     943  A8     62,430,632     255,885        0            0            off  0   
     944  A9     62,431,286     255,891        0            0            off  0   
     945  A10    1,893,715,292  218,334        0            0            off  0   
     946  A11    62,165,982     252,709        0            0            off  0   
     947  A12    62,165,888     252,712        0            0            off  0   
     948  A13    62,941,152     255,881        0            0            off  0   
     949  A14    62,940,742     255,876        0            0            off  0   
     950  A15    62,940,742     255,876        0            0            off  0   
     951  A16    0              0              0            0            off  0   
     952  A17    0              0              0            0            off  0   
     953  A18    0              0              0            0            off  0   
     954  A19    0              0              0            0            off  0   
     955  A20    103,361,640    255,881        0            0            off  0   
     956  A21    0              0              0            0            off  0   
     957  A22    0              0              0            0            off  0   
     958  A23    0              0              0            0            off  0   
     959  A24    1,047,495,591  567,480        0            0            off  0   
     960 
     961HP-E5406zl#  show running-config
     962
     963Running configuration:
     964
     965; J8697A Configuration Editor; Created on release #K.15.06.5008
     966; Ver #02:10.0d:1f
     967
     968hostname "HP-E5406zl"
     969module 1 type J9549A
     970interface A1
     971   speed-duplex auto-1000
     972exit
     973interface A2
     974   speed-duplex auto-1000
     975exit
     976interface A3
     977   speed-duplex auto-1000
     978exit
     979interface A4
     980   speed-duplex auto-1000
     981exit
     982interface A5
     983   speed-duplex auto-1000
     984exit
     985interface A6
     986   speed-duplex auto-1000
     987exit
     988interface A7
     989   speed-duplex auto-1000
     990exit
     991interface A8
     992   speed-duplex auto-1000
     993exit
     994interface A9
     995   speed-duplex auto-1000
     996exit
     997interface A10
     998   speed-duplex auto-1000
     999exit
     1000interface A13
     1001   speed-duplex auto-1000
     1002exit
     1003ip default-gateway 10.3.1.7
     1004vlan 1
     1005   name "DEFAULT_VLAN"
     1006   forbid A1-A9
     1007   untagged A11-A12,A14-A18,A21-A23
     1008   tagged A19,A24
     1009   no untagged A1-A10,A13,A20
     1010   no ip address
     1011   exit
     1012vlan 10
     1013   name "control-hardware"
     1014   untagged A20
     1015   ip address 10.3.1.253 255.255.255.0
     1016   exit
     1017vlan 257
     1018   name "5000"
     1019   untagged A1-A9
     1020   no ip address
     1021   exit
     1022vlan 1750
     1023   name "5013"
     1024   no ip address
     1025   exit
     1026vlan 258
     1027   name "5075"
     1028   untagged A10,A13
     1029   no ip address
     1030   exit
     1031no web-management
     1032openflow
     1033   vlan 1703
     1034      controller "tcp:192.1.249.185:6633" listener "ptcp:5001" fail-secure on
     1035      exit
     1036   vlan 1709
     1037      controller "tcp:206.196.180.241:6633" listener "ptcp:5003" fail-secure on
     1038      exit
     1039   vlan 1711
     1040      controller "tcp:199.109.64.57:6633" listener "ptcp:5002" fail-secure on
     1041      exit
     1042   vlan 1713
     1043      controller "tcp:192.12.245.160:6633" listener "ptcp:5000" fail-secure on
     1044      exit
     1045   vlan 1719
     1046      controller "tcp:192.1.242.152:6633" listener "ptcp:5004" fail-secure on
     1047      exit
     1048   vlan 1750
     1049      enable
     1050      controller "tcp:10.3.1.7:6633" fail-secure on
     1051      exit
     1052   exit
     1053snmp-server community "xxxx" unrestricted
     1054aaa authentication ssh login public-key
     1055aaa authentication ssh enable public-key
     1056management-vlan 10
     1057no autorun
     1058no dhcp config-file-update
     1059no dhcp image-file-update
     1060password xxxx
     1061password xxxx
     1062
     1063HP-E5406zl#
     1064}}}
     1065
     1066Access the FOAM VM and gather information for version
     1067{{{
     1068LNM:~$ ssh lnevers@foam.instageni.hawaii.net
     1069
     1070sudo foamctl admin:get-version  --passwd-file=/etc/foam.passwd
     1071
     1072}}}
     1073Check FOAM configuration for  site.admin.email, geni.site-tag, email.from settings:
     1074{{{
     1075foamctl config:get-value --key="site.admin.email"  --passwd-file=/etc/foam.passwd
     1076
     1077foamctl config:get-value --key="geni.site-tag"  --passwd-file=/etc/foam.passwd
     1078
     1079foamctl config:get-value --key="email.from"  --passwd-file=/etc/foam.passwd
     1080
     1081# check if FOAM auto-approve is on. Value 2 = auto-approve is on.
     1082
     1083foamctl config:get-value --key="geni.approval.approve-on-creation"  --passwd-file=/etc/foam.passwd
     1084
     1085}}}
     1086
     1087Show FOAM slivers details:
     1088
     1089{{{
     1090foamctl geni:list-slivers --passwd-file=/etc/foam.passwd
     1091
     1092}}}
     1093Access the FlowVisor VM and gather version information:
     1094{{{
     1095
     1096ssh lnevers@flowvisor.instageni.hawaii.net
     1097}}}
     1098Check the !FlowVisor version, list of devices, get details for a device, list of active slices, and details for one of the slices:
     1099{{{     
     1100
     1101fvctl --passwd-file=/etc/flowvisor.passwd ping hello
     1102
     1103# Devices
     1104fvctl --passwd-file=/etc/flowvisor.passwd listDevices
     1105
     1106fvctl --passwd-file=/etc/flowvisor.passwd getDeviceInfo 06:d6:6c:3b:e5:68:00:00
     1107
     1108#Slices
     1109fvctl --passwd-file=/etc/flowvisor.passwd listSlices
     1110
     1111fvctl --passwd-file=/etc/flowvisor.passwd getSliceInfo 5c956f94-5e05-40b5-948f-34d0149d9182
     1112
     1113}}}
     1114
     1115Check the FlowVisor setting:
     1116{{{
     1117fvctl --passwd-file=/etc/flowvisor.passwd dumpConfig /tmp/flowvisor-config
     1118more /tmp/flowvisor-config
     1119
     1120}}}
     1121
     1122----
    6171123----
    6181124{{{