| 24 | |
| 25 | = NCSU2 Administrative Access = |
| 26 | |
| 27 | Administrator accounts on an ExoGENI and Cisco racks 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. |
| 28 | |
| 29 | With requested account accessed rack head node and verified root access and group membership: |
| 30 | {{{ |
| 31 | LNM:~$ ssh ncsu2-hn.exogeni.net |
| 32 | |
| 33 | |
| 34 | sudo whoami |
| 35 | |
| 36 | id |
| 37 | |
| 38 | }}} |
| 39 | |
| 40 | From head node verified login and administrative access to each of the worker nodes that supply VMs. |
| 41 | {{{ |
| 42 | for i in 1 2 3 4 5 6 7 8; do sudo ssh root@ncsu2-w$i "echo -n 'Executing on: ' ; hostname;whoami;uname -a"; done |
| 43 | }}} |
| 44 | |
| 45 | For each worker node execute the following: |
| 46 | {{{ |
| 47 | for i in 9 10; do sudo ssh root@ncsu2-w$i "echo -n 'Executing on: ' ; hostname;whoami;uname -a"; done |
| 48 | }}} |
| 49 | |
| 50 | Connect to the management switch: |
| 51 | {{{ |
| 52 | [lnevers@ncsu2-hn ~]$ ssh ncsu-8052.ncsu.xo |
| 53 | |
| 54 | >ena |
| 55 | |
| 56 | show interface status |
| 57 | show version |
| 58 | show vlan |
| 59 | }}} |
| 60 | |
| 61 | }}} |
| 62 | |
| 63 | Connect to the !OpenFlow switch: |
| 64 | {{{ |
| 65 | ssh lnevers@ncsu2-8264.ncsu.xo |
| 66 | |
| 67 | >ena |
| 68 | |
| 69 | show interface status |
| 70 | show version brief |
| 71 | show vlan |
| 72 | }}} |
| 73 | |
| 74 | Verify FOAM and !FlowVisor configuration files ownership and paths: |
| 75 | {{{ |
| 76 | [lnevers@ncsu2-hn ~]$ ls -l /etc/foam.passwd /etc/flowvisor.passwd /etc/flowvisor/fvpasswd /opt/foam/etc/foampasswd |
| 77 | }}} |
| 78 | |
| 79 | Check FOAM version and FOAM configuration for site.admin.email, geni.site-tag, email.from settings on the NCSU2 head node: |
| 80 | {{{ |
| 81 | }}} |
| 82 | foamctl admin:get-version --passwd-file=/etc/foam.passwd |
| 83 | foamctl config:get-value --key="site.admin.email" --passwd-file=/opt/foam/etc/foampasswd |
| 84 | foamctl config:get-value --key="geni.site-tag" --passwd-file=/opt/foam/etc/foampasswd |
| 85 | foamctl config:get-value --key="email.from" --passwd-file=/opt/foam/etc/foampasswd |
| 86 | foamctl config:get-value --key="geni.approval.approve-on-creation" --passwd-file=/opt/foam/etc/foampasswd |
| 87 | Show FOAM slivers details: |
| 88 | {{{ |
| 89 | foamctl geni:list-slivers --passwd-file=/opt/foam/etc/foampasswd |
| 90 | |
| 91 | }}} |
| 92 | |
| 93 | 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 NCSU2 Head node: |
| 94 | {{{ |
| 95 | /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd ping hello |
| 96 | /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd listDevices |
| 97 | /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd getDeviceInfo |
| 98 | /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd listSlices |
| 99 | /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd getSliceInfo urn |
| 100 | |
| 101 | }}} |
| 102 | |
| 103 | = NCSU Administrative Access = |
| 104 | |
| 105 | Administrator accounts on an ExoGENI and Cisco racks 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. |
| 106 | |
| 107 | With requested account accessed rack head node and verified root access and group membership: |
| 108 | {{{ |
| 109 | LNM:~$ ssh ncsu-hn.exogeni.net |
| 110 | |
| 111 | |
| 112 | |
| 113 | sudo whoami |
| 114 | |
| 115 | id |
| 116 | |
| 117 | }}} |
| 118 | |
| 119 | From head node verified login and administrative access to each of the worker nodes that supply VMs. |
| 120 | {{{ |
| 121 | for i in 1 2 3 4 5 6 7 8; do sudo ssh root@ncsu-w$i "echo -n 'Executing on: ' ; hostname;whoami;uname -a"; done |
| 122 | }}} |
| 123 | |
| 124 | For each worker node execute the following: |
| 125 | {{{ |
| 126 | for i in 9 10; do sudo ssh root@ncsu-w$i "echo -n 'Executing on: ' ; hostname;whoami;uname -a"; done |
| 127 | }}} |
| 128 | |
| 129 | Connect to the management switch: |
| 130 | {{{ |
| 131 | [lnevers@ncsu-hn ~]$ ssh ncsu-8052.ncsu.xo |
| 132 | |
| 133 | >ena |
| 134 | |
| 135 | show interface status |
| 136 | show version |
| 137 | show vlan |
| 138 | }}} |
| 139 | |
| 140 | }}} |
| 141 | |
| 142 | Connect to the !OpenFlow switch: |
| 143 | {{{ |
| 144 | ssh lnevers@ncsu-8264.ncsu.xo |
| 145 | |
| 146 | >ena |
| 147 | |
| 148 | show interface status |
| 149 | show version brief |
| 150 | show vlan |
| 151 | }}} |
| 152 | |
| 153 | Verify FOAM and !FlowVisor configuration files ownership and paths: |
| 154 | {{{ |
| 155 | [lnevers@ncsu-hn ~]$ ls -l /etc/foam.passwd /etc/flowvisor.passwd /etc/flowvisor/fvpasswd /opt/foam/etc/foampasswd |
| 156 | }}} |
| 157 | |
| 158 | Check FOAM version and FOAM configuration for site.admin.email, geni.site-tag, email.from settings on the NCSU head node: |
| 159 | {{{ |
| 160 | }}} |
| 161 | foamctl admin:get-version --passwd-file=/etc/foam.passwd |
| 162 | foamctl config:get-value --key="site.admin.email" --passwd-file=/opt/foam/etc/foampasswd |
| 163 | foamctl config:get-value --key="geni.site-tag" --passwd-file=/opt/foam/etc/foampasswd |
| 164 | foamctl config:get-value --key="email.from" --passwd-file=/opt/foam/etc/foampasswd |
| 165 | foamctl config:get-value --key="geni.approval.approve-on-creation" --passwd-file=/opt/foam/etc/foampasswd |
| 166 | Show FOAM slivers details: |
| 167 | {{{ |
| 168 | foamctl geni:list-slivers --passwd-file=/opt/foam/etc/foampasswd |
| 169 | |
| 170 | }}} |
| 171 | |
| 172 | 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 NCSU Head node: |
| 173 | {{{ |
| 174 | /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd ping hello |
| 175 | /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd listDevices |
| 176 | /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd getDeviceInfo |
| 177 | /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd listSlices |
| 178 | /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd getSliceInfo urn |
| 179 | |
| 180 | }}} |