san_host delete

Removes a SAN host entry from the Oracle FS System.

SYNOPSIS

san_host ‑delete 
   ‑sanhost sanhost‑id‑or‑fqn [, sanhost‑id‑or‑fqn]...
   [‑removeInitiatorsAndMappings]

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

DESCRIPTION

The san_host delete command removes a specified SAN host entry, or removes a list of SAN host entries from the Oracle FS System. Use the sanhost option to specify the SAN host or list of SAN hosts to delete.

When you remove the SAN Host entry, you can optionally retain the initiators and the LUN mappings. The host then, becomes an unassociated host and the LUNs retain the mappings to all of the initiators of the unassociated host.

You can use the removeInitiatorsAndMappings option to delete all of the initiators and LUN mappings that are associated with the SAN host entry. Not using this option creates an unassociated host entry from each initiator. The mapped LUNs remain mapped to each unassociated host entry.

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

OPTIONS

removeInitiatorsAndMappings

Deletes the initiators and the mappings that are associated with the specified SAN host.

sanhost

Specifies the IDs or the fully qualified names (FQNs) of the SAN hosts to delete.

EXAMPLE

Task

Remove a SAN Host from theOracle FS System.

Parameters
  • The FQNs of the SAN host to delete: /⁠sanhost_1

$ fscli san_host ‑delete ‑sanhost /⁠sanhost_1