Establishes an association between a SAN LUN and a host or a group of hosts.
hostmap ‑add ‑lun lun‑or‑clone‑id‑or‑fqn ‑lunNumber logical‑unit‑number { ‑host host‑id‑or‑fqn | ‑hostGroup host‑group‑id‑or‑fqn } [{‑sessionKey | ‑u admin‑user ‑oracleFS oracle‑fs‑system}] [{‑outputformat | ‑o} { text | xml }] [{‑timeout timeout‑in‑seconds | ‑verify | ‑usage | ‑example | ‑help}]
Create a host group and map it to the LUN.
Create multiple host maps, one for each host.
The LUN must already exist on the Oracle FS System. To confirm that the LUN exists, use the lun ‑list command.
The host must be defined on the Oracle FS System. To verify that a host definition exists, use san_host ‑list command.
The logical unit number that you select must be available for the host on the Oracle FS System. Use hostmap ‑list ‑availableLunNumbers to obtain a list of unmapped logical unit numbers.
Specifies a host entry which represents a computer on the customer SAN. You identify a host by providing a unique ID (ID) or a fully qualified name (FQN) for the host entry.
This host is mapped to the specified LUN.
Specifies a group of computers on the customer SAN. You identify the host group by providing a unique ID (ID) or a fully qualified name (FQN) for the group.
This host group is mapped to the specified LUN.
Specifies the ID or the fully qualified name (FQN) of a LUN that resides on the Oracle FS System. An FQN begins with a forward slash character ( / ) and is followed by a path expression to locate the LUN.
Identifies the logical unit number of a LUN or of a Clone LUN to present to the SAN host.
Using an unmapped logical unit number, create a host map that presents a LUN to a host.
Fully qualified name of the LUN: /lun_1
Logical unit number : 20
Fully qualified name of the host: /sanhost_1
$ fscli hostmap ‑add ‑lun /lun_1 ‑lunNumber 20 ‑host /sanhost_1