| 1158 | Access the FOAM VM and gather information for version |
| 1159 | {{{ |
| 1160 | LNM:~$ ssh luisa@foam.instageni.northwestern.edu |
| 1161 | Welcome to Ubuntu 12.04.2 LTS (GNU/Linux 3.2.0-37-generic x86_64) |
| 1162 | |
| 1163 | * Documentation: https://help.ubuntu.com/ |
| 1164 | |
| 1165 | The programs included with the Ubuntu system are free software; |
| 1166 | the exact distribution terms for each program are described in the |
| 1167 | individual files in /usr/share/doc/*/copyright. |
| 1168 | |
| 1169 | Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by |
| 1170 | applicable law. |
| 1171 | |
| 1172 | luisa@foam:~$ sudo foamctl admin:get-version --passwd-file=/etc/foam.passwd |
| 1173 | { |
| 1174 | "version": "0.8.2" |
| 1175 | } |
| 1176 | }}} |
| 1177 | Check FOAM configuration for site.admin.email, geni.site-tag, email.from settings: |
| 1178 | {{{ |
| 1179 | luisa@foam:~$ foamctl config:get-value --key="site.admin.email" --passwd-file=/etc/foam.passwd |
| 1180 | { |
| 1181 | "value": "jim-chen@northwestern.edu" |
| 1182 | } |
| 1183 | }}} |
| 1184 | luisa@foam:~$ foamctl config:get-value --key="geni.site-tag" --passwd-file=/etc/foam.passwd |
| 1185 | { |
| 1186 | "value": "foam.instageni.northwestern.edu" |
| 1187 | } |
| 1188 | luisa@foam:~$ foamctl config:get-value --key="email.from" --passwd-file=/etc/foam.passwd |
| 1189 | { |
| 1190 | "value": "jim-chen@northwestern.edu" |
| 1191 | } |
| 1192 | # check if FOAM auto-approve is on. Value 2 = auto-approve is on. |
| 1193 | |
| 1194 | luisa@foam:~$ foamctl config:get-value --key="geni.approval.approve-on-creation" --passwd-file=/etc/foam.passwd |
| 1195 | { |
| 1196 | "value": 2 |
| 1197 | } |
| 1198 | |
| 1199 | }}} |
| 1200 | |
| 1201 | Show FOAM slivers and details for one sliver: |
| 1202 | |
| 1203 | {{{ |
| 1204 | luisa@foam:~$ foamctl geni:list-slivers --passwd-file=/etc/foam.passwd |
| 1205 | { |
| 1206 | "slivers": [ |
| 1207 | { |
| 1208 | "status": "Approved", |
| 1209 | "sliver_urn": "urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+tupty1755:8d79cc0f-5532-4c78-b2b7-4b7739c72873", |
| 1210 | "creation": "2013-02-15 03:00:26.934527+00:00", |
| 1211 | "pend_reason": null, |
| 1212 | "expiration": "2013-04-15 00:00:00+00:00", |
| 1213 | "deleted": "False", |
| 1214 | "user": "urn:publicid:IDN+pgeni.gpolab.bbn.com+user+tupty", |
| 1215 | "slice_urn": "urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+tupty1755", |
| 1216 | "enabled": true, |
| 1217 | "email": "tupty@pgeni.gpolab.bbn.com", |
| 1218 | "flowvisor_slice": "8d79cc0f-5532-4c78-b2b7-4b7739c72873", |
| 1219 | "desc": "tupty1755 OpenFlow resources at Northwestern InstaGENI.", |
| 1220 | "ref": null, |
| 1221 | "id": 2, |
| 1222 | "uuid": "8d79cc0f-5532-4c78-b2b7-4b7739c72873" |
| 1223 | }, |
| 1224 | { |
| 1225 | "status": "Approved", |
| 1226 | "sliver_urn": "urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+IG-CT-4:5c956f94-5e05-40b5-948f-34d0149d9182", |
| 1227 | "creation": "2013-02-18 14:47:20.419434+00:00", |
| 1228 | "pend_reason": null, |
| 1229 | "expiration": "2013-02-22 00:00:00+00:00", |
| 1230 | "deleted": "False", |
| 1231 | "user": "urn:publicid:IDN+pgeni.gpolab.bbn.com+user+lnevers", |
| 1232 | "slice_urn": "urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+IG-CT-4", |
| 1233 | "enabled": true, |
| 1234 | "email": "lnevers@pgeni.gpolab.bbn.com", |
| 1235 | "flowvisor_slice": "5c956f94-5e05-40b5-948f-34d0149d9182", |
| 1236 | "desc": "New Site Confirmation Test IG-CT-4 ", |
| 1237 | "ref": null, |
| 1238 | "id": 3, |
| 1239 | "uuid": "5c956f94-5e05-40b5-948f-34d0149d9182" |
| 1240 | } |
| 1241 | ] |
| 1242 | } |
| 1243 | luisa@foam:~$ |
| 1244 | luisa@foam:~$ foamctl geni:show-sliver --urn "urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+IG-CT-4:5c956f94-5e05-40b5-948f-34d0149d9182" --passwd-file=/etc/foam.passwd |
| 1245 | { |
| 1246 | "sliver": { |
| 1247 | "flowspace rules": 2, |
| 1248 | "status": "Approved", |
| 1249 | "creation": "2013-02-18 14:47:20.419434+00:00", |
| 1250 | "uuid": "5c956f94-5e05-40b5-948f-34d0149d9182", |
| 1251 | "deleted": "False", |
| 1252 | "user": "urn:publicid:IDN+pgeni.gpolab.bbn.com+user+lnevers", |
| 1253 | "slice_urn": "urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+IG-CT-4", |
| 1254 | "enabled": true, |
| 1255 | "pend_reason": null, |
| 1256 | "email": "lnevers@pgeni.gpolab.bbn.com", |
| 1257 | "controllers": [ |
| 1258 | { |
| 1259 | "url": "tcp:mallorea.gpolab.bbn.com:33020", |
| 1260 | "type": "primary" |
| 1261 | } |
| 1262 | ], |
| 1263 | "expiration": "2013-02-22 00:00:00+00:00", |
| 1264 | "desc": "New Site Confirmation Test IG-CT-4 ", |
| 1265 | "sliver_urn": "urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+IG-CT-4:5c956f94-5e05-40b5-948f-34d0149d9182", |
| 1266 | "ref": null, |
| 1267 | "id": 3, |
| 1268 | "flowvisor_slice": "5c956f94-5e05-40b5-948f-34d0149d9182" |
| 1269 | } |
| 1270 | } |
| 1271 | luisa@foam:~$ |
| 1272 | }}} |
| 1273 | Access the FlowVisor VM and gather version information: |
| 1274 | {{{ |
| 1275 | |
| 1276 | LNM:~$ ssh luisa@flowvisor.instageni.northwestern.edu |
| 1277 | Welcome to Ubuntu 12.04.2 LTS (GNU/Linux 3.2.0-37-generic x86_64) |
| 1278 | |
| 1279 | * Documentation: https://help.ubuntu.com/ |
| 1280 | Last login: Tue Feb 19 19:10:33 2013 from 128.89.253.56 |
| 1281 | luisa@flowvisor:~$ sudo whoami |
| 1282 | root |
| 1283 | luisa@flowvisor:~$ |
| 1284 | }}} |
| 1285 | Check the !FlowVisor version, list of devices, get details for a device, list of active slices, and details for one of the slices: |
| 1286 | {{{ |
| 1287 | luisa@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd ping hello |
| 1288 | Got reply: |
| 1289 | PONG(fvadmin): FV version=flowvisor-0.8.14::hello |
| 1290 | luisa@flowvisor:~$ |
| 1291 | |
| 1292 | # Devices |
| 1293 | luisa@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd listDevices |
| 1294 | Device 0: 06:d6:6c:3b:e5:68:00:00 |
| 1295 | |
| 1296 | luisa@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd getDeviceInfo 06:d6:6c:3b:e5:68:00:00 |
| 1297 | nPorts=4 |
| 1298 | portList=24,65534,1,2 |
| 1299 | dpid=06:d6:6c:3b:e5:68:00:00 |
| 1300 | remote=/10.3.1.7:6633-->/10.3.1.253:64367 |
| 1301 | portNames=A24(24),local(65534),A1(1),A2(2) |
| 1302 | luisa@flowvisor:~$ |
| 1303 | |
| 1304 | #Slices |
| 1305 | luisa@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd listSlices |
| 1306 | Slice 0: fvadmin |
| 1307 | Slice 1: 8d79cc0f-5532-4c78-b2b7-4b7739c72873 |
| 1308 | Slice 2: 5c956f94-5e05-40b5-948f-34d0149d9182 |
| 1309 | |
| 1310 | luisa@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd getSliceInfo 5c956f94-5e05-40b5-948f-34d0149d9182 |
| 1311 | Got reply: |
| 1312 | drop_policy=exact |
| 1313 | connection_1=06:d6:6c:3b:e5:68:00:00-->/165.124.51.135:48385-->mallorea.gpolab.bbn.com/192.1.249.185:33020 |
| 1314 | contact_email=lnevers@pgeni.gpolab.bbn.com |
| 1315 | controller_hostname=mallorea.gpolab.bbn.com |
| 1316 | controller_port=33020 |
| 1317 | creator=fvadmin |
| 1318 | |
| 1319 | }}} |
| 1320 | |
| 1321 | Check the FlowVisor setting: |
| 1322 | {{{ |
| 1323 | luisa@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd dumpConfig /tmp/flowvisor-config |
| 1324 | luisa@flowvisor:~$ more /tmp/flowvisor-config |
| 1325 | { |
| 1326 | "flowvisor": [ |
| 1327 | { |
| 1328 | "api_webserver_port": 8080, |
| 1329 | "api_jetty_webserver_port": -1, |
| 1330 | "checkpointing": false, |
| 1331 | "listen_port": 6633, |
| 1332 | "track_flows": false, |
| 1333 | "stats_desc_hack": false, |
| 1334 | "run_topology_server": false, |
| 1335 | "logging": "NOTE", |
| 1336 | "log_ident": "flowvisor", |
| 1337 | "log_facility": "LOG_LOCAL7", |
| 1338 | "version": "flowvisor-0.9", |
| 1339 | "host": "localhost", |
| 1340 | "default_flood_perm": "fvadmin", |
| 1341 | "config_name": "default" |
| 1342 | } |
| 1343 | ], |
| 1344 | "Slice": [ |
| 1345 | { |
| 1346 | "config_name": "default", |
| 1347 | "flowmap_type": "federated", |
| 1348 | "name": "fvadmin", |
| 1349 | "creator": "fvadmin", |
| 1350 | "passwd_crypt": "49372919dadf40765aeda78215e811c3", |
| 1351 | "passwd_salt": "-1301858", |
| 1352 | "controller_hostname": "none", |
| 1353 | "controller_port": 0, |
| 1354 | "contact_email": "fvadmin@localhost", |
| 1355 | "drop_policy": "exact", |
| 1356 | "lldp_spam": true |
| 1357 | }, |
| 1358 | { |
| 1359 | "config_name": "default", |
| 1360 | "flowmap_type": "federated", |
| 1361 | "name": "8d79cc0f-5532-4c78-b2b7-4b7739c72873", |
| 1362 | "creator": "fvadmin", |
| 1363 | "passwd_crypt": "75199e2a22920f413c79a5bf6f0af426", |
| 1364 | "passwd_salt": "-1881229036", |
| 1365 | "controller_hostname": "hafmet.gpolab.bbn.com", |
| 1366 | "controller_port": 33012, |
| 1367 | "contact_email": "tupty@pgeni.gpolab.bbn.com", |
| 1368 | "drop_policy": "exact", |
| 1369 | "lldp_spam": true |
| 1370 | }, |
| 1371 | { |
| 1372 | "config_name": "default", |
| 1373 | "flowmap_type": "federated", |
| 1374 | "name": "5c956f94-5e05-40b5-948f-34d0149d9182", |
| 1375 | "creator": "fvadmin", |
| 1376 | "passwd_crypt": "xxxx", |
| 1377 | "passwd_salt": "xxxx", |
| 1378 | "controller_hostname": "mallorea.gpolab.bbn.com", |
| 1379 | "controller_port": 33020, |
| 1380 | "contact_email": "lnevers@pgeni.gpolab.bbn.com", |
| 1381 | "drop_policy": "exact", |
| 1382 | "lldp_spam": true |
| 1383 | } |
| 1384 | ], |
| 1385 | "FlowSpaceRule": [ |
| 1386 | { |
| 1387 | "dpid": "6d66c3be5680000", |
| 1388 | "priority": 100, |
| 1389 | "in_port": 0, |
| 1390 | "dl_type": 2048, |
| 1391 | "nw_src": 168900352, |
| 1392 | "nw_dst": 168900352, |
| 1393 | "wildcards": 3279087, |
| 1394 | "slice_action": [ |
| 1395 | { |
| 1396 | "8d79cc0f-5532-4c78-b2b7-4b7739c72873": 4 |
| 1397 | } |
| 1398 | ] |
| 1399 | }, |
| 1400 | { |
| 1401 | "dpid": "6d66c3be5680000", |
| 1402 | "priority": 100, |
| 1403 | "in_port": 0, |
| 1404 | "dl_type": 2054, |
| 1405 | "nw_src": 168900352, |
| 1406 | "nw_dst": 168900352, |
| 1407 | "wildcards": 3279087, |
| 1408 | "slice_action": [ |
| 1409 | { |
| 1410 | "8d79cc0f-5532-4c78-b2b7-4b7739c72873": 4 |
| 1411 | } |
| 1412 | ] |
| 1413 | }, |
| 1414 | { |
| 1415 | "dpid": "6d66c3be5680000", |
| 1416 | "priority": 2000, |
| 1417 | "in_port": 0, |
| 1418 | "dl_type": 2048, |
| 1419 | "nw_src": 170527488, |
| 1420 | "nw_dst": 170527488, |
| 1421 | "wildcards": 3279087, |
| 1422 | "slice_action": [ |
| 1423 | { |
| 1424 | "5c956f94-5e05-40b5-948f-34d0149d9182": 4 |
| 1425 | } |
| 1426 | ] |
| 1427 | }, |
| 1428 | { |
| 1429 | "dpid": "6d66c3be5680000", |
| 1430 | "priority": 2000, |
| 1431 | "in_port": 0, |
| 1432 | "dl_type": 2054, |
| 1433 | "nw_src": 170527488, |
| 1434 | "nw_dst": 170527488, |
| 1435 | "wildcards": 3279087, |
| 1436 | "slice_action": [ |
| 1437 | { |
| 1438 | "5c956f94-5e05-40b5-948f-34d0149d9182": 4 |
| 1439 | } |
| 1440 | ] |
| 1441 | } |
| 1442 | ] |
| 1443 | } |
| 1444 | }}} |
| 1445 | |
| 1446 | }}} |
| 1447 | |
| 1448 | Verify 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 that all alerts have status OK. |
| 1449 | |
| 1450 | |
| 1451 | [[Image(Northwestern-nagios.jpg)]] |
| 1452 | |
| 1453 | Verify alerts for the FOAM Aggregate Manager are being reported to the [http://monitor.gpolab.bbn.com/nagios/cgi-bin/status.cgi GPO Tango GENI Nagios monitoring] and that all alerts have status OK. |
| 1454 | |
| 1455 | [[Image(Northwestern-OF-nagios.jpg)]] |
| 1456 | |
| 1457 | |
| 1458 | |