Changes between Version 8 and Version 9 of GENIRacksHome/InstageniRacks/ConfirmationTestStatus/UWashington


Ignore:
Timestamp:
02/19/15 09:02:45 (9 years ago)
Author:
lnevers@bbn.com
Comment:

--

Legend:

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

    v8 v9  
    589589== IG-CT-6 - Administrative Tests ==
    590590
     591Sent request for administrative account to site contact from the [http://groups.geni.net/geni/wiki/GeniAggregate/UniversityOfWashingtonInstaGENI Washington 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.washington.edu/joinproject.php3.   Once the administrative account was approved and the membership to emulab-ops was granted, proceeded to execute administrative tests. 
     592
     593{{{
     594LNM:~$ ssh control.instageni.washington.edu
     595The authenticity of host 'control.instageni.washington.edu (128.95.190.3)' can't be established.
     596DSA key fingerprint is fa:3a:98:17:87:2b:4b:ce:4c:5d:e2:71:10:59:40:14.
     597Are you sure you want to continue connecting (yes/no)? yes
     598Warning: Permanently added 'control.instageni.washington.edu,128.95.190.3' (DSA) to the list of known hosts.
     599Welcome to Ubuntu precise (development branch) (GNU/Linux 3.2.0-23-generic x86_64)
     600
     601 * Documentation:  https://help.ubuntu.com/
     602
     603  System information as of Thu Feb 19 13:51:55 UTC 2015
     604
     605  System load:             0.11
     606  Usage of /:              31.5% of 5.85GB
     607  Memory usage:            42%
     608  Swap usage:              0%
     609  Processes:               168
     610  Users logged in:         0
     611  IP address for xenbr0:   128.95.190.3
     612  IP address for xenbr0:1: 172.16.0.1
     613  IP address for xenbr0:2: 10.249.249.253
     614  IP address for xenbr1:   10.1.1.254
     615  IP address for xenbr2:   10.2.1.254
     616  IP address for xenbr3:   10.3.1.254
     617  IP address for tun0:     10.8.0.1
     618
     619  Graph this data and manage this system at https://landscape.canonical.com/
     620New release '14.04.1 LTS' available.
     621Run 'do-release-upgrade' to upgrade to it.
     622
     623
     624The programs included with the Ubuntu system are free software;
     625the exact distribution terms for each program are described in the
     626individual files in /usr/share/doc/*/copyright.
     627
     628Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
     629applicable law.
     630
     631To run a command as administrator (user "root"), use "sudo <command>".
     632See "man sudo_root" for details.
     633
     634lnevers@control:~$ sudo whoami
     635root
     636lnevers@control:~$ uname -a
     637Linux control.instageni.washington.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
     638lnevers@control:~$
     639
     640}}}
     641
     642Also access the boss node:
     643{{{
     644LNM:~$ ssh boss.instageni.washington.edu
     645
     646sudo whoami
     647}}}
     648
     649From boss node accessed each of the experiment nodes that support VMs:
     650{{{
     651[lnevers@boss ~]$ for i in pc1 pc2 pc3; do ssh $i "echo -n '===> Host: ';hostname;sudo whoami;uname -a;echo"; done
     652
     653}}}
     654
     655In 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):
     656{{{
     657[lnevers@boss ~]$ for i in pc4 pc5 ; do sudo ssh $i "echo -n '===> Host: ';hostname;whoami;uname -a;echo"; done
     658}}}
     659
     660Further verified access by ssh from ops.instageni.gpolab.bbn.com to boss.instageni.gpolab.bbn.com, which is usually restricted for non-admin users:
     661{{{
     662LNM:~$ ssh ops.instageni.washington.edu
     663
     664}}}
     665Access infrastructure switches using documented password. First connect to the switch named procurve1 the control network switch:
     666{{{
     667[lnevers@boss ~]$ sudo more /usr/testbed/etc/switch.pswd
     668XXXXXXXXX
     669[lnevers@boss ~]$ telnet procurve1
     670
     671
     672}}}
     673
     674Connect to the switch named procurve2 the dataplane network switch via ssh using the documented password:
     675{{{
     676[lnevers@boss ~]$ sudo more /usr/testbed/etc/switch.pswd
     677xxxxxxx
     678[lnevers@boss ~]$ ssh manager@procurve2
     679}}}
     680
     681Access the FOAM VM and gather information for version
     682{{{
     683LNM:~$ ssh boss.instageni.washington.edu
     684The authenticity of host 'boss.instageni.washington.edu (128.95.190.4)' can't be established.
     685RSA key fingerprint is 46:63:92:67:c8:75:20:4e:52:9f:2d:f6:cb:58:16:77.
     686Are you sure you want to continue connecting (yes/no)? yes
     687Warning: Permanently added 'boss.instageni.washington.edu,128.95.190.4' (RSA) to the list of known hosts.
     688FreeBSD 9.0-STABLE (TESTBED-XEN) #0: Mon Mar  3 15:37:17 MST 2014
     689
     690Welcome to FreeBSD!
     691
     692Connection to boss.instageni.washington.edu closed.
     693LNM:~$ ssh foam.instageni.washington.edu
     694The authenticity of host 'foam.instageni.washington.edu (128.95.190.6)' can't be established.
     695RSA key fingerprint is 05:e9:50:c0:a0:d3:a9:02:95:60:99:fc:6e:ef:14:3f.
     696Are you sure you want to continue connecting (yes/no)? yes
     697Warning: Permanently added 'foam.instageni.washington.edu,128.95.190.6' (RSA) to the list of known hosts.
     698Welcome to Ubuntu 12.04.5 LTS (GNU/Linux 3.2.0-70-generic x86_64)
     699
     700 * Documentation:  https://help.ubuntu.com/
     701New release '14.04.1 LTS' available.
     702Run 'do-release-upgrade' to upgrade to it.
     703
     704
     705The programs included with the Ubuntu system are free software;
     706the exact distribution terms for each program are described in the
     707individual files in /usr/share/doc/*/copyright.
     708
     709Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
     710applicable law.
     711
     712lnevers@foam:~$ sudo whoami
     713root
     714lnevers@foam:~$ uname -a
     715Linux foam 3.2.0-70-generic #105-Ubuntu SMP Wed Sep 24 19:49:16 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
     716lnevers@foam:~$ sudo foamctl admin:get-version  --passwd-file=/etc/foam.passwd
     717{
     718 "version": "0.14.0"
     719}
     720lnevers@foam:~$ }}}
     721Check FOAM configuration for  site.admin.email, geni.site-tag, email.from settings:
     722{{{
     723lnevers@foam:~$ foamctl config:get-value --key="site.admin.email"  --passwd-file=/etc/foam.passwd
     724{
     725 "value": null
     726}
     727lnevers@foam:~$ foamctl config:get-value --key="geni.site-tag"  --passwd-file=/etc/foam.passwd
     728{
     729 "value": "foam.instageni.washington.edu"
     730}
     731lnevers@foam:~$ foamctl config:get-value --key="email.from"  --passwd-file=/etc/foam.passwd
     732{
     733 "value": "iancote@uw.edu"
     734}
     735lnevers@foam:~$
     736
     737# check if FOAM auto-approve is on. Value 2 = auto-approve is on.
     738
     739lnevers@foam:~$ foamctl config:get-value --key="geni.approval.approve-on-creation"  --passwd-file=/etc/foam.passwd
     740{
     741 "value": 2
     742}
     743lnevers@foam:~$
     744
     745}}}
     746
     747Show FOAM slivers details:
     748
     749{{{
     750lnevers@foam:~$ foamctl geni:list-slivers --passwd-file=/etc/foam.passwd
     751{
     752 "slivers": []
     753}
     754lnevers@foam:~$
     755
     756}}}
     757Access the FlowVisor VM and gather version information:
     758{{{
     759LNM:~$ ssh flowvisor.instageni.washington.edu
     760The authenticity of host 'flowvisor.instageni.washington.edu (128.95.190.7)' can't be established.
     761RSA key fingerprint is 8c:01:f1:e7:2e:76:e2:22:e8:99:9d:68:e6:61:af:ae.
     762Are you sure you want to continue connecting (yes/no)? yes
     763Warning: Permanently added 'flowvisor.instageni.washington.edu,128.95.190.7' (RSA) to the list of known hosts.
     764Welcome to Ubuntu 12.04.5 LTS (GNU/Linux 3.2.0-70-generic x86_64)
     765
     766 * Documentation:  https://help.ubuntu.com/
     767New release '14.04.1 LTS' available.
     768Run 'do-release-upgrade' to upgrade to it.
     769
     770
     771The programs included with the Ubuntu system are free software;
     772the exact distribution terms for each program are described in the
     773individual files in /usr/share/doc/*/copyright.
     774
     775Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
     776applicable law.
     777
     778lnevers@flowvisor:~$ sudo whoami
     779root
     780lnevers@flowvisor:~$ uname  -a
     781Linux flowvisor 3.2.0-70-generic #105-Ubuntu SMP Wed Sep 24 19:49:16 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
     782lnevers@flowvisor:~$
     783}}}
     784Check the !FlowVisor version, list of devices, get details for a device, list of active slices, and details for one of the slices:
     785{{{     
     786
     787lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd ping hello
     788Got reply:
     789PONG(fvadmin): FV version=flowvisor-0.8.17::hello
     790lnevers@flowvisor:~$
     791
     792# Devices
     793lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd listDevices
     794lnevers@flowvisor:~$
     795
     796# Could not show device details
     797# fvctl --passwd-file=/etc/flowvisor.passwd getDeviceInfo 06:d6:6c:3b:e5:68:00:00
     798
     799#Slices
     800lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd listSlices
     801Slice 0: fvadmin
     802lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd getSliceInfo fvadmin
     803Got reply:
     804drop_policy=exact
     805contact_email=fvadmin@localhost
     806controller_hostname=none
     807controller_port=0
     808creator=fvadmin
     809lnevers@flowvisor:~$
     810}}}
     811
     812Check the FlowVisor setting:
     813{{{
     814lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd dumpConfig /tmp/flowvisor-config
     815lnevers@flowvisor:~$ cat /tmp/flowvisor-config
     816{
     817   "flowvisor": [
     818      {
     819         "api_webserver_port": 8080,
     820         "api_jetty_webserver_port": -1,
     821         "checkpointing": false,
     822         "listen_port": 6633,
     823         "track_flows": false,
     824         "stats_desc_hack": false,
     825         "run_topology_server": false,
     826         "logging": "NOTE",
     827         "log_ident": "flowvisor",
     828         "log_facility": "LOG_LOCAL7",
     829         "version": "flowvisor-0.9",
     830         "host": "localhost",
     831         "default_flood_perm": "fvadmin",
     832         "config_name": "default"
     833      }
     834   ],
     835   "Slice": [
     836      {
     837         "config_name": "default",
     838         "flowmap_type": "federated",
     839         "name": "fvadmin",
     840         "creator": "fvadmin",
     841         "passwd_crypt": "xxx",
     842         "passwd_salt": "xxx",
     843         "controller_hostname": "none",
     844         "controller_port": 0,
     845         "contact_email": "fvadmin@localhost",
     846         "drop_policy": "exact",
     847         "lldp_spam": true
     848      }
     849   ],
     850   "FlowSpaceRule": []
     851}lnevers@flowvisor:~$
     852
     853}}}
    591854----
    592855{{{