Changes between Version 10 and Version 11 of GENIRacksHome/InstageniRacks/ConfirmationTestStatus/UColorado


Ignore:
Timestamp:
10/06/14 15:27:27 (4 years ago)
Author:
lnevers@bbn.com
Comment:

--

Legend:

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

    v10 v11  
    726726== IG-CT-6 - Administrative Tests ==
    727727
     728Sent request for administrative account to site contact from the [http://groups.geni.net/geni/wiki/GeniAggregate/ColoradoInstaGENI Colorado InstaGENI] aggregate page.  Followed instructions at the [http://groups.geni.net/geni/wiki/GENIRacksAdministration/InstaGENIAdministration InstaGENI Administration] page for account request. A local administrator account was requested by joining the ''emulab-ops'' group at https://www.instageni.colorado.net/joinproject.php3.   Once the administrative account was approved and the membership to emulab-ops was granted, proceeded to execute administrative tests. 
     729
     730{{{
     731LNM:~$ ssh control.instageni.colorado.edu
     732Welcome to Ubuntu precise (development branch) (GNU/Linux 3.2.0-23-generic x86_64)
     733
     734 * Documentation:  https://help.ubuntu.com/
     735
     736  System information as of Mon Oct  6 19:21:33 UTC 2014
     737
     738  System load:             0.14
     739  Usage of /:              26.5% of 5.85GB
     740  Memory usage:            36%
     741  Swap usage:              0%
     742  Processes:               128
     743  Users logged in:         0
     744  IP address for xenbr0:   192.12.245.131
     745  IP address for xenbr0:1: 172.16.0.1
     746  IP address for xenbr0:2: 10.249.249.253
     747  IP address for xenbr1:   10.1.1.254
     748  IP address for xenbr2:   10.2.1.254
     749  IP address for xenbr3:   10.3.1.254
     750  IP address for tun0:     10.8.0.1
     751
     752  Graph this data and manage this system at https://landscape.canonical.com/
     753New release '14.04.1 LTS' available.
     754Run 'do-release-upgrade' to upgrade to it.
     755
     756Last login: Mon Oct  6 19:12:03 2014 from dhcp89-73-116.bbn.com
     757To run a command as administrator (user "root"), use "sudo <command>".
     758See "man sudo_root" for details.
     759
     760lnevers@boulder:~$ sudo whoami
     761root
     762lnevers@boulder:~$ uname -a
     763Linux boulder.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
     764lnevers@boulder:~$
     765}}}
     766
     767Also access the boss node:
     768{{{
     769LNM:~$ ssh boss.instageni.colorado.net
     770
     771sudo whoami
     772}}}
     773
     774From boss node accessed each of the experiment nodes that support VMs:
     775{{{
     776[lnevers@boss ~]$ for i in pc1 pc2 pc3; do ssh $i "echo -n '===> Host: ';hostname;sudo whoami;uname -a;echo"; done
     777
     778}}}
     779
     780In 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):
     781{{{
     782[lnevers@boss ~]$ for i in pc4 pc5 ; do sudo ssh $i "echo -n '===> Host: ';hostname;whoami;uname -a;echo"; done
     783}}}
     784
     785Further verified access by ssh from ops.instageni.gpolab.bbn.com to boss.instageni.gpolab.bbn.com, which is usually restricted for non-admin users:
     786{{{
     787LNM:~$ ssh ops.instageni.colorado.net
     788
     789}}}
     790Access infrastructure switches using documented password. First connect to the switch named procurve1 the control network switch:
     791{{{
     792[lnevers@boss ~]$ sudo more /usr/testbed/etc/switch.pswd
     793XXXXXXXXX
     794[lnevers@boss ~]$ telnet procurve1
     795
     796
     797}}}
     798
     799Connect to the switch named procurve2 the dataplane network switch via ssh using the documented password:
     800{{{
     801[lnevers@boss ~]$ sudo more /usr/testbed/etc/switch.pswd
     802xxxxxxx
     803[lnevers@boss ~]$ ssh manager@procurve2
     804}}}
     805
     806Access the FOAM VM and gather information for version
     807{{{
     808LNM:~$ ssh foam.instageni.colorado.edu
     809Welcome to Ubuntu 12.04.4 LTS (GNU/Linux 3.2.0-67-generic x86_64)
     810
     811 * Documentation:  https://help.ubuntu.com/
     812New release '14.04.1 LTS' available.
     813Run 'do-release-upgrade' to upgrade to it.
     814
     815Last login: Mon Oct  6 15:13:55 2014 from dhcp89-73-116.bbn.com
     816lnevers@foam:~$ sudo foamctl admin:get-version  --passwd-file=/etc/foam.passwd
     817{
     818 "version": "0.14.0"
     819}
     820lnevers@foam:~$
     821}}}
     822Check FOAM configuration for  site.admin.email, geni.site-tag, email.from settings:
     823{{{
     824lnevers@foam:~$ foamctl config:get-value --key="site.admin.email"  --passwd-file=/etc/foam.passwd
     825{
     826 "value": null
     827}
     828lnevers@foam:~$
     829lnevers@foam:~$ foamctl config:get-value --key="geni.site-tag"  --passwd-file=/etc/foam.passwd
     830{
     831 "value": "foam.instageni.colorado.edu"
     832}
     833lnevers@foam:~$
     834lnevers@foam:~$ foamctl config:get-value --key="email.from"  --passwd-file=/etc/foam.passwd
     835{
     836 "value": "conan.moore@colorado.edu"
     837}
     838lnevers@foam:~$
     839
     840
     841# check if FOAM auto-approve is on. Value 2 = auto-approve is on.
     842
     843lnevers@foam:~$ foamctl config:get-value --key="geni.approval.approve-on-creation"  --passwd-file=/etc/foam.passwd
     844{
     845 "value": 2
     846}
     847lnevers@foam:~$
     848
     849}}}
     850
     851Show FOAM slivers details:
     852
     853{{{
     854lnevers@foam:~$ foamctl geni:list-slivers --passwd-file=/etc/foam.passwd
     855{
     856 "slivers": [
     857  {
     858   "status": "approved",
     859   "flowvisor_slice": "9d0769d5-e40e-4dc1-bbef-3ca93c77e614",
     860   "slice_urn": "urn:publicid:IDN+ch.geni.net:gpoamcanary+slice+sitemon",
     861   "pend_reason": [],
     862   "deleted": "False",
     863   "user": "urn:publicid:IDN+ch.geni.net+user+asydne01",
     864   "creation": "2014-09-26 16:37:33.374049+00:00",
     865   "enabled": true,
     866   "uuid": "9d0769d5-e40e-4dc1-bbef-3ca93c77e614",
     867   "id": 6,
     868   "expiration": "2015-03-01 00:00:00+00:00",
     869   "sliver_urn": "urn:publicid:IDN+ch.geni.net:gpoamcanary+slice+sitemon:9d0769d5-e40e-4dc1-bbef-3ca93c77e614",
     870   "ref": null,
     871   "email": "asydney@bbn.com",
     872   "desc": "sitemon OpenFlow resources at Colorado InstaGENI."
     873  },
     874  {
     875   "status": "approved",
     876   "flowvisor_slice": "7eafd0c7-c832-44a9-a35e-bbd4e2b1c541",
     877   "slice_urn": "urn:publicid:IDN+ch.geni.net:ln-test+slice+IG-CT-4",
     878   "pend_reason": [],
     879   "deleted": "False",
     880   "user": "urn:publicid:IDN+ch.geni.net+user+lnevers",
     881   "creation": "2014-10-01 15:30:17.608632+00:00",
     882   "enabled": true,
     883   "uuid": "7eafd0c7-c832-44a9-a35e-bbd4e2b1c541",
     884   "id": 8,
     885   "expiration": "2014-10-07 18:39:51+00:00",
     886   "sliver_urn": "urn:publicid:IDN+ch.geni.net:ln-test+slice+IG-CT-4:7eafd0c7-c832-44a9-a35e-bbd4e2b1c541",
     887   "ref": null,
     888   "email": "lnevers@bbn.com",
     889   "desc": "New Site Confirmation Test IG-CT-4 "
     890  },
     891  {
     892   "status": "approved",
     893   "flowvisor_slice": "7d136db8-ebde-4563-814f-c5333030f4bd",
     894   "slice_urn": "urn:publicid:IDN+ch.geni.net:SydTest+slice+ofCoreMonitor-syd",
     895   "pend_reason": [],
     896   "deleted": "False",
     897   "user": "urn:publicid:IDN+ch.geni.net+user+asydne01",
     898   "creation": "2014-10-01 20:19:27.240107+00:00",
     899   "enabled": true,
     900   "uuid": "7d136db8-ebde-4563-814f-c5333030f4bd",
     901   "id": 9,
     902   "expiration": "2015-03-27 17:50:41+00:00",
     903   "sliver_urn": "urn:publicid:IDN+ch.geni.net:SydTest+slice+ofCoreMonitor-syd:7d136db8-ebde-4563-814f-c5333030f4bd",
     904   "ref": null,
     905   "email": "asydney@bbn.com",
     906   "desc": "sydmon OpenFlow resources at Colorado InstaGENI."
     907  }
     908 ]
     909}
     910lnevers@foam:~$
     911}}}
     912Access the FlowVisor VM and gather version information:
     913{{{
     914LNM:~$ ssh flowvisor.instageni.colorado.edu
     915Welcome to Ubuntu 12.04.4 LTS (GNU/Linux 3.2.0-67-generic x86_64)
     916
     917 * Documentation:  https://help.ubuntu.com/
     918New release '14.04.1 LTS' available.
     919Run 'do-release-upgrade' to upgrade to it.
     920
     921Last login: Mon Oct  6 15:14:08 2014 from dhcp89-73-116.bbn.com
     922lnevers@flowvisor:~$ sudo whoami
     923root
     924lnevers@flowvisor:~$ uname -a
     925Linux flowvisor 3.2.0-67-generic #101-Ubuntu SMP Tue Jul 15 17:46:11 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
     926lnevers@flowvisor:~$
     927}}}
     928Check the !FlowVisor version, list of devices, get details for a device, list of active slices, and details for one of the slices:
     929{{{     
     930
     931lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd ping hello
     932Got reply:
     933PONG(fvadmin): FV version=flowvisor-0.8.17::hello
     934lnevers@flowvisor:~$
     935
     936# Devices
     937lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd listDevices
     938Device 0: 06:d6:2c:59:e5:5b:6b:00
     939lnevers@flowvisor:~$
     940lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd getDeviceInfo 06:d6:2c:59:e5:5b:6b:00
     941nPorts=7
     942portList=19,65534,1,7,4,10,13
     943dpid=06:d6:2c:59:e5:5b:6b:00
     944remote=/10.3.1.7:6633-->/10.3.1.253:51826
     945portNames=A19(19),local(65534),A1(1),A7(7),A4(4),A10(10),A13(13)
     946lnevers@flowvisor:~$
     947
     948#Slices
     949lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd listSlices
     950Slice 0: fvadmin
     951Slice 1: 9d0769d5-e40e-4dc1-bbef-3ca93c77e614
     952Slice 2: 7eafd0c7-c832-44a9-a35e-bbd4e2b1c541
     953Slice 3: 7d136db8-ebde-4563-814f-c5333030f4bd
     954lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd getSliceInfo 7d136db8-ebde-4563-814f-c5333030f4bd
     955Got reply:
     956drop_policy=exact
     957connection_1=06:d6:2c:59:e5:5b:6b:00-->/192.12.245.135:35599-->caprica.gpolab.bbn.com/192.1.249.179:33011
     958contact_email=asydney@bbn.com
     959controller_hostname=caprica.gpolab.bbn.com
     960controller_port=33011
     961creator=fvadmin
     962lnevers@flowvisor:~$
     963}}}
     964
     965Check the FlowVisor setting:
     966{{{
     967lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd dumpConfig /tmp/flowvisor-config
     968lnevers@flowvisor:~$ cat /tmp/flowvisor-config
     969{
     970   "flowvisor": [
     971      {
     972         "api_webserver_port": 8080,
     973         "api_jetty_webserver_port": -1,
     974         "checkpointing": false,
     975         "listen_port": 6633,
     976         "track_flows": false,
     977         "stats_desc_hack": false,
     978         "run_topology_server": false,
     979         "logging": "NOTE",
     980         "log_ident": "flowvisor",
     981         "log_facility": "LOG_LOCAL7",
     982         "version": "flowvisor-0.9",
     983         "host": "localhost",
     984         "default_flood_perm": "fvadmin",
     985         "config_name": "default"
     986      }
     987   ],
     988   "Slice": [
     989      {
     990         "config_name": "default",
     991         "flowmap_type": "federated",
     992         "name": "fvadmin",
     993         "creator": "fvadmin",
     994         "passwd_crypt": "xxxx",
     995         "passwd_salt": "xxx",
     996         "controller_hostname": "none",
     997         "controller_port": 0,
     998         "contact_email": "fvadmin@localhost",
     999         "drop_policy": "exact",
     1000         "lldp_spam": true
     1001      },
     1002      {
     1003         "config_name": "default",
     1004         "flowmap_type": "federated",
     1005         "name": "9d0769d5-e40e-4dc1-bbef-3ca93c77e614",
     1006         "creator": "fvadmin",
     1007         "passwd_crypt": "xxx",
     1008         "passwd_salt": "xxx",
     1009         "controller_hostname": "hafmet.gpolab.bbn.com",
     1010         "controller_port": 31750,
     1011         "contact_email": "asydney@bbn.com",
     1012         "drop_policy": "exact",
     1013         "lldp_spam": true
     1014      },
     1015      {
     1016         "config_name": "default",
     1017         "flowmap_type": "federated",
     1018         "name": "7eafd0c7-c832-44a9-a35e-bbd4e2b1c541",
     1019         "creator": "fvadmin",
     1020         "passwd_crypt": "xxx",
     1021         "passwd_salt": "xxx",
     1022         "controller_hostname": "mallorea.gpolab.bbn.com",
     1023         "controller_port": 33020,
     1024         "contact_email": "lnevers@bbn.com",
     1025         "drop_policy": "exact",
     1026         "lldp_spam": true
     1027      },
     1028      {
     1029         "config_name": "default",
     1030         "flowmap_type": "federated",
     1031         "name": "7d136db8-ebde-4563-814f-c5333030f4bd",
     1032         "creator": "fvadmin",
     1033         "passwd_crypt": "xxx",
     1034         "passwd_salt": "xxx",
     1035         "controller_hostname": "caprica.gpolab.bbn.com",
     1036         "controller_port": 33011,
     1037         "contact_email": "asydney@bbn.com",
     1038         "drop_policy": "exact",
     1039         "lldp_spam": true
     1040      }
     1041   ],
     1042   "FlowSpaceRule": [
     1043      {
     1044         "dpid": "6d62c59e55b6b00",
     1045         "priority": 2000,
     1046         "in_port": 0,
     1047         "dl_type": 2048,
     1048         "nw_src": 171048960,
     1049         "nw_dst": 171048960,
     1050         "wildcards": 3412207,
     1051         "slice_action": [
     1052            {
     1053               "9d0769d5-e40e-4dc1-bbef-3ca93c77e614": 4
     1054            }
     1055         ]
     1056      },
     1057      {
     1058         "dpid": "6d62c59e55b6b00",
     1059         "priority": 2000,
     1060         "in_port": 0,
     1061         "dl_type": 2054,
     1062         "nw_src": 171048960,
     1063         "nw_dst": 171048960,
     1064         "wildcards": 3412207,
     1065         "slice_action": [
     1066            {
     1067               "9d0769d5-e40e-4dc1-bbef-3ca93c77e614": 4
     1068            }
     1069         ]
     1070      },
     1071      {
     1072         "dpid": "6d62c59e55b6b00",
     1073         "priority": 2000,
     1074         "in_port": 0,
     1075         "dl_type": 2048,
     1076         "nw_src": 170527488,
     1077         "nw_dst": 170527488,
     1078         "wildcards": 3279087,
     1079         "slice_action": [
     1080            {
     1081               "7eafd0c7-c832-44a9-a35e-bbd4e2b1c541": 4
     1082            }
     1083         ]
     1084      },
     1085      {
     1086         "dpid": "6d62c59e55b6b00",
     1087         "priority": 2000,
     1088         "in_port": 0,
     1089         "dl_type": 2054,
     1090         "nw_src": 170527488,
     1091         "nw_dst": 170527488,
     1092         "wildcards": 3279087,
     1093         "slice_action": [
     1094            {
     1095               "7eafd0c7-c832-44a9-a35e-bbd4e2b1c541": 4
     1096            }
     1097         ]
     1098      },
     1099      {
     1100         "dpid": "6d62c59e55b6b00",
     1101         "priority": 2000,
     1102         "in_port": 0,
     1103         "dl_type": 2048,
     1104         "nw_src": 170576640,
     1105         "nw_dst": 170576640,
     1106         "wildcards": 3279087,
     1107         "slice_action": [
     1108            {
     1109               "7d136db8-ebde-4563-814f-c5333030f4bd": 4
     1110            }
     1111         ]
     1112      },
     1113      {
     1114         "dpid": "6d62c59e55b6b00",
     1115         "priority": 2000,
     1116         "in_port": 0,
     1117         "dl_type": 2054,
     1118         "nw_src": 170576640,
     1119         "nw_dst": 170576640,
     1120         "wildcards": 3279087,
     1121         "slice_action": [
     1122            {
     1123               "7d136db8-ebde-4563-814f-c5333030f4bd": 4
     1124            }
     1125         ]
     1126      }
     1127   ]
     1128}lnevers@flowvisor:~$
     1129}}}
    7281130----
    7291131{{{