Dynamic Reconfiguration User's Guide 2.5.1
Contents PreviousNext

Chapter 3 DR User Interface> 3.4 Connection Script Interface

3.4.2 Registration

Connection scripts are registered as follows.

Place a connection script file under /etc/opt/FJSVdr/dr.d. Its file name should follow the rule described in section3.4.4 "Naming convention of connection script"
For example:
# cp iomp /etc/opt/FJSVdr/dr.d

Create its symbolic link file under /etc/opt/FJSVdr/dr.<execution state> directory according to the execution state to be executed. The symbolic link file should be created under all execution state directories to be executed.
For example, if the connection script named "24iomp" needs to run at preadd and preremove,
create symbolic link files as follows.
# ln -s /etc/opt/FJSVdr/dr.d/iomp /etc/opt/FJSVdr/rc.preadd/24iomp
# ln -s /etc/opt/FJSVdr/dr.d/iomp /etc/opt/FJSVdr/rc.preremove/24iomp

NOTE:

Connection script files must be written by Bourne shell, otherwise scripts don't work.


Contents PreviousNext

All Rights Reserved, Copyright (C) FUJITSU LIMITED 2005