Dynamic Reconfiguration User's Guide 2.5.1
Contents PreviousNext

Chapter 3 DR User Interface> 3.4 Connection Script Interface

3.4.5 Calling convention of connection script

The general connection script calling convention is:

<script name> <state> (<exit status of cancel operation>) [ { suspend | resume } ]

where <state> is one of the 8 execution states defined in section 3.4.1 "drc Execution States".

<exit status of cancel operation> is specified only by the cancelremove option, its value is 1 or 2. If all devices are still online, the specified value is 1. Otherwise, it is 2. For example, the connection scripts can tell if a meta device like an I/O multipath device is able to go back online. If the system needs to suspend or resume, the script is called with "suspend" or "resume". By checking the arguments, the script can handle the suspending or resuming situation.

Examples:

24iomp preadd

24iomp cancelremove 1

24iomp checkremove suspend

24iomp cancelremove 1 resume


Contents PreviousNext

All Rights Reserved, Copyright (C) FUJITSU LIMITED 2005