297 | | |
298 | | |
| 297 | Submitted the modifications and the following was reported as the allocation was modified: |
| 298 | {{{ |
| 299 | Doing a preswapmod on the experiment archive ... |
| 300 | Backing up old experiment state ... 10:42:28:275547 |
| 301 | Running 'tbprerun -e 13 shared-nodes-modify.ns' |
| 302 | Beginning pre run for emulab-ops/shared-nodes. 10:42:28:567671 |
| 303 | Running parser ... 10:42:28:901234 |
| 304 | Parser done! 10:42:31:271349 |
| 305 | Setting up static routes (if requested) ... |
| 306 | *** WARNING: staticroutes: |
| 307 | *** No links or lans in experiment emulab-ops/shared-nodes! |
| 308 | Generating topomap ... |
| 309 | Verifying parse ... |
| 310 | Doing a pre-assign: '/usr/testbed/bin/vtopgen -p emulab-ops shared-nodes' ... |
| 311 | Checking for feature LibVtopTest. |
| 312 | Using test version of libvtop ... |
| 313 | Minimum nodes = 3 |
| 314 | Maximum nodes = 3 |
| 315 | Writing environment strings ... |
| 316 | Setting up additional program agent support ... |
| 317 | Setting up additional network agent support ... |
| 318 | Writing program agent info ... |
| 319 | Pre run finished. 10:42:34:348647 |
| 320 | Running 'tbswap modify -reboot -eventsys_restart -noswapout -noreconfig emulab-ops shared-nodes' |
| 321 | Beginning swap-modify for emulab-ops/shared-nodes (13). 02/06/2013 10:42:34 |
| 322 | TIMESTAMP: 10:42:34:635812 tbswap modify started |
| 323 | Checking for feature SyncVlans. |
| 324 | Checking with Admission Control ... |
| 325 | Backing up physical state... |
| 326 | Stopping the event system |
| 327 | Checking for feature NewEventScheduler. |
| 328 | Mapping to physical reality ... |
| 329 | TIMESTAMP: 10:42:36:53970 mapper wrapper started |
| 330 | Checking for feature OldMapper. |
| 331 | Checking for feature NewAssign. |
| 332 | Checking for feature ControlNetVlans. |
| 333 | Checking for feature LibVtopTest. |
| 334 | Using test version of libvtop ... |
| 335 | Starting the new and improved mapper wrapper. |
| 336 | Minimum nodes = 3 |
| 337 | Maximum nodes = 3 |
| 338 | Reserved pnodes = 2 |
| 339 | Clearing physical state before updating. |
| 340 | Mapper loop 1 |
| 341 | ptopargs: '-p emulab-ops -e shared-nodes ' |
| 342 | assign command: 'assign -P -f text emulab-ops-shared-nodes-864.ptop emulab-ops-shared-nodes-864.vtop' |
| 343 | Reading assign results. |
| 344 | [Node: pc1] already reserved in holding reservation. |
| 345 | [Node: pc2] already reserved in holding reservation. |
| 346 | pc4 |
| 347 | pc1 |
| 348 | pc2 |
| 349 | TIMESTAMP: 10:42:39:703877 mapper wrapper finished |
| 350 | Mapped to physical reality! |
| 351 | Synchronizing VLANs. |
| 352 | getTrunksForVlan: 8: procurve2 |
| 353 | mapVlansToSwitches: procurve2 |
| 354 | getExperimentTrunksForVlan: 8: procurve2 |
| 355 | mapStaleVlansToSwitches: procurve2 |
| 356 | procurve2 -> startChildCall(FlipDebug) |
| 357 | Experiment vlans: 8 |
| 358 | Trunk Ports: pc1:3.1 pc2:3.1 pc2:2.1 pc4:1.1 pc2:1.1 pc4:3.1 pc4:2.1 pc1:2.1 pc1:1.1 |
| 359 | Existing vlans: 8 |
| 360 | Stale vlans: |
| 361 | Existing Trunk Ports: pc1:3.1 pc2:3.1 pc2:1.1 pc1:1.1 |
| 362 | Creating dual mode trunking vlan 8: pc4:1.1 pc4:2.1 pc4:3.1 |
| 363 | snmpit_stack::findVlans( ) |
| 364 | procurve2 -> startChildCall(findVlans) |
| 365 | procurve2::findVlans |
| 366 | snmpit_stack::reapCall(findVlans) |
| 367 | stack::findVlans calling procurve2 |
| 368 | VLAN 8 already exists |
| 369 | snmpit_stack::findVlan( 8 ) |
| 370 | snmpit_stack::findVlans( 8 ) |
| 371 | procurve2 -> startChildCall(findVlans) |
| 372 | procurve2::findVlans |
| 373 | snmpit_stack::reapCall(findVlans) |
| 374 | stack::findVlans calling procurve2 |
| 375 | snmpit_stack::findVlans( ) |
| 376 | procurve2 -> startChildCall(findVlans) |
| 377 | procurve2::findVlans |
| 378 | snmpit_stack::reapCall(findVlans) |
| 379 | stack::findVlans calling procurve2 |
| 380 | getTrunksForVlan: 8: procurve2 |
| 381 | procurve2 -> startChildCall(vlanNumberExists) |
| 382 | Vlan 8 already exists on procurve2 |
| 383 | jitdev::setPortVlan( 257 pc4:1.1 pc4:2.1 pc4:3.1 ) |
| 384 | procurve2 -> startChildCall(setPortVlan) |
| 385 | procurve2::setPortVlan(257)as ifIndexes: 106,107,108 |
| 386 | portControl: enable -> (pc4:1.1 pc4:2.1 pc4:3.1) |
| 387 | checking row 106 for up ... |
| 388 | Port pc4:1.1, row 106 was down |
| 389 | Setting pc4:1.1 (r 106) to up...succeeded. |
| 390 | checking row 107 for up ... |
| 391 | Port pc4:2.1, row 107 was down |
| 392 | Setting pc4:2.1 (r 107) to up...succeeded. |
| 393 | checking row 108 for up ... |
| 394 | Port pc4:3.1, row 108 was down |
| 395 | Setting pc4:3.1 (r 108) to up...succeeded. |
| 396 | procurve2 -> startChildCall(portControl) |
| 397 | portControl: 1000mbit -> (pc4:1.1) |
| 398 | checking row 106 for auto-1000Mbits ... |
| 399 | Port pc4:1.1, row 106 was auto-1000Mbits |
| 400 | procurve2 -> startChildCall(portControl) |
| 401 | portControl: full -> (pc4:1.1) |
| 402 | checking row 106 for full ... |
| 403 | Port pc4:1.1, row 106 was auto-1000Mbits |
| 404 | procurve2 -> startChildCall(portControl) |
| 405 | portControl: 1000mbit -> (pc4:2.1) |
| 406 | checking row 107 for auto-1000Mbits ... |
| 407 | Port pc4:2.1, row 107 was auto-1000Mbits |
| 408 | procurve2 -> startChildCall(portControl) |
| 409 | portControl: full -> (pc4:2.1) |
| 410 | checking row 107 for full ... |
| 411 | Port pc4:2.1, row 107 was auto-1000Mbits |
| 412 | procurve2 -> startChildCall(portControl) |
| 413 | portControl: 1000mbit -> (pc4:3.1) |
| 414 | checking row 108 for auto-1000Mbits ... |
| 415 | Port pc4:3.1, row 108 was auto-1000Mbits |
| 416 | procurve2 -> startChildCall(portControl) |
| 417 | portControl: full -> (pc4:3.1) |
| 418 | checking row 108 for full ... |
| 419 | Port pc4:3.1, row 108 was auto-1000Mbits |
| 420 | Enabling dual mode trunking on pc1:2.1:8 |
| 421 | Enabling dual trunking (tagging) on pc1:2.1 8 |
| 422 | procurve2 -> startChildCall(findVlan) |
| 423 | procurve2::findVlans |
| 424 | Enable trunking: Port is pc1:2.1 native VLAN is 8 |
| 425 | procurve2 -> startChildCall(enablePortTrunking2) |
| 426 | procurve2::setPortVlan(257)as ifIndexes: 98 |
| 427 | portControl: enable -> (pc1:2.1) |
| 428 | checking row 98 for up ... |
| 429 | Port pc1:2.1, row 98 was down |
| 430 | Setting pc1:2.1 (r 98) to up...succeeded. |
| 431 | procurve2::updateOneVlan(0,0,1) as ifIndexes: 98 |
| 432 | Enabling dual mode trunking on pc2:2.1:8 |
| 433 | Enabling dual trunking (tagging) on pc2:2.1 8 |
| 434 | procurve2 -> startChildCall(findVlan) |
| 435 | procurve2::findVlans |
| 436 | Enable trunking: Port is pc2:2.1 native VLAN is 8 |
| 437 | procurve2 -> startChildCall(enablePortTrunking2) |
| 438 | procurve2::setPortVlan(257)as ifIndexes: 101 |
| 439 | portControl: enable -> (pc2:2.1) |
| 440 | checking row 101 for up ... |
| 441 | Port pc2:2.1, row 101 was down |
| 442 | Setting pc2:2.1 (r 101) to up...succeeded. |
| 443 | procurve2::updateOneVlan(0,0,1) as ifIndexes: 101 |
| 444 | Enabling dual mode trunking on pc4:1.1:8 |
| 445 | Enabling dual trunking (tagging) on pc4:1.1 8 |
| 446 | procurve2 -> startChildCall(findVlan) |
| 447 | procurve2::findVlans |
| 448 | Enable trunking: Port is pc4:1.1 native VLAN is 8 |
| 449 | procurve2 -> startChildCall(enablePortTrunking2) |
| 450 | procurve2::updateOneVlan(0,0,1) as ifIndexes: 106 |
| 451 | Enabling dual mode trunking on pc4:2.1:8 |
| 452 | Enabling dual trunking (tagging) on pc4:2.1 8 |
| 453 | procurve2 -> startChildCall(findVlan) |
| 454 | procurve2::findVlans |
| 455 | Enable trunking: Port is pc4:2.1 native VLAN is 8 |
| 456 | procurve2 -> startChildCall(enablePortTrunking2) |
| 457 | procurve2::updateOneVlan(0,0,1) as ifIndexes: 107 |
| 458 | Enabling dual mode trunking on pc4:3.1:8 |
| 459 | Enabling dual trunking (tagging) on pc4:3.1 8 |
| 460 | procurve2 -> startChildCall(findVlan) |
| 461 | procurve2::findVlans |
| 462 | Enable trunking: Port is pc4:3.1 native VLAN is 8 |
| 463 | procurve2 -> startChildCall(enablePortTrunking2) |
| 464 | procurve2::updateOneVlan(0,0,1) as ifIndexes: 108 |
| 465 | Fetching tarballs and RPMs (if any) ... |
| 466 | TIMESTAMP: 10:42:42:105102 tarfiles_setup started |
| 467 | TIMESTAMP: 10:42:42:428132 tarfiles_setup finished |
| 468 | Updating dynamic blobs. |
| 469 | Setting up mountpoints. |
| 470 | TIMESTAMP: 10:42:42:486896 mountpoints started |
| 471 | TIMESTAMP: 10:42:44:738628 mountpoints finished |
| 472 | TIMESTAMP: 10:42:44:740361 named started |
| 473 | Setting up named maps. |
| 474 | TIMESTAMP: 10:42:45:231283 named finished |
| 475 | TIMESTAMP: 10:42:45:232917 gentopofile started |
| 476 | Generating ltmap (again) ... |
| 477 | TIMESTAMP: 10:42:45:418914 gentopofile finished |
| 478 | Resetting OS and rebooting. |
| 479 | TIMESTAMP: 10:42:45:421243 launching os_setup |
| 480 | Checking for feature OldOsSetup. |
| 481 | TIMESTAMP: 10:42:46:11935 os_setup started |
| 482 | Checking for feature NewOsload. |
| 483 | Adding pc1 to type object pc |
| 484 | pc1 - [OS 10016: emulab-ops,FEDORA15-OPENVZ-STD] |
| 485 | Adding pc2 to type object pc |
| 486 | pc2 - [OS 10016: emulab-ops,FEDORA15-OPENVZ-STD] |
| 487 | Adding pc4 to type object pc |
| 488 | pc4 - [OS 10016: emulab-ops,FEDORA15-OPENVZ-STD] |
| 489 | Asking [pc] for volunteers |
| 490 | [pc] returns volunteers: [Node: pc4] [Node: pc1] [Node: pc2] |
| 491 | Lighting up nodes in parallel ... |
| 492 | Lighting up nodes: [Node: pc4] [Node: pc1] [Node: pc2] |
| 493 | pc4 will be reloaded with [Image 10016: emulab-ops,FEDORA15-OPENVZ-STD] |
| 494 | Checking for feature NewOsload. |
| 495 | osload: Using [Image 10016: emulab-ops,FEDORA15-OPENVZ-STD] for pc4 |
| 496 | [Image 10016: emulab-ops,FEDORA15-OPENVZ-STD]: loadpart=2, loadlen=1, \ |
| 497 | imagepath=/usr/testbed/images/FEDORA15-OPENVZ-STD.ndz, imagesize=1217396736, defosid=10016, maxloadwait=1354 |
| 498 | osload (pc4): Changing default OS to [OS 10016: emulab-ops,FEDORA15-OPENVZ-STD] |
| 499 | Setting up reload for pc4 (mode: Frisbee) |
| 500 | TIMESTAMP: 10:42:47:373034 osload: database setup done |
| 501 | osload: Issuing reboot for pc4 and then waiting ... |
| 502 | TIMESTAMP: 10:42:47:376165 osload: event handler enabled |
| 503 | reboot: no privs; invoking real nodereboot script! |
| 504 | reboot: Running in pipemode (30). |
| 505 | reboot (pc4): Attempting to reboot ... |
| 506 | reboot (pc4): in PXEWAIT: sending wakeup command. |
| 507 | Built 17-Jan-2013 by elabman@boss:/users/elabman/testbed/obj-real/pxe |
| 508 | Sending event PXEWAKEUP for node pc4 |
| 509 | 192.1.242.143: SEND: query bootinfo |
| 510 | reboot (pc4): Successful! |
| 511 | reboot: Done. There were 0 failures. |
| 512 | reboot (pc4): child returned 0 status. |
| 513 | Waiting for pc4 to finish reloading |
| 514 | Wed Feb 6 10:42:47 EST 2013 |
| 515 | TIMESTAMP: 10:42:47:992938 osload: starting reload-done wait |
| 516 | osload: eventhandler: pc4 => RELOADSETUP @ 1360165393 |
| 517 | osload: eventhandler: pc4 => RELOADING @ 1360165393 |
| 518 | got 2 events |
| 519 | osload (pc4): still waiting; it has been 1 minute(s) |
| 520 | osload (pc4): still waiting; it has been 2 minute(s) |
| 521 | osload (pc4): still waiting; it has been 3 minute(s) |
| 522 | osload (pc4): still waiting; it has been 4 minute(s) |
| 523 | osload (pc4): still waiting; it has been 5 minute(s) |
| 524 | osload (pc4): still waiting; it has been 6 minute(s) |
| 525 | osload (pc4): still waiting; it has been 7 minute(s) |
| 526 | osload (pc4): left reloading mode at Wed Feb 6 10:50:08 EST 2013 |
| 527 | osload: Done! There were 0 failures. |
| 528 | reload (pc4): child returned 0 status. |
| 529 | Waiting for nodes ... |
| 530 | pc1 has reported state ISUP |
| 531 | Checking for feature OsloadFailNonfatal. |
| 532 | pc1 is alive and well |
| 533 | pc2 has reported state ISUP |
| 534 | Checking for feature OsloadFailNonfatal. |
| 535 | pc2 is alive and well |
| 536 | *** os_setup: Still waiting for pc4 (SHUTDOWN) - it's been 1 minute(s). |
| 537 | *** os_setup: Still waiting for pc4 (SHUTDOWN) - it's been 2 minute(s). |
| 538 | *** os_setup: Still waiting for pc4 (BOOTING) - it's been 3 minute(s). |
| 539 | pc4 has reported state ISUP |
| 540 | Checking for feature OsloadFailNonfatal. |
| 541 | pc4 is alive and well |
| 542 | Asking [pc] for volunteers |
| 543 | TIMESTAMP: 10:53:34:398383 os_setup finished |
| 544 | Starting the event system. |
| 545 | TIMESTAMP: 10:53:34:416968 eventsys_control started |
| 546 | Checking for feature NewEventScheduler. |
| 547 | /usr/testbed/sbin/event-sched -d -s localhost -k /proj/emulab-ops/exp/shared-nodes/tbdata/eventkey emulab-ops \ |
| 548 | shared-nodes |
| 549 | Beginning call to experiment.metadata |
| 550 | Error occured: problem setting up certificate |
| 551 | could not get experiment metadata |
| 552 | Finished with call to experiment.metadata |
| 553 | *** eventsys.proxy: |
| 554 | Failed to start event system for emulab-ops/shared-nodes: 47835 0! |
| 555 | *** WARNING: tbswap: |
| 556 | *** Failed to start the event system, must restart manually. |
| 557 | Successfully finished swap-modify for emulab-ops/shared-nodes. 10:53:37:300754 |
| 558 | TIMESTAMP: 10:53:37:301712 tbswap modify finished (succeeded) |
| 559 | Image rendering proceeding in background mode ... |
| 560 | Running 'tbreport -b emulab-ops shared-nodes' |
| 561 | cp: utimes: /usr/testbed/expinfo/emulab-ops/shared-nodes/13/pstate.DvOhzX: Operation not permitted |
| 562 | cp: utimes: /usr/testbed/expinfo/emulab-ops/shared-nodes/13/vstate.12tonR: Operation not permitted |
| 563 | cp: utimes: /usr/testbed/expinfo/emulab-ops/shared-nodes/13/vstate.FdQ9Eq: Operation not permitted |
| 564 | cp: utimes: /usr/testbed/expinfo/emulab-ops/shared-nodes/13/vstate.Qk8L8S: Operation not permitted |
| 565 | cp: utimes: /usr/testbed/expinfo/emulab-ops/shared-nodes/13: Operation not permitted |
| 566 | Doing a commit on the previous experiment archive ... |
| 567 | Doing a savepoint on the experiment archive ... |
| 568 | Swap Success! |
| 569 | }}} |
| 570 | |
| 571 | c. Verified that the node becomes part of the shared pool. |
| 572 | Checked the details for the shared-node experiment which shows pc4 as one of the nodes in the shared nodes pool: |
| 573 | |
| 574 | [[Image(IG-EXP-1-pc4-shared.jpg)]] |
| 575 | |
| 576 | d. Verify that no VMs are in use for the new shared node by checking that the tag "<emulab:node_type type_slots="100"/> ". |
| 577 | |
| 578 | {{{ |
| 579 | <node component_id="urn:publicid:IDN+instageni.gpolab.bbn.com+node+pc4" component_manager_id="urn:publicid:IDN+instageni.gpolab.bbn.com+authority+cm" component_name="pc4" exclusive="false"> |
| 580 | |
| 581 | <hardware_type name="dl360-vm"> |
| 582 | <emulab:node_type type_slots="100"/> |
| 583 | </hardware_type> |
| 584 | }}} |
| 585 | |
| 586 | e. Modify shared-nodes experiment to remove the node, (if not in use). |
| 587 | |
| 588 | Selected modify experiment and removed: |
| 589 | {{{ |
| 590 | set vhost3 [$ns node] |
| 591 | tb-set-node-os $vhost3 FEDORA15-OPENVZ-STD |
| 592 | tb-set-node-sharingmode $vhost3 "shared_local" |
| 593 | tb-fix-node $vhost3 pc4 |
| 594 | }}} |
| 595 | |
| 596 | Submited the changes and the following operations took place: |
| 597 | {{{ |
| 598 | |
| 599 | f. Verify that the node is no longer part of the shared pool via listresources component_id "exclusive" tag. |
| 600 | |
| 601 | |