| 1010 | Sent 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 | {{{ |
| 1013 | LNM:~$ ssh control.instageni.iu.edu |
| 1014 | The authenticity of host 'control.instageni.iu.edu (149.165.249.3)' can't be established. |
| 1015 | DSA key fingerprint is 5f:6d:55:ed:85:60:80:bc:69:41:7c:72:d8:6a:31:14. |
| 1016 | Are you sure you want to continue connecting (yes/no)? yes |
| 1017 | Warning: Permanently added 'control.instageni.iu.edu,149.165.249.3' (DSA) to the list of known hosts. |
| 1018 | Welcome 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 | |
| 1041 | The programs included with the Ubuntu system are free software; |
| 1042 | the exact distribution terms for each program are described in the |
| 1043 | individual files in /usr/share/doc/*/copyright. |
| 1044 | |
| 1045 | Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by |
| 1046 | applicable law. |
| 1047 | |
| 1048 | To run a command as administrator (user "root"), use "sudo <command>". |
| 1049 | See "man sudo_root" for details. |
| 1050 | |
| 1051 | lnevers@moxi:~$ sudo whoami |
| 1052 | root |
| 1053 | lnevers@moxi:~$ uname -a |
| 1054 | Linux 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 |
| 1055 | lnevers@moxi:~$ |
| 1056 | }}} |
| 1057 | |
| 1058 | Also access the boss node: |
| 1059 | {{{ |
| 1060 | LNM:~$ ssh boss.instageni.iu.edu |
| 1061 | |
| 1062 | sudo whoami |
| 1063 | }}} |
| 1064 | |
| 1065 | From 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 | |
| 1071 | In 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 | |
| 1084 | Further 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 | {{{ |
| 1086 | LNM:~$ ssh ops.instageni.iu.edu |
| 1087 | |
| 1088 | }}} |
| 1089 | Access 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 |
| 1092 | XXXXXXXXX |
| 1093 | [lnevers@boss ~]$ telnet procurve1 |
| 1094 | |
| 1095 | |
| 1096 | }}} |
| 1097 | |
| 1098 | Connect 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 |
| 1101 | xxxxxxx |
| 1102 | [lnevers@boss ~]$ ssh manager@procurve2 |
| 1103 | }}} |
| 1104 | |
| 1105 | Access the FOAM VM and gather information for version |
| 1106 | {{{ |
| 1107 | LNM:~$ ssh lnevers@foam.moxi.net |
| 1108 | |
| 1109 | sudo foamctl admin:get-version --passwd-file=/etc/foam.passwd |
| 1110 | |
| 1111 | }}} |
| 1112 | Check FOAM configuration for site.admin.email, geni.site-tag, email.from settings: |
| 1113 | {{{ |
| 1114 | foamctl config:get-value --key="site.admin.email" --passwd-file=/etc/foam.passwd |
| 1115 | |
| 1116 | foamctl config:get-value --key="geni.site-tag" --passwd-file=/etc/foam.passwd |
| 1117 | |
| 1118 | foamctl 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 | |
| 1122 | foamctl config:get-value --key="geni.approval.approve-on-creation" --passwd-file=/etc/foam.passwd |
| 1123 | |
| 1124 | }}} |
| 1125 | |
| 1126 | Show FOAM slivers details: |
| 1127 | |
| 1128 | {{{ |
| 1129 | foamctl geni:list-slivers --passwd-file=/etc/foam.passwd |
| 1130 | |
| 1131 | }}} |
| 1132 | Access the FlowVisor VM and gather version information: |
| 1133 | {{{ |
| 1134 | |
| 1135 | ssh lnevers@flowvisor.moxi.net |
| 1136 | }}} |
| 1137 | Check the !FlowVisor version, list of devices, get details for a device, list of active slices, and details for one of the slices: |
| 1138 | {{{ |
| 1139 | |
| 1140 | fvctl --passwd-file=/etc/flowvisor.passwd ping hello |
| 1141 | |
| 1142 | # Devices |
| 1143 | fvctl --passwd-file=/etc/flowvisor.passwd listDevices |
| 1144 | |
| 1145 | fvctl --passwd-file=/etc/flowvisor.passwd getDeviceInfo 06:d6:6c:3b:e5:68:00:00 |
| 1146 | |
| 1147 | #Slices |
| 1148 | fvctl --passwd-file=/etc/flowvisor.passwd listSlices |
| 1149 | |
| 1150 | fvctl --passwd-file=/etc/flowvisor.passwd getSliceInfo 5c956f94-5e05-40b5-948f-34d0149d9182 |
| 1151 | |
| 1152 | }}} |
| 1153 | |
| 1154 | Check the FlowVisor setting: |
| 1155 | {{{ |
| 1156 | fvctl --passwd-file=/etc/flowvisor.passwd dumpConfig /tmp/flowvisor-config |
| 1157 | more /tmp/flowvisor-config |
| 1158 | |
| 1159 | }}} |
| 1160 | |