Removes a SAN host entry from the Oracle FS System.
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}]
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.
The following global options can be used for fully formed fscli commands:
The command completes successfully.
The command returns with an error.
The session times out.
Inspects the validity of the command syntax, not the semantics. Used to test the structure of a command without running the command. Does not determine whether errors would be produced if you issue a structurally correct command with the input provided.
Directs the CLI to prompt you to supply a session key when you issue the command. The CLI displays Sessionkey: as the prompt. To obtain a session key, log in with the ‑returnKey option specified. After the session is established, the session key is displayed in STDOUT. If you request a session key, the ‑sessionkey option is required syntax for all commands that are issued in a given session. In environments with more than one Oracle FS System, the session key is used to determine to which Oracle FS System to direct the command for validation. Session keys are also used to establish two or more CLI sessions when using a shared administrator account.