Changes between Version 12 and Version 13 of GENIRacksHome/InstageniRacks/ConfirmationTestStatus/UMKC


Ignore:
Timestamp:
10/01/14 15:28:28 (9 years ago)
Author:
lnevers@bbn.com
Comment:

--

Legend:

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

    v12 v13  
    961961
    962962== IG-CT-6 - Administrative Tests ==
     963Sent request for administrative account to site contact from the [http://groups.geni.net/geni/wiki/GeniAggregate/UMKCInstaGENI UMKC 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.umkc.edu/joinproject.php3.   Once the administrative account was approved and the membership to emulab-ops was granted, proceeded to execute administrative tests. 
     964
     965{{{
     966LNM:~$ ssh control.instageni.umkc.edu
     967
     968}}}
     969
     970Also access the boss node:
     971{{{
     972LNM:~$ ssh boss.instageni.umkc.edu
     973Last login: Wed Oct  1 12:04:18 2014 from ops.instageni.umkc.edu
     974FreeBSD 9.0-STABLE (TESTBED-XEN) #0: Mon Mar  3 15:37:17 MST 2014
     975
     976Welcome to FreeBSD!
     977
     978To read a compressed file without having to first uncompress it, use
     979"zcat" or "zmore" to view it.
     980                -- Dru <genesis@istar.ca>
     981> bash
     982[lnevers@boss ~]$ sudo whoami
     983root
     984[lnevers@boss ~]$ uname -a
     985FreeBSD boss.instageni.umkc.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
     986[lnevers@boss ~]$
     987}}}
     988
     989From boss node accessed each of the experiment nodes that support VMs:
     990{{{
     991[lnevers@boss ~]$ for i in pc1 pc2 pc3; do ssh $i "echo -n '===> Host: ';hostname;sudo whoami;uname -a;echo"; done
     992Warning: Permanently added 'pc1.instageni.umkc.edu' (RSA) to the list of known hosts.
     993===> Host: vhost1.shared-nodes.emulab-ops.instageni.umkc.edu
     994root
     995Linux vhost1.shared-nodes.emulab-ops.instageni.umkc.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
     996
     997Warning: Permanently added 'pc2.instageni.umkc.edu' (RSA) to the list of known hosts.
     998
     999===> Host: vhost2.shared-nodes.emulab-ops.instageni.umkc.edu
     1000root
     1001Linux vhost2.shared-nodes.emulab-ops.instageni.umkc.edu 3.2.0-56-generic #86-Ubuntu SMP Wed Oct 23 09:20:45 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
     1002
     1003Warning: Permanently added 'pc3.instageni.umkc.edu' (RSA) to the list of known hosts.
     1004===> Host: vhost3.shared-nodes.emulab-ops.instageni.umkc.edu
     1005root
     1006Linux vhost3.shared-nodes.emulab-ops.instageni.umkc.edu 3.2.0-56-generic #86-Ubuntu SMP Wed Oct 23 09:20:45 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
     1007
     1008[lnevers@boss ~]$
     1009}}}
     1010
     1011In 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):
     1012{{{
     1013[lnevers@boss ~]$ for i in pc4 pc5 ; do sudo ssh $i "echo -n '===> Host: ';hostname;whoami;uname -a;echo"; done
     1014===> Host: pc.ln2pc.ch-geni-net.instageni.umkc.edu
     1015root
     1016Linux pc.ln2pc.ch-geni-net.instageni.umkc.edu 2.6.40-4.emulab2.fc15.i686.PAE #1 SMP Tue Feb 26 13:35:12 MST 2013 i686 i686 i386 GNU/Linux
     1017
     1018===> Host: pc2.ln2pc.ch-geni-net.instageni.umkc.edu
     1019root
     1020Linux pc2.ln2pc.ch-geni-net.instageni.umkc.edu 2.6.40-4.emulab2.fc15.i686.PAE #1 SMP Tue Feb 26 13:35:12 MST 2013 i686 i686 i386 GNU/Linux
     1021
     1022[lnevers@boss ~]$
     1023}}}
     1024
     1025Further verified access by ssh from ops.instageni.gpolab.bbn.com to boss.instageni.gpolab.bbn.com, which is usually restricted for non-admin users:
     1026{{{
     1027LNM:~$ ssh ops.instageni.umkc.edu
     1028Last login: Wed Oct  1 12:04:12 2014 from dhcp89-73-116.bbn.com
     1029FreeBSD 9.0-STABLE (TESTBED-XEN) #0: Mon Mar  3 15:37:17 MST 2014
     1030
     1031Welcome to FreeBSD!
     1032
     1033Can't remember if you've installed a certain port or not? Try "pkg_info
     1034-Ix port_name".
     1035> bash
     1036[lnevers@ops ~]$ sudo whoami
     1037root
     1038[lnevers@ops ~]$ uname -a
     1039FreeBSD ops.instageni.umkc.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
     1040[lnevers@ops ~]$
     1041[lnevers@ops ~]$ ssh boss
     1042Last login: Wed Oct  1 14:18:44 2014 from dhcp89-73-116.bbn.com
     1043FreeBSD 9.0-STABLE (TESTBED-XEN) #0: Mon Mar  3 15:37:17 MST 2014
     1044
     1045Welcome to FreeBSD!
     1046
     1047You can look through a file in a nice text-based interface by typing
     1048
     1049        less filename
     1050> bash
     1051[lnevers@boss ~]$
     1052}}}
     1053Access infrastructure switches using documented password. First connect to the switch named procurve1 the control network switch:
     1054{{{
     1055[lnevers@boss ~]$ sudo more /usr/testbed/etc/switch.pswd
     1056XXXXXXXXX
     1057[lnevers@boss ~]$ telnet procurve1
     1058Trying 10.1.1.253...
     1059Connected to procurve1.
     1060Escape character is '^]'.
     1061
     1062HP J9623A E2620-24 Switch
     1063Software revision RA.15.08.0009
     1064
     1065Copyright (C) 1991-2012 Hewlett-Packard Development Company, L.P.
     1066
     1067                   RESTRICTED RIGHTS LEGEND
     1068 Confidential computer software.  Valid license from HP required for possession,
     1069 use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer
     1070 Software, Computer Software Documentation, and Technical Data for Commercial
     1071 Items are licensed to the U.S. Government under vendor's standard commercial
     1072 license.
     1073                   HEWLETT-PACKARD DEVELOPMENT COMPANY, L.P.
     1074                   20555 State Highway 249, Houston, TX 77070
     1075
     1076We'd like to keep you up to date about:
     1077  * Software feature updates
     1078  * New product announcements
     1079  * Special events
     1080Please register your products now at:  www.hp.com/networking/register
     1081
     1082Username: manager
     1083Password:
     1084
     1085HP-E2620-24# show version
     1086Image stamp:    /ws/swbuildm/rel_galt_qaoff/code/build/xform(rel_galt_qaoff)
     1087                May  9 2012 15:28:43
     1088                RA.15.08.0009
     1089                474
     1090Boot Image:     Primary
     1091HP-E2620-24# show vlan
     1092
     1093 Status and Counters - VLAN Information
     1094
     1095  Maximum VLANs to support : 50                   
     1096  Primary VLAN : DEFAULT_VLAN     
     1097  Management VLAN : control-hardware
     1098
     1099  VLAN ID Name                             | Status     Voice Jumbo
     1100  ------- -------------------------------- + ---------- ----- -----
     1101  1       DEFAULT_VLAN                     | Port-based No    No   
     1102  10      control-hardware                 | Port-based No    No   
     1103  11      control-alternate                | Port-based No    No   
     1104 
     1105
     1106HP-E2620-24# show vlan
     1107
     1108 Status and Counters - VLAN Information
     1109
     1110  Maximum VLANs to support : 50                   
     1111  Primary VLAN : DEFAULT_VLAN     
     1112  Management VLAN : control-hardware
     1113
     1114  VLAN ID Name                             | Status     Voice Jumbo
     1115  ------- -------------------------------- + ---------- ----- -----
     1116  1       DEFAULT_VLAN                     | Port-based No    No   
     1117  10      control-hardware                 | Port-based No    No   
     1118  11      control-alternate                | Port-based No    No   
     1119 
     1120
     1121HP-E2620-24# show running-config
     1122
     1123Running configuration:
     1124
     1125; J9623A Configuration Editor; Created on release #RA.15.08.0009
     1126; Ver #02:13.2d:3c
     1127hostname "HP-E2620-24"
     1128max-vlans 50
     1129no stack
     1130no web-management
     1131ip default-gateway 10.1.1.254
     1132snmp-server community "xxx" unrestricted
     1133aaa authentication ssh login public-key
     1134aaa authentication ssh enable public-key
     1135vlan 1
     1136   name "DEFAULT_VLAN"
     1137   no untagged 23-24
     1138   untagged 1-22,25-28
     1139   ip address 10.254.254.253 255.255.255.0
     1140   ip igmp
     1141   exit
     1142vlan 10
     1143   name "control-hardware"
     1144   untagged 23
     1145   ip address 10.1.1.253 255.255.255.0
     1146   exit
     1147vlan 11
     1148   name "control-alternate"
     1149   untagged 24
     1150   ip address 10.2.1.253 255.255.255.0
     1151   exit
     1152management-vlan 10
     1153no dhcp config-file-update
     1154password xxx
     1155password xxx
     1156
     1157HP-E2620-24#
     1158}}}
     1159
     1160Connect to the switch named procurve2 the dataplane network switch via ssh using the documented password:
     1161{{{
     1162[lnevers@boss ~]$ sudo more /usr/testbed/etc/switch.pswd
     1163xxxxxxx
     1164[lnevers@boss ~]$ telnet procurve2
     1165Trying 10.3.1.253...
     1166Connected to procurve2.
     1167Escape character is '^]'.
     1168
     1169HP J8697A Switch E5406zl
     1170Software revision K.15.06.5008
     1171
     1172Copyright (C) 1991-2012 Hewlett-Packard Development Company, L.P.
     1173
     1174                   RESTRICTED RIGHTS LEGEND
     1175 Confidential computer software.  Valid license from HP required for possession,
     1176 use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer
     1177 Software, Computer Software Documentation, and Technical Data for Commercial
     1178 Items are licensed to the U.S. Government under vendor's standard commercial
     1179 license.
     1180                   HEWLETT-PACKARD DEVELOPMENT COMPANY, L.P.
     1181                   20555 State Highway 249, Houston, TX 77070
     1182
     1183We'd like to keep you up to date about:
     1184  * Software feature updates
     1185  * New product announcements
     1186  * Special events
     1187Please register your products now at:  www.hp.com/networking/register
     1188
     1189Username: manager
     1190Password:
     1191
     1192HP-5406zl# show version
     1193Image stamp:    /ws/swbuildm/of_bridge_qaoff/code/build/btm(of_bridge_qaoff)
     1194                Feb 18 2012 11:26:28
     1195                K.15.06.5008
     1196                79
     1197Boot Image:     Primary
     1198HP-5406zl# show vlans
     1199
     1200 Status and Counters - VLAN Information
     1201
     1202  Maximum VLANs to support : 256                 
     1203  Primary VLAN : DEFAULT_VLAN   
     1204  Management VLAN : control-hardware
     1205
     1206  VLAN ID Name                             | Status     Voice Jumbo
     1207  ------- -------------------------------- + ---------- ----- -----
     1208  1       DEFAULT_VLAN                     | Port-based No    No   
     1209  10      control-hardware                 | Port-based No    No   
     1210  257     5000                             | Port-based No    No   
     1211  258     5002                             | Port-based No    No   
     1212  259     5001                             | Port-based No    No   
     1213  1760    5004                             | Port-based No    No   
     1214 
     1215
     1216HP-5406zl# show running-config
     1217
     1218Running configuration:
     1219
     1220; J8697A Configuration Editor; Created on release #K.15.06.5008
     1221; Ver #02:10.0d:1f
     1222
     1223hostname "HP-5406zl"
     1224module 1 type J9549A
     1225interface A1
     1226   speed-duplex auto-1000
     1227exit
     1228interface A2
     1229   speed-duplex auto-1000
     1230exit
     1231interface A3
     1232   speed-duplex auto-1000
     1233exit
     1234interface A4
     1235   speed-duplex auto-1000
     1236exit
     1237interface A5
     1238   speed-duplex auto-1000
     1239exit
     1240interface A6
     1241   speed-duplex auto-1000
     1242exit
     1243interface A7
     1244   speed-duplex auto-1000
     1245exit
     1246interface A8
     1247   speed-duplex auto-1000
     1248exit
     1249interface A9
     1250   speed-duplex auto-1000
     1251exit
     1252interface A10
     1253   disable
     1254   speed-duplex auto-1000
     1255exit
     1256interface A13
     1257   disable
     1258   speed-duplex auto-1000
     1259exit
     1260ip default-gateway 10.3.1.7
     1261vlan 1
     1262   name "DEFAULT_VLAN"
     1263   forbid A1-A9
     1264   untagged A10-A18,A21-A24
     1265   no untagged A1-A9,A19-A20
     1266   no ip address
     1267   exit
     1268vlan 10
     1269   name "control-hardware"
     1270   untagged A20
     1271   ip address 10.3.1.253 255.255.255.0
     1272   exit
     1273vlan 257
     1274   name "5000"
     1275   untagged A1-A9
     1276   no ip address
     1277   exit
     1278vlan 258
     1279   name "5002"
     1280   tagged A1,A4
     1281   no ip address
     1282   exit
     1283vlan 259
     1284   name "5001"
     1285   tagged A4,A7
     1286   no ip address
     1287   exit
     1288vlan 1760
     1289   name "5004"
     1290   tagged A1,A7,A19
     1291   no ip address
     1292   exit
     1293no web-management
     1294openflow
     1295   vlan 1750
     1296      enable
     1297      controller "tcp:10.3.1.7:6633" fail-secure on
     1298      exit
     1299   vlan 1760
     1300      enable
     1301      controller "tcp:10.3.1.7:6633" fail-secure on
     1302      exit
     1303   exit
     1304snmp-server community "xxx" unrestricted
     1305aaa authentication ssh login public-key
     1306aaa authentication ssh enable public-key
     1307management-vlan 10
     1308no tftp server
     1309no autorun
     1310no dhcp config-file-update
     1311no dhcp image-file-update
     1312password xxx
     1313password xxx
     1314
     1315HP-5406zl#
     1316}}}
     1317
     1318Access the FOAM VM and gather information for version
     1319{{{
     1320LNM:~$ ssh lnevers@foam.instageni.umkc.edu
     1321
     1322sudo foamctl admin:get-version  --passwd-file=/etc/foam.passwd
     1323
     1324}}}
     1325Check FOAM configuration for  site.admin.email, geni.site-tag, email.from settings:
     1326{{{
     1327foamctl config:get-value --key="site.admin.email"  --passwd-file=/etc/foam.passwd
     1328
     1329foamctl config:get-value --key="geni.site-tag"  --passwd-file=/etc/foam.passwd
     1330
     1331foamctl config:get-value --key="email.from"  --passwd-file=/etc/foam.passwd
     1332
     1333# check if FOAM auto-approve is on. Value 2 = auto-approve is on.
     1334
     1335foamctl config:get-value --key="geni.approval.approve-on-creation"  --passwd-file=/etc/foam.passwd
     1336
     1337}}}
     1338
     1339Show FOAM slivers details:
     1340
     1341{{{
     1342foamctl geni:list-slivers --passwd-file=/etc/foam.passwd
     1343
     1344}}}
     1345Access the FlowVisor VM and gather version information:
     1346{{{
     1347
     1348ssh lnevers@flowvisor.instageni.umkc.edu
     1349}}}
     1350Check the !FlowVisor version, list of devices, get details for a device, list of active slices, and details for one of the slices:
     1351{{{     
     1352
     1353fvctl --passwd-file=/etc/flowvisor.passwd ping hello
     1354
     1355# Devices
     1356fvctl --passwd-file=/etc/flowvisor.passwd listDevices
     1357
     1358fvctl --passwd-file=/etc/flowvisor.passwd getDeviceInfo 06:d6:6c:3b:e5:68:00:00
     1359
     1360#Slices
     1361fvctl --passwd-file=/etc/flowvisor.passwd listSlices
     1362
     1363fvctl --passwd-file=/etc/flowvisor.passwd getSliceInfo 5c956f94-5e05-40b5-948f-34d0149d9182
     1364
     1365}}}
     1366
     1367Check the FlowVisor setting:
     1368{{{
     1369fvctl --passwd-file=/etc/flowvisor.passwd dumpConfig /tmp/flowvisor-config
     1370more /tmp/flowvisor-config
     1371
     1372}}}
    9631373
    9641374----