svcadm(1M)을 검색하려면 섹션에서 1M 을 선택하고, 맨 페이지 이름에 svcadm을 입력하고 검색을 누른다.
IMA_SetStaticDiscovery(3ima)
iSCSI Management API IMA_SetStaticDiscovery(3IMA)
NAME
IMA_SetStaticDiscovery - Enables or disables static target discovery
for a PHBA, LHBA, or network portal
SYNOPSIS
cc [ flag... ] file... -lima [ library... ]
#include <ima.h>
IMA_STATUS IMA_SetStaticDiscovery(
/* in */ IMA_OID oid,
/* in */ IMA_BOOL enableStaticDiscovery
);
PARAMETERS
oid The object ID of the physical host bus adapter
(PHBA), logical host bus adapter (LHBA), or
network portal whose static target discovery
property is being set.
enableStaticDiscovery Set to the value, IMA_TRUE if static target
discovery is being enabled for the specified
PHBA or LHBA.
Set to the value, IMA_FALSE if static target
discovery is being disabled.
DESCRIPTION
The IMA_SetStaticDiscovery() API enables or disables static target dis‐
covery for a PHBA, LHBA, or network portal.
RETURN VALUES
IMA_STATUS_REBOOT_NECESSARY
Returned if a reboot is necessary before this call will take
effect.
IMA_ERROR_NOT_SUPPORTED
Returned if enabling or disabling static discovery is not supported
by the specified PHBA or LHBA.
IMA_ERROR_INVALID_PARAMETER
Returned if the enableStaticDiscovery argument has a value other
than the value, IMA_TRUE or the value, IMA_FALSE.
IMA_ERROR_INVALID_OBJECT_TYPE
Returned if the oid argument does not specify a valid object type.
IMA_ERROR_INCORRECT_OBJECT_TYPE
Returned if the oid argument does not specify a PHBA, LHBA, or net‐
work portal object.
IMA_ERROR_OBJECT_NOT_FOUND
Returned if the oid argument does not specify a PHBA, LHBA, or net‐
work portal known to the system.
IMA_ERROR_LAST_PRIMARY_DISCOVERY_METHOD
Returned if the enableStaticDiscovery argument is set to the value,
IMA_FALSE, and static target discovery is the last primary discov‐
ery method for a PHBA, LHBA, or network portal. This means that
both iSNS target discovery and SLP target discovery are either dis‐
abled or not supported.
ATTRIBUTES
See attributes(7) for descriptions of the following attributes:
tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) ATTRIBUTE TYPEAT‐
TRIBUTE VALUE _ Availabilitysystem/library/storage/snia-ima _ Interface
StabilityVolatile _ MT-LevelSafe
SEE ALSO
libima(3LIB), attributes(7), IMA_GetDiscoveryProperties(3IMA),
IMA_SetIsnsDiscovery(3IMA), IMA_SetSlpDiscovery(3IMA), IMA_SetSendTar‐
getsDiscovery(3IMA)
Oracle Solaris 11.4 30 July 2016
IMA_SetStaticDiscovery(3IMA)