Configuring discovery on iSCSI
The iSCSI initiator contains a list of iSCSI target discovery addresses.
To display the iSCSI discovery addresses
- To display the iSCSI discovery addresses, enter the following:
Storage> iscsi discovery list
To add a discovery address to the iSCSI initiator
- To add a discovery address to the iSCSI initiator, enter the following:
Storage> iscsi discovery add discovery-address
where:
discovery-address
The target address at which an initiator can request a list of targets using a SendTargets text request as specified in iSCSI protocol of RFC3720.
You can specify either an IPv4 address or an IPv6 address. Optionally, you can specify a port with the IP address.
If no port is specified, the default port 3260 is used. Verify that your firewall allows you to access the target location through the port. For example:
# telnet discovery-address 3260
- To verify the addition of the discovery address, display the discovery addresses.
Storage> iscsi discovery list
To delete an iSCSI discovery address
- To delete the targets discovered using this discovery address, enter the following:
Storage> iscsi discovery del discovery-address
where:
discovery-address
The target address at which an initiator can request a list of targets using a SendTargets text request as specified in iSCSI protocol of RFC3720.
You can specify either an IPv4 address or an IPv6 address. Optionally, you can specify a port with the IP address.
If no port is specified, the default port 3260 is used. Verify that your firewall allows you to access the target location through the port. For example:
# telnet discovery-address 3260
- To verify the deletion of the discovery address, display the discovery addresses.
Storage> iscsi discovery list
To rediscover an iSCSI discovery address
- To rediscover an iSCSI discovery address, enter the following:
Storage> iscsi discovery rediscover discovery-address
where:
discovery-address
The target address at which an initiator can request a list of targets using a SendTargets text request as specified in iSCSI protocol of RFC3720.
You can specify either an IPv4 address or an IPv6 address. Optionally, you can specify a port with the IP address.
If no port is specified, the default port 3260 is used. Verify that your firewall allows you to access the target location through the port. For example:
# telnet discovery-address 3260
To rediscover changes in targets or LUNs at a discovery address
- To rediscover changes in targets or LUNs at a discovery address, enter the following:
Storage> iscsi discovery rediscover_new discovery-address
where:
discovery-address
The target address at which an initiator can request a list of targets using a SendTargets text request as specified in iSCSI protocol of RFC3720.
You can specify either an IPv4 address or an IPv6 address. Optionally, you can specify a port with the IP address.
If no port is specified, the default port 3260 is used. Verify that your firewall allows you to access the target location through the port. For example:
# telnet discovery-address 3260
New LUNs or targets discovered at discovery-address will be automatically added and logged into. This command does not discover any targets that have been deleted at discovery-address.