| 451 | |
| 452 | == EG-CT-6 - Administrative Tests == |
| 453 | |
| 454 | 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. |
| 455 | |
| 456 | With requested account accessed rack head node and verified root access and group membership: |
| 457 | {{{ |
| 458 | LNM:~$ ssh gwu-hn.exogeni.net |
| 459 | The authenticity of host 'gwu-hn.exogeni.net (162.250.136.2)' can't be established. |
| 460 | RSA key fingerprint is SHA256:+1xY7z/wN/c/hJfpWb3OTe6viF2fTPbnvUlebnCQlws. |
| 461 | Are you sure you want to continue connecting (yes/no)? yes |
| 462 | Warning: Permanently added 'gwu-hn.exogeni.net,162.250.136.2' (RSA) to the list of known hosts. |
| 463 | lnevers@gwu-hn.exogeni.net's password: |
| 464 | Last login: Sat Apr 29 01:43:14 2017 from dhcp152-54-9-188.europa.renci.org |
| 465 | |-----------------------------------------------------------------| |
| 466 | | ____ ____ ____ ____ ____ ____ ____ | |
| 467 | | ||E |||x |||o |||G |||E |||N |||I || | |
| 468 | | ||__|||__|||__|||__|||__|||__|||__|| | |
| 469 | | |/__\|/__\|/__\|/__\|/__\|/__\|/__\| | |
| 470 | | | |
| 471 | |-----------------------------------------------------------------| |
| 472 | [lnevers@gwu-hn ~]$ sudo whoami |
| 473 | [sudo] password for lnevers: |
| 474 | Sorry, try again. |
| 475 | [sudo] password for lnevers: |
| 476 | root |
| 477 | [lnevers@gwu-hn ~]$ id |
| 478 | uid=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) |
| 479 | [lnevers@gwu-hn ~]$ |
| 480 | }}} |
| 481 | |
| 482 | From head node verified login and administrative access to each of the worker nodes that supply VMs. |
| 483 | {{{ |
| 484 | |
| 485 | [lnevers@gwu-hn ~]$ for i in 1 2 3 4 5 6 7; do sudo ssh root@gwu-w$i "echo -n 'Executing on: ' ; hostname;whoami;uname -a"; done |
| 486 | Executing on: gwu-w1 |
| 487 | root |
| 488 | Linux gwu-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 |
| 489 | Executing on: gwu-w2 |
| 490 | root |
| 491 | Linux gwu-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 |
| 492 | Executing on: gwu-w3 |
| 493 | root |
| 494 | Linux gwu-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 |
| 495 | Executing on: gwu-w4 |
| 496 | root |
| 497 | Linux gwu-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 |
| 498 | Executing on: gwu-w5 |
| 499 | root |
| 500 | Linux gwu-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 |
| 501 | Executing on: gwu-w6 |
| 502 | root |
| 503 | Linux gwu-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 |
| 504 | Executing on: gwu-w7 |
| 505 | root |
| 506 | Linux gwu-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 |
| 507 | |
| 508 | }}} |
| 509 | Connect to the management switch: |
| 510 | {{{ |
| 511 | ???? |
| 512 | }}} |
| 513 | |
| 514 | Connect to the !OpenFlow switch: |
| 515 | {{{ |
| 516 | ???? |
| 517 | |
| 518 | }}} |
| 519 | |
| 520 | Check FOAM version and FOAM configuration for site.admin.email, geni.site-tag, email.from settings on the GWU head node: |
| 521 | {{{ |
| 522 | sudo foamctl admin:get-version --passwd-file=/etc/foam.passwd |
| 523 | sudo foamctl config:get-value --key="site.admin.email" --passwd-file=/opt/foam/etc/foampasswd |
| 524 | sudo foamctl config:get-value --key="geni.site-tag" --passwd-file=/opt/foam/etc/foampasswd |
| 525 | suco foamctl config:get-value --key="email.from" --passwd-file=/opt/foam/etc/foampasswd |
| 526 | sudo foamctl config:get-value --key="geni.approval.approve-on-creation" --passwd-file=/opt/foam/etc/foampasswd |
| 527 | }}} |
| 528 | |
| 529 | Show FOAM slivers details: |
| 530 | {{{ |
| 531 | foamctl geni:list-unfivers --passwd-file=/opt/foam/etc/foampasswd |
| 532 | |
| 533 | }}} |
| 534 | |
| 535 | 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 GWU Head node: |
| 536 | {{{ |
| 537 | /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd ping hello |
| 538 | /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd listDevices |
| 539 | /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd getDeviceInfo |
| 540 | /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd listSlices |
| 541 | /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd getSliceInfo urn |
| 542 | |
| 543 | }}} |
| 544 | |
| 545 | ---- |
| 546 | {{{ |
| 547 | #!html |
| 548 | Email <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! |
| 549 | }}} |