hostmap modify

Changes the logical unit number assignment for a given host map.

SYNOPSIS

hostmap ‑modify 
   ‑lun lun‑or‑clone‑id‑or‑fqn
   ‑lunNumber logical‑unit‑number
   { ‑host host‑id‑or‑fqn
   | ‑hostmap hostmap‑id‑or‑fqn
   | ‑hostGroup host‑group‑id‑or‑fqn
   | ‑hostGroupMap host‑group‑map‑id‑or‑fqn
   }

   [{‑sessionKey | ‑u admin‑user ‑oracleFS oracle‑fs‑system}]
   [{‑outputformat | ‑o} { text | xml }]
   [{‑timeout timeout‑in‑seconds | ‑verify | ‑usage | ‑example | ‑help}] 

DESCRIPTION

Modifying the logical unit number that is assigned to a host map alters the presentation of a LUN to a host or a host group. Run the hostmap ‑list ‑availableLunNumbers command to find which LUN numbers are currently unused for a host or group of hosts.

Note: Only administrators with primary administrator, admin1, or admin2 roles are authorized to run the hostmap ‑modify command.

OPTIONS

host

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.

For the specified SAN host, the system modifies the LUN number of the LUN that is identified by the ‑lun option.

hostGroup

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.

hostGroupMap

Specifies a mapping between a LUN and a host group. You identify the host group mapping by providing a fully qualified name (FQN) or a unique ID (ID).

For the specified instance of a host group map , the system modifies the LUN number of the LUN that is identified by the ‑lun option.

hostmap

Identifies a mapping between a LUN and a SAN host. You identify the hostmap by providing a unique ID (ID) or a fully qualified name (FQN).

For the specified hostmap instance, the system modifies the LUN number of the LUN that is identified by the ‑lun option.

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.

lunNumber

Identifies the logical unit number of a LUN or of a Clone LUN to present to the SAN host.

EXAMPLE

Task

Change the value of the logical unit number that is used to present a LUN to a host.

Parameters
  • Fully qualified name of the hostmap: /⁠lun_1/2001000B08000520

  • Fully qualified name of LUN: /lun_1

  • New logical unit number: 35

$ fscli hostmap ‑modify ‑hostmap /⁠lun_1/2001000B08000520 ‑lun /⁠⁠lun_1 ‑lunNumber 35