Exit Status Of Collaboration Program; Output Of Collaboration Program; Flow Of Collaboration Program Execution - Fujitsu PRIMEQUEST 2000 Series Tool Reference

Hide thumbs Also See for PRIMEQUEST 2000 Series:
Table of Contents

Advertisement

Dynamic Reconfiguration Operation
Example of specified options by the hot plug collaboration function is shown below.
/path/to/program1 -p SB1 -e ADD_PRE -c 10-19 -m 12345678 –n 2-3
/path/to/program2 -e ADD_POST –r SUCCESS -p SB2
/path/to/program3 -v -p IOU1 -e RM_PRE -d 00:01.2,03:04.5
/path/to/program4 -e RM_POST –v –p IOU2 –r FAILURE

5.2.9 Exit status of collaboration program

When collaboration program terminates normally and DR function can be continued, the collaboration
program must return 0. When collaboration program terminates abnormally and DR function cannot be
continued, the collaboration program must return non 0.
Hot plug collaboration function checks the return value of the collaboration program. If return value is not 0,
hot plug collaboration function stops at the time.

5.2.10 Output of collaboration program

Standard output (stdout) and standard error output (stderr) from collaboration program output to system log.
But, when collaboration program executes in verbose mode, stdout and stderr output to a file in the following
directory. In this case file name becomes "collaboration program name.log". And the output does not output
to system log.
/opt/FJSVdr-util/var/log
Form of the outputs is as follows:
<time> : dr-util : <collaboration program name> : <INFO | ERR> : <output of collaboration program>
Example of output is shown below.
e.g. When standard error output and standard output of 10-FJSVxxx-get-cup-info output to system log
Jul 12 22:05:00 dr-util : 10-FJSVxxx-get-cpu-info : ERR : Invalid Option
Jul 12 22:06:00 dr-util : 15-FJSVxxx-get-mem-info : INFO : Good news, memory will be added 1 YB :)

5.2.11 Flow of collaboration program execution

Advertisement

Table of Contents
loading

Table of Contents