Dynamic Reconfiguration User's Guide 2.5.1 |
Contents
![]() ![]() |
Chapter 3 DR User Interface |
adrc - executes automated DR operation
/opt/FJSVhwr/sbin/adrc -connect sbXY | sbXY-N [-reset]
/opt/FJSVhwr/sbin/adrc -disconnect sbXY | sbXY-N [-reset]
/opt/FJSVhwr/sbin/adrc -disconnect sbXY | sbXY-N -next PID [-reset]
This command can only be executed by the super user.
For requirements of this command, please refer to "1.2 DR Requirements".
Executes DR attach/detach, or assists system board hotswap or system board movement between partitions.
adrc(1M) command can be used only for a system board of the current partition or undefined("-").
DR operation can be completed automatically by executing this command.
adrc(1M) will automatically answer questions asked by the dr_query(1M) command by defining answers in reply files. (See section 3.6.2 "Reply File")
The following options are available:
Status, PID, Next_PID, Board_Type, CPU(MHz) on the specified system board. Cabinet and slot numbers (sbXY or sbXY-N) are show by running the drcstat(1M) command.
Both Board_Type and CPU(MHz) of the system board must match those of the current partition.
When Board_Type is 0x2X, both Board_Type and CPU(MHz) of the system board must match those of the current partition. And, when Board_Type is 0x3X, only Board_Type must match those of the current partition.
Other options |
Conditions before drc(1M) is invoked |
Conditions after drc(1M) is terminated |
Note |
||||
Status |
PID |
Next_PID |
Status |
PID |
Next_PID |
||
none |
Waiting |
current |
current |
Configured |
current |
current |
|
Disconnected |
- |
- |
|||||
Disconnected |
- |
current |
|||||
-reset |
Configured |
current |
dest |
Configured |
current |
current |
1. |
Configured |
current |
-- |
2. |
||||
Disconnected |
- |
- |
Disconnected |
- |
current |
3. |
current : The current partition id
dest : The destination partition id
- : undefined
other options |
Conditions before drc(1M) is invoked |
Conditions after drc(1M) is terminated |
Note |
||||
Status |
PID |
Next_PID |
Status |
PID |
Next_PID |
||
none |
Configured |
current |
current |
Disconnected |
- |
- |
|
Waiting |
current |
current |
|||||
-next |
Configured |
current |
current |
Waiting |
dest |
dest |
1. |
Waiting |
current |
current |
|||||
-reset |
Configured |
current |
current |
Configured |
current |
- |
2. |
Disconnected |
- |
current |
Disconnected |
- |
- |
3. |
|
-next |
Configured |
current |
current |
Configured |
current |
dest |
1. |
current : The current partition id
dest : The destination partition ID specified with -next option
- : undefined
/etc/opt/FJSVhwr/adrc.conf
LOG_FILE_NAME=/dev/stdout
RETRY_TIME=600
RETRY_CNT=3
LOG_FILE_NAME |
specify the file name that holds logging information on adrc(1M). |
RETRY_TIME |
specify interval time(sec) for adrc to retry DR operation in case of error. |
RETRY_CNT |
specify the number of times for retry. |
Attach the system board "sb02" to the current partition.
# adrc -connect sb02
Attach the system board "sb02" to the current partition at the next boot.
# adrc -connect sb02 -reset
Detach the system board "sb02" from the current partition.
# adrc -disconnect sb02
Detach the system board "sb02" from the current partition at the next reboot.
# adrc -disconnect sb02 -reset
Remove the system board "sb02" from the current partition and set Next_PID to partition #2. The removed system board will belong to partition #2 when "adrc -connect sb02" is run on the partition #2.
<the current partition>
# adrc -disconnect sb02 -next 2
<partition #2>
# adrc -connect sb02
Remove the system board "sb02" from the current partition and set Next_PID to partition #2 at the next reboot. The removed system board will belong to partition #2 after both partition #2 and the current partition is rebooted next time.
# adrc -disconnect sb02 -next 2 -reset
When XPAR is used, attach the system board "sb02-1" to the current partition.
# adrc -connect sb02-1
When XPAR is used, detach the system board "sb02-1" from the current partition.
# adrc -disconnect sb02-1
This command returns the following values:
drcstat(1M), adrc(1M)
Contents
![]() ![]() |