Ssa Target Mode - IBM Advanced SerialRAID Adapters SA33-3285-02 User Manual

Advanced serialraid adapters
Table of Contents

Advertisement

SSADISK_FORCED_OPEN to the openx subroutine, the reservation is broken, but the
open fails with errno set to ENOCONNECT. To break through the fence, the SSA
logical disk must be opened in SSADISK_FENCEMODE and the SSADISK_ISALCMD
ioctl operation used to issue the appropriate hardware command to break the fence
condition.

SSA Target Mode

The SSA Target-Mode interface (TMSSA) provides node-to-node communication
through the SSA interface. The interface uses two special files that provide a logical
connection to another node. One of the special files (the initiator-mode device) is used
for write operations; the other (the target-mode device) is used for read operations.
Data that is sent to a node is written to the initiator. Data that is read from a node is
read from the target. The special files are:
/dev/tmssaXX.im
/dev/tmssaXX.tm
The device is tmssaXX, where XX is the node number of the using system with which
these files communicate. You are not aware of which path connects the two nodes. The
path can change if, for example, SSA loops are changed, nodes are switched off, or
any other physical change is made to the connected SSA loops. The TMSSA device
driver can use any available path to the other node, but does not tell you which path is
being used. Each node must have in its device configuration database a unique node
number that is defined by the node_number attribute of the ssar device.
Adapter
ssa0
Figure 42. An Example of Node-to-Node Communications
Figure 42 shows an example configuration of two nodes. In this example, tmssa is, at
first, using adapter ssa0 on node 1 and adapter ssa5 on node 2. Suddenly, the link
The initiator-mode device, which has an even, minor device number, and is
write only.
The target-mode device, which has an odd, minor device number, and is read
only.
Node 1
Adapter
Adapter
ssa1
ssa2
Node 2
Adapter
Adapter
ssa3
ssa4
Chapter 13. Using the Programming Interface
Adapter
ssa5
291

Advertisement

Table of Contents
loading

Table of Contents