grpparams discovery-use-chap

Discovery, or auto-discovery, involves an iSCSI initiator requesting from a target portal a list of valid targets and making those targets available for use by the initiator. To prevent hosts from discovering targets for which they are not authorized, enable the discovery-use-chap parameter (disabled by default). Otherwise, initiators that support discovery will attempt to log in to the target, even if they do not have the right access credentials, resulting in a large number of events logged in the group and an inefficient use of resources.

For example, if enabled, only hosts with the correct CHAP credentials can discover targets that are only authenticated with CHAP. If disabled, unauthorized hosts can discover targets that use only CHAP for host authentication.

Format

grpparams discovery-use-chap enable | disable

Example

The following command prevents unauthorized hosts from discovering volumes that are only authenticated with CHAP:

> grpparams discovery-use-chap enable