Top
Symfoware Server V12.1.0 Application Development Guide
FUJITSU Software

2.4.3 Creating Applications during Cluster Operations

This section explains points to consider when creating applications during cluster operations.

See

Refer to the Cluster Operation Guide for information on cluster operations.

2.4.3.1 Errors when an Application Connection Switch Occurs and Corresponding Actions

If an application connection switch occurs during cluster operations, explicitly close the connection and then reestablish the connection or reexecute the application.

The table below shows errors that may occur during a switch, and the corresponding action to take.

State

Error information (*2)

Action

Node failure (server failure)
or
Symfoware Server system failure (*1)

Failure occurs during access

57P01

08006

After the switch is complete, reestablish the connection, or reexecute the application.

Accessed during node/system failure

08001

Switch to the standby node (standby server) (*1)

Switched during access

57P01

08006

Accessed during switch

08001

*1: Terms enclosed in () are terms used in database multiplexing mode.

*2: Return value of the getSQLState method of SQLException.


2.4.3.2 Notes when Creating Applications during Failover Operations in Shared Disk Mode

In the application, specify the same IP address as the one that was used when creating GIs or takeover network resources. This will enable the application to be executed if a state transition occurs, simply by reexecuting the application without modification.

See

Refer to "Creating Gls or Takeover Network Resources" in the Cluster Operation Guide for details.