Changes between Version 14 and Version 15 of GENIRacksHome/InstageniRacks/ConfirmationTestStatus/MOXI


Ignore:
Timestamp:
06/12/14 13:01:48 (5 years ago)
Author:
lnevers@bbn.com
Comment:

--

Legend:

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

    v14 v15  
    10061006
    10071007== IG-CT-5 - Experiment Monitoring ==
     1008
    10081009== IG-CT-6 - Administrative Tests ==
     1010Sent request for administrative account to site contact from the [http://groups.geni.net/geni/wiki/GeniAggregate/MOXIInstaGENI MOXI 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.moxi.edu/joinproject.php3.   Once the administrative account was approved and the membership to emulab-ops was granted, proceeded to execute administrative tests. 
     1011
     1012{{{
     1013LNM:~$ ssh control.instageni.iu.edu
     1014The authenticity of host 'control.instageni.iu.edu (149.165.249.3)' can't be established.
     1015DSA key fingerprint is 5f:6d:55:ed:85:60:80:bc:69:41:7c:72:d8:6a:31:14.
     1016Are you sure you want to continue connecting (yes/no)? yes
     1017Warning: Permanently added 'control.instageni.iu.edu,149.165.249.3' (DSA) to the list of known hosts.
     1018Welcome to Ubuntu precise (development branch) (GNU/Linux 3.2.0-23-generic x86_64)
     1019
     1020 * Documentation:  https://help.ubuntu.com/
     1021
     1022  System information as of Thu Jun 12 16:55:42 UTC 2014
     1023
     1024  System load:              0.0
     1025  Usage of /:               34.8% of 5.85GB
     1026  Memory usage:             35%
     1027  Swap usage:               0%
     1028  Processes:                164
     1029  Users logged in:          0
     1030  IP address for xenbr0:    149.165.249.3
     1031  IP address for xenbr0:1:  172.16.0.1
     1032  IP address for xenbr0:2:  10.249.249.253
     1033  IP address for xenbr1:    10.1.1.254
     1034  IP address for xenbr2:    10.2.1.254
     1035  IP address for xenbr3:    10.3.1.254
     1036  IP address for eth1.2486: 149.165.243.5
     1037  IP address for tun0:      10.8.0.1
     1038
     1039  Graph this data and manage this system at https://landscape.canonical.com/
     1040
     1041The programs included with the Ubuntu system are free software;
     1042the exact distribution terms for each program are described in the
     1043individual files in /usr/share/doc/*/copyright.
     1044
     1045Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
     1046applicable law.
     1047
     1048To run a command as administrator (user "root"), use "sudo <command>".
     1049See "man sudo_root" for details.
     1050
     1051lnevers@moxi:~$ sudo whoami
     1052root
     1053lnevers@moxi:~$ uname -a
     1054Linux moxi.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
     1055lnevers@moxi:~$
     1056}}}
     1057
     1058Also access the boss node:
     1059{{{
     1060LNM:~$ ssh  boss.instageni.iu.edu
     1061
     1062sudo whoami
     1063}}}
     1064
     1065From boss node accessed each of the experiment nodes that support VMs:
     1066{{{
     1067[lnevers@boss ~]$ for i in pc1 pc2 pc3; do ssh $i "echo -n '===> Host: ';hostname;sudo whoami;uname -a;echo"; done
     1068
     1069}}}
     1070
     1071In 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):
     1072{{{
     1073[lnevers@boss ~]$ sudo ssh pc4
     1074 sudo whoami
     1075 uname -a
     1076 exit
     1077
     1078[lnevers@boss ~]$ sudo ssh pc5
     1079 sudo whoami
     1080 uname -a
     1081 exit
     1082}}}
     1083
     1084Further verified access by ssh from ops.instageni.gpolab.bbn.com to boss.instageni.gpolab.bbn.com, which is usually restricted for non-admin users:
     1085{{{
     1086LNM:~$ ssh  ops.instageni.iu.edu
     1087
     1088}}}
     1089Access infrastructure switches using documented password. First connect to the switch named procurve1 the control network switch:
     1090{{{
     1091[lnevers@boss ~]$ sudo more /usr/testbed/etc/switch.pswd
     1092XXXXXXXXX
     1093[lnevers@boss ~]$ telnet procurve1
     1094
     1095
     1096}}}
     1097
     1098Connect to the switch named procurve2 the dataplane network switch via ssh using the documented password:
     1099{{{
     1100[lnevers@boss ~]$ sudo more /usr/testbed/etc/switch.pswd
     1101xxxxxxx
     1102[lnevers@boss ~]$ ssh manager@procurve2
     1103}}}
     1104
     1105Access the FOAM VM and gather information for version
     1106{{{
     1107LNM:~$ ssh lnevers@foam.moxi.net
     1108
     1109sudo foamctl admin:get-version  --passwd-file=/etc/foam.passwd
     1110
     1111}}}
     1112Check FOAM configuration for  site.admin.email, geni.site-tag, email.from settings:
     1113{{{
     1114foamctl config:get-value --key="site.admin.email"  --passwd-file=/etc/foam.passwd
     1115
     1116foamctl config:get-value --key="geni.site-tag"  --passwd-file=/etc/foam.passwd
     1117
     1118foamctl config:get-value --key="email.from"  --passwd-file=/etc/foam.passwd
     1119
     1120# check if FOAM auto-approve is on. Value 2 = auto-approve is on.
     1121
     1122foamctl config:get-value --key="geni.approval.approve-on-creation"  --passwd-file=/etc/foam.passwd
     1123
     1124}}}
     1125
     1126Show FOAM slivers details:
     1127
     1128{{{
     1129foamctl geni:list-slivers --passwd-file=/etc/foam.passwd
     1130
     1131}}}
     1132Access the FlowVisor VM and gather version information:
     1133{{{
     1134
     1135ssh lnevers@flowvisor.moxi.net
     1136}}}
     1137Check the !FlowVisor version, list of devices, get details for a device, list of active slices, and details for one of the slices:
     1138{{{     
     1139
     1140fvctl --passwd-file=/etc/flowvisor.passwd ping hello
     1141
     1142# Devices
     1143fvctl --passwd-file=/etc/flowvisor.passwd listDevices
     1144
     1145fvctl --passwd-file=/etc/flowvisor.passwd getDeviceInfo 06:d6:6c:3b:e5:68:00:00
     1146
     1147#Slices
     1148fvctl --passwd-file=/etc/flowvisor.passwd listSlices
     1149
     1150fvctl --passwd-file=/etc/flowvisor.passwd getSliceInfo 5c956f94-5e05-40b5-948f-34d0149d9182
     1151
     1152}}}
     1153
     1154Check the FlowVisor setting:
     1155{{{
     1156fvctl --passwd-file=/etc/flowvisor.passwd dumpConfig /tmp/flowvisor-config
     1157more /tmp/flowvisor-config
     1158
     1159}}}
     1160
    10091161
    10101162----