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

Chapter 3 Environment configuration> 3.6 Setting Option Function

3.6.9 Setting User command execution function

In NIC switching mode, a command pre-defined by a user can be executed at specific timing. For information on execution timing, see "2.2.10 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. 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)

[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.

image


Down3.6.9.1 Settings for NIC switching mode

Contents Index PreviousNext

All Rights Reserved, Copyright (C) FUJITSU LIMITED 2005