32 | | |
33 | | |
34 | | sudo whoami |
35 | | |
36 | | id |
37 | | |
| 30 | The authenticity of host 'ncsu2-hn.exogeni.net (152.48.13.190)' can't be established. |
| 31 | RSA key fingerprint is 73:17:05:21:29:42:71:05:52:e5:fd:16:a1:07:78:be. |
| 32 | Are you sure you want to continue connecting (yes/no)? yes |
| 33 | Warning: Permanently added 'ncsu2-hn.exogeni.net,152.48.13.190' (RSA) to the list of known hosts. |
| 34 | lnevers@ncsu2-hn.exogeni.net's password: |
| 35 | Creating home directory for lnevers. |
| 36 | |-----------------------------------------------------------------| |
| 37 | | ____ ____ ____ ____ ____ ____ ____ | |
| 38 | | ||E |||x |||o |||G |||E |||N |||I || | |
| 39 | | ||__|||__|||__|||__|||__|||__|||__|| | |
| 40 | | |/__\|/__\|/__\|/__\|/__\|/__\|/__\| | |
| 41 | | | |
| 42 | |-----------------------------------------------------------------| |
| 43 | [lnevers@ncsu2-hn ~]$ sudo whoami |
| 44 | |
| 45 | We trust you have received the usual lecture from the local System |
| 46 | Administrator. It usually boils down to these three things: |
| 47 | |
| 48 | #1) Respect the privacy of others. |
| 49 | #2) Think before you type. |
| 50 | #3) With great power comes great responsibility. |
| 51 | |
| 52 | [sudo] password for lnevers: |
| 53 | root |
| 54 | [lnevers@ncsu2-hn ~]$ id |
| 55 | uid=2107(lnevers) gid=2000(nonrenci) groups=2000(nonrenci),2502(ncsuadmins),2508(osfadmins),2509(ucdadmins),2510(sladmins),2512(ncsu2admins),2513(tamuadmins),9510(bbnadmins) |
| 56 | [lnevers@ncsu2-hn ~]$ |
| 120 | {{{ |
| 121 | [lnevers@ncsu2-hn ~]$ foamctl admin:get-version --passwd-file=/etc/foam.passwd |
| 122 | { |
| 123 | "version": "0.14.0" |
| 124 | } |
| 125 | [lnevers@ncsu2-hn ~]$ foamctl config:get-value --key="site.admin.email" --passwd-file=/opt/foam/etc/foampasswd |
| 126 | { |
| 127 | "value": "foam-admin@gpolab.bbn.com" |
| 128 | } |
| 129 | [lnevers@ncsu2-hn ~]$ foamctl config:get-value --key="geni.site-tag" --passwd-file=/opt/foam/etc/foampasswd |
| 130 | |
| 131 | { |
| 132 | "value": "ncsu2-hn.exogeni.net" |
| 133 | } |
| 134 | [lnevers@ncsu2-hn ~]$ foamctl config:get-value --key="email.from" --passwd-file=/opt/foam/etc/foampasswd |
| 135 | { |
| 136 | "value": null |
| 137 | } |
| 138 | [lnevers@ncsu2-hn ~]$ foamctl config:get-value --key="geni.approval.approve-on-creation" --passwd-file=/opt/foam/etc/foampasswd |
| 139 | { |
| 140 | "value": 0 |
| 141 | } |
| 142 | [lnevers@ncsu2-hn ~]$ |
| 143 | }}} |
| 144 | |
| 145 | Show FOAM slivers details: |
| 146 | {{{ |
| 147 | [lnevers@ncsu2-hn ~]$ foamctl geni:list-slivers --passwd-file=/opt/foam/etc/foampasswd |
| 148 | { |
| 149 | "slivers": [ |
| 150 | { |
| 151 | "status": "pending", |
| 152 | "flowvisor_slice": "dd2e77e8-02d0-45b8-8053-32c65960a88c", |
| 153 | "slice_urn": "urn:publicid:IDN+ch.geni.net:ln-test+slice+IG-CT-4", |
| 154 | "pend_reason": [], |
| 155 | "deleted": "False", |
| 156 | "user": "urn:publicid:IDN+ch.geni.net+user+lnevers", |
| 157 | "creation": "2014-12-04 19:42:24.569232+00:00", |
| 158 | "enabled": false, |
| 159 | "uuid": "dd2e77e8-02d0-45b8-8053-32c65960a88c", |
| 160 | "id": 3, |
| 161 | "expiration": "2014-12-10 00:00:00+00:00", |
| 162 | "sliver_urn": "urn:publicid:IDN+ch.geni.net:ln-test+slice+IG-CT-4:dd2e77e8-02d0-45b8-8053-32c65960a88c", |
| 163 | "ref": null, |
| 164 | "email": "lnevers@bbn.com", |
| 165 | "desc": "IG-CT-4 over 3716 " |
| 166 | } |
| 167 | ] |
| 168 | } |
| 169 | [lnevers@ncsu2-hn ~]$ |
| 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 NCSU2 Head node: |
| 173 | {{{ |
| 174 | [lnevers@ncsu2-hn ~]$ /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd ping hello |
| 175 | Got reply: |
| 176 | PONG(fvadmin): FV version=flowvisor-0.8.1::hello |
| 177 | [lnevers@ncsu2-hn ~]$ /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd listDevices |
| 178 | Device 0: 00:01:18:e7:28:07:bf:c0 |
| 179 | [lnevers@ncsu2-hn ~]$ /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd getDeviceInfo 00:01:18:e7:28:07:bf:c0 |
| 180 | nPorts=5 |
| 181 | portList=32,35,44,33,34 |
| 182 | dpid=00:01:18:e7:28:07:bf:c0 |
| 183 | remote=/192.168.107.20:6633-->/192.168.107.4:13369 |
| 184 | portNames=Eth1/32(32),Eth1/35(35),Eth1/44(44),Eth1/33(33),Eth1/34(34) |
| 185 | [lnevers@ncsu2-hn ~]$ /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd listSlices |
| 186 | Slice 0: fvadmin |
| 187 | Slice 1: orca-141 |
| 188 | Slice 2: orca-142 |
| 189 | Slice 3: orca-140 |
| 190 | Slice 4: orca-143 |
| 191 | Slice 5: orca-136 |
| 192 | Slice 6: orca-137 |
| 193 | Slice 7: orca-138 |
| 194 | Slice 8: orca-128 |
| 195 | Slice 9: orca-139 |
| 196 | Slice 10: orca-158 |
| 197 | Slice 11: orca-129 |
| 198 | Slice 12: orca-159 |
| 199 | Slice 13: orca-154 |
| 200 | Slice 14: orca-155 |
| 201 | Slice 15: orca-130 |
| 202 | Slice 16: orca-156 |
| 203 | Slice 17: orca-131 |
| 204 | Slice 18: orca-157 |
| 205 | Slice 19: orca-132 |
| 206 | Slice 20: orca-133 |
| 207 | Slice 21: orca-134 |
| 208 | Slice 22: orca-152 |
| 209 | Slice 23: orca-135 |
| 210 | Slice 24: orca-153 |
| 211 | [lnevers@ncsu2-hn ~]$ /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd getSliceInfo orca-153 |
| 212 | Got reply: |
| 213 | connection_1=00:01:18:e7:28:07:bf:c0-->/152.48.13.190:24503-->ncsu2-hn.exogeni.net/152.48.13.190:54423 |
| 214 | contact_email=exogeni-ops@renci.org |
| 215 | controller_hostname=ncsu2-hn.exogeni.net |
| 216 | controller_port=54423 |
| 217 | creator=fvadmin |
| 218 | [lnevers@ncsu2-hn ~]$ |
| 219 | }}} |
| 220 | |
| 221 | = NCSU Administrative Access = |
| 222 | |
| 223 | With requested account accessed rack head node and verified root access and group membership: |
| 224 | {{{ |
| 225 | LNM:~$ ssh ncsu-hn.exogeni.net |
| 226 | |
| 227 | |
| 228 | |
| 229 | sudo whoami |
| 230 | |
| 231 | id |
| 232 | |
| 233 | }}} |
| 234 | |
| 235 | From head node verified login and administrative access to each of the worker nodes that supply VMs. |
| 236 | {{{ |
| 237 | 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 |
| 238 | }}} |
| 239 | |
| 240 | For each worker node execute the following: |
| 241 | {{{ |
| 242 | for i in 9 10; do sudo ssh root@ncsu-w$i "echo -n 'Executing on: ' ; hostname;whoami;uname -a"; done |
| 243 | }}} |
| 244 | |
| 245 | Connect to the management switch: |
| 246 | {{{ |
| 247 | [lnevers@ncsu-hn ~]$ ssh ncsu-8052.ncsu.xo |
| 248 | |
| 249 | >ena |
| 250 | |
| 251 | show interface status |
| 252 | show version |
| 253 | show vlan |
| 254 | }}} |
| 255 | |
| 256 | }}} |
| 257 | |
| 258 | Connect to the !OpenFlow switch: |
| 259 | {{{ |
| 260 | ssh lnevers@ncsu-8264.ncsu.xo |
| 261 | |
| 262 | >ena |
| 263 | |
| 264 | show interface status |
| 265 | show version brief |
| 266 | show vlan |
| 267 | }}} |
| 268 | |
| 269 | Verify FOAM and !FlowVisor configuration files ownership and paths: |
| 270 | {{{ |
| 271 | [lnevers@ncsu-hn ~]$ ls -l /etc/foam.passwd /etc/flowvisor.passwd /etc/flowvisor/fvpasswd /opt/foam/etc/foampasswd |
| 272 | }}} |
| 273 | |
| 274 | Check FOAM version and FOAM configuration for site.admin.email, geni.site-tag, email.from settings on the NCSU head node: |
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 | | }}} |