san_host modify

Changes the properties of a SAN host entry.

SYNOPSIS

san_host ‑modify 
   ‑sanhost sanhost‑id‑or‑fqn
   [‑name new‑sanhost‑name]
   [{‑hpuxCompatibility | ‑noHpuxCompatibility}]
   [{‑iscsiAccessControl | ‑noIscsiAccessControl}
    { ‑iscsiAuthentication
      ‑chapName chap‑name
    | ‑noIscsiAuthentication
    }]
   [‑fcInitiatorPort [fcinitiator‑wwn[/fcinitiatorport‑alias]
                     [ ,fcinitiatorport‑wwn[/fcinitiatorport‑alias] ]... ] ]
   [‑iscsiInitiatorPort [iscsi‑initiator‑name[/iscsi‑initiatorport‑alias]
                     [, iscsi‑initiator‑name[/iscsi‑initiatorport‑alias] ]... ] ]
   [‑lunSettings lun‑id‑or‑fqn/load‑balance‑type
                  [, lun‑id‑or‑fqn/load‑balance‑type]... ]
   [{‑reconcileMappings | ‑noReconcileMappings}]
   [{ ‑associateGroup host‑group‑id‑or‑fqn
      [‑suppressWarnings]
    | ‑unAssociateGroup
      {‑removeMappings | ‑preserveMappings}
    }]

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

DESCRIPTION

Use the san_host modify command to change the attributes of the SAN host entry. You can also update the host group association of the SAN host entry. When removing a host group association you have the option to retain or remove the LUN mappings that are associated with the LUNs that are mapped to the host group.

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

OPTIONS

associateGroup

Specifies the ID or the fully qualified name (FQN) of the host group with which to associate the SAN host.

The system updates all of the LUN mappings for the SAN host so that the mappings are associated with the specified group while retaining those mappings with LUNs that are not mapped by the host group.
  • If the SAN host is mapped to a LUN that is already mapped by the host group, the host mapping is replaced by the host group mapping.

  • If the association of the SAN host to the host group is removed, the host retains the host group mappings to the LUN until the host LUN mapping is changed.

  • If LUN mappings exist that will be changed to that of the host group, the user is informed and prompted to confirm the association with the host group.

chapName
Identifies the CHAP name to use during iSCSI authentication.
Note: The system prompts you twice for the CHAP secret. The second prompt ensures the correctness of the secret.
fcInitiatorPort
Specifies the Fibre Channel (FC) HBA ports on the SAN host that can connect to the Oracle FS System. The system recognizes the following two formats for specifying HBA ports:
  • Required: 16 hexadecimal digits that are separated by colons, as in xx:xx:xx:xx:xx:xx:xx:xx, where each xx is a hexadecimal number.
    Note: The colons are optional.
  • Optional: an alias for the port consisting of a slash character ( / ) that is followed by the text of the alias.

Include all of the desired ports in the list. If you omit an existing port, that port is deleted from the host entry. If no FC ports are specified for the ‑fcInitiatorPort option, all of the FC ports are removed.

Note: The ‑fcInitiatorPort option should not be used for the host entries that are created and managed by Oracle FS Path Manager (FSPM), which is running on the SAN host.
hpuxCompatibility

Identifies the host as using the HP-UX addressing mode for LUNs.

iscsiAccessControl

Enables access control for an iSCSI session.

iscsiAuthentication
Enables the Challenge Handshake Authentication Protocol (CHAP) authentication to restrict access to the Oracle FS System from the host.
  • The ‑iscsiAuthentication option is valid only when the ‑iscsiAccessControl option is also specified.

  • If the ‑iscsiAuthentication option is omitted and the ‑iscsiAccessControl option is specified, SAN hosts do not need to provide CHAP names and passwords when accessing the Oracle FS System.

iscsiInitiatorPort

Specifies one or more iSCSI initiator names that are used by the SAN host. Each iSCSI initiator name should be specified as the name that is configured on the SAN host and optionally followed by a slash character ( / ) and an alias for the name.

Include all of the desired ports in the list. If you omit an existing port, that port is deleted from the host entry. If no ports are specified for the ‑iscsiInitiatorPort option, all of the iSCSI ports are removed.

Note: The ‑iscsiInitiatorPort option should not be used for the host entries that are created and managed by Oracle FS Path Manager (FSPM), which is running on the SAN host.
lunSettings
Specifies, for the specified LUNs, the load balancing mechanism that is to be used by the Oracle FS Path Manager (FSPM) software that is running on the host to manage the paths from the host to the Controllers. If FSPM is not running on the host, or if the version of FSPM on the host does not allow load balancing to be set from the Oracle FS System, this option is ignored. Valid values:
static

Uses a single host-to-Controller path until the path becomes unavailable, then uses the next higher priority path, and so forth.

roundRobin

Rrotates among the host-to-Controller paths at the host, using the highest priority path group.

Note: The lunSettings option has no impact on the behavior of hosts that are not using FSPM.
name
Specifies a new name for the SAN host. The name that you provide causes the system to replace the previously defined fully qualified name of the host as well. Use double quotation marks around names containing spaces or dashes; otherwise, the software generates a parsing error.
Note: The ‑name option should not be used for the host entries that are created and managed by Oracle FS Path Manager (FSPM), which is running on the SAN host.
noHpuxCompatibility

Disables the HP-UX LUN addressing mode for the SAN host.

noIscsiAccessControl

Disables access control for iSCSI. When you disable iSCSI access control, all of the required CHAP authentication options are also disabled. If you want to re-enable iSCSI access control in the future, you will need to specify a new CHAP name and password.

noIscsiAuthentication

Disables authentication that is based on the Challenge Handshake Authentication Protocol (CHAP). This property applies to iSCSI hosts that attempt to access the Oracle FS System.

noReconcileMappings

Disables the automatic fixing of any LUN mappings for this host that cause mapping conflicts.

preserveMappings

Retains the host group LUN mappings after the SAN host is removed from the host group.

reconcileMappings

Specifies that any subsequent LUN mappings for this host that cause a conflict are automatically fixed. If this option is omitted, ‑noReconcileMappings is the default.

removeMappings

Removes the LUN mappings that were established for the SAN host while it was associated with the host group when the association between the host and host group is removed.

sanhost

Specifies the ID or the fully qualified name (FQN) of the SAN host.

suppressWarnings

Prevents the system from prompting for a confirmation that the LUN mappings for the SAN host will be changed to the mappings of the host group.

unAssociateGroup

Removes the host from the specified host group.

EXAMPLE

Task

Change the properties of a SAN host entry to specify that any subsequent LUN mappings for this host that cause a conflict are automatically fixed.

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

$ fscli san_host ‑modify ‑sanhost /⁠sanhost_1 ‑reconcileMappings