Changes between Version 6 and Version 7 of GENIRacksHome/CiscoGENIRacks/AcceptanceTestStatus/CG-ADM-1


Ignore:
Timestamp:
12/08/14 13:41:59 (9 years ago)
Author:
lnevers@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIRacksHome/CiscoGENIRacks/AcceptanceTestStatus/CG-ADM-1

    v6 v7  
    224224{{{
    225225LNM:~$ ssh ncsu-hn.exogeni.net
    226 
    227 
    228 
    229 sudo whoami
    230 
    231 id
    232 
     226The authenticity of host 'ncsu-hn.exogeni.net (152.48.13.3)' can't be established.
     227RSA key fingerprint is e0:ad:3d:c7:33:02:84:66:1e:44:7d:30:4d:20:5b:07.
     228Are you sure you want to continue connecting (yes/no)? yes
     229Warning: Permanently added 'ncsu-hn.exogeni.net,152.48.13.3' (RSA) to the list of known hosts.
     230lnevers@ncsu-hn.exogeni.net's password:
     231|-----------------------------------------------------------------|
     232|                ____ ____ ____ ____ ____ ____ ____               |
     233|               ||E |||x |||o |||G |||E |||N |||I ||              |
     234|               ||__|||__|||__|||__|||__|||__|||__||              |
     235|               |/__\|/__\|/__\|/__\|/__\|/__\|/__\|              |
     236|                                                                 |
     237|-----------------------------------------------------------------|
     238[lnevers@ncsu-hn ~]$ sudo whoami
     239
     240We trust you have received the usual lecture from the local System
     241Administrator. It usually boils down to these three things:
     242
     243    #1) Respect the privacy of others.
     244    #2) Think before you type.
     245    #3) With great power comes great responsibility.
     246
     247[sudo] password for lnevers:
     248root
     249[lnevers@ncsu-hn ~]$ id
     250uid=2107(lnevers) gid=2000(nonrenci) groups=2000(nonrenci),2502(ncsuadmins),2508(osfadmins),2509(ucdadmins),2510(sladmins),2512(ncsu2admins),2513(tamuadmins),9510(bbnadmins)
     251[lnevers@ncsu-hn ~]$
    233252}}}
    234253
    235254From head node verified login and administrative access to each of the worker nodes that supply VMs.
    236255{{{
    237 for i in 1 2 3 4 5 6 7 8; do sudo ssh root@ncsu-w$i "echo -n 'Executing on: ' ; hostname;whoami;uname -a"; done
    238 }}}
    239 
    240 For each worker node execute the following:
    241 {{{
    242 for i in 9 10; do sudo ssh root@ncsu-w$i "echo -n 'Executing on: ' ; hostname;whoami;uname -a"; done
     256[lnevers@ncsu-hn ~]$ for i in {1..13}; do sudo ssh root@ncsu-w$i "echo -n 'Executing on: ' ; hostname;whoami;uname -a"; done
     257Executing on: ncsu-w1
     258root
     259Linux ncsu-w1 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
     260Executing on: ncsu-w2
     261root
     262Linux ncsu-w2 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
     263Executing on: ncsu-w3
     264root
     265Linux ncsu-w3 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
     266Executing on: ncsu-w4
     267root
     268Linux ncsu-w4 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
     269Executing on: ncsu-w5
     270root
     271Linux ncsu-w5 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
     272Executing on: ncsu-w6
     273root
     274Linux ncsu-w6 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
     275Executing on: ncsu-w7
     276root
     277Linux ncsu-w7 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
     278Executing on: ncsu-w8
     279root
     280Linux ncsu-w8 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
     281Executing on: ncsu-w9
     282root
     283Linux ncsu-w9 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
     284Executing on: ncsu-w10
     285root
     286Linux ncsu-w10 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
     287Executing on: ncsu-w11
     288root
     289Linux ncsu-w11 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
     290Executing on: ncsu-w12
     291root
     292Linux ncsu-w12 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
     293Executing on: ncsu-w13
     294root
     295Linux ncsu-w13 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
     296[lnevers@ncsu-hn ~]$
     297}}}
     298
     299For each Bare Metal node execute the following:
     300{{{
     301for i in 14 15; do sudo ssh root@ncsu-w$i "echo -n 'Executing on: ' ; hostname;whoami;uname -a"; done
    243302}}}
    244303
     
    268327Verify FOAM and !FlowVisor configuration files ownership and paths:
    269328{{{
    270 [lnevers@ncsu-hn ~]$  ls -l /etc/foam.passwd  /etc/flowvisor.passwd /etc/flowvisor/fvpasswd /opt/foam/etc/foampasswd
     329[lnevers@ncsu-hn ~]$ ls -l /etc/foam.passwd  /etc/flowvisor.passwd /etc/flowvisor/fvpasswd /opt/foam/etc/foampasswd
     330lrwxrwxrwx  1 root      flowvisor  21 Feb 21  2013 /etc/flowvisor/fvpasswd -> /etc/flowvisor.passwd
     331-r--r-----  1 flowvisor ncsuadmins 25 Feb 20  2013 /etc/flowvisor.passwd
     332-r--r-----+ 1 root      ncsuadmins 25 Feb 20  2013 /etc/foam.passwd
     333lrwxrwxrwx  1 root      root       16 Feb 21  2013 /opt/foam/etc/foampasswd -> /etc/foam.passwd
     334[lnevers@ncsu-hn ~]$
    271335}}}
    272336
    273337Check FOAM version and FOAM configuration for site.admin.email, geni.site-tag, email.from settings on the NCSU head node:
    274338{{{
    275 }}}
    276 foamctl admin:get-version  --passwd-file=/etc/foam.passwd
    277 foamctl config:get-value --key="site.admin.email"  --passwd-file=/opt/foam/etc/foampasswd
    278 foamctl config:get-value --key="geni.site-tag"  --passwd-file=/opt/foam/etc/foampasswd
    279 foamctl config:get-value --key="email.from"  --passwd-file=/opt/foam/etc/foampasswd
    280 foamctl config:get-value --key="geni.approval.approve-on-creation"  --passwd-file=/opt/foam/etc/foampasswd
     339[lnevers@ncsu-hn ~]$ foamctl admin:get-version  --passwd-file=/etc/foam.passwd
     340Basic auth failed: invalid password
     341[lnevers@ncsu-hn ~]$ foamctl config:get-value --key="site.admin.email"  --passwd-file=/opt/foam/etc/foampasswd
     342Basic auth failed: invalid password
     343[lnevers@ncsu-hn ~]$ foamctl config:get-value --key="geni.site-tag"  --passwd-file=/opt/foam/etc/foampasswd
     344Basic auth failed: invalid password
     345[lnevers@ncsu-hn ~]$ foamctl config:get-value --key="email.from"  --passwd-file=/opt/foam/etc/foampasswd
     346Basic auth failed: invalid password
     347[lnevers@ncsu-hn ~]$ foamctl config:get-value --key="geni.approval.approve-on-creation"  --passwd-file=/opt/foam/etc/foampasswd
     348Basic auth failed: invalid password
     349[lnevers@ncsu-hn ~]$
     350}}}
     351'''Note: Fails as expected, no !OpenFlow for NCSU rack.'''
     352
     353
    281354Show FOAM slivers details:
    282355{{{
    283 foamctl geni:list-slivers --passwd-file=/opt/foam/etc/foampasswd
    284 
    285 }}}
     356[lnevers@ncsu-hn ~]$ foamctl geni:list-slivers --passwd-file=/opt/foam/etc/foampasswd
     357Basic auth failed: invalid password
     358}}}
     359'''Note: Fails as expected, no !OpenFlow for NCSU rack.'''
     360
    286361
    287362Check the !FlowVisor version, list of devices, get details for a device, list of active slices, and details for one of the slices on the NCSU Head node:
    288363{{{
    289 /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd ping hello
    290 /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd listDevices
    291 /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd getDeviceInfo
    292 /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd listSlices
    293 /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd getSliceInfo  urn
    294 
    295 }}}
     364[lnevers@ncsu-hn ~]$ /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd ping hello
     365Got reply:
     366PONG(fvadmin): FV version=flowvisor-0.8.1::hello
     367[lnevers@ncsu-hn ~]$ /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd listDevices
     368[lnevers@ncsu-hn ~]$ /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd listSlices
     369Slice 0: fvadmin
     370Slice 1: N3K-Test
     371[lnevers@ncsu-hn ~]$ /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd getSliceInfo  N3K-Test
     372Got reply:
     373contact_email=slice=tester@renci.org
     374controller_hostname=127.0.0.1
     375controller_port=60635
     376creator=fvadmin
     377[lnevers@ncsu-hn ~]$
     378}}}
     379
     380'''Note: No Device present as expected, no !OpenFlow at NCSU'''