stmfSetAluaState

Synopsis

Parameters

alua_enabled

B_TRUE when enabling ALUA mode; B_FALSE when disabling ALUA mode.

node

Must be the value 0 or 1.

Description

The stmfSetAluaState() function sets the Asymmetric Logical Unit Access State (ALUA) mode
for STMF. When alua_enabled is set to B_FALSE, node is ignored; otherwise,
node must be set to 0 or 1. The node setting must be
different for each node in a paired configuration. This function should be
called only after the STMF proxy door service has been initialized (see
stmfInitProxyDoor(3STMF)). When the ALUA state is enabled, all STMF logical units
will be registered on the peer node as standby logical units. The
standby logical units can then be exported to any SCSI initiator using
the existing mechanisms in STMF, stmfAddViewEntry(3STMF) or the add-view subcommand of stmfadm(1M).
If ALUA mode is already enabled, it is valid to call this
interface again with enabled set to B_TRUE. This action would result in
a re-initialization of the ALUA mode and can be used during recovery
of a failed peer node.