Wednesday, February 29, 2012

Detaching I/O system boards with DMP enabled

(Performing dynamic reconfiguration on SunEnterprise 10K)
Make sure the kernel_cage_enable variable is set.
To attach an I/O board with DMP enabled
  1. Freeze the VCS service groups running on the domain where you intend to perform dynamic reconfiguration operations. Freezing the service groups prevents them from being taken offline or failed over. Repeat the following command for each service group:
    # hagrp -freeze ser_grp_name
  2. Connect to the SSP server and log in to the domain whose system board requires Dynamic Reconfiguration.
    ssp:D1% echo $SUNW_HOSTNAME
  3. Enter the dr(1M) shell:
    ssp:D1% dr
  4. To verify the board is an I/O board, enter:
    dr> drshow sb# IO
    If the display lists the disks connected to the controller, the system board is an I/O board.
  5. If the system board is an I/O board, open another window and log in as root to the domain you are currently reconfiguring.
  6. Disable the controller on the I/O system board:
    # vxdmpadm disable ctlr=ctlr#
  7. In the window where you are running dynamic reconfiguration, start detaching the I/O board by entering:
    dr> drain sb#
  8. Monitor the progress of the drain operation by entering:
    dr> drshow sb# drain
  9. When you see the message:
    Percent Complete= 100% (0 KBytes remaining)
    complete the detach operation:
    dr> complete_detach sb#
  10. To verify that the board is no longer configured, type the following command:
    dr> drshow sb#
    The detached board should not appear in the detailed listing.
  11. Exit the dr shell:
    dr> exit
  12. If the board is not to be immediately replaced, unfreeze any frozen service groups:
    # hagrp -unfreeze ser_grp_name
    Repeat for each service group.