Changes between Version 25 and Version 26 of GENIRacksHome/InstageniRacks/ConfirmationTestStatus/Northwestern


Ignore:
Timestamp:
02/19/13 19:30:07 (7 years ago)
Author:
lnevers@bbn.com
Comment:

--

Legend:

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

    v25 v26  
    871871Followed 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 and also had to join the ''emulab-ops'' group at https://www.instageni.northwestern.edu/joinproject.php3?target_pid=emulab-ops.   Once account was create and membership to emulab-ops was approved proceeded to execute administrative tests. 
    872872
    873 ???Still need access to FOAM and !FlowVisor FOAM and !FlowVisor ( previously VM required yet-another account to be created)
    874 
    875 {{{
    876 $ ssh control.instageni.northwestern.edu
    877 
    878 sudo whoami
     873
     874{{{
     875LNM:~$ ssh luisa@control.instageni.northwestern.edu
     876Welcome to Ubuntu precise (development branch) (GNU/Linux 3.2.0-23-generic x86_64)
     877
     878 * Documentation:  https://help.ubuntu.com/
     879
     880  System information as of Tue Feb 19 18:13:27 CST 2013
     881
     882  System load:  0.08              Users logged in:       2
     883  Usage of /:   27.5% of 5.85GB   IP address for xenbr0: 165.124.51.130
     884  Memory usage: 37%               IP address for xenbr1: 10.1.1.254
     885  Swap usage:   1%                IP address for xenbr2: 10.2.1.254
     886  Processes:    152               IP address for xenbr3: 10.3.1.254
     887
     888  Graph this data and manage this system at https://landscape.canonical.com/
     889
     890The programs included with the Ubuntu system are free software;
     891the exact distribution terms for each program are described in the
     892individual files in /usr/share/doc/*/copyright.
     893
     894Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
     895applicable law.
     896
     897To run a command as administrator (user "root"), use "sudo <command>".
     898See "man sudo_root" for details.
     899
     900luisa@nu:~$ sudo whoami
     901root
     902luisa@nu:~$
    879903
    880904}}}
     
    11321156}}}
    11331157
     1158Access the FOAM VM and gather information for version
     1159{{{
     1160LNM:~$ ssh luisa@foam.instageni.northwestern.edu
     1161Welcome to Ubuntu 12.04.2 LTS (GNU/Linux 3.2.0-37-generic x86_64)
     1162
     1163 * Documentation:  https://help.ubuntu.com/
     1164
     1165The programs included with the Ubuntu system are free software;
     1166the exact distribution terms for each program are described in the
     1167individual files in /usr/share/doc/*/copyright.
     1168
     1169Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
     1170applicable law.
     1171
     1172luisa@foam:~$ sudo foamctl admin:get-version  --passwd-file=/etc/foam.passwd
     1173{
     1174 "version": "0.8.2"
     1175}
     1176}}}
     1177Check FOAM configuration for  site.admin.email, geni.site-tag, email.from settings:
     1178{{{
     1179luisa@foam:~$ foamctl config:get-value --key="site.admin.email"  --passwd-file=/etc/foam.passwd
     1180{
     1181 "value": "jim-chen@northwestern.edu"
     1182}
     1183}}}
     1184luisa@foam:~$ foamctl config:get-value --key="geni.site-tag"  --passwd-file=/etc/foam.passwd
     1185{
     1186 "value": "foam.instageni.northwestern.edu"
     1187}
     1188luisa@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
     1194luisa@foam:~$ foamctl config:get-value --key="geni.approval.approve-on-creation"  --passwd-file=/etc/foam.passwd
     1195{
     1196 "value": 2
     1197}
     1198
     1199}}}
     1200
     1201Show FOAM slivers and details for one sliver:
     1202
     1203{{{
     1204luisa@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}
     1243luisa@foam:~$
     1244luisa@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}
     1271luisa@foam:~$
     1272}}}
     1273Access the FlowVisor VM and gather version information:
     1274{{{
     1275
     1276LNM:~$ ssh luisa@flowvisor.instageni.northwestern.edu
     1277Welcome to Ubuntu 12.04.2 LTS (GNU/Linux 3.2.0-37-generic x86_64)
     1278
     1279 * Documentation:  https://help.ubuntu.com/
     1280Last login: Tue Feb 19 19:10:33 2013 from 128.89.253.56
     1281luisa@flowvisor:~$ sudo whoami
     1282root
     1283luisa@flowvisor:~$
     1284}}}
     1285Check the !FlowVisor version, list of devices, get details for a device, list of active slices, and details for one of the slices:
     1286{{{     
     1287luisa@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd ping hello
     1288Got reply:
     1289PONG(fvadmin): FV version=flowvisor-0.8.14::hello
     1290luisa@flowvisor:~$
     1291
     1292# Devices
     1293luisa@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd listDevices
     1294Device 0: 06:d6:6c:3b:e5:68:00:00
     1295
     1296luisa@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd getDeviceInfo 06:d6:6c:3b:e5:68:00:00
     1297nPorts=4
     1298portList=24,65534,1,2
     1299dpid=06:d6:6c:3b:e5:68:00:00
     1300remote=/10.3.1.7:6633-->/10.3.1.253:64367
     1301portNames=A24(24),local(65534),A1(1),A2(2)
     1302luisa@flowvisor:~$
     1303
     1304#Slices
     1305luisa@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd listSlices
     1306Slice 0: fvadmin
     1307Slice 1: 8d79cc0f-5532-4c78-b2b7-4b7739c72873
     1308Slice 2: 5c956f94-5e05-40b5-948f-34d0149d9182
     1309
     1310luisa@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd getSliceInfo 5c956f94-5e05-40b5-948f-34d0149d9182
     1311Got reply:
     1312drop_policy=exact
     1313connection_1=06:d6:6c:3b:e5:68:00:00-->/165.124.51.135:48385-->mallorea.gpolab.bbn.com/192.1.249.185:33020
     1314contact_email=lnevers@pgeni.gpolab.bbn.com
     1315controller_hostname=mallorea.gpolab.bbn.com
     1316controller_port=33020
     1317creator=fvadmin
     1318
     1319}}}
     1320
     1321Check the FlowVisor setting:
     1322{{{
     1323luisa@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd dumpConfig /tmp/flowvisor-config
     1324luisa@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
     1448Verify 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
     1453Verify 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
    11341459----
    11351460{{{