stmfSetLuListActive - Set a list of COMSTAR LUNs toSTMF_ACCESS_ACTIVE
cc [ flag... ] file... -lstmf [ library... ]
#include <libstmf.h> int stmfSetLuListActive(stmfGuidList *stmfLuList, stmfLuListStatus **luListErrStatus);
An array LUN list which each individual LUN in the list is represented by the LUN GUID.
A pointer to a pointer to structure stmfLuListStatus. On successful return, it is set to NULL. On failure, it will contain a list of each LUN that is failed the set to STMF_ACCESS_ACTIVE along with the error status.
This stmfSetLuListActive() function takes a list of LUN GUIDs and sets each of the LUNs' access state to STMF_ACCESS_ACTIVE. For more information on the access state, see stmfLuStandby(3STMF)
The following values are returned:
The API call is successful. On successful completion,luListErrStatus parameter is set to NULL .
One or more LUNs fails to set to STMF_ACCESS_ACTIVE state. With the error status returned. luListErrStatus parameter contains a list of LUNs which has problem to be set to STMF_ACCESS_ACTIVE state.
See attributes(7) for descriptions of the following attributes:
|
libstmf(3LIB), stmfGetAluaState(3STMF), stmfSetAluaState(3STMF), attributes(7)