NAME | SYNOPSIS | CAUTION | DESCRIPTION | OPERANDS | DIAGNOSTICS | EXIT STATUS | SEE ALSO
Do not use this command, which runs in the DR shell; it is included here only for completeness, and is dangerous. Instead, use complete_detach(1M), which performs the same functions, but with the added security of safeguards and checks.
dr_cmd_c_detach completes a DR detach board operation. The designated system board should already have been drained via dr_cmd_drain(1M).
You can detach a system board only when none of its devices is in use. DR automatically terminates the use of memory, processors (in almost all cases), and network devices on the board. But the administrator must make certain that all use of the I/O devices has ceased. You can use drshow(1M) to list the devices in use on a given system board.
This command is available only for DR 2.0 domains (that is, domains that use the DR daemon) on the Sun Enterprise 10000 server. You can use domain_status(1M) to determine the DR version running on the domain.
The following operand is supported.
The board number (0 to 15) of the system board being detached
See DIAGNOSTICS on complete_detach(1M).
If dr_cmd_c_attach succeeds it returns a 0 result code in the dr_return global variable. If it fails, it returns a 1 and displays diagnostic messages.
Tcl parsing errors prevent DR commands from running which, in turn, leaves dr_return uninitialized. In such cases, the dr_return error code is meaningless. See dr(1M) for more information concerning return codes.
dr(1M), dr_cmd_drain(1M)
NAME | SYNOPSIS | CAUTION | DESCRIPTION | OPERANDS | DIAGNOSTICS | EXIT STATUS | SEE ALSO