Changes between Version 8 and Version 9 of GENIRacksHome/InstageniRacks/ConfirmationTestStatus/Clemson


Ignore:
Timestamp:
08/27/13 13:26:03 (11 years ago)
Author:
lnevers@bbn.com
Comment:

--

Legend:

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

    v8 v9  
    784784== IG-CT-6 - Administrative Tests ==
    785785
    786 Requested administrative account, waiting.
     786Sent request for administrative account to site contact from the [http://groups.geni.net/geni/wiki/GeniAggregate/ClemsonInstaGENI Clemson InstaGENI] aggregate page.  Followed instructions at [https://users.emulab.net/trac/protogeni/wiki/RackAdminAccounts Admin Accounts on InstaGeni Racks] page for account request. A local administrator account by joining the ''emulab-ops'' group at https://www.clemson.edu/joinproject.php3?target_pid=emulab-ops.   Once the administrative account was created and membership to emulab-ops was approved and activated, proceeded to execute administrative tests. 
     787
     788{{{
     789LNM:~$ ssh control.instageni.clemson.edu
     790Welcome to Ubuntu precise (development branch) (GNU/Linux 3.2.0-23-generic x86_64)
     791
     792 * Documentation:  https://help.ubuntu.com/
     793
     794  System information as of Tue Aug 27 17:17:00 UTC 2013
     795
     796  System load:     0.19              IP address for xenbr0:   130.127.215.130
     797  Usage of /:      34.3% of 5.85GB   IP address for xenbr0:1: 172.16.0.1
     798  Memory usage:    42%               IP address for xenbr1:   10.1.1.254
     799  Swap usage:      1%                IP address for xenbr2:   10.2.1.254
     800  Processes:       146               IP address for xenbr3:   10.3.1.254
     801  Users logged in: 1                 IP address for gre6:     10.251.251.251
     802
     803  Graph this data and manage this system at https://landscape.canonical.com/
     804
     805The programs included with the Ubuntu system are free software;
     806the exact distribution terms for each program are described in the
     807individual files in /usr/share/doc/*/copyright.
     808
     809Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
     810applicable law.
     811
     812To run a command as administrator (user "root"), use "sudo <command>".
     813See "man sudo_root" for details.
     814
     815lnevers@clemson:~$ sudo whoami
     816root
     817lnevers@clemson:~$
     818
     819}}}
     820
     821Also access the boss node:
     822{{{
     823LNM:~$ ssh boss.instageni.clemson.edu
     824Last login: Tue Aug 27 13:14:24 2013 from dhcp89-073-116.bbn.com
     825FreeBSD 9.0-STABLE (XEN) #4: Mon Nov 26 10:02:53 MST 2012
     826
     827Welcome to FreeBSD!
     828
     829In order to make fetch (the FreeBSD downloading tool) ask for
     830username/password when it encounters a password-protected web page, you can set
     831the environment variable HTTP_AUTH to 'basic:*'.
     832[lnevers@boss ~]$ sudo whoami
     833root
     834[lnevers@boss ~]$
     835 
     836}}}
     837
     838From boss node accessed each of the experiment nodes that support VMs:
     839{{{
     840[lnevers@boss ~]$ for i in pc1 pc2 pc3; do ssh $i "echo -n '===> Host: ';hostname;sudo whoami;uname -a;echo"; done
     841===> Host: vhost1.shared-nodes.emulab-ops.instageni.clemson.edu
     842root
     843Linux vhost1.shared-nodes.emulab-ops.instageni.clemson.edu 2.6.32-042stab049.6.emulab.1 #1 SMP Mon May 21 14:36:04 MDT 2012 x86_64 x86_64 x86_64 GNU/Linux
     844
     845===> Host: vhost2.shared-nodes.emulab-ops.instageni.clemson.edu
     846root
     847Linux vhost2.shared-nodes.emulab-ops.instageni.clemson.edu 2.6.32-042stab049.6.emulab.1 #1 SMP Mon May 21 14:36:04 MDT 2012 x86_64 x86_64 x86_64 GNU/Linux
     848
     849===> Host: vhost3.shared-nodes.emulab-ops.instageni.clemson.edu
     850root
     851Linux vhost3.shared-nodes.emulab-ops.instageni.clemson.edu 3.2.46 #1 SMP Wed Jun 5 15:53:18 MDT 2013 x86_64 x86_64 x86_64 GNU/Linux
     852
     853[lnevers@boss ~]$
     854}}}
     855
     856In order to access Dedicated Nodes some experiment must be running on the raw-pc device. At the time of this capture one of the raw-pc nodes was in use (pc4) The other PC (pc5) was not reachable because it was not in use:
     857{{{
     858[lnevers@boss ~]$ sudo ssh pc4   
     859[root@pc ~]# sudo whoami
     860root
     861[root@pc ~]# uname -a
     862Linux pc.ig-ct-2.ch-geni-net.instageni.clemson.edu 2.6.40-4.emulab2.fc15.i686.PAE #1 SMP Tue Feb 26 13:35:12 MST 2013 i686 i686 i386 GNU/Linux
     863[root@pc ~]# exit
     864logout
     865Connection to pc4.instageni.clemson.edu closed.
     866}}}
     867
     868Further verified access by ssh from ops.instageni.gpolab.bbn.com to boss.instageni.gpolab.bbn.com, which is usually restricted for non-admin users:
     869{{{
     870LNM:~$  ssh ops.instageni.clemson.edu
     871Last login: Tue Aug 27 11:43:24 2013 from dhcp89-073-116.bbn.com
     872FreeBSD 9.0-STABLE (XEN) #4: Mon Nov 26 10:02:53 MST 2012
     873
     874Welcome to FreeBSD!
     875
     876You can press up-arrow or down-arrow to walk through a list of
     877previous commands in tcsh.
     878> bash
     879[lnevers@ops ~]$ sudo whoami
     880root
     881[lnevers@ops ~]$ ssh boss
     882Last login: Tue Aug 27 13:18:23 2013 from dhcp89-073-116.bbn.com
     883FreeBSD 9.0-STABLE (XEN) #4: Mon Nov 26 10:02:53 MST 2012
     884
     885Welcome to FreeBSD!
     886
     887Nice bash prompt: PS1='(\[$(tput md)\]\t <\w>\[$(tput me)\]) $(echo $?) \$ '
     888                -- Mathieu <mathieu@hal.interactionvirtuelle.com>
     889> bash
     890[lnevers@boss ~]$
     891
     892}}}
     893Access infrastructure Switches using documented password. First connect to the switch named procurve1 the control network switch:
     894{{{
     895[lnevers@boss ~]$ sudo more /usr/testbed/etc/switch.pswd
     896XXXXXXXXX
     897[lnevers@boss ~]$  telnet procurve1
     898Trying 10.1.1.253...
     899Connected to procurve1.
     900Escape character is '^]'.
     901
     902HP J9623A E2620-24 Switch
     903Software revision RA.15.05.0006
     904
     905Copyright (C) 1991-2011 Hewlett-Packard Development Company, L.P.
     906
     907                   RESTRICTED RIGHTS LEGEND
     908 Confidential computer software.  Valid license from HP required for possession,
     909 use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer
     910 Software, Computer Software Documentation, and Technical Data for Commercial
     911 Items are licensed to the U.S. Government under vendor's standard commercial
     912 license.
     913                   HEWLETT-PACKARD DEVELOPMENT COMPANY, L.P.
     914                   20555 State Highway 249, Houston, TX 77070
     915
     916We'd like to keep you up to date about:
     917  * Software feature updates
     918  * New product announcements
     919  * Special events
     920Please register your products now at:  www.hp.com/networking/register
     921Password:
     922HP-E2620-24# show version
     923Image stamp:    /sw/code/build/xform(RA_15_05)
     924                Aug  9 2011 09:08:18
     925                RA.15.05.0006
     926                44
     927Boot Image:     Primary
     928HP-E2620-24# show running-config
     929
     930Running configuration:
     931
     932; J9623A Configuration Editor; Created on release #RA.15.05.0006
     933; Ver #01:01:00
     934
     935hostname "HP-E2620-24"
     936ip default-gateway 10.1.1.254
     937vlan 1
     938   name "DEFAULT_VLAN"
     939   untagged 1-22,25-28
     940   ip address 10.254.254.253 255.255.255.0
     941   no untagged 23-24
     942   ip igmp
     943   exit
     944vlan 11
     945   name "control-alternate"
     946   untagged 24
     947   ip address 10.2.1.253 255.255.255.0
     948   exit
     949vlan 10
     950   name "control-hardware"
     951   untagged 23
     952   ip address 10.1.1.253 255.255.255.0
     953   exit
     954no web-management
     955snmp-server community "xxx" unrestricted
     956management-vlan 10
     957no dhcp config-file-update
     958password xxx
     959password xxx
     960
     961HP-E2620-24# show vlan
     962
     963 Status and Counters - VLAN Information
     964
     965  Maximum VLANs to support : 256                 
     966  Primary VLAN : DEFAULT_VLAN     
     967  Management VLAN : control-hardware
     968
     969  VLAN ID Name                             | Status     Voice Jumbo
     970  ------- -------------------------------- + ---------- ----- -----
     971  1       DEFAULT_VLAN                     | Port-based No    No   
     972  10      control-hardware                 | Port-based No    No   
     973  11      control-alternate                | Port-based No    No   
     974 
     975
     976HP-E2620-24#
     977HP-E2620-24# exit
     978HP-E2620-24> exit
     979Do you want to log out [y/n]? y
     980Connection closed by foreign host.
     981[lnevers@boss ~]$
     982}}}
     983
     984Connect to the switch named procurve2 the dataplane network switch via ssh using the documented password:
     985{{{
     986[lnevers@boss ~]$ sudo more /usr/testbed/etc/switch.pswd
     987xxxxxxx
     988[lnevers@boss ~]$ ssh manager@procurve2
     989Warning: Permanently added 'procurve2' (RSA) to the list of known hosts.
     990We'd like to keep you up to date about:
     991  * Software feature updates
     992  * New product announcements
     993  * Special events
     994Please register your products now at:  www.hp.com/networking/register
     995
     996
     997manager@procurve2's password:
     998HP J8697A Switch E5406zl
     999Software revision K.15.06.5008
     1000
     1001Copyright (C) 1991-2012 Hewlett-Packard Development Company, L.P.
     1002
     1003                   RESTRICTED RIGHTS LEGEND
     1004 Confidential computer software.  Valid license from HP required for possession,
     1005 use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer
     1006 Software, Computer Software Documentation, and Technical Data for Commercial
     1007 Items are licensed to the U.S. Government under vendor's standard commercial
     1008 license.
     1009                   HEWLETT-PACKARD DEVELOPMENT COMPANY, L.P.
     1010                   20555 State Highway 249, Houston, TX 77070
     1011
     1012Press any key to continue
     1013
     1014HP-E5406zl# show version
     1015Image stamp:    /ws/swbuildm/of_bridge_qaoff/code/build/btm(of_bridge_qaoff)
     1016                Feb 18 2012 11:26:28
     1017                K.15.06.5008
     1018                79
     1019Boot Image:     Primary
     1020HP-E5406zl# show run
     1021
     1022Running configuration:
     1023
     1024; J8697A Configuration Editor; Created on release #K.15.06.5008
     1025; Ver #02:10.0d:1f
     1026
     1027hostname "HP-E5406zl"
     1028module 1 type J9550A
     1029interface A1
     1030   speed-duplex auto-1000
     1031exit
     1032interface A2
     1033   speed-duplex auto-1000
     1034exit
     1035interface A3
     1036   speed-duplex auto-1000
     1037exit
     1038interface A4
     1039   speed-duplex auto-1000
     1040exit
     1041interface A5
     1042   speed-duplex auto-1000
     1043exit
     1044interface A6
     1045   speed-duplex auto-1000
     1046exit
     1047interface A7
     1048   speed-duplex auto-1000
     1049exit
     1050interface A8
     1051   speed-duplex auto-1000
     1052exit
     1053interface A9
     1054   speed-duplex auto-1000
     1055exit
     1056interface A10
     1057   speed-duplex auto-1000
     1058exit
     1059interface A11
     1060   disable
     1061   speed-duplex auto-1000
     1062exit
     1063interface A12
     1064   disable
     1065   speed-duplex auto-1000
     1066exit
     1067interface A13
     1068   disable
     1069   speed-duplex auto-1000
     1070exit
     1071interface A14
     1072   disable
     1073   speed-duplex auto-1000
     1074exit
     1075interface A15
     1076   disable
     1077   speed-duplex auto-1000
     1078exit
     1079ip default-gateway 10.3.1.254
     1080vlan 1
     1081   name "DEFAULT_VLAN"
     1082   forbid A1-A9
     1083   untagged A11-A19,A21-A23
     1084   no untagged A1-A10,A20,A24
     1085   no ip address
     1086   exit
     1087vlan 10
     1088   name "control-hardware"
     1089   untagged A20
     1090   ip address 10.3.1.253 255.255.255.0
     1091   exit
     1092vlan 257
     1093   name "_5"
     1094   untagged A1-A9
     1095   no ip address
     1096   exit
     1097vlan 1750
     1098   name "_66"
     1099   tagged A24
     1100   no ip address
     1101   exit
     1102vlan 1755
     1103   name "_74"
     1104   tagged A24
     1105   no ip address
     1106   exit
     1107vlan 1756
     1108   name "_75"
     1109   tagged A24
     1110   no ip address
     1111   exit
     1112vlan 1757
     1113   name "_76"
     1114   tagged A24
     1115   no ip address
     1116   exit
     1117vlan 1758
     1118   name "_77"
     1119   tagged A24
     1120   no ip address
     1121   exit
     1122vlan 1759
     1123   name "_78"
     1124   tagged A24
     1125   no ip address
     1126   exit
     1127vlan 258
     1128   name "_89"
     1129   tagged A7
     1130   no ip address
     1131   exit
     1132vlan 259
     1133   name "_91"
     1134   tagged A7,A10
     1135   no ip address
     1136   exit
     1137no web-management
     1138openflow
     1139   vlan 1750
     1140      enable
     1141      controller "tcp:10.3.1.7:6633" fail-secure on
     1142      exit
     1143   vlan 1751
     1144      enable
     1145      controller "tcp:10.3.1.7:6633" fail-secure on
     1146      exit
     1147   vlan 1755
     1148      enable
     1149      controller "tcp:10.3.1.7:6633" fail-secure on
     1150      exit
     1151   vlan 1756
     1152      enable
     1153      controller "tcp:10.3.1.7:6633"
     1154      exit
     1155   vlan 1757
     1156      enable
     1157      controller "tcp:10.3.1.7:6633"
     1158      exit
     1159   vlan 1758
     1160      enable
     1161      controller "tcp:10.3.1.7:6633"
     1162      exit
     1163   vlan 1759
     1164      enable
     1165      controller "tcp:10.3.1.7:6633"
     1166      exit
     1167   exit
     1168snmp-server community "xxx" unrestricted
     1169management-vlan 10
     1170no autorun
     1171no dhcp config-file-update
     1172no dhcp image-file-update
     1173password xx
     1174password xx
     1175
     1176HP-E5406zl# show vlan
     1177
     1178 Status and Counters - VLAN Information
     1179
     1180  Maximum VLANs to support : 256                 
     1181  Primary VLAN : DEFAULT_VLAN   
     1182  Management VLAN : control-hardware
     1183
     1184  VLAN ID Name                             | Status     Voice Jumbo
     1185  ------- -------------------------------- + ---------- ----- -----
     1186  1       DEFAULT_VLAN                     | Port-based No    No   
     1187  10      control-hardware                 | Port-based No    No   
     1188  257     _5                               | Port-based No    No   
     1189  258     _89                              | Port-based No    No   
     1190  259     _91                              | Port-based No    No   
     1191  1750    _66                              | Port-based No    No   
     1192  1755    _74                              | Port-based No    No   
     1193  1756    _75                              | Port-based No    No   
     1194  1757    _76                              | Port-based No    No   
     1195  1758    _77                              | Port-based No    No   
     1196  1759    _78                              | Port-based No    No   
     1197 
     1198
     1199HP-E5406zl# show vlan 1750
     1200
     1201 Status and Counters - VLAN Information - VLAN 1750
     1202
     1203  VLAN ID : 1750   
     1204  Name : _66                             
     1205  Status : Port-based
     1206  Voice : No
     1207  Jumbo : No
     1208
     1209  Port Information Mode     Unknown VLAN Status   
     1210  ---------------- -------- ------------ ----------
     1211  A24              Tagged   Learn        Up       
     1212 
     1213
     1214HP-E5406zl#
     1215}}}
     1216
     1217Access the FOAM VM and gather information for version
     1218{{{
     1219LNM:~$ ssh lnevers@foam.instageni.clemson.edu
     1220
     1221sudo foamctl admin:get-version  --passwd-file=/etc/foam.passwd
     1222
     1223}}}
     1224Check FOAM configuration for  site.admin.email, geni.site-tag, email.from settings:
     1225{{{
     1226foamctl config:get-value --key="site.admin.email"  --passwd-file=/etc/foam.passwd
     1227
     1228foamctl config:get-value --key="geni.site-tag"  --passwd-file=/etc/foam.passwd
     1229
     1230foamctl config:get-value --key="email.from"  --passwd-file=/etc/foam.passwd
     1231
     1232# check if FOAM auto-approve is on. Value 2 = auto-approve is on.
     1233
     1234foamctl config:get-value --key="geni.approval.approve-on-creation"  --passwd-file=/etc/foam.passwd
     1235
     1236}}}
     1237
     1238Show FOAM slivers and details for one sliver:
     1239
     1240{{{
     1241foamctl geni:list-slivers --passwd-file=/etc/foam.passwd
     1242
     1243}}}
     1244Access the FlowVisor VM and gather version information:
     1245{{{
     1246
     1247ssh lnevers@flowvisor.instageni.clemson.edu
     1248}}}
     1249Check the !FlowVisor version, list of devices, get details for a device, list of active slices, and details for one of the slices:
     1250{{{     
     1251
     1252fvctl --passwd-file=/etc/flowvisor.passwd ping hello
     1253
     1254# Devices
     1255fvctl --passwd-file=/etc/flowvisor.passwd listDevices
     1256
     1257fvctl --passwd-file=/etc/flowvisor.passwd getDeviceInfo 06:d6:6c:3b:e5:68:00:00
     1258
     1259#Slices
     1260fvctl --passwd-file=/etc/flowvisor.passwd listSlices
     1261
     1262fvctl --passwd-file=/etc/flowvisor.passwd getSliceInfo 5c956f94-5e05-40b5-948f-34d0149d9182
     1263
     1264}}}
     1265
     1266Check the FlowVisor setting:
     1267{{{
     1268fvctl --passwd-file=/etc/flowvisor.passwd dumpConfig /tmp/flowvisor-config
     1269more /tmp/flowvisor-config
     1270
     1271}}}
     1272
     1273
    7871274
    7881275Verify alerts for the compute resource Aggregate Manager are being reported to the [http://monitor.gpolab.bbn.com/nagios/cgi-bin/status.cgi GPO Tango GENI Nagios monitoring] and t