Changes between Version 14 and Version 15 of GENIRacksHome/InstageniRacks/ConfirmationTestStatus/UtahDDC


Ignore:
Timestamp:
08/16/13 09:51:03 (11 years ago)
Author:
lnevers@bbn.com
Comment:

--

Legend:

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

    v14 v15  
    11121112== IG-CT-6 - Administrative Tests ==
    11131113
    1114 Waiting on administrative access to the rack to collect results for this test.
     1114Sent request for administrative account to site contact. Site contact should be from the [http://groups.geni.net/geni/wiki/GeniAggregate/UtahDDCInstaGENI UtahDDC InstaGENI] aggregate page, but page does not exist yet. See instaticket:124.  Followed instructions at [https://users.emulab.net/trac/protogeni/wiki/RackAdminAccounts Admin Accounts on InstaGeni Racks] page for account request. A local admin account was create for the ''emulab-ops'' group at [https://www.utahddc.geniracks.net/joinproject.php3?target_pid=emulab-ops join group] page.   Once the administrative account was created and membership to emulab-ops was approved, proceeded to execute administrative tests. 
     1115
     1116{{{
     1117LNM:~$ ssh control.utahddc.geniracks.net
     1118
     1119}}}
     1120
     1121Also access the boss node:
     1122{{{
     1123LNM:~$ ssh control.utahddc.geniracks.net
     1124Permission denied (publickey).
     1125LNM:~$ ssh boss.utahddc.geniracks.net
     1126Last login: Fri Aug 16 07:07:22 2013 from dhcp89-073-116.bbn.com
     1127FreeBSD 9.0-STABLE (TESTBED-XEN) #0: Tue Apr 30 14:24:36 MDT 2013
     1128
     1129Welcome to FreeBSD!
     1130
     1131To determine whether a file is a text file, executable, or some other type
     1132of file, use
     1133
     1134        file filename
     1135                -- Dru <genesis@istar.ca>
     1136[lnevers@boss ~]$ sudo whoami
     1137root
     1138[lnevers@boss ~]$
     1139}}}
     1140
     1141From boss node accessed each of the experiment nodes that support VMs:
     1142{{{
     1143
     1144[lnevers@boss ~]$ for i in pc1 pc2 pc3 pc4 pc5 pc6 pc7 pc8 pc9 pc10 pc11 pc12; do ssh $i "echo -n '===> Host: ';hostname;sudo whoami;uname -a;echo"; done
     1145Warning: Permanently added 'pc1.utahddc.geniracks.net' (RSA) to the list of known hosts.
     1146===> Host: vhost1.shared-nodes.emulab-ops.utahddc.geniracks.net
     1147root
     1148Linux vhost1.shared-nodes.emulab-ops.utahddc.geniracks.net 3.2.46 #1 SMP Wed Jun 5 15:53:18 MDT 2013 x86_64 x86_64 x86_64 GNU/Linux
     1149
     1150Warning: Permanently added 'pc2.utahddc.geniracks.net' (RSA) to the list of known hosts.
     1151===> Host: vhost2.shared-nodes.emulab-ops.utahddc.geniracks.net
     1152root
     1153Linux vhost2.shared-nodes.emulab-ops.utahddc.geniracks.net 3.2.46 #1 SMP Wed Jun 5 15:53:18 MDT 2013 x86_64 x86_64 x86_64 GNU/Linux
     1154
     1155Warning: Permanently added 'pc3.utahddc.geniracks.net' (RSA) to the list of known hosts.
     1156===> Host: vhost3.shared-nodes.emulab-ops.utahddc.geniracks.net
     1157root
     1158Linux vhost3.shared-nodes.emulab-ops.utahddc.geniracks.net 3.2.46 #1 SMP Wed Jun 5 15:53:18 MDT 2013 x86_64 x86_64 x86_64 GNU/Linux
     1159
     1160Warning: Permanently added 'pc4.utahddc.geniracks.net' (RSA) to the list of known hosts.
     1161===> Host: vhost4.shared-nodes.emulab-ops.utahddc.geniracks.net
     1162root
     1163Linux vhost4.shared-nodes.emulab-ops.utahddc.geniracks.net 3.2.46 #1 SMP Wed Jun 5 15:53:18 MDT 2013 x86_64 x86_64 x86_64 GNU/Linux
     1164
     1165Warning: Permanently added 'pc5.utahddc.geniracks.net' (RSA) to the list of known hosts.
     1166===> Host: vhost5.shared-nodes.emulab-ops.utahddc.geniracks.net
     1167root
     1168Linux vhost5.shared-nodes.emulab-ops.utahddc.geniracks.net 3.2.46 #1 SMP Wed Jun 5 15:53:18 MDT 2013 x86_64 x86_64 x86_64 GNU/Linux
     1169
     1170Warning: Permanently added 'pc6.utahddc.geniracks.net' (RSA) to the list of known hosts.
     1171===> Host: vhost6.shared-nodes.emulab-ops.utahddc.geniracks.net
     1172root
     1173Linux vhost6.shared-nodes.emulab-ops.utahddc.geniracks.net 3.2.46 #1 SMP Wed Jun 5 15:53:18 MDT 2013 x86_64 x86_64 x86_64 GNU/Linux
     1174
     1175Warning: Permanently added 'pc7.utahddc.geniracks.net' (RSA) to the list of known hosts.
     1176===> Host: vhost7.shared-nodes.emulab-ops.utahddc.geniracks.net
     1177root
     1178Linux vhost7.shared-nodes.emulab-ops.utahddc.geniracks.net 3.2.46 #1 SMP Wed Jun 5 15:53:18 MDT 2013 x86_64 x86_64 x86_64 GNU/Linux
     1179
     1180Warning: Permanently added 'pc8.utahddc.geniracks.net' (RSA) to the list of known hosts.
     1181===> Host: vhost8.shared-nodes.emulab-ops.utahddc.geniracks.net
     1182root
     1183Linux vhost8.shared-nodes.emulab-ops.utahddc.geniracks.net 3.2.46 #1 SMP Wed Jun 5 15:53:18 MDT 2013 x86_64 x86_64 x86_64 GNU/Linux
     1184
     1185Warning: Permanently added 'pc9.utahddc.geniracks.net' (RSA) to the list of known hosts.
     1186===> Host: vhost9.shared-nodes.emulab-ops.utahddc.geniracks.net
     1187root
     1188Linux vhost9.shared-nodes.emulab-ops.utahddc.geniracks.net 3.2.46 #1 SMP Wed Jun 5 15:53:18 MDT 2013 x86_64 x86_64 x86_64 GNU/Linux
     1189
     1190Warning: Permanently added 'pc10.utahddc.geniracks.net' (RSA) to the list of known hosts.
     1191===> Host: vhost10.shared-nodes.emulab-ops.utahddc.geniracks.net
     1192root
     1193Linux vhost10.shared-nodes.emulab-ops.utahddc.geniracks.net 3.2.46 #1 SMP Wed Jun 5 15:53:18 MDT 2013 x86_64 x86_64 x86_64 GNU/Linux
     1194
     1195Warning: Permanently added 'pc11.utahddc.geniracks.net' (RSA) to the list of known hosts.
     1196===> Host: vhost11.shared-nodes.emulab-ops.utahddc.geniracks.net
     1197root
     1198Linux vhost11.shared-nodes.emulab-ops.utahddc.geniracks.net 3.2.46 #1 SMP Wed Jun 5 15:53:18 MDT 2013 x86_64 x86_64 x86_64 GNU/Linux
     1199
     1200Warning: Permanently added 'pc12.utahddc.geniracks.net' (RSA) to the list of known hosts.
     1201===> Host: vhost12.shared-nodes.emulab-ops.utahddc.geniracks.net
     1202root
     1203Linux vhost12.shared-nodes.emulab-ops.utahddc.geniracks.net 3.2.46 #1 SMP Wed Jun 5 15:53:18 MDT 2013 x86_64 x86_64 x86_64 GNU/Linux
     1204
     1205[lnevers@boss ~]$
     1206
     1207}}}
     1208
     1209In order to access Dedicated Nodes some experiment must be running on the raw-pc device. At the time of this capture, four raw-pc nodes were in use (pc22, pc23, pc27 and pc32):
     1210{{{
     1211[lnevers@boss ~]$ sudo ssh pc22
     1212[root@pc22 ~]# sudo whoami
     1213root
     1214[root@pc22 ~]# uname -a
     1215Linux pc22.ig-ct-4.ch-geni-net.utahddc.geniracks.net 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
     1216[root@pc22 ~]# exit
     1217logout
     1218Connection to pc22.utahddc.geniracks.net closed.
     1219[lnevers@boss ~]$ sudo ssh pc23
     1220[root@pc ~]# sudo whoami
     1221root
     1222[root@pc ~]#  uname -a
     1223Linux pc.ig-ct-2.ch-geni-net.utahddc.geniracks.net 2.6.40-4.emulab2.fc15.i686.PAE #1 SMP Tue Feb 26 13:35:12 MST 2013 i686 i686 i386 GNU/Linux
     1224[root@pc ~]# exit
     1225logout
     1226Connection to pc23.utahddc.geniracks.net closed.
     1227[lnevers@boss ~]$ sudo ssh pc27
     1228[root@pc27 ~]# sudo whoami
     1229root
     1230[root@pc27 ~]# uname -a
     1231Linux pc27.ig-ct-3.ch-geni-net.utahddc.geniracks.net 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
     1232[root@pc27 ~]# exit
     1233logout
     1234Connection to pc27.utahddc.geniracks.net closed.
     1235[lnevers@boss ~]$ sudo ssh pc32
     1236Welcome to Ubuntu 12.04 LTS (GNU/Linux 3.2.46 x86_64)
     1237
     1238 * Documentation:  https://help.ubuntu.com/
     1239root@pc32:~# sudo whoami
     1240root
     1241root@pc32:~# uname -a
     1242Linux pc32.ig-ct-1.ch-geni-net.utahddc.geniracks.net 3.2.46 #1 SMP Wed Jun 5 15:53:18 MDT 2013 x86_64 x86_64 x86_64 GNU/Linux
     1243root@pc32:~# exit
     1244logout
     1245Connection to pc32.utahddc.geniracks.net closed.
     1246[lnevers@boss ~]$
     1247}}}
     1248
     1249Further verified access by ssh from ops.instageni.gpolab.bbn.com to boss.instageni.gpolab.bbn.com, which is usually restricted for non-admin users:
     1250{{{
     1251LNM:~$ ssh ops.utahddc.geniracks.net
     1252Last login: Fri Aug 16 07:06:53 2013 from dhcp89-073-116.bbn.com
     1253FreeBSD 9.0-STABLE (TESTBED-XEN) #0: Tue Apr 30 14:24:36 MDT 2013
     1254
     1255Welcome to FreeBSD!
     1256
     1257To quickly create an empty file, use "touch filename".
     1258                -- Dru <genesis@istar.ca>
     1259[lnevers@ops ~]$ sudo whoami
     1260root
     1261[lnevers@ops ~]$ ssh boss
     1262The authenticity of host 'boss.utahddc.geniracks.net (155.99.144.4)' can't be established.
     1263ECDSA key fingerprint is bd:05:23:a7:5b:cc:78:c8:8c:a8:d3:e9:f7:27:53:cb.
     1264Are you sure you want to continue connecting (yes/no)? yes
     1265Warning: Permanently added 'boss.utahddc.geniracks.net' (ECDSA) to the list of known hosts.
     1266Last login: Fri Aug 16 07:19:02 2013 from dhcp89-073-116.bbn.com
     1267FreeBSD 9.0-STABLE (TESTBED-XEN) #0: Tue Apr 30 14:24:36 MDT 2013
     1268
     1269Welcome to FreeBSD!
     1270
     1271To see the last 10 lines of a long file, use "tail filename". To see the
     1272first 10 lines, use "head filename".
     1273                -- Dru <genesis@istar.ca>
     1274
     1275[lnevers@boss ~]$ exit
     1276exit
     1277logout
     1278Connection to boss.utahddc.geniracks.net closed.
     1279[lnevers@ops ~]$ exit
     1280logout
     1281Connection to ops.utahddc.geniracks.net closed.
     1282
     1283}}}
     1284Access infrastructure Switches using documented password. First connect to the switch named procurve1 the control network switch:
     1285{{{
     1286[lnevers@boss ~]$ sudo more /usr/testbed/etc/switch.pswd
     1287XXXXXXXXX
     1288[lnevers@boss ~]$ telnet procurve1
     1289HP J8697A Switch E5406zl
     1290Software revision K.15.06.0017
     1291
     1292Copyright (C) 1991-2012 Hewlett-Packard Development Company, L.P.
     1293
     1294                   RESTRICTED RIGHTS LEGEND
     1295 Confidential computer software.  Valid license from HP required for possession,
     1296 use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer
     1297 Software, Computer Software Documentation, and Technical Data for Commercial
     1298 Items are licensed to the U.S. Government under vendor's standard commercial
     1299 license.
     1300                   HEWLETT-PACKARD DEVELOPMENT COMPANY, L.P.
     1301                   20555 State Highway 249, Houston, TX 77070
     1302
     1303We'd like to keep you up to date about:
     1304  * Software feature updates
     1305  * New product announcements
     1306  * Special events
     1307Please register your products now at:  www.hp.com/networking/register
     1308
     1309Username: manager
     1310Password:
     1311ddc-procurve1#
     1312ddc-procurve1#  show version
     1313Image stamp:    /ws/swbuildm/ec_rel_eureka_qaoff/code/build/btm(ec_rel_eureka_qaoff)
     1314                Apr 20 2012 12:34:21
     1315                K.15.06.0017
     1316                13
     1317Boot Image:     Primary
     1318ddc-procurve1# show running-config
     1319
     1320Running configuration:
     1321
     1322; J8697A Configuration Editor; Created on release #K.15.06.0017
     1323; Ver #02:10.0d:1f
     1324
     1325hostname "ddc-procurve1"
     1326module 1 type J9534A
     1327module 2 type J9536A
     1328module 3 type J9550A
     1329module 4 type J9536A
     1330ip default-gateway 10.1.1.254
     1331vlan 1
     1332   name "DEFAULT_VLAN"
     1333   untagged A1,A4-A24,B1-B22,C1-C24,D1-D22
     1334   ip address 10.254.254.254 255.255.255.0
     1335   no untagged A2-A3
     1336   ip igmp
     1337   exit
     1338vlan 11
     1339   name "control-alternate"
     1340   untagged A3
     1341   ip address 10.2.1.253 255.255.255.0
     1342   exit
     1343vlan 10
     1344   name "control-hardware"
     1345   untagged A2
     1346   ip address 10.1.1.253 255.255.255.0
     1347   exit
     1348no web-management
     1349ip authorized-managers 10.1.1.1 255.255.255.0 access manager
     1350snmp-server community "xxxx" unrestricted
     1351aaa authentication ssh login public-key
     1352aaa authentication ssh enable public-key
     1353management-vlan 10
     1354no tftp server
     1355no autorun
     1356no dhcp config-file-update
     1357no dhcp image-file-update
     1358password xxx
     1359password xxx
     1360
     1361ddc-procurve1#  show vlans
     1362
     1363 Status and Counters - VLAN Information
     1364
     1365  Maximum VLANs to support : 256                 
     1366  Primary VLAN : DEFAULT_VLAN     
     1367  Management VLAN : control-hardware
     1368
     1369  VLAN ID Name                             | Status     Voice Jumbo
     1370  ------- -------------------------------- + ---------- ----- -----
     1371  1       DEFAULT_VLAN                     | Port-based No    No   
     1372  10      control-hardware                 | Port-based No    No   
     1373  11      control-alternate                | Port-based No    No   
     1374 
     1375
     1376ddc-procurve1# exit
     1377ddc-procurve1> exit
     1378Do you want to log out [y/n]? y
     1379Connection closed by foreign host.
     1380[lnevers@boss ~]$
     1381
     1382}}}
     1383
     1384Connect to the switch named procurve2 the dataplane network switch via ssh using the documented password:
     1385{{{
     1386[lnevers@boss ~]$ sudo more /usr/testbed/etc/switch.pswd
     1387xxxxxxx
     1388[lnevers@boss ~]$ ssh manager@procurve2
     1389Warning: Permanently added 'procurve2' (RSA) to the list of known hosts.
     1390We'd like to keep you up to date about:
     1391  * Software feature updates
     1392  * New product announcements
     1393  * Special events
     1394Please register your products now at:  www.hp.com/networking/register
     1395
     1396
     1397manager@procurve2's password:
     1398
     1399????
     1400}}}
     1401
     1402Access the FOAM VM and gather information for version
     1403{{{
     1404LNM:~$ ssh lnevers@foam.utahddc.geniracks.net
     1405
     1406sudo foamctl admin:get-version  --passwd-file=/etc/foam.passwd
     1407
     1408}}}
     1409Check FOAM configuration for  site.admin.email, geni.site-tag, email.from settings:
     1410{{{
     1411foamctl config:get-value --key="site.admin.email"  --passwd-file=/etc/foam.passwd
     1412
     1413foamctl config:get-value --key="geni.site-tag"  --passwd-file=/etc/foam.passwd
     1414
     1415foamctl config:get-value --key="email.from"  --passwd-file=/etc/foam.passwd
     1416
     1417# check if FOAM auto-approve is on. Value 2 = auto-approve is on.
     1418
     1419foamctl config:get-value --key="geni.approval.approve-on-creation"  --passwd-file=/etc/foam.passwd
     1420
     1421}}}
     1422
     1423Show FOAM slivers and details for one sliver:
     1424
     1425{{{
     1426foamctl geni:list-slivers --passwd-file=/etc/foam.passwd
     1427
     1428}}}
     1429Access the FlowVisor VM and gather version information:
     1430{{{
     1431
     1432ssh lnevers@flowvisor.utahddc.geniracks.net
     1433}}}
     1434Check the !FlowVisor version, list of devices, get details for a device, list of active slices, and details for one of the slices:
     1435{{{     
     1436
     1437fvctl --passwd-file=/etc/flowvisor.passwd ping hello
     1438
     1439# Devices
     1440fvctl --passwd-file=/etc/flowvisor.passwd listDevices
     1441
     1442fvctl --passwd-file=/etc/flowvisor.passwd getDeviceInfo 06:d6:6c:3b:e5:68:00:00
     1443
     1444#Slices
     1445fvctl --passwd-file=/etc/flowvisor.passwd listSlices
     1446
     1447fvctl --passwd-file=/etc/flowvisor.passwd getSliceInfo 5c956f94-5e05-40b5-948f-34d0149d9182
     1448
     1449}}}
     1450
     1451Check the FlowVisor setting:
     1452{{{
     1453fvctl --passwd-file=/etc/flowvisor.passwd dumpConfig /tmp/flowvisor-config
     1454more /tmp/flowvisor-config
     1455
     1456}}}
     1457
     1458
     1459
     1460
     1461
    11151462
    11161463