Changes between Version 9 and Version 10 of GENIRacksHome/ExogeniRacks/ConfirmationTestStatus/PSC


Ignore:
Timestamp:
05/01/17 09:39:29 (7 years ago)
Author:
lnevers@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIRacksHome/ExogeniRacks/ConfirmationTestStatus/PSC

    v9 v10  
    575575
    576576No meso-scale available, see PSC Stitching !OpenFlow test [wiki:GeniNetworkStitchingConfirmationTestStatus/PSC#IG-ST-6NewSiteOpenFlowtopology IG-ST-6] status.
     577
     578
     579== EG-CT-6 - Administrative Tests ==
     580
     581Administrator accounts on an ExoGENI rack are documented at https://wiki.exogeni.net/doku.php?id=public:operators:start,  with https://wiki.exogeni.net/doku.php?id=public:operators:start#authentication_authorization proving insight into accounts creation and usage.
     582
     583With requested account accessed rack head node and verified root access and group membership:
     584{{{
     585LNM:~$ ssh psc-hn.exogeni.net
     586lnevers@psc-hn.exogeni.net's password:
     587Last login: Sat Apr 29 01:43:41 2017 from dhcp152-54-9-188.europa.renci.org
     588|-----------------------------------------------------------------|
     589|                ____ ____ ____ ____ ____ ____ ____               |
     590|               ||E |||x |||o |||G |||E |||N |||I ||              |
     591|               ||__|||__|||__|||__|||__|||__|||__||              |
     592|               |/__\|/__\|/__\|/__\|/__\|/__\|/__\|              |
     593|                                                                 |
     594|-----------------------------------------------------------------|
     595[lnevers@psc-hn ~]$ sudo whoami
     596[sudo] password for lnevers:
     597root
     598[lnevers@psc-hn ~]$ id
     599uid=2556(lnevers) gid=2000(nonrenci) groups=2000(nonrenci),2500(fiuadmins),2501(uhadmins),2507(ufladmins),2508(osfadmins),2510(sladmins),2511(wvnadmins),2513(tamuadmins),2515(wsuadmins),2519(cienaadmins),2523(unfadmins),2524(ciena2admins),9500(xoadmins),9503(geni-imf),9510(bbnadmins)
     600[lnevers@psc-hn ~]$
     601}}}
     602
     603From head node verified login and administrative access to each of the worker nodes that supply VMs.
     604{{{
     605[lnevers@psc-hn ~]$ for i in 1 2 3 4 5 6 7 8; do sudo ssh root@psc-w$i "echo -n 'Executing on: ' ; hostname;whoami;uname -a"; done
     606Executing on: psc-w1
     607root
     608Linux psc-w1 2.6.32-642.11.1.el6.x86_64 #1 SMP Fri Nov 18 19:25:05 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
     609Executing on: psc-w2
     610root
     611Linux psc-w2 2.6.32-642.11.1.el6.x86_64 #1 SMP Fri Nov 18 19:25:05 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
     612Executing on: psc-w3
     613root
     614Linux psc-w3 2.6.32-642.11.1.el6.x86_64 #1 SMP Fri Nov 18 19:25:05 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
     615Executing on: psc-w4
     616root
     617Linux psc-w4 2.6.32-642.11.1.el6.x86_64 #1 SMP Fri Nov 18 19:25:05 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
     618Executing on: psc-w5
     619root
     620Linux psc-w5 2.6.32-642.11.1.el6.x86_64 #1 SMP Fri Nov 18 19:25:05 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
     621Executing on: psc-w6
     622root
     623Linux psc-w6 2.6.32-642.11.1.el6.x86_64 #1 SMP Fri Nov 18 19:25:05 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
     624Executing on: psc-w7
     625root
     626Linux psc-w7 2.6.32-642.11.1.el6.x86_64 #1 SMP Fri Nov 18 19:25:05 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
     627Executing on: psc-w8
     628root
     629Linux psc-w8 2.6.32-642.11.1.el6.x86_64 #1 SMP Fri Nov 18 19:25:05 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
     630[lnevers@psc-hn ~]$
     631}}}
     632
     633Connect to the management switch:
     634{{{
     635[lnevers@psc-hn ~]$ ssh psc-8052.psc.xo
     636
     637>ena
     638
     639show interface status
     640show version
     641show vlan
     642}}}
     643
     644}}}
     645
     646Connect to the !OpenFlow switch:
     647{{{
     648[lnevers@psc-hn ~]$ ssh psc-8052.psc.xo
     649The authenticity of host 'psc-8052.psc.xo (192.168.118.2)' can't be established.
     650DSA key fingerprint is 9d:2b:da:99:3b:70:33:19:b8:49:a4:13:28:03:45:0a.
     651Are you sure you want to continue connecting (yes/no)? yes
     652Warning: Permanently added 'psc-8052.psc.xo,192.168.118.2' (DSA) to the list of known hosts.
     653Enter radius password:
     654
     655IBM Networking Operating System RackSwitch G8052.
     656
     657
     658psc-8052.psc.xo>ena
     659
     660Enable privilege granted.
     661psc-8052.psc.xo#show interface status
     662------------------------------------------------------------------
     663Alias   Port   Speed    Duplex     Flow Ctrl      Link       Name
     664------- ----   -----   --------  --TX-----RX--   ------     ------
     6651        1        any      any      no     no      down      1       
     6662        2        100     full      no     no       up       2       
     6673        3       1000     full      no     no       up       3       
     6684        4       1000     full      no     no       up       4       
     6695        5       1000     full      no     no       up       5       
     6706        6       1000     full      no     no       up       6       
     6717        7       1000     full      no     no       up       7       
     6728        8       1000     full      no     no       up       8       
     6739        9       1000     full      no     no       up       9       
     67410       10      1000     full      no     no       up       10     
     67511       11      1000     full      no     no       up       11     
     67612       12      1000     full      no     no       up       12     
     67713       13      1000     full      no     no       up       13     
     67814       14      1000     full      no     no       up       14     
     67915       15       any      any      no     no      down      15     
     68016       16       any      any      no     no      down      16     
     68117       17       any      any      no     no      down      17     
     68218       18       any      any      no     no      down      18     
     68319       19       any      any      no     no      down      19     
     68420       20       any      any      no     no      down      20     
     68521       21       any      any      no     no      down      21     
     68622       22       any      any      no     no      down      22     
     68723       23       any      any      no     no      down      23     
     68824       24       any      any      no     no      down      24     
     68925       25       any      any      no     no      down      25     
     69026       26       any      any      no     no      down      26     
     69127       27       any      any      no     no      down      27     
     69228       28       any      any      no     no      down      28     
     69329       29       any      any      no     no      down      29     
     69430       30       any      any      no     no      down      30     
     69531       31       any      any      no     no      down      31     
     69632       32       any      any      no     no      down      32     
     69733       33       any      any      no     no      down      33     
     69834       34       any      any      no     no      down      34     
     69935       35      1000     full      no     no       up       iSCSI Appliance
     70036       36      1000     full      no     no       up       headnode second embedded nic (em3)
     70137       37      1000     full      no     no       up       37     
     70238       38      1000     full      no     no       up       38     
     70339       39      1000     full      no     no       up       39     
     70440       40      1000     full      no     no       up       40     
     70541       41      1000     full      no     no       up       41     
     70642       42      1000     full      no     no       up       42     
     70743       43      1000     full      no     no       up       43     
     70844       44      1000     full      no     no       up       44     
     70945       45       100     full      no     no       up       45     
     71046       46       any      any      no     no      down      46     
     71147       47       any      any      no     no      down      47     
     71248       48       any      any      no     no      down      48     
     713XGE1     49     10000*    full*     no*    no*     down      XGE1   
     714XGE2     50     10000     full      no     no       up       XGE2   
     715XGE3     51     10000     full     yes    yes       up       XGE3   
     716XGE4     52     10000     full      no     no       up       XGE4   
     717* = value set by configuration; not autonegotiated.
     718psc-8052.psc.xo#                         
     719psc-8052.psc.xo#show version brief
     720                             ^
     721% Invalid input detected at '^' marker.
     722psc-8052.psc.xo#show version       
     723System Information at  9:35:07 Mon May  1, 2017
     724Time zone: America/US/Eastern
     725Daylight Savings Time Status: Enabled
     726
     727IBM Networking Operating System RackSwitch G8052
     728
     729Switch has been up for 139 days, 9 hours, 45 minutes and 5 seconds.
     730Last boot:  8:27:17 Wed Dec 14, 2016 (power cycle)
     731
     732MAC address: a8:97:dc:c0:a7:00    IP (If 1) address: 192.168.118.2
     733Hardware Revision:
     734Board Revision:
     735Switch Serial No: Y014CM45M008
     736Hardware Part No: 00AY327        Spare Part No: 00AY327
     737Manufacturing date: 14/21
     738
     739MTM: 7309HC1
     740ESN: MM48440
     741Software Version 7.2.2.0 (FLASH image1), active configuration.
     742
     743
     744Temperature    Top: 31 C
     745Temperature Bottom: 36 C
     746Temperature Fan Ctrl 88: 33 C
     747Temperature Fan Ctrl 8a: 62 C
     748Temperature Fan Ctrl 8c: 45 C
     749Temperature Phy 0x01: 67 C
     750Temperature Phy 0x09: 61 C
     751Temperature Phy 0x11: 45 C
     752Temperature Phy 0x21: 47 C
     753Temperature Phy 0x29: 70 C
     754Temperature Phy 0x31: 59 C
     755
     756Warning at 55 C and Recover at 80 C
     757
     758Fan 1 in Module 1: Not Installed
     759Fan 2 in Module 1: Not Installed
     760Fan 3 in Module 2: RPM= 8059 PWM= 25 ( 9%) Back-To-Front [J]
     761Fan 4 in Module 2: RPM= 3266 PWM= 25 ( 9%) Back-To-Front [J]
     762Fan 5 in Module 3: RPM= 7627 PWM= 25 ( 9%) Back-To-Front [J]
     763Fan 6 in Module 3: RPM= 3197 PWM= 25 ( 9%) Back-To-Front [J]
     764Fan 7 in Module 4: RPM= 7552 PWM= 25 ( 9%) Back-To-Front [J]
     765Fan 8 in Module 4: RPM= 3099 PWM= 25 ( 9%) Back-To-Front [J]
     766
     767System Fan Airflow: Back-To-Front
     768
     769Power Supply 1: OK
     770Power Supply 2: OK
     771
     772  Power Faults: ()
     773    Fan Faults: ()
     774Service Faults: ()
     775
     776psc-8052.psc.xo#show vlan
     777VLAN                Name                Status            Ports
     778----  --------------------------------  ------  -------------------------
     7791     Default VLAN                      ena     17-34 37-44 47
     7801006  ExoGENI Management                ena     1-16 48-XGE4
     7811007  openstack workers                 ena     35 37-44 XGE2 XGE4
     7821008  baremetal workers                 ena     45 46 XGE2 XGE4
     7831010  Public Connectivity               ena     36
     7841011  openstack VMs                     ena     37-44 XGE2 XGE4
     785psc-8052.psc.xo#
     786
     787}}}
     788
     789Verify FOAM and !FlowVisor configuration files ownership and paths:
     790{{{
     791[lnevers@psc-hn ~]$ ls -l /etc/foam.passwd  /etc/flowvisor.passwd /etc/flowvisor/fvpasswd /opt/foam/etc/foampasswd
     792lrwxrwxrwx 1 root      flowvisor 21 Nov 24  2014 /etc/flowvisor/fvpasswd -> /etc/flowvisor.passwd
     793-r--r----- 1 flowvisor pscadmins 25 Nov 24  2014 /etc/flowvisor.passwd
     794-r--r----- 1 root      pscadmins 25 Nov 24  2014 /etc/foam.passwd
     795lrwxrwxrwx 1 root      root      16 Nov 24  2014 /opt/foam/etc/foampasswd -> /etc/foam.passwd
     796}}}
     797
     798Check FOAM version and FOAM configuration for site.admin.email, geni.site-tag, email.from settings on the PSC head node:
     799{{{
     800[lnevers@psc-hn ~]$ sudo foamctl admin:get-version  --passwd-file=/etc/foam.passwd
     801{
     802 "version": "0.14.0"
     803}
     804[lnevers@psc-hn ~]$
     805[lnevers@psc-hn ~]$ sudo foamctl admin:get-version  --passwd-file=/etc/foam.passwd
     806{
     807 "version": "0.14.0"
     808}
     809[lnevers@psc-hn ~]$ sudo foamctl config:get-value --key="site.admin.email"  --passwd-file=/opt/foam/etc/foampasswd
     810{
     811 "value": "foam-admin@gpolab.bbn.com"
     812}
     813[lnevers@psc-hn ~]$ sudo foamctl config:get-value --key="geni.site-tag"  --passwd-file=/opt/foam/etc/foampasswd
     814{
     815 "value": "psc-hn.exogeni.net"
     816}
     817[lnevers@psc-hn ~]$ sudo foamctl config:get-value --key="email.from"  --passwd-file=/opt/foam/etc/foampasswd
     818{
     819 "value": null
     820}
     821[lnevers@psc-hn ~]$ sudo foamctl config:get-value --key="geni.approval.approve-on-creation"  --passwd-file=/opt/foam/etc/foampasswd
     822{
     823 "value": 0
     824}
     825[lnevers@psc-hn ~]$
     826}}}
     827Show FOAM slivers details:
     828{{{
     829[lnevers@psc-hn ~]$ sudo foamctl geni:list-slivers --passwd-file=/opt/foam/etc/foampasswd
     830{
     831 "slivers": []
     832}
     833[lnevers@psc-hn ~]$
     834}}}
     835
     836Check the !FlowVisor version, list of devices, get details for a device, list of active slices, and details for one of the slices on the PSC Head node:
     837{{{
     838[lnevers@psc-hn ~]$ sudo /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd ping hello
     839Got reply:
     840PONG(fvadmin): FV version=flowvisor-0.8.1::hello
     841[lnevers@psc-hn ~]$ sudo /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd listDevices
     842[lnevers@psc-hn ~]$ sudo /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd getDeviceInfo
     843command 'getDeviceInfo' takes 1 args: only 0 given
     844getDeviceInfo <dpid>
     845[lnevers@psc-hn ~]$ sudo /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd listSlices
     846Slice 0: bob
     847Slice 1: fvadmin
     848Slice 2: alice
     849lnevers@psc-hn ~]$ sudo /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd getSliceInfo fvadmin
     850Got reply:
     851contact_email=fvadmin@localhost
     852controller_hostname=localhost
     853controller_port=25838
     854creator=fvadmin
     855[lnevers@psc-hn ~]$
     856}}}
     857
     858----
     859{{{
     860#!html
     861Email <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!
     862}}}