PRIMECLUSTER Global Link Services Configuration and Administration Guide: Redundant Line Control Function 4.1 (for Solaris(TM) Operating System)
Contents Index PreviousNext

Chapter 3 Environment configuration> 3.6 Setting Option Function

3.6.11 Setting User command execution function

In NIC switching mode and GS/SURE linkage mode, a command pre-defined by a user can be executed at specific timing. For information on execution timing, see Section "2.2.12 User command execution function". In NIC switching mode, this function can be used to flush an ARP table, change the interface status, and change the MTU length, etc. In GS/SURE linkage mode, this function can be used to send a signal to a specific process, etc. The following settings must be made to execute a user command. See the sample files for information on creating a script file appropriate for a user's environment.

Sample file for NIC switching mode

- /etc/opt/FJSVhanet/script/interface/sha. interface.sam (When activating or deactivating an IP address)
- /etc/opt/FJSVhanet/script/failover/sha.failover.sam (When detected an error in a transfer route)
- /etc/opt/FJSVhanet/script/patrol/sha.patrol.sam (When detected a standby patrol error or recovery)

Sample file for GS/SURE linkage mode

- /etc/opt/FJSVhanet/script/host/host.sam

[Setup files]

The storage destination and file name of a setup file varies depending on the type and name of a virtual interface.

Setup file for NIC switching mode

- /etc/opt/FJSVhanet/script/interface/shaX (When activating or deactivating an IP address)
- /etc/opt/FJSVhanet/script/failover/shaX (When detected an error in a transfer route)
- /etc/opt/FJSVhanet/script/patrol/shaX (When detected a standby patrol error or recovery)

* shaX is the created virtual interface name for NIC switching mode.

Setup file for GS/SURE linkage mode

- /etc/opt/FJSVhanet/script/host/hostIP

* hostIP is the host name or IP address of the virtual interface of the communication target.

image


Down3.6.11.1 Settings for NIC switching mode
Down3.6.11.2 Settings for GS/SURE linkage mode

Contents Index PreviousNext

All Rights Reserved, Copyright (C) FUJITSU LIMITED 2005