Changes between Version 6 and Version 7 of GENIRacksHome/InstageniRacks/ConfirmationTestStatus/UKYPKS2


Ignore:
Timestamp:
09/09/14 10:53:08 (10 years ago)
Author:
lnevers@bbn.com
Comment:

--

Legend:

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

    v6 v7  
    694694== IG-CT-5 - Experiment Monitoring ==
    695695== IG-CT-6 - Administrative Tests ==
     696
     697Sent request for administrative account to site contact from the [http://groups.geni.net/geni/wiki/GeniAggregate/UKYPKS2InstaGENI UKYPKS2 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.pks2.sdn.uky.edu/joinproject.php3.   Once the administrative account was approved and the membership to emulab-ops was granted, proceeded to execute administrative tests. 
     698
     699{{{
     700LNM:~$ ssh control.pks2.sdn.uky.edu
     701The authenticity of host 'control.pks2.sdn.uky.edu (128.163.233.8)' can't be established.
     702DSA key fingerprint is 08:92:9f:1a:8f:ca:2b:1b:41:11:4f:1d:17:41:42:38.
     703Are you sure you want to continue connecting (yes/no)? yes
     704Warning: Permanently added 'control.pks2.sdn.uky.edu,128.163.233.8' (DSA) to the list of known hosts.
     705Welcome to Ubuntu precise (development branch) (GNU/Linux 3.2.0-23-generic x86_64)
     706
     707 * Documentation:  https://help.ubuntu.com/
     708
     709  System information as of Tue Sep  9 10:28:20 EDT 2014
     710
     711  System load:             0.0
     712  Usage of /:              31.2% of 5.85GB
     713  Memory usage:            55%
     714  Swap usage:              0%
     715  Processes:               163
     716  Users logged in:         0
     717  IP address for xenbr0:   128.163.233.8
     718  IP address for xenbr0:1: 172.16.0.1
     719  IP address for xenbr0:2: 10.249.249.253
     720  IP address for xenbr1:   10.1.1.254
     721  IP address for xenbr2:   10.2.1.254
     722  IP address for xenbr3:   10.3.1.254
     723  IP address for tun0:     10.8.0.1
     724
     725  Graph this data and manage this system at https://landscape.canonical.com/
     726New release '14.04.1 LTS' available.
     727Run 'do-release-upgrade' to upgrade to it.
     728
     729
     730The programs included with the Ubuntu system are free software;
     731the exact distribution terms for each program are described in the
     732individual files in /usr/share/doc/*/copyright.
     733
     734Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
     735applicable law.
     736
     737To run a command as administrator (user "root"), use "sudo <command>".
     738See "man sudo_root" for details.
     739
     740lnevers@uky2:~$ sudo whoami
     741root
     742lnevers@uky2:~$ uname -a
     743Linux uky2.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
     744lnevers@uky2:~$
     745}}}
     746
     747Also access the boss node:
     748{{{
     749LNM:~$ ssh boss.pks2.sdn.uky.edu
     750Last login: Tue Sep  9 10:25:31 2014 from dhcp89-73-116.bbn.com
     751FreeBSD 9.0-STABLE (TESTBED-XEN) #0: Mon Mar  3 15:37:17 MST 2014
     752
     753Welcome to FreeBSD!
     754
     755Want colour in your directory listings?  Use "ls -G".  "ls -F" is also useful,
     756and they can be combined as "ls -FG".
     757> bash
     758[lnevers@boss ~]$ sudo whoami   
     759root
     760[lnevers@boss ~]$ uname -a
     761FreeBSD boss.pks2.sdn.uky.edu 9.0-STABLE FreeBSD 9.0-STABLE #0: Mon Mar  3 15:37:17 MST 2014     root@node.freebsd90-node.testbed.emulab.net:/usr/obj/usr/src/sys/TESTBED-XEN  i386
     762[lnevers@boss ~]$
     763}}}
     764
     765From boss node accessed each of the experiment nodes that support VMs:
     766{{{
     767[lnevers@boss ~]$ for i in pc1 pc2 pc3; do ssh $i "echo -n '===> Host: ';hostname;sudo whoami;uname -a;echo"; done
     768Warning: Permanently added 'pc1.pks2.sdn.uky.edu' (RSA) to the list of known hosts.
     769===> Host: vhost1.shared-nodes.emulab-ops.pks2.sdn.uky.edu
     770root
     771Linux vhost1.shared-nodes.emulab-ops.pks2.sdn.uky.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
     772
     773Warning: Permanently added 'pc2.pks2.sdn.uky.edu' (RSA) to the list of known hosts.
     774===> Host: vhost2.shared-nodes.emulab-ops.pks2.sdn.uky.edu
     775root
     776Linux vhost2.shared-nodes.emulab-ops.pks2.sdn.uky.edu 3.8.0-37-generic #53~precise1 SMP Fri Mar 14 16:11:09 MDT 2014 x86_64 x86_64 x86_64 GNU/Linux
     777
     778Warning: Permanently added 'pc3.pks2.sdn.uky.edu' (RSA) to the list of known hosts.
     779===> Host: vhost3.shared-nodes.emulab-ops.pks2.sdn.uky.edu
     780root
     781Linux vhost3.shared-nodes.emulab-ops.pks2.sdn.uky.edu 3.8.0-37-generic #53~precise1 SMP Fri Mar 14 16:11:09 MDT 2014 x86_64 x86_64 x86_64 GNU/Linux
     782
     783[lnevers@boss ~]$
     784}}}
     785
     786In 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):
     787{{{
     788[lnevers@boss ~]$ for i in pc4 pc5 ; do sudo ssh $i "echo -n '===> Host: ';hostname;whoami;uname -a;echo"; done
     789===> Host: pc2.2raw.ch-geni-net.pks2.sdn.uky.edu
     790root
     791Linux pc2.2raw.ch-geni-net.pks2.sdn.uky.edu 2.6.40-4.emulab2.fc15.i686.PAE #1 SMP Tue Feb 26 13:35:12 MST 2013 i686 i686 i386 GNU/Linux
     792
     793===> Host: pc.2raw.ch-geni-net.pks2.sdn.uky.edu
     794root
     795Linux pc.2raw.ch-geni-net.pks2.sdn.uky.edu 2.6.40-4.emulab2.fc15.i686.PAE #1 SMP Tue Feb 26 13:35:12 MST 2013 i686 i686 i386 GNU/Linux
     796
     797[lnevers@boss ~]$
     798}}}
     799
     800Further verified access by ssh from ops.instageni.gpolab.bbn.com to boss.instageni.gpolab.bbn.com, which is usually restricted for non-admin users:
     801{{{
     802LNM:~$ ssh ops.pks2.sdn.uky.edu
     803baLast login: Tue Sep  9 10:36:19 2014 from dhcp89-73-116.bbn.com
     804FreeBSD 9.0-STABLE (TESTBED-XEN) #0: Mon Mar  3 15:37:17 MST 2014
     805
     806Welcome to FreeBSD!
     807
     808Want to strip UTF-8 BOM(Byte Order Mark) from given files?
     809
     810        sed -e '1s/^\xef\xbb\xbf//' < bomfile > newfile
     811> bash
     812[lnevers@ops ~]$ sudo whoami
     813root
     814[lnevers@ops ~]$ uname -a
     815FreeBSD ops.pks2.sdn.uky.edu 9.0-STABLE FreeBSD 9.0-STABLE #0: Mon Mar  3 15:37:17 MST 2014     root@node.freebsd90-node.testbed.emulab.net:/usr/obj/usr/src/sys/TESTBED-XEN  i386
     816[lnevers@ops ~]$ ssh boss
     817The authenticity of host 'boss.pks2.sdn.uky.edu (128.163.233.4)' can't be established.
     818ECDSA key fingerprint is bd:05:23:a7:5b:cc:78:c8:8c:a8:d3:e9:f7:27:53:cb.
     819Are you sure you want to continue connecting (yes/no)? yes
     820Warning: Permanently added 'boss.pks2.sdn.uky.edu' (ECDSA) to the list of known hosts.
     821Last login: Tue Sep  9 10:29:06 2014 from dhcp89-73-116.bbn.com
     822FreeBSD 9.0-STABLE (TESTBED-XEN) #0: Mon Mar  3 15:37:17 MST 2014
     823
     824Welcome to FreeBSD!
     825
     826To search for files that match a particular name, use find(1); for example
     827
     828        find / -name "*GENERIC*" -ls
     829
     830will search '/', and all subdirectories, for files with 'GENERIC' in the name.
     831        --  Stephen Hilton <nospam@hiltonbsd.com>
     832> bash
     833[lnevers@boss ~]$
     834}}}
     835Access infrastructure switches using documented password. First connect to the switch named procurve1 the control network switch:
     836{{{
     837[lnevers@boss ~]$ sudo more /usr/testbed/etc/switch.pswd
     838XXXXXXXXX
     839[lnevers@boss ~]$ telnet procurve1
     840Trying 10.1.1.253...
     841Connected to procurve1.
     842Escape character is '^]'.
     843
     844HP J9623A E2620-24 Switch
     845Software revision RA.15.08.0009
     846
     847Copyright (C) 1991-2012 Hewlett-Packard Development Company, L.P.
     848
     849                   RESTRICTED RIGHTS LEGEND
     850 Confidential computer software.  Valid license from HP required for possession,
     851 use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer
     852 Software, Computer Software Documentation, and Technical Data for Commercial
     853 Items are licensed to the U.S. Government under vendor's standard commercial
     854 license.
     855                   HEWLETT-PACKARD DEVELOPMENT COMPANY, L.P.
     856                   20555 State Highway 249, Houston, TX 77070
     857
     858We'd like to keep you up to date about:
     859  * Software feature updates
     860  * New product announcements
     861  * Special events
     862Please register your products now at:  www.hp.com/networking/register
     863Username: manager
     864Password:
     865HP-E2620-24#
     866HP-E2620-24# show version
     867Image stamp:    /ws/swbuildm/rel_galt_qaoff/code/build/xform(rel_galt_qaoff)
     868                May  9 2012 15:28:43
     869                RA.15.08.0009
     870                474
     871Boot Image:     Primary
     872HP-E2620-24# show vlan
     873
     874 Status and Counters - VLAN Information
     875
     876  Maximum VLANs to support : 50                   
     877  Primary VLAN : DEFAULT_VLAN     
     878  Management VLAN : control-hardware
     879
     880  VLAN ID Name                             | Status     Voice Jumbo
     881  ------- -------------------------------- + ---------- ----- -----
     882  1       DEFAULT_VLAN                     | Port-based No    No   
     883  10      control-hardware                 | Port-based No    No   
     884  11      control-alternate                | Port-based No    No   
     885 
     886
     887HP-E2620-24# show running-config
     888
     889Running configuration:
     890
     891; J9623A Configuration Editor; Created on release #RA.15.08.0009
     892; Ver #02:13.2d:3c
     893hostname "HP-E2620-24"
     894max-vlans 50
     895no stack
     896no web-management
     897ip default-gateway 10.1.1.254
     898snmp-server community "xxx" unrestricted
     899aaa authentication ssh login public-key
     900aaa authentication ssh enable public-key
     901vlan 1
     902   name "DEFAULT_VLAN"
     903   no untagged 23-24
     904   untagged 1-22,25-28
     905   ip address 10.254.254.253 255.255.255.0
     906   ip igmp
     907   exit
     908vlan 10
     909   name "control-hardware"
     910   untagged 23
     911   ip address 10.1.1.253 255.255.255.0
     912   exit
     913vlan 11
     914   name "control-alternate"
     915   untagged 24
     916   ip address 10.2.1.253 255.255.255.0
     917   exit
     918management-vlan 10
     919no dhcp config-file-update
     920password xxx
     921password xxx
     922
     923HP-E2620-24#
     924}}}
     925
     926Connect to the switch named procurve2 the dataplane network switch via ssh using the documented password:
     927{{{
     928[lnevers@boss ~]$ sudo more /usr/testbed/etc/switch.pswd
     929xxxxxxx
     930[lnevers@boss ~]$ telnet procurve2
     931Trying 10.3.1.253...
     932Connected to procurve2.
     933Escape character is '^]'.
     934
     935HP J8697A Switch E5406zl
     936Software revision K.15.06.5008
     937
     938Copyright (C) 1991-2012 Hewlett-Packard Development Company, L.P.
     939
     940                   RESTRICTED RIGHTS LEGEND
     941 Confidential computer software.  Valid license from HP required for possession,
     942 use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer
     943 Software, Computer Software Documentation, and Technical Data for Commercial
     944 Items are licensed to the U.S. Government under vendor's standard commercial
     945 license.
     946                   HEWLETT-PACKARD DEVELOPMENT COMPANY, L.P.
     947                   20555 State Highway 249, Houston, TX 77070
     948
     949We'd like to keep you up to date about:
     950  * Software feature updates
     951  * New product announcements
     952  * Special events
     953Please register your products now at:  www.hp.com/networking/register
     954Username: manager
     955Password:
     956
     957HP-E5406zl# show version
     958Image stamp:    /ws/swbuildm/of_bridge_qaoff/code/build/btm(of_bridge_qaoff)
     959                Feb 18 2012 11:26:28
     960                K.15.06.5008
     961                79
     962Boot Image:     Primary
     963HP-E5406zl# show vlan
     964
     965 Status and Counters - VLAN Information
     966
     967  Maximum VLANs to support : 256                 
     968  Primary VLAN : DEFAULT_VLAN   
     969  Management VLAN : control-hardware
     970
     971  VLAN ID Name                             | Status     Voice Jumbo
     972  ------- -------------------------------- + ---------- ----- -----
     973  1       DEFAULT_VLAN                     | Port-based No    No   
     974  10      control-hardware                 | Port-based No    No   
     975  257     5000                             | Port-based No    No   
     976  258     5457                             | Port-based No    No   
     977  1750    5003                             | Port-based No    No   
     978  1843    5456                             | Port-based No    No   
     979 
     980
     981HP-E5406zl# show vlan 1750
     982
     983 Status and Counters - VLAN Information - VLAN 1750
     984
     985  VLAN ID : 1750   
     986  Name : 5003                           
     987  Status : Port-based
     988  Voice : No
     989  Jumbo : No
     990
     991  Port Information Mode     Unknown VLAN Status   
     992  ---------------- -------- ------------ ----------
     993  A19              Tagged   Learn        Up       
     994 
     995
     996HP-E5406zl# show running-config
     997
     998Running configuration:
     999
     1000; J8697A Configuration Editor; Created on release #K.15.06.5008
     1001; Ver #02:10.0d:1f
     1002
     1003hostname "HP-E5406zl"
     1004module 1 type J9549A
     1005interface A1
     1006   speed-duplex auto-1000
     1007exit
     1008interface A2
     1009   speed-duplex auto-1000
     1010exit
     1011interface A3
     1012   speed-duplex auto-1000
     1013exit
     1014interface A4
     1015   speed-duplex auto-1000
     1016exit
     1017interface A5
     1018   speed-duplex auto-1000
     1019exit
     1020interface A6
     1021   speed-duplex auto-1000
     1022exit
     1023interface A7
     1024   speed-duplex auto-1000
     1025exit
     1026interface A8
     1027   speed-duplex auto-1000
     1028exit
     1029interface A9
     1030   speed-duplex auto-1000
     1031exit
     1032interface A10
     1033   speed-duplex auto-1000
     1034exit
     1035interface A13
     1036   speed-duplex auto-1000
     1037exit
     1038interface A18
     1039   speed-duplex auto-1000
     1040exit
     1041interface A19
     1042   speed-duplex auto-1000
     1043exit
     1044ip default-gateway 10.3.1.7
     1045vlan 1
     1046   name "DEFAULT_VLAN"
     1047   forbid A1-A9
     1048   untagged A11-A12,A14-A17,A21-A24
     1049   no untagged A1-A10,A13,A18-A20
     1050   no ip address
     1051   exit
     1052vlan 10
     1053   name "control-hardware"
     1054   untagged A20
     1055   ip address 10.3.1.253 255.255.255.0
     1056   exit
     1057vlan 257
     1058   name "5000"
     1059   untagged A1-A9
     1060   no ip address
     1061   exit
     1062vlan 1750
     1063   name "5003"
     1064   tagged A19
     1065   no ip address
     1066   exit
     1067vlan 1843
     1068   name "5456"
     1069   tagged A7,A18
     1070   no ip address
     1071   exit
     1072vlan 258
     1073   name "5457"
     1074   untagged A10,A13
     1075   no ip address
     1076   exit
     1077no web-management
     1078openflow
     1079   vlan 1750
     1080      enable
     1081      controller "tcp:10.3.1.7:6633" fail-secure on
     1082      exit
     1083   exit
     1084snmp-server community "xxx" unrestricted
     1085aaa authentication ssh login public-key
     1086aaa authentication ssh enable public-key
     1087management-vlan 10
     1088no autorun
     1089no dhcp config-file-update
     1090no dhcp image-file-update
     1091password xxx
     1092password xxx
     1093
     1094HP-E5406zl#
     1095}}}
     1096
     1097Access the FOAM VM and gather information for version
     1098{{{
     1099LNM:~$ ssh lnevers@foam.pks2.sdn.uky.edu
     1100Welcome to Ubuntu 12.04.5 LTS (GNU/Linux 3.2.0-67-generic x86_64)
     1101
     1102 * Documentation:  https://help.ubuntu.com/
     1103New release '14.04.1 LTS' available.
     1104Run 'do-release-upgrade' to upgrade to it.
     1105
     1106Last login: Tue Sep  9 10:25:58 2014 from dhcp89-73-116.bbn.com
     1107lnevers@foam:~$ sudo foamctl admin:get-version  --passwd-file=/etc/foam.passwd
     1108{
     1109 "version": "0.14.0"
     1110}
     1111lnevers@foam:~$
     1112}}}
     1113Check FOAM configuration for  site.admin.email, geni.site-tag, email.from settings:
     1114{{{
     1115lnevers@foam:~$ foamctl config:get-value --key="site.admin.email"  --passwd-file=/etc/foam.passwd
     1116{
     1117 "value": null
     1118}
     1119lnevers@foam:~$
     1120lnevers@foam:~$ foamctl config:get-value --key="geni.site-tag"  --passwd-file=/etc/foam.passwd
     1121{
     1122 "value": "foam.pks2.sdn.uky.edu"
     1123}
     1124lnevers@foam:~$
     1125lnevers@foam:~$ foamctl config:get-value --key="email.from"  --passwd-file=/etc/foam.passwd
     1126{
     1127 "value": "nasir@netlab.uky.edu"
     1128}
     1129lnevers@foam:~$
     1130
     1131# check if FOAM auto-approve is on. Value 2 = auto-approve is on.
     1132
     1133lnevers@foam:~$ foamctl config:get-value --key="geni.approval.approve-on-creation"  --passwd-file=/etc/foam.passwd
     1134{
     1135 "value": 2
     1136}
     1137lnevers@foam:~$
     1138
     1139}}}
     1140
     1141Show FOAM slivers details:
     1142
     1143{{{
     1144lnevers@foam:~$ foamctl geni:list-slivers --passwd-file=/etc/foam.passwd
     1145{
     1146 "slivers": []
     1147}
     1148}}}
     1149Access the FlowVisor VM and gather version information:
     1150{{{
     1151LNM:~$ ssh lnevers@flowvisor.pks2.sdn.uky.edu
     1152Welcome to Ubuntu 12.04.5 LTS (GNU/Linux 3.2.0-67-generic x86_64)
     1153
     1154 * Documentation:  https://help.ubuntu.com/
     1155New release '14.04.1 LTS' available.
     1156Run 'do-release-upgrade' to upgrade to it.
     1157
     1158Last login: Tue Sep  9 10:25:44 2014 from dhcp89-73-116.bbn.com
     1159lnevers@flowvisor:~$ sudo whoami
     1160root
     1161lnevers@flowvisor:~$ uname -a
     1162Linux 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
     1163lnevers@flowvisor:~$
     1164
     1165}}}
     1166Check the !FlowVisor version, list of devices, get details for a device, list of active slices, and details for one of the slices:
     1167{{{     
     1168lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd ping hello
     1169Got reply:
     1170PONG(fvadmin): FV version=flowvisor-0.8.17::hello
     1171lnevers@flowvisor:~$
     1172
     1173# Devices
     1174lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd listDevices
     1175Device 0: 06:d6:2c:44:fd:db:67:00
     1176lnevers@flowvisor:~$
     1177lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd getDeviceInfo 06:d6:2c:44:fd:db:67:00
     1178nPorts=2
     1179portList=65534,19
     1180dpid=06:d6:2c:44:fd:db:67:00
     1181remote=/10.3.1.7:6633-->/10.3.1.253:53425
     1182portNames=local(65534),A19(19)
     1183lnevers@flowvisor:~$
     1184
     1185#Slices
     1186lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd listSlices
     1187Slice 0: fvadmin
     1188lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd getSliceInfo fvadmin
     1189Got reply:
     1190drop_policy=exact
     1191contact_email=fvadmin@localhost
     1192controller_hostname=none
     1193controller_port=0
     1194creator=fvadmin
     1195lnevers@flowvisor:~$
     1196}}}
     1197
     1198Check the FlowVisor setting:
     1199{{{
     1200lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd dumpConfig /tmp/flowvisor-config
     1201lnevers@flowvisor:~$ cat /tmp/flowvisor-config
     1202{
     1203   "flowvisor": [
     1204      {
     1205         "api_webserver_port": 8080,
     1206         "api_jetty_webserver_port": -1,
     1207         "checkpointing": false,
     1208         "listen_port": 6633,
     1209         "track_flows": false,
     1210         "stats_desc_hack": false,
     1211         "run_topology_server": false,
     1212         "logging": "NOTE",
     1213         "log_ident": "flowvisor",
     1214         "log_facility": "LOG_LOCAL7",
     1215         "version": "flowvisor-0.9",
     1216         "host": "localhost",
     1217         "default_flood_perm": "fvadmin",
     1218         "config_name": "default"
     1219      }
     1220   ],
     1221   "Slice": [
     1222      {
     1223         "config_name": "default",
     1224         "flowmap_type": "federated",
     1225         "name": "fvadmin",
     1226         "creator": "fvadmin",
     1227         "passwd_crypt": "xxx",
     1228         "passwd_salt": "sillysalt",
     1229         "controller_hostname": "none",
     1230         "controller_port": 0,
     1231         "contact_email": "fvadmin@localhost",
     1232         "drop_policy": "exact",
     1233         "lldp_spam": true
     1234      }
     1235   ],
     1236   "FlowSpaceRule": []
     1237}lnevers@flowvisor:~$
     1238}}}
     1239
     1240----
     1241{{{
     1242#!html
     1243Email <a href="mailto:help@geni.net"> help@geni.net </a> for GENI support or email <a href="mailto:luisa.nevers@bbn.com">me</a> with feedback on this page!
     1244}}}
     1245