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


Ignore:
Timestamp:
10/02/14 14:10:03 (9 years ago)
Author:
lnevers@bbn.com
Comment:

--

Legend:

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

    v13 v14  
    964964
    965965{{{
    966 LNM:~$ ssh control.instageni.umkc.edu
    967 
     966LNM:~$  ssh control.instageni.umkc.edu
     967Welcome to Ubuntu precise (development branch) (GNU/Linux 3.2.0-23-generic x86_64)
     968
     969 * Documentation:  https://help.ubuntu.com/
     970
     971  System information as of Thu Oct  2 18:04:24 UTC 2014
     972
     973  System load:             0.0
     974  Usage of /:              38.3% of 5.85GB
     975  Memory usage:            27%
     976  Swap usage:              0%
     977  Processes:               165
     978  Users logged in:         0
     979  IP address for xenbr0:   204.76.187.3
     980  IP address for xenbr0:1: 172.16.0.1
     981  IP address for xenbr0:2: 10.249.249.253
     982  IP address for xenbr1:   10.1.1.254
     983  IP address for xenbr2:   10.2.1.254
     984  IP address for xenbr3:   10.3.1.254
     985  IP address for tun0:     10.8.0.1
     986
     987  Graph this data and manage this system at https://landscape.canonical.com/
     988New release '14.04.1 LTS' available.
     989Run 'do-release-upgrade' to upgrade to it.
     990
     991Last login: Thu Oct  2 17:16:49 2014 from 128.89.253.181
     992To run a command as administrator (user "root"), use "sudo <command>".
     993See "man sudo_root" for details.
     994
     995lnevers@control:~$ sudo whoami
     996root
     997lnevers@control:~$ uname -a
     998Linux control.instageni.umkc.edu 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
     999lnevers@control:~$
    9681000}}}
    9691001
     
    13181350Access the FOAM VM and gather information for version
    13191351{{{
    1320 LNM:~$ ssh lnevers@foam.instageni.umkc.edu
    1321 
    1322 sudo foamctl admin:get-version  --passwd-file=/etc/foam.passwd
    1323 
     1352LNM:~$  ssh lnevers@foam.instageni.umkc.edu
     1353Welcome to Ubuntu 12.04.5 LTS (GNU/Linux 3.2.0-69-generic x86_64)
     1354
     1355 * Documentation:  https://help.ubuntu.com/
     1356New release '14.04.1 LTS' available.
     1357Run 'do-release-upgrade' to upgrade to it.
     1358
     1359Last login: Thu Oct  2 13:17:17 2014 from 128.89.253.181
     1360lnevers@foam:~$ sudo foamctl admin:get-version  --passwd-file=/etc/foam.passwd
     1361{
     1362 "version": "0.14.0"
     1363}
     1364lnevers@foam:~$
    13241365}}}
    13251366Check FOAM configuration for  site.admin.email, geni.site-tag, email.from settings:
    13261367{{{
    1327 foamctl config:get-value --key="site.admin.email"  --passwd-file=/etc/foam.passwd
    1328 
    1329 foamctl config:get-value --key="geni.site-tag"  --passwd-file=/etc/foam.passwd
    1330 
    1331 foamctl config:get-value --key="email.from"  --passwd-file=/etc/foam.passwd
     1368lnevers@foam:~$ foamctl config:get-value --key="site.admin.email"  --passwd-file=/etc/foam.passwd
     1369{
     1370 "value": null
     1371}
     1372lnevers@foam:~$
     1373lnevers@foam:~$ foamctl config:get-value --key="geni.site-tag"  --passwd-file=/etc/foam.passwd
     1374
     1375{
     1376 "value": "foam.instageni.umkc.edu"
     1377}
     1378lnevers@foam:~$
     1379lnevers@foam:~$ foamctl config:get-value --key="email.from"  --passwd-file=/etc/foam.passwd
     1380{
     1381 "value": "dmedhi@umkc.edu"
     1382}
     1383lnevers@foam:~$
    13321384
    13331385# check if FOAM auto-approve is on. Value 2 = auto-approve is on.
    13341386
    1335 foamctl config:get-value --key="geni.approval.approve-on-creation"  --passwd-file=/etc/foam.passwd
    1336 
     1387lnevers@foam:~$ foamctl config:get-value --key="geni.approval.approve-on-creation"  --passwd-file=/etc/foam.passwd
     1388{
     1389 "value": 2
     1390}
     1391lnevers@foam:~$
    13371392}}}
    13381393
     
    13401395
    13411396{{{
    1342 foamctl geni:list-slivers --passwd-file=/etc/foam.passwd
    1343 
     1397lnevers@foam:~$ foamctl geni:list-slivers --passwd-file=/etc/foam.passwd
     1398{
     1399 "slivers": [
     1400  {
     1401   "status": "approved",
     1402   "flowvisor_slice": "46080982-3178-4762-9f80-3afdb2509621",
     1403   "slice_urn": "urn:publicid:IDN+ch.geni.net:SydTest+slice+ofCoreMonitor-syd",
     1404   "pend_reason": [],
     1405   "deleted": "False",
     1406   "user": "urn:publicid:IDN+ch.geni.net+user+asydne01",
     1407   "creation": "2014-09-24 21:00:02.647022+00:00",
     1408   "enabled": true,
     1409   "uuid": "46080982-3178-4762-9f80-3afdb2509621",
     1410   "id": 4,
     1411   "expiration": "2015-03-27 17:50:41+00:00",
     1412   "sliver_urn": "urn:publicid:IDN+ch.geni.net:SydTest+slice+ofCoreMonitor-syd:46080982-3178-4762-9f80-3afdb2509621",
     1413   "ref": null,
     1414   "email": "asydney007@gmail.com",
     1415   "desc": "sydmon OpenFlow resources at UMKC InstaGENI."
     1416  },
     1417  {
     1418   "status": "approved",
     1419   "flowvisor_slice": "801a3c49-224f-478f-a298-b1087e9a3d3c",
     1420   "slice_urn": "urn:publicid:IDN+ch.geni.net:gpoamcanary+slice+sitemon",
     1421   "pend_reason": [],
     1422   "deleted": "False",
     1423   "user": "urn:publicid:IDN+ch.geni.net+user+asydne01",
     1424   "creation": "2014-09-26 16:41:58.298422+00:00",
     1425   "enabled": true,
     1426   "uuid": "801a3c49-224f-478f-a298-b1087e9a3d3c",
     1427   "id": 5,
     1428   "expiration": "2015-03-01 00:00:00+00:00",
     1429   "sliver_urn": "urn:publicid:IDN+ch.geni.net:gpoamcanary+slice+sitemon:801a3c49-224f-478f-a298-b1087e9a3d3c",
     1430   "ref": null,
     1431   "email": "asydney@bbn.com",
     1432   "desc": "sitemon OpenFlow resources at UMKC InstaGENI."
     1433  },
     1434  {
     1435   "status": "approved",
     1436   "flowvisor_slice": "23de3967-ef37-4be6-857e-3a0423c34c58",
     1437   "slice_urn": "urn:publicid:IDN+ch.geni.net:ln-test+slice+IG-CT-4",
     1438   "pend_reason": [],
     1439   "deleted": "False",
     1440   "user": "urn:publicid:IDN+ch.geni.net+user+lnevers",
     1441   "creation": "2014-09-30 18:40:21.864143+00:00",
     1442   "enabled": true,
     1443   "uuid": "23de3967-ef37-4be6-857e-3a0423c34c58",
     1444   "id": 6,
     1445   "expiration": "2014-10-07 18:39:51+00:00",
     1446   "sliver_urn": "urn:publicid:IDN+ch.geni.net:ln-test+slice+IG-CT-4:23de3967-ef37-4be6-857e-3a0423c34c58",
     1447   "ref": null,
     1448   "email": "lnevers@bbn.com",
     1449   "desc": "New Site Confirmation Test IG-CT-4 "
     1450  },
     1451  {
     1452   "status": "pending",
     1453   "flowvisor_slice": "138d8e35-17dd-4281-8f95-66d5eac481c8",
     1454   "slice_urn": "urn:publicid:IDN+ch.geni.net:ln-test+slice+IG-CT-2",
     1455   "pend_reason": [
     1456    "IP Subnet (10.42.11.0/24) is already reserved by another sliver."
     1457   ],
     1458   "deleted": "False",
     1459   "user": "urn:publicid:IDN+ch.geni.net+user+lnevers",
     1460   "creation": "2014-09-30 18:41:01.723273+00:00",
     1461   "enabled": false,
     1462   "uuid": "138d8e35-17dd-4281-8f95-66d5eac481c8",
     1463   "id": 7,
     1464   "expiration": "2014-10-07 13:54:46+00:00",
     1465   "sliver_urn": "urn:publicid:IDN+ch.geni.net:ln-test+slice+IG-CT-2:138d8e35-17dd-4281-8f95-66d5eac481c8",
     1466   "ref": null,
     1467   "email": "lnevers@bbn.com",
     1468   "desc": "New Site Confirmation Test IG-CT-4 "
     1469  }
     1470 ]
     1471}
     1472lnevers@foam:~$
    13441473}}}
    13451474Access the FlowVisor VM and gather version information:
    13461475{{{
    1347 
    1348 ssh lnevers@flowvisor.instageni.umkc.edu
     1476LNM:~$ ssh lnevers@flowvisor.instageni.umkc.edu
     1477Welcome to Ubuntu 12.04.5 LTS (GNU/Linux 3.2.0-69-generic x86_64)
     1478
     1479 * Documentation:  https://help.ubuntu.com/
     1480New release '14.04.1 LTS' available.
     1481Run 'do-release-upgrade' to upgrade to it.
     1482
     1483Last login: Thu Oct  2 13:17:04 2014 from 128.89.253.181
     1484slnevers@flowvisor:~$ sudo whoami
     1485root
     1486lnevers@flowvisor:~$ uname -a
     1487Linux flowvisor 3.2.0-69-generic #103-Ubuntu SMP Tue Sep 2 05:02:14 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
     1488lnevers@flowvisor:~$
    13491489}}}
    13501490Check the !FlowVisor version, list of devices, get details for a device, list of active slices, and details for one of the slices:
    13511491{{{     
    13521492
    1353 fvctl --passwd-file=/etc/flowvisor.passwd ping hello
     1493lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd ping hello
     1494Got reply:
     1495PONG(fvadmin): FV version=flowvisor-0.8.17::hello
     1496lnevers@flowvisor:~$
     1497
    13541498
    13551499# Devices
    1356 fvctl --passwd-file=/etc/flowvisor.passwd listDevices
    1357 
    1358 fvctl --passwd-file=/etc/flowvisor.passwd getDeviceInfo 06:d6:6c:3b:e5:68:00:00
     1500lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd listDevices
     1501Device 0: 06:e0:2c:59:e5:23:42:00
     1502
     1503lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd getDeviceInfo 06:e0:2c:59:e5:23:42:00
     1504nPorts=4
     1505portList=1,19,65534,7
     1506dpid=06:e0:2c:59:e5:23:42:00
     1507remote=/10.3.1.7:6633-->/10.3.1.253:55184
     1508portNames=A1(1),A19(19),local(65534),A7(7)
     1509
    13591510
    13601511#Slices
    1361 fvctl --passwd-file=/etc/flowvisor.passwd listSlices
    1362 
    1363 fvctl --passwd-file=/etc/flowvisor.passwd getSliceInfo 5c956f94-5e05-40b5-948f-34d0149d9182
    1364 
     1512lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd listSlices
     1513Slice 0: fvadmin
     1514Slice 1: 46080982-3178-4762-9f80-3afdb2509621
     1515Slice 2: 801a3c49-224f-478f-a298-b1087e9a3d3c
     1516Slice 3: 23de3967-ef37-4be6-857e-3a0423c34c58
     1517lnevers@flowvisor:~$
     1518lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd getSliceInfo 23de3967-ef37-4be6-857e-3a0423c34c58
     1519Got reply:
     1520drop_policy=exact
     1521connection_1=06:e0:2c:59:e5:23:42:00-->/204.76.187.7:48131-->mallorea.gpolab.bbn.com/192.1.249.185:33020
     1522contact_email=lnevers@bbn.com
     1523controller_hostname=mallorea.gpolab.bbn.com
     1524controller_port=33020
     1525creator=fvadmin
     1526lnevers@flowvisor:~$
    13651527}}}
    13661528
    13671529Check the FlowVisor setting:
    13681530{{{
    1369 fvctl --passwd-file=/etc/flowvisor.passwd dumpConfig /tmp/flowvisor-config
    1370 more /tmp/flowvisor-config
    1371 
     1531lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd dumpConfig /tmp/flowvisor-config
     1532lnevers@flowvisor:~$ cat /tmp/flowvisor-config
     1533{
     1534   "flowvisor": [
     1535      {
     1536         "api_webserver_port": 8080,
     1537         "api_jetty_webserver_port": -1,
     1538         "checkpointing": false,
     1539         "listen_port": 6633,
     1540         "track_flows": false,
     1541         "stats_desc_hack": false,
     1542         "run_topology_server": false,
     1543         "logging": "NOTE",
     1544         "log_ident": "flowvisor",
     1545         "log_facility": "LOG_LOCAL7",
     1546         "version": "flowvisor-0.9",
     1547         "host": "localhost",
     1548         "default_flood_perm": "fvadmin",
     1549         "config_name": "default"
     1550      }
     1551   ],
     1552   "Slice": [
     1553      {
     1554         "config_name": "default",
     1555         "flowmap_type": "federated",
     1556         "name": "fvadmin",
     1557         "creator": "fvadmin",
     1558         "passwd_crypt": "xxx",
     1559         "passwd_salt": "xxx",
     1560         "controller_hostname": "none",
     1561         "controller_port": 0,
     1562         "contact_email": "fvadmin@localhost",
     1563         "drop_policy": "exact",
     1564         "lldp_spam": true
     1565      },
     1566      {
     1567         "config_name": "default",
     1568         "flowmap_type": "federated",
     1569         "name": "46080982-3178-4762-9f80-3afdb2509621",
     1570         "creator": "fvadmin",
     1571         "passwd_crypt": "xxx",
     1572         "passwd_salt": "xxx",
     1573         "controller_hostname": "caprica.gpolab.bbn.com",
     1574         "controller_port": 33011,
     1575         "contact_email": "asydney007@gmail.com",
     1576         "drop_policy": "exact",
     1577         "lldp_spam": true
     1578      },
     1579      {
     1580         "config_name": "default",
     1581         "flowmap_type": "federated",
     1582         "name": "801a3c49-224f-478f-a298-b1087e9a3d3c",
     1583         "creator": "fvadmin",
     1584         "passwd_crypt": "xxx",
     1585         "passwd_salt": "xxx",
     1586         "controller_hostname": "hafmet.gpolab.bbn.com",
     1587         "controller_port": 31750,
     1588         "contact_email": "asydney@bbn.com",
     1589         "drop_policy": "exact",
     1590         "lldp_spam": true
     1591      },
     1592      {
     1593         "config_name": "default",
     1594         "flowmap_type": "federated",
     1595         "name": "23de3967-ef37-4be6-857e-3a0423c34c58",
     1596         "creator": "fvadmin",
     1597         "passwd_crypt": "xxx",
     1598         "passwd_salt": "-xxx",
     1599         "controller_hostname": "mallorea.gpolab.bbn.com",
     1600         "controller_port": 33020,
     1601         "contact_email": "lnevers@bbn.com",
     1602         "drop_policy": "exact",
     1603         "lldp_spam": true
     1604      }
     1605   ],
     1606   "FlowSpaceRule": [
     1607      {
     1608         "dpid": "6e02c59e5234200",
     1609         "priority": 2000,
     1610         "in_port": 0,
     1611         "dl_type": 2048,
     1612         "nw_src": 170576640,
     1613         "nw_dst": 170576640,
     1614         "wildcards": 3279087,
     1615         "slice_action": [
     1616            {
     1617               "46080982-3178-4762-9f80-3afdb2509621": 4
     1618            }
     1619         ]
     1620      },
     1621      {
     1622         "dpid": "6e02c59e5234200",
     1623         "priority": 2000,
     1624         "in_port": 0,
     1625         "dl_type": 2054,
     1626         "nw_src": 170576640,
     1627         "nw_dst": 170576640,
     1628         "wildcards": 3279087,
     1629         "slice_action": [
     1630            {
     1631               "46080982-3178-4762-9f80-3afdb2509621": 4
     1632            }
     1633         ]
     1634      },
     1635      {
     1636         "dpid": "6e02c59e5234200",
     1637         "priority": 2000,
     1638         "in_port": 0,
     1639         "dl_type": 2048,
     1640         "nw_src": 171048960,
     1641         "nw_dst": 171048960,
     1642         "wildcards": 3412207,
     1643         "slice_action": [
     1644            {
     1645               "801a3c49-224f-478f-a298-b1087e9a3d3c": 4
     1646            }
     1647         ]
     1648      },
     1649      {
     1650         "dpid": "6e02c59e5234200",
     1651         "priority": 2000,
     1652         "in_port": 0,
     1653         "dl_type": 2054,
     1654         "nw_src": 171048960,
     1655         "nw_dst": 171048960,
     1656         "wildcards": 3412207,
     1657         "slice_action": [
     1658            {
     1659               "801a3c49-224f-478f-a298-b1087e9a3d3c": 4
     1660            }
     1661         ]
     1662      },
     1663      {
     1664         "dpid": "6e02c59e5234200",
     1665         "priority": 2000,
     1666         "in_port": 0,
     1667         "dl_type": 2048,
     1668         "nw_src": 170527488,
     1669         "nw_dst": 170527488,
     1670         "wildcards": 3279087,
     1671         "slice_action": [
     1672            {
     1673               "23de3967-ef37-4be6-857e-3a0423c34c58": 4
     1674            }
     1675         ]
     1676      },
     1677      {
     1678         "dpid": "6e02c59e5234200",
     1679         "priority": 2000,
     1680         "in_port": 0,
     1681         "dl_type": 2054,
     1682         "nw_src": 170527488,
     1683         "nw_dst": 170527488,
     1684         "wildcards": 3279087,
     1685         "slice_action": [
     1686            {
     1687               "23de3967-ef37-4be6-857e-3a0423c34c58": 4
     1688            }
     1689         ]
     1690      }
     1691   ]
     1692}lnevers@flowvisor:~$
    13721693}}}
    13731694