| 1059 | |
| 1060 | Administrator 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. |
| 1061 | |
| 1062 | With requested account accessed rack head node and verified root access and group membership: |
| 1063 | {{{ |
| 1064 | LNM:~$ ssh osf-hn.exogeni.net |
| 1065 | |
| 1066 | The authenticity of host 'osf-hn.exogeni.net (198.129.50.2)' can't be established. |
| 1067 | RSA key fingerprint is 50:0b:0c:84:03:bf:51:34:0a:b1:e5:5f:0a:da:85:a0. |
| 1068 | Are you sure you want to continue connecting (yes/no)? yes |
| 1069 | Warning: Permanently added 'osf-hn.exogeni.net,198.129.50.2' (RSA) to the list of known hosts. |
| 1070 | lnevers@osf-hn.exogeni.net's password: |
| 1071 | Creating home directory for lnevers. |
| 1072 | |-----------------------------------------------------------------| |
| 1073 | | ____ ____ ____ ____ ____ ____ ____ | |
| 1074 | | ||E |||x |||o |||G |||E |||N |||I || | |
| 1075 | | ||__|||__|||__|||__|||__|||__|||__|| | |
| 1076 | | |/__\|/__\|/__\|/__\|/__\|/__\|/__\| | |
| 1077 | | | |
| 1078 | |-----------------------------------------------------------------| |
| 1079 | [lnevers@osf-hn ~]$ sudo whoami |
| 1080 | |
| 1081 | We trust you have received the usual lecture from the local System |
| 1082 | Administrator. It usually boils down to these three things: |
| 1083 | |
| 1084 | #1) Respect the privacy of others. |
| 1085 | #2) Think before you type. |
| 1086 | #3) With great power comes great responsibility. |
| 1087 | |
| 1088 | [sudo] password for lnevers: |
| 1089 | root |
| 1090 | [lnevers@osf-hn ~]$ id |
| 1091 | uid=2107(lnevers) gid=2000(nonrenci) groups=2000(nonrenci),2508(osfadmins),2509(ucdadmins),2510(sladmins),2513(tamuadmins),9510(bbnadmins) |
| 1092 | [lnevers@osf-hn ~]$ |
| 1093 | }}} |
| 1094 | |
| 1095 | From head node verified login and administrative access to each of the worker nodes: |
| 1096 | {{{ |
| 1097 | [lnevers@osf-hn ~]$ for i in 1 2 3 4 5 6 7 8 9 10; do sudo ssh root@osf-w$i "echo -n 'Executing on: ' ; hostname;whoami;uname -a"; done |
| 1098 | Executing on: osf-w1 |
| 1099 | root |
| 1100 | Linux osf-w1 2.6.32-358.el6.x86_64 #1 SMP Fri Feb 22 00:31:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux |
| 1101 | Executing on: osf-w2 |
| 1102 | root |
| 1103 | Linux osf-w2 2.6.32-358.el6.x86_64 #1 SMP Fri Feb 22 00:31:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux |
| 1104 | Executing on: osf-w3 |
| 1105 | root |
| 1106 | Linux osf-w3 2.6.32-358.el6.x86_64 #1 SMP Fri Feb 22 00:31:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux |
| 1107 | Executing on: osf-w4 |
| 1108 | root |
| 1109 | Linux osf-w4 2.6.32-358.el6.x86_64 #1 SMP Fri Feb 22 00:31:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux |
| 1110 | Executing on: osf-w5 |
| 1111 | root |
| 1112 | Linux osf-w5 2.6.32-358.el6.x86_64 #1 SMP Fri Feb 22 00:31:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux |
| 1113 | Executing on: osf-w6 |
| 1114 | root |
| 1115 | Linux osf-w6 2.6.32-358.el6.x86_64 #1 SMP Fri Feb 22 00:31:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux |
| 1116 | Executing on: osf-w7 |
| 1117 | root |
| 1118 | Linux osf-w7 2.6.32-358.el6.x86_64 #1 SMP Fri Feb 22 00:31:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux |
| 1119 | Executing on: osf-w8 |
| 1120 | root |
| 1121 | Linux osf-w8 2.6.32-358.el6.x86_64 #1 SMP Fri Feb 22 00:31:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux |
| 1122 | ssh: connect to host osf-w9 port 22: No route to host |
| 1123 | ssh: connect to host osf-w10 port 22: No route to host |
| 1124 | }}} |
| 1125 | |
| 1126 | Connect to the management switch: |
| 1127 | {{{ |
| 1128 | [lnevers@osf-hn ~]$ ssh osf-8052.osf.xo |
| 1129 | The authenticity of host 'osf-8052.osf.xo (192.168.113.2)' can't be established. |
| 1130 | DSA key fingerprint is 5f:63:a4:0a:ef:26:f7:d8:db:bd:c2:1f:e9:14:4b:cf. |
| 1131 | Are you sure you want to continue connecting (yes/no)? yes |
| 1132 | Warning: Permanently added 'osf-8052.osf.xo,192.168.113.2' (DSA) to the list of known hosts. |
| 1133 | Enter radius password: |
| 1134 | |
| 1135 | IBM Networking Operating System RackSwitch G8052. |
| 1136 | |
| 1137 | |
| 1138 | osf-8052.osf.xo>ena |
| 1139 | |
| 1140 | Enable privilege granted. |
| 1141 | osf-8052.osf.xo#show version |
| 1142 | System Information at 22:45:26 Mon Dec 24, 2000 |
| 1143 | Time zone: America/US/Eastern |
| 1144 | Daylight Savings Time Status: Enabled |
| 1145 | |
| 1146 | IBM Networking Operating System RackSwitch G8052 |
| 1147 | |
| 1148 | Switch has been up for 285 days, 15 hours, 55 minutes and 19 seconds. |
| 1149 | Last boot: 3:16:00 Sat Mar 17, 2000 (power cycle) |
| 1150 | |
| 1151 | MAC address: 74:99:75:fb:b6:00 IP (If 1) address: 192.168.49.50 |
| 1152 | Hardware Revision: 0 |
| 1153 | Board Revision: 2 |
| 1154 | Switch Serial No: Y010CM369005 |
| 1155 | Hardware Part No: BAC-00069-00 Spare Part No: BAC-00069-00 |
| 1156 | Manufacturing date: 13/22 |
| 1157 | |
| 1158 | MTM: 7309HC1 |
| 1159 | ESN: MM08976 |
| 1160 | Software Version 7.2.2.0 (FLASH image1), active configuration. |
| 1161 | |
| 1162 | |
| 1163 | Temperature Top: 29 C |
| 1164 | Temperature Bottom: 35 C |
| 1165 | Temperature Fan Ctrl 88: 32 C |
| 1166 | Temperature Fan Ctrl 8a: 62 C |
| 1167 | Temperature Fan Ctrl 8c: 62 C |
| 1168 | Temperature Phy 0x01: 68 C |
| 1169 | Temperature Phy 0x09: 67 C |
| 1170 | Temperature Phy 0x11: 70 C |
| 1171 | Temperature Phy 0x21: 61 C |
| 1172 | Temperature Phy 0x29: 68 C |
| 1173 | Temperature Phy 0x31: 58 C |
| 1174 | |
| 1175 | Warning at 55 C and Recover at 80 C |
| 1176 | |
| 1177 | Fan 1 in Module 1: Not Installed |
| 1178 | Fan 2 in Module 1: Not Installed |
| 1179 | Fan 3 in Module 2: RPM= 9507 PWM= 25 ( 9%) Back-To-Front [J] |
| 1180 | Fan 4 in Module 2: RPM= 4530 PWM= 25 ( 9%) Back-To-Front [J] |
| 1181 | Fan 5 in Module 3: RPM= 9183 PWM= 25 ( 9%) Back-To-Front [J] |
| 1182 | Fan 6 in Module 3: RPM= 4599 PWM= 25 ( 9%) Back-To-Front [J] |
| 1183 | Fan 7 in Module 4: RPM= 9375 PWM= 25 ( 9%) Back-To-Front [J] |
| 1184 | Fan 8 in Module 4: RPM= 4397 PWM= 25 ( 9%) Back-To-Front [J] |
| 1185 | |
| 1186 | System Fan Airflow: Back-To-Front |
| 1187 | |
| 1188 | Power Supply 1: OK |
| 1189 | Power Supply 2: OK |
| 1190 | |
| 1191 | Power Faults: () |
| 1192 | Fan Faults: () |
| 1193 | Service Faults: () |
| 1194 | |
| 1195 | osf-8052.osf.xo#show interface status |
| 1196 | ------------------------------------------------------------------ |
| 1197 | Alias Port Speed Duplex Flow Ctrl Link Name |
| 1198 | ------- ---- ----- -------- --TX-----RX-- ------ ------ |
| 1199 | 1 1 any any no no down 1 |
| 1200 | 2 2 1000 full no no up 2 |
| 1201 | 3 3 1000 full no no up 3 |
| 1202 | 4 4 1000 full no no up 4 |
| 1203 | 5 5 1000 full no no up 5 |
| 1204 | 6 6 1000 full no no up 6 |
| 1205 | 7 7 1000 full no no up 7 |
| 1206 | 8 8 1000 full no no up 8 |
| 1207 | 9 9 1000 full no no up 9 |
| 1208 | 10 10 1000 full no no up 10 |
| 1209 | 11 11 1000 full no no up 11 |
| 1210 | 12 12 100 half no no up 12 |
| 1211 | 13 13 1000 full no no up 13 |
| 1212 | 14 14 1000 full no no up 14 |
| 1213 | 15 15 1000 full no no up 15 |
| 1214 | 16 16 1000 full no no up 16 |
| 1215 | 17 17 1000 full no no up Headnode eth4 |
| 1216 | 18 18 1000 full no no up Headnode eth5 |
| 1217 | 19 19 1000 full no no up Headnode eth1 |
| 1218 | 20 20 1000 full no no up Headnode eth0 |
| 1219 | 21 21 1000 full no no up 21 |
| 1220 | 22 22 1000 full no no up 22 |
| 1221 | 23 23 1000 full no no up 23 |
| 1222 | 24 24 1000 full no no up 24 |
| 1223 | 25 25 1000 full no no up 25 |
| 1224 | 26 26 1000 full no no up 26 |
| 1225 | 27 27 1000 full no no up 27 |
| 1226 | 28 28 1000 full no no up 28 |
| 1227 | 29 29 1000 full no no up 29 |
| 1228 | 30 30 1000 full no no up 30 |
| 1229 | 31 31 any any no no down 31 |
| 1230 | 32 32 any any no no down 32 |
| 1231 | 33 33 1000 full no no up 33 |
| 1232 | 34 34 any any no no down 34 |
| 1233 | 35 35 1000 full no no up 35 |
| 1234 | 36 36 any any no no down 36 |
| 1235 | 37 37 1000 full no no up 37 |
| 1236 | 38 38 1000 full no no up 38 |
| 1237 | 39 39 1000 full no no up 39 |
| 1238 | 40 40 1000 full no no up 40 |
| 1239 | 41 41 1000 full no no up 41 |
| 1240 | 42 42 1000 full no no up 42 |
| 1241 | 43 43 1000 full no no up 43 |
| 1242 | 44 44 1000 full no no up 44 |
| 1243 | 45 45 any any no no down 45 |
| 1244 | 46 46 any any no no down 46 |
| 1245 | 47 47 any any no no down 47 |
| 1246 | 48 48 100 full no no up 48 |
| 1247 | XGE1 49 10000 full no no down XGE1 |
| 1248 | XGE2 50 10000 full no no down XGE2 |
| 1249 | XGE3 51 10000 full no no down XGE3 |
| 1250 | XGE4 52 10000 full no no up XGE4 |
| 1251 | |
| 1252 | osf-8052.osf.xo#show running-config |
| 1253 | Current configuration: |
| 1254 | ! |
| 1255 | version "7.2.2" |
| 1256 | switch-type "IBM Networking Operating System RackSwitch G8052" |
| 1257 | ! |
| 1258 | system timezone 145 |
| 1259 | ! America/US/Eastern |
| 1260 | system daylight |
| 1261 | ! |
| 1262 | ssh enable |
| 1263 | ! |
| 1264 | access https enable |
| 1265 | |
| 1266 | ! |
| 1267 | errdisable recovery |
| 1268 | no system dhcp |
| 1269 | hostname "osf-8052.osf.xo" |
| 1270 | ! |
| 1271 | ! |
| 1272 | no access http enable |
| 1273 | no access telnet enable |
| 1274 | ! |
| 1275 | interface port 1 |
| 1276 | pvid 1006 |
| 1277 | spanning-tree edge |
| 1278 | exit |
| 1279 | ! |
| 1280 | interface port 2 |
| 1281 | pvid 1006 |
| 1282 | spanning-tree edge |
| 1283 | exit |
| 1284 | ! |
| 1285 | interface port 3 |
| 1286 | pvid 1006 |
| 1287 | spanning-tree edge |
| 1288 | exit |
| 1289 | ! |
| 1290 | ...many lines of output not shown... |
| 1291 | }}} |
| 1292 | |
| 1293 | Connect to the !OpenFlow switch: |
| 1294 | {{{ |
| 1295 | [lnevers@osf-hn ~]$ ssh lnevers@osf-8264.osf.xo |
| 1296 | The authenticity of host 'osf-8264.osf.xo (192.168.113.4)' can't be established. |
| 1297 | DSA key fingerprint is 69:fc:b9:a5:8d:71:fb:6b:9d:28:40:4e:cf:00:9a:64. |
| 1298 | Are you sure you want to continue connecting (yes/no)? yes |
| 1299 | Warning: Permanently added 'osf-8264.osf.xo,192.168.113.4' (DSA) to the list of known hosts. |
| 1300 | Enter radius password: |
| 1301 | |
| 1302 | IBM Networking Operating System RackSwitch G8264. |
| 1303 | |
| 1304 | ------------------------------------------------------------------ |
| 1305 | Note: The current running configuration includes changes |
| 1306 | that have NOT been saved to FLASH. |
| 1307 | ------------------------------------------------------------------ |
| 1308 | |
| 1309 | osf-8264.osf.xo>ena |
| 1310 | |
| 1311 | Enable privilege granted. |
| 1312 | osf-8264.osf.xo#show version |
| 1313 | System Information at 9:05:42 Mon Jul 21, 2014 |
| 1314 | Time zone: America/US/Eastern |
| 1315 | Daylight Savings Time Status: Enabled |
| 1316 | |
| 1317 | IBM Networking Operating System RackSwitch G8264 |
| 1318 | |
| 1319 | Switch has been up for 282 days, 19 hours, 3 minutes and 14 seconds. |
| 1320 | Last boot: 8:59:03 Fri Oct 11, 2013 (power cycle) |
| 1321 | |
| 1322 | MAC address: 74:99:75:df:0e:00 IP (If 21) address: 10.19.21.1 |
| 1323 | Management Port MAC Address: 74:99:75:df:0e:fe |
| 1324 | Management Port IP Address (if 128): 0.0.0.0 |
| 1325 | Hardware Revision: 0 |
| 1326 | Hardware Part No: BAC-00065-00 |
| 1327 | Switch Serial No: Y010CM35M587 |
| 1328 | Manufacturing date: 13/20 |
| 1329 | |
| 1330 | MTM Value: 7309-HC3 |
| 1331 | ESN: 23A8838 |
| 1332 | Software Version 7.6.1.0 (FLASH image1), active configuration. |
| 1333 | |
| 1334 | |
| 1335 | |
| 1336 | Temperature Mother Top: 37 C |
| 1337 | Temperature Mother Bottom: 28 C |
| 1338 | Temperature Daughter Top: 34 C |
| 1339 | Temperature Daughter Bottom: 25 C |
| 1340 | |
| 1341 | Warning at 75 C and Recover at 90 C |
| 1342 | |
| 1343 | Fan 1 in Module 1: RPM= 9358 PWM= 15( 5%) Back-To-Front |
| 1344 | Fan 2 in Module 1: RPM= 3125 PWM= 15( 5%) Back-To-Front |
| 1345 | Fan 3 in Module 2: RPM= 7552 PWM= 15( 5%) Back-To-Front |
| 1346 | Fan 4 in Module 2: RPM= 4488 PWM= 15( 5%) Back-To-Front |
| 1347 | Fan 5 in Module 3: RPM= 9540 PWM= 15( 5%) Back-To-Front |
| 1348 | Fan 6 in Module 3: RPM= 4455 PWM= 15( 5%) Back-To-Front |
| 1349 | Fan 7 in Module 4: RPM= 7327 PWM= 15( 5%) Back-To-Front |
| 1350 | Fan 8 in Module 4: RPM= 4459 PWM= 15( 5%) Back-To-Front |
| 1351 | |
| 1352 | System Fan Airflow: Back-To-Front |
| 1353 | |
| 1354 | |
| 1355 | Power Supply 1: OK |
| 1356 | Power Supply 2: OK |
| 1357 | |
| 1358 | Power Faults: () |
| 1359 | Fan Faults: () |
| 1360 | Service Faults: () |
| 1361 | |
| 1362 | osf-8264.osf.xo#show interface status |
| 1363 | ----------------------------------------------------------------------- |
| 1364 | Alias Port Speed Duplex Flow Ctrl Link Description |
| 1365 | ------- ---- ----- -------- --TX-----RX-- ------ ------------- |
| 1366 | 1 1 40000 full no no up 1 |
| 1367 | 5 5 40000 full no no down 5 |
| 1368 | 9 9 40000 full no no down 9 |
| 1369 | 13 13 40000 full no no down 13 |
| 1370 | 17 17 10000 full no no up 17 |
| 1371 | 18 18 10000 full no no up 18 |
| 1372 | 19 19 10000 full no no up 19 |
| 1373 | 20 20 10000 full no no up 20 |
| 1374 | 21 21 10000 full no no up 21 |
| 1375 | 22 22 10000 full no no up 22 |
| 1376 | 23 23 10000 full no no up 23 |
| 1377 | 24 24 10000 full no no up 24 |
| 1378 | 25 25 10000 full no no down 25 |
| 1379 | 26 26 10000 full no no down 26 |
| 1380 | 27 27 1G/10G full no no down 27 |
| 1381 | 28 28 1G/10G full no no down 28 |
| 1382 | 29 29 10000 full no no up 29 |
| 1383 | 30 30 10000 full no no up 30 |
| 1384 | 31 31 1G/10G full no no down 31 |
| 1385 | 32 32 1G/10G full no no down 32 |
| 1386 | 33 33 1G/10G full no no down 33 |
| 1387 | 34 34 1G/10G full no no down 34 |
| 1388 | 35 35 1000 full no no up iSCSI storage/date plane |
| 1389 | 36 36 1000 full no no up iSCSI storage/date plane |
| 1390 | 37 37 10000 full no no disabled 37 |
| 1391 | 38 38 10000 full no no disabled 38 |
| 1392 | 39 39 1G/10G full no no down 39 |
| 1393 | 40 40 1G/10G full no no down 40 |
| 1394 | 41 41 10000 full no no up 41 |
| 1395 | 42 42 10000 full no no up 42 |
| 1396 | 43 43 10000 full no no up 43 |
| 1397 | 44 44 10000 full no no up 44 |
| 1398 | 45 45 10000 full no no up 45 |
| 1399 | 46 46 10000 full no no up 46 |
| 1400 | 47 47 10000 full no no up 47 |
| 1401 | 48 48 10000 full no no up 48 |
| 1402 | 49 49 10000 full no no down 49 |
| 1403 | 50 50 10000 full no no down 50 |
| 1404 | 51 51 1G/10G full no no down 51 |
| 1405 | 52 52 1G/10G full no no down 52 |
| 1406 | 53 53 1000 full no no down 53 |
| 1407 | 54 54 1G/10G full no no down 54 |
| 1408 | 55 55 1G/10G full no no down 55 |
| 1409 | 56 56 1G/10G full no no down 56 |
| 1410 | 57 57 1G/10G full no no down 57 |
| 1411 | 58 58 1G/10G full no no down 58 |
| 1412 | 59 59 1G/10G full no no down 59 |
| 1413 | 60 60 1G/10G full no no down 60 |
| 1414 | 61 61 1G/10G full no no down 61 |
| 1415 | 62 62 1G/10G full no no down 62 |
| 1416 | 63 63 10000 full no no up 63 |
| 1417 | 64 64 10000 full no no up 64 |
| 1418 | MGT 65 1000 full yes yes up MGT |
| 1419 | osf-8264.osf.xo#show running-config |
| 1420 | Current configuration: |
| 1421 | ! |
| 1422 | version "7.6.1" |
| 1423 | switch-type "IBM Networking Operating System RackSwitch G8264" |
| 1424 | iscli-new |
| 1425 | ! |
| 1426 | system timezone 145 |
| 1427 | ! America/US/Eastern |
| 1428 | system daylight |
| 1429 | ! |
| 1430 | ssh enable |
| 1431 | ! |
| 1432 | |
| 1433 | ! |
| 1434 | openflow enable |
| 1435 | ! |
| 1436 | no system bootp |
| 1437 | no system dhcp |
| 1438 | no system default-ip |
| 1439 | hostname "osf-8264.osf.xo" |
| 1440 | ! |
| 1441 | ! |
| 1442 | access snmp read-only |
| 1443 | no access http enable |
| 1444 | no access telnet enable |
| 1445 | access user administrator-password "xxx" |
| 1446 | ! |
| 1447 | ! |
| 1448 | interface port 1 |
| 1449 | switchport mode trunk |
| 1450 | switchport trunk allowed vlan 1921-1930,4000 |
| 1451 | switchport trunk native vlan 4000 |
| 1452 | spanning-tree portfast |
| 1453 | exit |
| 1454 | ! |
| 1455 | interface port 9 |
| 1456 | switchport mode trunk |
| 1457 | switchport trunk allowed vlan 1921-1930,4000 |
| 1458 | switchport trunk native vlan 4000 |
| 1459 | spanning-tree portfast |
| 1460 | exit |
| 1461 | ! |
| 1462 | interface port 13 |
| 1463 | switchport mode trunk |
| 1464 | switchport trunk allowed vlan 1921-1930,4000 |
| 1465 | switchport trunk native vlan 4000 |
| 1466 | exit |
| 1467 | ! |
| 1468 | interface port 17 |
| 1469 | switchport mode trunk |
| 1470 | switchport trunk allowed vlan 1009,4000 |
| 1471 | switchport trunk native vlan 4000 |
| 1472 | exit |
| 1473 | ! |
| 1474 | interface port 18 |
| 1475 | switchport mode trunk |
| 1476 | |
| 1477 | ...many lines of ouput not shown..... |
| 1478 | }}} |
| 1479 | |
| 1480 | Verify FOAM and !FlowVisor configuration files ownership and paths: |
| 1481 | {{{ |
| 1482 | [lnevers@osf-hn ~]$ ls -l /etc/foam.passwd /etc/flowvisor.passwd /etc/flowvisor/fvpasswd /opt/foam/etc/foampasswd |
| 1483 | lrwxrwxrwx 1 root flowvisor 21 Oct 22 2013 /etc/flowvisor/fvpasswd -> /etc/flowvisor.passwd |
| 1484 | -r--r----- 1 flowvisor osfadmins 25 Oct 22 2013 /etc/flowvisor.passwd |
| 1485 | -r--r-----+ 1 root osfadmins 25 Oct 22 2013 /etc/foam.passwd |
| 1486 | lrwxrwxrwx 1 nginx nginx 16 Oct 22 2013 /opt/foam/etc/foampasswd -> /etc/foam.passwd |
| 1487 | [lnevers@osf-hn ~]$ |
| 1488 | }}} |
| 1489 | |
| 1490 | Check FOAM version and FOAM configuration for site.admin.email, geni.site-tag, email.from settings on the SL head node: |
| 1491 | {{{ |
| 1492 | [lnevers@osf-hn ~]$ foamctl admin:get-version --passwd-file=/etc/foam.passwd |
| 1493 | { |
| 1494 | "version": "0.14.0" |
| 1495 | } |
| 1496 | [lnevers@osf-hn ~]$ foamctl config:get-value --key="site.admin.email" --passwd-file=/opt/foam/etc/foampasswd |
| 1497 | { |
| 1498 | "value": "exogeni-foam-admin@gpolab.bbn.com" |
| 1499 | } |
| 1500 | [lnevers@osf-hn ~]$ foamctl config:get-value --key="geni.site-tag" --passwd-file=/opt/foam/etc/foampasswd |
| 1501 | { |
| 1502 | "value": "osf-hn.exogeni.net" |
| 1503 | } |
| 1504 | [lnevers@osf-hn ~]$ foamctl config:get-value --key="email.from" --passwd-file=/opt/foam/etc/foampasswd |
| 1505 | { |
| 1506 | "value": "Eric Pouyoul <lomax@es.net>" |
| 1507 | } |
| 1508 | [lnevers@osf-hn ~]$ foamctl config:get-value --key="geni.approval.approve-on-creation" --passwd-file=/opt/foam/etc/foampasswd |
| 1509 | { |
| 1510 | "value": 2 |
| 1511 | } |
| 1512 | [lnevers@osf-hn ~]$ |
| 1513 | }}} |
| 1514 | |
| 1515 | Show FOAM slivers details: |
| 1516 | {{{ |
| 1517 | [lnevers@osf-hn ~]$ foamctl geni:list-slivers --passwd-file=/opt/foam/etc/foampasswd |
| 1518 | { |
| 1519 | "slivers": [ |
| 1520 | { |
| 1521 | "status": "approved", |
| 1522 | "flowvisor_slice": "19db1fab-eab1-42d5-9b8d-67e36e72239f", |
| 1523 | "slice_urn": "urn:publicid:IDN+ch.geni.net:gpo-infra+slice+tupty3715", |
| 1524 | "pend_reason": [], |
| 1525 | "deleted": "False", |
| 1526 | "user": "urn:publicid:IDN+ch.geni.net+user+tupty", |
| 1527 | "creation": "2014-07-15 15:51:27.180854+00:00", |
| 1528 | "enabled": true, |
| 1529 | "uuid": "19db1fab-eab1-42d5-9b8d-67e36e72239f", |
| 1530 | "id": 5, |
| 1531 | "expiration": "2014-07-30 00:00:00+00:00", |
| 1532 | "sliver_urn": "urn:publicid:IDN+ch.geni.net:gpo-infra+slice+tupty3715:19db1fab-eab1-42d5-9b8d-67e36e72239f", |
| 1533 | "ref": null, |
| 1534 | "email": "tupty@bbn.com", |
| 1535 | "desc": "tupty3715 OpenFlow resources at Starlight" |
| 1536 | }, |
| 1537 | { |
| 1538 | "status": "approved", |
| 1539 | "flowvisor_slice": "5fa69367-c123-4ba2-bcbf-8862f6eac59c", |
| 1540 | "slice_urn": "urn:publicid:IDN+ch.geni.net:gpoamcanary+slice+sitemon", |
| 1541 | "pend_reason": [], |
| 1542 | "deleted": "False", |
| 1543 | "user": "urn:publicid:IDN+ch.geni.net+user+tupty", |
| 1544 | "creation": "2014-07-15 15:51:45.053921+00:00", |
| 1545 | "enabled": true, |
| 1546 | "uuid": "5fa69367-c123-4ba2-bcbf-8862f6eac59c", |
| 1547 | "id": 6, |
| 1548 | "expiration": "2014-12-04 14:01:49+00:00", |
| 1549 | "sliver_urn": "urn:publicid:IDN+ch.geni.net:gpoamcanary+slice+sitemon:5fa69367-c123-4ba2-bcbf-8862f6eac59c", |
| 1550 | "ref": null, |
| 1551 | "email": "tupty@bbn.com", |
| 1552 | "desc": "sitemon OpenFlow resources at OSF" |
| 1553 | }, |
| 1554 | { |
| 1555 | "status": "approved", |
| 1556 | "flowvisor_slice": "1cc60340-d44f-4a6a-992e-5ebf6da3f456", |
| 1557 | "slice_urn": "urn:publicid:IDN+ch.geni.net:Luisa_Nevers-Test-Proj_01+slice+EG-CT-4", |
| 1558 | "pend_reason": [], |
| 1559 | "deleted": "False", |
| 1560 | "user": "urn:publicid:IDN+ch.geni.net+user+lnevers", |
| 1561 | "creation": "2014-07-18 15:44:37.766107+00:00", |
| 1562 | "enabled": true, |
| 1563 | "uuid": "1cc60340-d44f-4a6a-992e-5ebf6da3f456", |
| 1564 | "id": 7, |
| 1565 | "expiration": "2014-07-24 18:57:14+00:00", |
| 1566 | "sliver_urn": "urn:publicid:IDN+ch.geni.net:Luisa_Nevers-Test-Proj_01+slice+EG-CT-4:1cc60340-d44f-4a6a-992e-5ebf6da3f456", |
| 1567 | "ref": null, |
| 1568 | "email": "lnevers@bbn.com", |
| 1569 | "desc": "IG-CT-4 over 3716 " |
| 1570 | } |
| 1571 | ] |
| 1572 | } |
| 1573 | [lnevers@osf-hn ~]$ |
| 1574 | }}} |
| 1575 | |
| 1576 | Check the !FlowVisor version, list of devices, get details for a device, list of active slices, and details for one of the slices on the SL Head node: |
| 1577 | {{{ |
| 1578 | [lnevers@osf-hn ~]$ /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd ping hello |
| 1579 | Got reply: |
| 1580 | PONG(fvadmin): FV version=flowvisor-0.8.1::hello |
| 1581 | [lnevers@osf-hn ~]$ /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd listDevices |
| 1582 | Device 0: 00:01:74:99:75:df:0e:00 |
| 1583 | [lnevers@osf-hn ~]$ /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd getDeviceInfo 00:01:74:99:75:df:0e:00 |
| 1584 | nPorts=21 |
| 1585 | portList=41,42,43,44,45,46,47,48,51,52,53,54,55,56,57,58,59,60,64,50,49 |
| 1586 | dpid=00:01:74:99:75:df:0e:00 |
| 1587 | remote=/192.168.113.10:6633-->/192.168.113.4:10812 |
| 1588 | portNames=41(41),42(42),43(43),44(44),45(45),46(46),47(47),48(48),51(51),52(52),53(53),54(54),55(55),56(56),57(57),58(58),59(59),60(60),64(64),50(50),49(49) |
| 1589 | [lnevers@osf-hn ~]$ /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd listSlices |
| 1590 | Slice 0: fvadmin |
| 1591 | Slice 1: 19db1fab-eab1-42d5-9b8d-67e36e72239f |
| 1592 | Slice 2: 1cc60340-d44f-4a6a-992e-5ebf6da3f456 |
| 1593 | Slice 3: 5fa69367-c123-4ba2-bcbf-8862f6eac59c |
| 1594 | [lnevers@osf-hn ~]$ /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd listSlices |
| 1595 | Slice 0: fvadmin |
| 1596 | Slice 1: 19db1fab-eab1-42d5-9b8d-67e36e72239f |
| 1597 | Slice 2: 1cc60340-d44f-4a6a-992e-5ebf6da3f456 |
| 1598 | Slice 3: 5fa69367-c123-4ba2-bcbf-8862f6eac59c |
| 1599 | }}} |
| 1600 | |
| 1601 | |