226 | | |
227 | | |
228 | | |
229 | | sudo whoami |
230 | | |
231 | | id |
232 | | |
| 226 | The authenticity of host 'ncsu-hn.exogeni.net (152.48.13.3)' can't be established. |
| 227 | RSA key fingerprint is e0:ad:3d:c7:33:02:84:66:1e:44:7d:30:4d:20:5b:07. |
| 228 | Are you sure you want to continue connecting (yes/no)? yes |
| 229 | Warning: Permanently added 'ncsu-hn.exogeni.net,152.48.13.3' (RSA) to the list of known hosts. |
| 230 | lnevers@ncsu-hn.exogeni.net's password: |
| 231 | |-----------------------------------------------------------------| |
| 232 | | ____ ____ ____ ____ ____ ____ ____ | |
| 233 | | ||E |||x |||o |||G |||E |||N |||I || | |
| 234 | | ||__|||__|||__|||__|||__|||__|||__|| | |
| 235 | | |/__\|/__\|/__\|/__\|/__\|/__\|/__\| | |
| 236 | | | |
| 237 | |-----------------------------------------------------------------| |
| 238 | [lnevers@ncsu-hn ~]$ sudo whoami |
| 239 | |
| 240 | We trust you have received the usual lecture from the local System |
| 241 | Administrator. It usually boils down to these three things: |
| 242 | |
| 243 | #1) Respect the privacy of others. |
| 244 | #2) Think before you type. |
| 245 | #3) With great power comes great responsibility. |
| 246 | |
| 247 | [sudo] password for lnevers: |
| 248 | root |
| 249 | [lnevers@ncsu-hn ~]$ id |
| 250 | uid=2107(lnevers) gid=2000(nonrenci) groups=2000(nonrenci),2502(ncsuadmins),2508(osfadmins),2509(ucdadmins),2510(sladmins),2512(ncsu2admins),2513(tamuadmins),9510(bbnadmins) |
| 251 | [lnevers@ncsu-hn ~]$ |
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 |
| 256 | [lnevers@ncsu-hn ~]$ for i in {1..13}; do sudo ssh root@ncsu-w$i "echo -n 'Executing on: ' ; hostname;whoami;uname -a"; done |
| 257 | Executing on: ncsu-w1 |
| 258 | root |
| 259 | Linux ncsu-w1 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 |
| 260 | Executing on: ncsu-w2 |
| 261 | root |
| 262 | Linux ncsu-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 |
| 263 | Executing on: ncsu-w3 |
| 264 | root |
| 265 | Linux ncsu-w3 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 |
| 266 | Executing on: ncsu-w4 |
| 267 | root |
| 268 | Linux ncsu-w4 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 |
| 269 | Executing on: ncsu-w5 |
| 270 | root |
| 271 | Linux ncsu-w5 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 |
| 272 | Executing on: ncsu-w6 |
| 273 | root |
| 274 | Linux ncsu-w6 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 |
| 275 | Executing on: ncsu-w7 |
| 276 | root |
| 277 | Linux ncsu-w7 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 |
| 278 | Executing on: ncsu-w8 |
| 279 | root |
| 280 | Linux ncsu-w8 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 |
| 281 | Executing on: ncsu-w9 |
| 282 | root |
| 283 | Linux ncsu-w9 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 |
| 284 | Executing on: ncsu-w10 |
| 285 | root |
| 286 | Linux ncsu-w10 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 |
| 287 | Executing on: ncsu-w11 |
| 288 | root |
| 289 | Linux ncsu-w11 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 |
| 290 | Executing on: ncsu-w12 |
| 291 | root |
| 292 | Linux ncsu-w12 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 |
| 293 | Executing on: ncsu-w13 |
| 294 | root |
| 295 | Linux ncsu-w13 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 |
| 296 | [lnevers@ncsu-hn ~]$ |
| 297 | }}} |
| 298 | |
| 299 | For each Bare Metal node execute the following: |
| 300 | {{{ |
| 301 | for i in 14 15; do sudo ssh root@ncsu-w$i "echo -n 'Executing on: ' ; hostname;whoami;uname -a"; done |
275 | | }}} |
276 | | foamctl admin:get-version --passwd-file=/etc/foam.passwd |
277 | | foamctl config:get-value --key="site.admin.email" --passwd-file=/opt/foam/etc/foampasswd |
278 | | foamctl config:get-value --key="geni.site-tag" --passwd-file=/opt/foam/etc/foampasswd |
279 | | foamctl config:get-value --key="email.from" --passwd-file=/opt/foam/etc/foampasswd |
280 | | foamctl config:get-value --key="geni.approval.approve-on-creation" --passwd-file=/opt/foam/etc/foampasswd |
| 339 | [lnevers@ncsu-hn ~]$ foamctl admin:get-version --passwd-file=/etc/foam.passwd |
| 340 | Basic auth failed: invalid password |
| 341 | [lnevers@ncsu-hn ~]$ foamctl config:get-value --key="site.admin.email" --passwd-file=/opt/foam/etc/foampasswd |
| 342 | Basic auth failed: invalid password |
| 343 | [lnevers@ncsu-hn ~]$ foamctl config:get-value --key="geni.site-tag" --passwd-file=/opt/foam/etc/foampasswd |
| 344 | Basic auth failed: invalid password |
| 345 | [lnevers@ncsu-hn ~]$ foamctl config:get-value --key="email.from" --passwd-file=/opt/foam/etc/foampasswd |
| 346 | Basic auth failed: invalid password |
| 347 | [lnevers@ncsu-hn ~]$ foamctl config:get-value --key="geni.approval.approve-on-creation" --passwd-file=/opt/foam/etc/foampasswd |
| 348 | Basic auth failed: invalid password |
| 349 | [lnevers@ncsu-hn ~]$ |
| 350 | }}} |
| 351 | '''Note: Fails as expected, no !OpenFlow for NCSU rack.''' |
| 352 | |
| 353 | |
289 | | /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd ping hello |
290 | | /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd listDevices |
291 | | /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd getDeviceInfo |
292 | | /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd listSlices |
293 | | /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd getSliceInfo urn |
294 | | |
295 | | }}} |
| 364 | [lnevers@ncsu-hn ~]$ /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd ping hello |
| 365 | Got reply: |
| 366 | PONG(fvadmin): FV version=flowvisor-0.8.1::hello |
| 367 | [lnevers@ncsu-hn ~]$ /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd listDevices |
| 368 | [lnevers@ncsu-hn ~]$ /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd listSlices |
| 369 | Slice 0: fvadmin |
| 370 | Slice 1: N3K-Test |
| 371 | [lnevers@ncsu-hn ~]$ /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd getSliceInfo N3K-Test |
| 372 | Got reply: |
| 373 | contact_email=slice=tester@renci.org |
| 374 | controller_hostname=127.0.0.1 |
| 375 | controller_port=60635 |
| 376 | creator=fvadmin |
| 377 | [lnevers@ncsu-hn ~]$ |
| 378 | }}} |
| 379 | |
| 380 | '''Note: No Device present as expected, no !OpenFlow at NCSU''' |