Dynamic Reconfiguration Operation
If a collaboration program is executed in verbose mode, standard output and standard error output of the
collaboration program is output to a special log file. Other outputs of collaboration program which executed
in non-verbose mode are output to system log as well as log of DR command. For the log of collaborate
program, refer to the following “5.2.10 Output of collaboration program”.
Configuration file of collaboration program is not indispensable. If configuration file does not exist, hot plug
collaboration function executes collaboration programs by using the default value.
Note:
Blank line and the line that starts by # in the configuration file is ignored.
You can use Japanese after #, but in this case character code of Japanese must use UTF-8 form.
Write one setting item by one line.
You can insert the blank before or after the setting item, blank and the setting value.
An example of a configuration file is shown below.
e.g. When collaboration program named nn-FJSVxxxx-get-info executes in verbose mode and timeout
period is 10 minutes.
# FJSVxxx-get-cpu-info
verbose = true
timeout = 10
5.2.7 Permission required for collaboration program
P command is executed with the root permission. And because hot plug collaboration function is executed
as one function of the DR command, the collaboration programs must be assigned the execution attribute of
the root permission. Collaboration programs without the execution attribute of the root permission are not
executed.
5.2.8 Argument passed to collaboration program
When executing a collaboration program, hot plug collaboration function passed hot plug event timing to the
collaboration program as option. Result of hot plug and hot added/removed resources are passed to the
collaboration program as option, when the collaboration program is executed at the addition/deletion of
SB/IOU failure time.
The list of the arguments passed to a collaboration program is shown below.
O
Options
Arguments
Meaning
-
p
hot plugged device
SBx
IOUy
Specifies the hot plugged device.
“x“ and “y“ are set to either -1 or 0-3.
-
e
hot plug eventl timing
ADD_PRE
ADD_POST
RM_PRE
RM_POST
Specifies the hot plug event timing.
ADD_PRE : before dynamic addition
ADD_POST : after dynamic addition
RM_PRE: before dynamic deletion
RM_POST : after dynamic deletion
-
result of hot plug
Specifies the result of hot plug