Changes between Version 5 and Version 6 of GENIRacksHome/InstageniRacks/ConfirmationTestStatus/UTC


Ignore:
Timestamp:
02/11/15 14:01:50 (9 years ago)
Author:
lnevers@bbn.com
Comment:

--

Legend:

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

    v5 v6  
    545545
    546546== IG-CT-6 - Administrative Tests ==
     547Sent request for administrative account to site contact from the [http://groups.geni.net/geni/wiki/GeniAggregate/UniversityOfTennesseeInstaGENI  University of Tennesses 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.utc.edu/joinproject.php3.   Once the administrative account was approved and the membership to emulab-ops was granted, proceeded to execute administrative tests. 
     548
     549{{{
     550LNM:~$ ssh control.instageni.utc.edu
     551The authenticity of host 'control.instageni.utc.edu (150.182.135.3)' can't be established.
     552DSA key fingerprint is 3a:b8:3f:3f:77:66:88:c0:c9:8d:dc:14:38:1e:ce:af.
     553Are you sure you want to continue connecting (yes/no)? yes
     554Warning: Permanently added 'control.instageni.utc.edu,150.182.135.3' (DSA) to the list of known hosts.
     555Welcome to Ubuntu precise (development branch) (GNU/Linux 3.2.0-23-generic x86_64)
     556
     557 * Documentation:  https://help.ubuntu.com/
     558
     559  System information as of Wed Feb 11 18:51:45 UTC 2015
     560
     561  System load:             0.0
     562  Usage of /:              32.4% of 5.85GB
     563  Memory usage:            38%
     564  Swap usage:              0%
     565  Processes:               132
     566  Users logged in:         1
     567  IP address for xenbr0:   150.182.135.3
     568  IP address for xenbr0:1: 172.16.0.1
     569  IP address for xenbr0:2: 10.249.249.253
     570  IP address for xenbr1:   10.1.1.254
     571  IP address for xenbr2:   10.2.1.254
     572  IP address for xenbr3:   10.3.1.254
     573  IP address for tun0:     10.8.0.1
     574
     575  Graph this data and manage this system at https://landscape.canonical.com/
     576New release '14.04.1 LTS' available.
     577Run 'do-release-upgrade' to upgrade to it.
     578
     579
     580The programs included with the Ubuntu system are free software;
     581the exact distribution terms for each program are described in the
     582individual files in /usr/share/doc/*/copyright.
     583
     584Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
     585applicable law.
     586
     587To run a command as administrator (user "root"), use "sudo <command>".
     588See "man sudo_root" for details.
     589
     590lnevers@utc:~$ sudo whoami
     591root
     592lnevers@utc:~$ uname -a
     593Linux utc.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
     594lnevers@utc:~$
     595}}}
     596
     597Also access the boss node:
     598{{{
     599LNM:~$ ssh boss.instageni.utc.edu
     600The authenticity of host 'boss.instageni.utc.edu (150.182.135.4)' can't be established.
     601RSA key fingerprint is 46:63:92:67:c8:75:20:4e:52:9f:2d:f6:cb:58:16:77.
     602Are you sure you want to continue connecting (yes/no)? yes
     603Warning: Permanently added 'boss.instageni.utc.edu,150.182.135.4' (RSA) to the list of known hosts.
     604FreeBSD 9.0-STABLE (TESTBED-XEN) #0: Mon Mar  3 15:37:17 MST 2014
     605
     606Welcome to FreeBSD!
     607
     608You can permanently set environment variables for your shell by putting them
     609in a startup file for the shell.  The name of the startup file varies
     610depending on the shell - csh and tcsh uses .login, bash, sh, ksh and zsh use
     611.profile.  When using bash, sh, ksh or zsh, don't forget to export the
     612variable.
     613> bash
     614[lnevers@boss ~]$ sudo whoami
     615root
     616[lnevers@boss ~]$ uname -a
     617FreeBSD boss.instageni.utc.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
     618[lnevers@boss ~]$
     619}}}
     620
     621From boss node accessed each of the experiment nodes that support VMs:
     622{{{
     623[lnevers@boss ~]$ for i in pc1 pc2 pc3; do ssh $i "echo -n '===> Host: ';hostname;sudo whoami;uname -a;echo"; done
     624Warning: Permanently added 'pc1.instageni.utc.edu' (RSA) to the list of known hosts.
     625===> Host: vhost1.shared-nodes.emulab-ops.instageni.utc.edu
     626root
     627Linux vhost1.shared-nodes.emulab-ops.instageni.utc.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
     628
     629Warning: Permanently added 'pc2.instageni.utc.edu' (RSA) to the list of known hosts.
     630===> Host: vhost2.shared-nodes.emulab-ops.instageni.utc.edu
     631root
     632Linux vhost2.shared-nodes.emulab-ops.instageni.utc.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
     633
     634Warning: Permanently added 'pc3.instageni.utc.edu' (RSA) to the list of known hosts.
     635===> Host: vhost3.shared-nodes.emulab-ops.instageni.utc.edu
     636root
     637Linux vhost3.shared-nodes.emulab-ops.instageni.utc.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
     638
     639[lnevers@boss ~]$
     640
     641
     642}}}
     643
     644In 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):
     645{{{
     646[lnevers@boss ~]$ for i in pc4 pc5 ; do sudo ssh $i "echo -n '===> Host: ';hostname;whoami;uname -a;echo"; done
     647===> Host: pc2.ln2pc.ch-geni-net.instageni.utc.edu
     648root
     649Linux pc2.ln2pc.ch-geni-net.instageni.utc.edu 2.6.40-4.emulab2.fc15.i686.PAE #1 SMP Tue Feb 26 13:35:12 MST 2013 i686 i686 i386 GNU/Linux
     650
     651===> Host: pc.ln2pc.ch-geni-net.instageni.utc.edu
     652root
     653Linux pc.ln2pc.ch-geni-net.instageni.utc.edu 2.6.40-4.emulab2.fc15.i686.PAE #1 SMP Tue Feb 26 13:35:12 MST 2013 i686 i686 i386 GNU/Linux
     654
     655[lnevers@boss ~]$
     656}}}
     657
     658Further verified access by ssh from ops.instageni.gpolab.bbn.com to boss.instageni.gpolab.bbn.com, which is usually restricted for non-admin users:
     659{{{
     660LNM:~$ ssh ops.instageni.utc.edu
     661The authenticity of host 'ops.instageni.utc.edu (150.182.135.5)' can't be established.
     662RSA key fingerprint is 46:63:92:67:c8:75:20:4e:52:9f:2d:f6:cb:58:16:77.
     663Are you sure you want to continue connecting (yes/no)? yes
     664Warning: Permanently added 'ops.instageni.utc.edu,150.182.135.5' (RSA) to the list of known hosts.
     665FreeBSD 9.0-STABLE (TESTBED-XEN) #0: Mon Mar  3 15:37:17 MST 2014
     666
     667Welcome to FreeBSD!
     668
     669To change an environment variable in /bin/sh use:
     670
     671        $ VARIABLE="value"
     672        $ export VARIABLE
     673> bash
     674[lnevers@ops ~]$ sudo whoami
     675root
     676[lnevers@ops ~]$ uname -a
     677FreeBSD ops.instageni.utc.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
     678[lnevers@ops ~]$
     679[lnevers@ops ~]$ ssh boss
     680The authenticity of host 'boss.instageni.utc.edu (150.182.135.4)' can't be established.
     681ECDSA key fingerprint is bd:05:23:a7:5b:cc:78:c8:8c:a8:d3:e9:f7:27:53:cb.
     682Are you sure you want to continue connecting (yes/no)? yes
     683Warning: Permanently added 'boss.instageni.utc.edu' (ECDSA) to the list of known hosts.
     684Last login: Wed Feb 11 13:52:25 2015 from dhcp89-73-116.bbn.com
     685FreeBSD 9.0-STABLE (TESTBED-XEN) #0: Mon Mar  3 15:37:17 MST 2014
     686
     687Welcome to FreeBSD!
     688
     689Man pages are divided into section depending on topic.  There are 9 different
     690sections numbered from 1 (General Commands) to 9 (Kernel Developer's Manual).
     691You can get an introduction to each topic by typing
     692
     693        man <number> intro
     694
     695In other words, to get the intro to general commands, type
     696
     697        man 1 intro
     698> bash
     699[lnevers@boss ~]$
     700
     701}}}
     702Access infrastructure switches using documented password. First connect to the switch named procurve1 the control network switch:
     703{{{
     704[lnevers@boss ~]$ sudo more /usr/testbed/etc/switch.pswd
     705XXXXXXXXX
     706[lnevers@boss ~]$ telnet procurve1
     707
     708
     709}}}
     710
     711Connect to the switch named procurve2 the dataplane network switch via ssh using the documented password:
     712{{{
     713[lnevers@boss ~]$ sudo more /usr/testbed/etc/switch.pswd
     714xxxxxxx
     715[lnevers@boss ~]$ ssh manager@procurve2
     716}}}
     717
     718Access the FOAM VM and gather information for version
     719{{{
     720LNM:~$  ssh lnevers@foam.instageni.utc.edu
     721The authenticity of host 'foam.instageni.utc.edu (150.182.135.6)' can't be established.
     722RSA key fingerprint is 7b:a5:d8:29:49:61:bc:97:7d:0e:17:4b:19:23:05:e3.
     723Are you sure you want to continue connecting (yes/no)? yes
     724Warning: Permanently added 'foam.instageni.utc.edu,150.182.135.6' (RSA) to the list of known hosts.
     725Welcome to Ubuntu 12.04.5 LTS (GNU/Linux 3.2.0-75-generic x86_64)
     726
     727 * Documentation:  https://help.ubuntu.com/
     728New release '14.04.1 LTS' available.
     729Run 'do-release-upgrade' to upgrade to it.
     730
     731
     732The programs included with the Ubuntu system are free software;
     733the exact distribution terms for each program are described in the
     734individual files in /usr/share/doc/*/copyright.
     735
     736Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
     737applicable law.
     738
     739lnevers@foam:~$ sudo whoami
     740root
     741lnevers@foam:~$ uname -a
     742Linux foam 3.2.0-75-generic #110-Ubuntu SMP Tue Dec 16 19:11:55 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
     743lnevers@foam:~$ sudo foamctl admin:get-version  --passwd-file=/etc/foam.passwd
     744{
     745 "version": "0.14.0"
     746}
     747lnevers@foam:~$
     748}}}
     749Check FOAM configuration for  site.admin.email, geni.site-tag, email.from settings:
     750{{{
     751lnevers@foam:~$ foamctl config:get-value --key="site.admin.email"  --passwd-file=/etc/foam.passwd
     752{
     753 "value": null
     754}
     755lnevers@foam:~$
     756lnevers@foam:~$ foamctl config:get-value --key="geni.site-tag"  --passwd-file=/etc/foam.passwd
     757{
     758 "value": "foam.instageni.utc.edu"
     759}
     760lnevers@foam:~$
     761lnevers@foam:~$ foamctl config:get-value --key="email.from"  --passwd-file=/etc/foam.passwd
     762{
     763 "value": "christopher-howard@utc.edu"
     764}
     765
     766
     767# check if FOAM auto-approve is on. Value 2 = auto-approve is on.
     768
     769lnevers@foam:~$ foamctl config:get-value --key="geni.approval.approve-on-creation"  --passwd-file=/etc/foam.passwd
     770{
     771 "value": 2
     772}
     773lnevers@foam:~$
     774
     775
     776}}}
     777
     778Show FOAM slivers details:
     779
     780{{{
     781lnevers@foam:~$ foamctl geni:list-slivers --passwd-file=/etc/foam.passwd
     782{
     783 "slivers": []
     784}
     785
     786}}}
     787Access the FlowVisor VM and gather version information:
     788{{{
     789
     790LNM:~$ ssh flowvisor.instageni.utc.edu
     791The authenticity of host 'flowvisor.instageni.utc.edu (150.182.135.7)' can't be established.
     792RSA key fingerprint is 63:e3:de:a2:22:19:68:f0:3a:3f:d8:8c:0f:e6:42:4b.
     793Are you sure you want to continue connecting (yes/no)? yes
     794Warning: Permanently added 'flowvisor.instageni.utc.edu,150.182.135.7' (RSA) to the list of known hosts.
     795Welcome to Ubuntu 12.04.5 LTS (GNU/Linux 3.2.0-75-generic x86_64)
     796
     797 * Documentation:  https://help.ubuntu.com/
     798New release '14.04.1 LTS' available.
     799Run 'do-release-upgrade' to upgrade to it.
     800
     801
     802The programs included with the Ubuntu system are free software;
     803the exact distribution terms for each program are described in the
     804individual files in /usr/share/doc/*/copyright.
     805
     806Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
     807applicable law.
     808
     809sudlnevers@flowvisor:~$ sudo whoami
     810root
     811lnevers@flowvisor:~$ uname -a
     812Linux flowvisor 3.2.0-75-generic #110-Ubuntu SMP Tue Dec 16 19:11:55 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
     813lnevers@flowvisor:~$
     814}}}
     815Check the !FlowVisor version, list of devices, get details for a device, list of active slices, and details for one of the slices:
     816{{{     
     817
     818lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd ping hello
     819Got reply:
     820PONG(fvadmin): FV version=flowvisor-0.8.17::hello
     821lnevers@flowvisor:~$
     822
     823# Devices
     824lnevers@flowvisor:~$ fvctl --passwd-file=/etc/flowvisor.passwd listDevices
     825lnevers@flowvisor:~$
     826
     827fvctl --passwd-file=/etc/flowvisor.passwd getDeviceInfo XXX
     828
     829#Slices
     830fvctl --passwd-file=/etc/flowvisor.passwd listSlices
     831
     832fvctl --passwd-file=/etc/flowvisor.passwd getSliceInfo xxxx
     833}}}
     834
     835Check the FlowVisor setting:
     836{{{
     837fvctl --passwd-file=/etc/flowvisor.passwd dumpConfig /tmp/flowvisor-config
     838more /tmp/flowvisor-config
     839
     840}}}
     841
    547842
    548843----