1112 | | XXXX |
| 1112 | {{{ |
| 1113 | LNM:~$ ssh control.instageni.illinois.edu |
| 1114 | |
| 1115 | Welcome to Ubuntu precise (development branch) (GNU/Linux 3.2.0-23-generic x86_64) |
| 1116 | |
| 1117 | * Documentation: https://help.ubuntu.com/ |
| 1118 | |
| 1119 | System information as of Mon Oct 21 13:34:41 UTC 2013 |
| 1120 | |
| 1121 | System load: 0.0 IP address for xenbr0: 72.36.65.3 |
| 1122 | Usage of /: 31.1% of 5.85GB IP address for xenbr0:1: 172.16.0.1 |
| 1123 | Memory usage: 34% IP address for xenbr1: 10.1.1.254 |
| 1124 | Swap usage: 1% IP address for xenbr2: 10.2.1.254 |
| 1125 | Processes: 163 IP address for xenbr3: 10.3.1.254 |
| 1126 | Users logged in: 0 |
| 1127 | |
| 1128 | Graph this data and manage this system at https://landscape.canonical.com/ |
| 1129 | Last login: Mon Oct 21 13:25:09 2013 from dhcp89-073-116.bbn.com |
| 1130 | To run a command as administrator (user "root"), use "sudo <command>". |
| 1131 | See "man sudo_root" for details. |
| 1132 | |
| 1133 | |
| 1134 | lnevers@urbana:~$ |
| 1135 | lnevers@urbana:~$ sudo whoami |
| 1136 | root |
| 1137 | lnevers@urbana:~$ uname -a |
| 1138 | Linux urbana.control-nodes.geniracks.net 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux |
| 1139 | |
| 1140 | }}} |
| 1141 | |
| 1142 | Also access the boss node: |
| 1143 | {{{ |
| 1144 | LNM:~$ ssh boss.instageni.illinois.edu |
| 1145 | Last login: Mon Oct 21 08:25:39 2013 from dhcp89-073-116.bbn.com |
| 1146 | FreeBSD 9.0-STABLE (TESTBED-XEN) #0: Tue Apr 30 14:24:36 MDT 2013 |
| 1147 | |
| 1148 | Welcome to FreeBSD! |
| 1149 | |
| 1150 | If you use the C shell, add the following line to the .cshrc file in your |
| 1151 | home directory to prevent core files from being written to disk: |
| 1152 | |
| 1153 | limit coredumpsize 0 |
| 1154 | -- Dru <genesis@istar.ca> |
| 1155 | > bash |
| 1156 | [lnevers@boss ~]$ sudo whoami |
| 1157 | root |
| 1158 | [lnevers@boss ~]$ uname -a |
| 1159 | FreeBSD boss.instageni.illinois.edu 9.0-STABLE FreeBSD 9.0-STABLE #0: Tue Apr 30 14:24:36 MDT 2013 root@n1.one-freebsd.testbed.emulab.net:/usr/obj/mnt/src/sys/TESTBED-XEN i386 |
| 1160 | [lnevers@boss ~]$ |
| 1161 | }}} |
| 1162 | |
| 1163 | From boss node accessed each of the experiment nodes that support VMs: |
| 1164 | {{{ |
| 1165 | [lnevers@boss ~]$ for i in pc1 pc2 pc3; do ssh $i "echo -n '===> Host: ';hostname;sudo whoami;uname -a;echo"; done |
| 1166 | Warning: Permanently added 'pc1.instageni.illinois.edu' (RSA) to the list of known hosts. |
| 1167 | ===> Host: vhost1.shared-nodes.emulab-ops.instageni.illinois.edu |
| 1168 | root |
| 1169 | Linux vhost1.shared-nodes.emulab-ops.instageni.illinois.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 |
| 1170 | |
| 1171 | Warning: Permanently added 'pc2.instageni.illinois.edu' (RSA) to the list of known hosts. |
| 1172 | ===> Host: vhost2.shared-nodes.emulab-ops.instageni.illinois.edu |
| 1173 | root |
| 1174 | Linux vhost2.shared-nodes.emulab-ops.instageni.illinois.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 |
| 1175 | |
| 1176 | Warning: Permanently added 'pc3.instageni.illinois.edu' (RSA) to the list of known hosts. |
| 1177 | ===> Host: vhost3.shared-nodes.emulab-ops.instageni.illinois.edu |
| 1178 | root |
| 1179 | Linux vhost3.shared-nodes.emulab-ops.instageni.illinois.edu 3.2.46 #1 SMP Wed Jun 5 15:53:18 MDT 2013 x86_64 x86_64 x86_64 GNU/Linux |
| 1180 | |
| 1181 | [lnevers@boss ~]$ |
| 1182 | |
| 1183 | }}} |
| 1184 | |
| 1185 | In 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): |
| 1186 | {{{ |
| 1187 | [lnevers@boss ~]$ sudo ssh pc4 |
| 1188 | [root@pc ~]# sudo whoami |
| 1189 | root |
| 1190 | [root@pc ~]# uname -a |
| 1191 | Linux pc.ln2pc.ch-geni-net.instageni.illinois.edu 2.6.40-4.emulab2.fc15.i686.PAE #1 SMP Tue Feb 26 13:35:12 MST 2013 i686 i686 i386 GNU/Linux |
| 1192 | [root@pc ~]# exit |
| 1193 | logout |
| 1194 | Connection to pc4.instageni.illinois.edu closed. |
| 1195 | [lnevers@boss ~]$ sudo ssh pc5 |
| 1196 | [root@pc1 ~]# sudo whoami |
| 1197 | root |
| 1198 | [root@pc1 ~]# uname -a |
| 1199 | Linux pc1.ln2pc.ch-geni-net.instageni.illinois.edu 2.6.40-4.emulab2.fc15.i686.PAE #1 SMP Tue Feb 26 13:35:12 MST 2013 i686 i686 i386 GNU/Linux |
| 1200 | [root@pc1 ~]# exit |
| 1201 | logout |
| 1202 | Connection to pc5.instageni.illinois.edu closed. |
| 1203 | }}} |
| 1204 | |
| 1205 | Further verified access by ssh from ops.instageni.gpolab.bbn.com to boss.instageni.gpolab.bbn.com, which is usually restricted for non-admin users: |
| 1206 | {{{ |
| 1207 | LNM:~$ ssh ops.instageni.illinois.edu |
| 1208 | Last login: Mon Oct 21 08:25:47 2013 from dhcp89-073-116.bbn.com |
| 1209 | FreeBSD 9.0-STABLE (TESTBED-XEN) #0: Tue Apr 30 14:24:36 MDT 2013 |
| 1210 | |
| 1211 | Welcome to FreeBSD! |
| 1212 | |
| 1213 | If other operating systems have damaged your Master Boot Record, you can |
| 1214 | reinstall it either with /usr/sbin/sysinstall or with boot0cfg(8). See |
| 1215 | "man boot0cfg" for details. |
| 1216 | > bash |
| 1217 | [lnevers@ops ~]$ sudo whoami |
| 1218 | root |
| 1219 | [lnevers@ops ~]$ ssh boss |
| 1220 | The authenticity of host 'boss.instageni.illinois.edu (72.36.65.4)' can't be established. |
| 1221 | ECDSA key fingerprint is bd:05:23:a7:5b:cc:78:c8:8c:a8:d3:e9:f7:27:53:cb. |
| 1222 | Are you sure you want to continue connecting (yes/no)? yes |
| 1223 | Warning: Permanently added 'boss.instageni.illinois.edu' (ECDSA) to the list of known hosts. |
| 1224 | Last login: Mon Oct 21 08:36:44 2013 from dhcp89-073-116.bbn.com |
| 1225 | FreeBSD 9.0-STABLE (TESTBED-XEN) #0: Tue Apr 30 14:24:36 MDT 2013 |
| 1226 | |
| 1227 | Welcome to FreeBSD! |
| 1228 | |
| 1229 | If you'd like to keep track of applications in the FreeBSD ports tree, take a |
| 1230 | look at FreshPorts; |
| 1231 | |
| 1232 | http://www.freshports.org/ |
| 1233 | > bash |
| 1234 | [lnevers@boss ~]$ |
| 1235 | }}} |
| 1236 | Access infrastructure switches using documented password. First connect to the switch named procurve1 the control network switch: |
| 1237 | {{{ |
| 1238 | [lnevers@boss ~]$ sudo more /usr/testbed/etc/switch.pswd |
| 1239 | XXXXXXXXX |
| 1240 | [lnevers@boss ~]$ telnet procurve1 |
| 1241 | Trying 10.1.1.253... |
| 1242 | Connected to procurve1. |
| 1243 | Escape character is '^]'. |
| 1244 | |
| 1245 | HP J9623A E2620-24 Switch |
| 1246 | Software revision RA.15.08.0009 |
| 1247 | |
| 1248 | Copyright (C) 1991-2012 Hewlett-Packard Development Company, L.P. |
| 1249 | |
| 1250 | RESTRICTED RIGHTS LEGEND |
| 1251 | Confidential computer software. Valid license from HP required for possession, |
| 1252 | use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer |
| 1253 | Software, Computer Software Documentation, and Technical Data for Commercial |
| 1254 | Items are licensed to the U.S. Government under vendor's standard commercial |
| 1255 | license. |
| 1256 | HEWLETT-PACKARD DEVELOPMENT COMPANY, L.P. |
| 1257 | 20555 State Highway 249, Houston, TX 77070 |
| 1258 | |
| 1259 | We'd like to keep you up to date about: |
| 1260 | * Software feature updates |
| 1261 | * New product announcements |
| 1262 | * Special events |
| 1263 | Please register your products now at: www.hp.com/networking/register |
| 1264 | Username: manager |
| 1265 | Password: |
| 1266 | |
| 1267 | HP-E2620-24# show version |
| 1268 | Image stamp: /ws/swbuildm/rel_galt_qaoff/code/build/xform(rel_galt_qaoff) |
| 1269 | May 9 2012 15:28:43 |
| 1270 | RA.15.08.0009 |
| 1271 | 474 |
| 1272 | Boot Image: Primary |
| 1273 | HP-E2620-24# show running-config |
| 1274 | |
| 1275 | Running configuration: |
| 1276 | |
| 1277 | ; J9623A Configuration Editor; Created on release #RA.15.08.0009 |
| 1278 | ; Ver #02:13.2d:3c |
| 1279 | hostname "HP-E2620-24" |
| 1280 | max-vlans 50 |
| 1281 | no stack |
| 1282 | no web-management |
| 1283 | ip default-gateway 10.1.1.254 |
| 1284 | snmp-server community "xxx" unrestricted |
| 1285 | aaa authentication ssh login public-key |
| 1286 | aaa authentication ssh enable public-key |
| 1287 | vlan 1 |
| 1288 | name "DEFAULT_VLAN" |
| 1289 | no untagged 23-24 |
| 1290 | untagged 1-22,25-28 |
| 1291 | ip address 10.254.254.253 255.255.255.0 |
| 1292 | ip igmp |
| 1293 | exit |
| 1294 | vlan 10 |
| 1295 | name "control-hardware" |
| 1296 | untagged 23 |
| 1297 | ip address 10.1.1.253 255.255.255.0 |
| 1298 | exit |
| 1299 | vlan 11 |
| 1300 | name "control-alternate" |
| 1301 | untagged 24 |
| 1302 | ip address 10.2.1.253 255.255.255.0 |
| 1303 | exit |
| 1304 | management-vlan 10 |
| 1305 | no dhcp config-file-update |
| 1306 | password xxx |
| 1307 | password xxx |
| 1308 | |
| 1309 | HP-E2620-24# |
| 1310 | HP-E2620-24# exit |
| 1311 | HP-E2620-24> exit |
| 1312 | Do you want to log out [y/n]? y |
| 1313 | Connection closed by foreign host. |
| 1314 | [lnevers@boss ~]$ |
| 1315 | }}} |
| 1316 | |
| 1317 | Connect to the switch named procurve2 the dataplane network switch via ssh using the documented password: |
| 1318 | {{{ |
| 1319 | [lnevers@boss ~]$ sudo more /usr/testbed/etc/switch.pswd |
| 1320 | xxxxxxx |
| 1321 | [lnevers@boss ~]$ telnet procurve2 |
| 1322 | Trying 10.3.1.253... |
| 1323 | Connected to procurve2. |
| 1324 | Escape character is '^]'. |
| 1325 | |
| 1326 | HP J8697A Switch E5406zl |
| 1327 | Software revision K.15.06.5008 |
| 1328 | |
| 1329 | Copyright (C) 1991-2012 Hewlett-Packard Development Company, L.P. |
| 1330 | |
| 1331 | RESTRICTED RIGHTS LEGEND |
| 1332 | Confidential computer software. Valid license from HP required for possession, |
| 1333 | use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer |
| 1334 | Software, Computer Software Documentation, and Technical Data for Commercial |
| 1335 | Items are licensed to the U.S. Government under vendor's standard commercial |
| 1336 | license. |
| 1337 | HEWLETT-PACKARD DEVELOPMENT COMPANY, L.P. |
| 1338 | 20555 State Highway 249, Houston, TX 77070 |
| 1339 | |
| 1340 | We'd like to keep you up to date about: |
| 1341 | * Software feature updates |
| 1342 | * New product announcements |
| 1343 | * Special events |
| 1344 | Please register your products now at: www.hp.com/networking/register |
| 1345 | |
| 1346 | Username: manager |
| 1347 | Password: |
| 1348 | |
| 1349 | HP-E5406zl# show version |
| 1350 | Image stamp: /ws/swbuildm/of_bridge_qaoff/code/build/btm(of_bridge_qaoff) |
| 1351 | Feb 18 2012 11:26:28 |
| 1352 | K.15.06.5008 |
| 1353 | 79 |
| 1354 | Boot Image: Primary |
| 1355 | HP-E5406zl# show running-config |
| 1356 | |
| 1357 | Running configuration: |
| 1358 | |
| 1359 | ; J8697A Configuration Editor; Created on release #K.15.06.5008 |
| 1360 | ; Ver #02:10.0d:1f |
| 1361 | |
| 1362 | hostname "HP-E5406zl" |
| 1363 | module 1 type J9549A |
| 1364 | module 2 type J9309A |
| 1365 | interface A1 |
| 1366 | speed-duplex auto-1000 |
| 1367 | exit |
| 1368 | interface A2 |
| 1369 | speed-duplex auto-1000 |
| 1370 | exit |
| 1371 | interface A3 |
| 1372 | speed-duplex auto-1000 |
| 1373 | exit |
| 1374 | interface A4 |
| 1375 | speed-duplex auto-1000 |
| 1376 | exit |
| 1377 | interface A5 |
| 1378 | speed-duplex auto-1000 |
| 1379 | exit |
| 1380 | interface A6 |
| 1381 | speed-duplex auto-1000 |
| 1382 | exit |
| 1383 | interface A7 |
| 1384 | speed-duplex auto-1000 |
| 1385 | exit |
| 1386 | interface A8 |
| 1387 | speed-duplex auto-1000 |
| 1388 | exit |
| 1389 | interface A9 |
| 1390 | speed-duplex auto-1000 |
| 1391 | exit |
| 1392 | interface A10 |
| 1393 | speed-duplex auto-1000 |
| 1394 | exit |
| 1395 | interface A13 |
| 1396 | speed-duplex auto-1000 |
| 1397 | exit |
| 1398 | interface A24 |
| 1399 | disable |
| 1400 | exit |
| 1401 | ip default-gateway 10.3.1.254 |
| 1402 | vlan 1 |
| 1403 | name "DEFAULT_VLAN" |
| 1404 | forbid A1-A9 |
| 1405 | untagged A11-A12,A14-A19,A21-A24,B1-B3 |
| 1406 | no untagged A1-A10,A13,A20,B4 |
| 1407 | no ip address |
| 1408 | exit |
| 1409 | vlan 10 |
| 1410 | name "control-hardware" |
| 1411 | untagged A20 |
| 1412 | ip address 10.3.1.253 255.255.255.0 |
| 1413 | exit |
| 1414 | vlan 257 |
| 1415 | name "5001" |
| 1416 | untagged A1-A9 |
| 1417 | no ip address |
| 1418 | exit |
| 1419 | vlan 1751 |
| 1420 | name "5004" |
| 1421 | tagged A1,A4,A7,B4 |
| 1422 | no ip address |
| 1423 | exit |
| 1424 | vlan 1755 |
| 1425 | name "5007" |
| 1426 | tagged B4 |
| 1427 | no ip address |
| 1428 | exit |
| 1429 | vlan 1756 |
| 1430 | name "5008" |
| 1431 | tagged B4 |
| 1432 | no ip address |
| 1433 | exit |
| 1434 | vlan 1757 |
| 1435 | name "5009" |
| 1436 | tagged B4 |
| 1437 | no ip address |
| 1438 | exit |
| 1439 | vlan 1758 |
| 1440 | name "5010" |
| 1441 | tagged B4 |
| 1442 | no ip address |
| 1443 | exit |
| 1444 | vlan 1759 |
| 1445 | name "5011" |
| 1446 | tagged B4 |
| 1447 | no ip address |
| 1448 | exit |
| 1449 | vlan 258 |
| 1450 | name "5054" |
| 1451 | untagged A10,A13 |
| 1452 | no ip address |
| 1453 | exit |
| 1454 | no web-management |
| 1455 | openflow |
| 1456 | vlan 1750 |
| 1457 | controller "tcp:10.3.1.7:6633" fail-secure on |
| 1458 | exit |
| 1459 | vlan 1751 |
| 1460 | enable |
| 1461 | controller "tcp:10.3.1.7:6633" fail-secure on |
| 1462 | exit |
| 1463 | vlan 1755 |
| 1464 | enable |
| 1465 | controller "tcp:10.3.1.7:6633" fail-secure on |
| 1466 | exit |
| 1467 | vlan 1756 |
| 1468 | enable |
| 1469 | controller "tcp:10.3.1.7:6633" fail-secure on |
| 1470 | exit |
| 1471 | vlan 1757 |
| 1472 | enable |
| 1473 | controller "tcp:10.3.1.7:6633" fail-secure on |
| 1474 | exit |
| 1475 | vlan 1758 |
| 1476 | enable |
| 1477 | controller "tcp:10.3.1.7:6633" fail-secure on |
| 1478 | exit |
| 1479 | vlan 1759 |
| 1480 | enable |
| 1481 | controller "tcp:10.3.1.7:6633" fail-secure on |
| 1482 | exit |
| 1483 | exit |
| 1484 | snmp-server community "xx" unrestricted |
| 1485 | aaa authentication ssh login public-key |
| 1486 | aaa authentication ssh enable public-key |
| 1487 | management-vlan 10 |
| 1488 | no autorun |
| 1489 | no dhcp config-file-update |
| 1490 | no dhcp image-file-update |
| 1491 | password xx |
| 1492 | password xx |
| 1493 | |
| 1494 | HP-E5406zl# show vlan 1751 |
| 1495 | |
| 1496 | Status and Counters - VLAN Information - VLAN 1751 |
| 1497 | |
| 1498 | VLAN ID : 1751 |
| 1499 | Name : 5004 |
| 1500 | Status : Port-based |
| 1501 | Voice : No |
| 1502 | Jumbo : No |
| 1503 | |
| 1504 | Port Information Mode Unknown VLAN Status |
| 1505 | ---------------- -------- ------------ ---------- |
| 1506 | A1 Tagged Learn Up |
| 1507 | A4 Tagged Learn Up |
| 1508 | A7 Tagged Learn Up |
| 1509 | B4 Tagged Learn Up |
| 1510 | |
| 1511 | |
| 1512 | HP-E5406zl# |
| 1513 | |
| 1514 | }}} |
| 1515 | |
| 1516 | Access the FOAM VM and gather information for version |
| 1517 | {{{ |
| 1518 | LNM:~$ ssh lnevers@foam.illinois.edu |
| 1519 | |
| 1520 | sudo foamctl admin:get-version --passwd-file=/etc/foam.passwd |
| 1521 | |
| 1522 | }}} |
| 1523 | Check FOAM configuration for site.admin.email, geni.site-tag, email.from settings: |
| 1524 | {{{ |
| 1525 | foamctl config:get-value --key="site.admin.email" --passwd-file=/etc/foam.passwd |
| 1526 | |
| 1527 | foamctl config:get-value --key="geni.site-tag" --passwd-file=/etc/foam.passwd |
| 1528 | |
| 1529 | foamctl config:get-value --key="email.from" --passwd-file=/etc/foam.passwd |
| 1530 | |
| 1531 | # check if FOAM auto-approve is on. Value 2 = auto-approve is on. |
| 1532 | |
| 1533 | foamctl config:get-value --key="geni.approval.approve-on-creation" --passwd-file=/etc/foam.passwd |
| 1534 | |
| 1535 | }}} |
| 1536 | |
| 1537 | Show FOAM slivers and details for one sliver: |
| 1538 | |
| 1539 | {{{ |
| 1540 | foamctl geni:list-slivers --passwd-file=/etc/foam.passwd |
| 1541 | |
| 1542 | }}} |
| 1543 | Access the FlowVisor VM and gather version information: |
| 1544 | {{{ |
| 1545 | |
| 1546 | ssh lnevers@flowvisor.illinois.edu |
| 1547 | }}} |
| 1548 | Check the !FlowVisor version, list of devices, get details for a device, list of active slices, and details for one of the slices: |
| 1549 | {{{ |
| 1550 | |
| 1551 | fvctl --passwd-file=/etc/flowvisor.passwd ping hello |
| 1552 | |
| 1553 | # Devices |
| 1554 | fvctl --passwd-file=/etc/flowvisor.passwd listDevices |
| 1555 | |
| 1556 | fvctl --passwd-file=/etc/flowvisor.passwd getDeviceInfo 06:d6:6c:3b:e5:68:00:00 |
| 1557 | |
| 1558 | #Slices |
| 1559 | fvctl --passwd-file=/etc/flowvisor.passwd listSlices |
| 1560 | |
| 1561 | fvctl --passwd-file=/etc/flowvisor.passwd getSliceInfo 5c956f94-5e05-40b5-948f-34d0149d9182 |
| 1562 | |
| 1563 | }}} |
| 1564 | |
| 1565 | Check the FlowVisor setting: |
| 1566 | {{{ |
| 1567 | fvctl --passwd-file=/etc/flowvisor.passwd dumpConfig /tmp/flowvisor-config |
| 1568 | more /tmp/flowvisor-config |
| 1569 | |
| 1570 | }}} |
| 1571 | |
| 1572 | |