The iSCSI initiator name must be set to a valid IQN format according to RFC 3721 (https://www.ietf.org/rfc/rfc3721.txt).
This test case fails if:
The iSCSI name of the host is set to a string that is not using a valid IQN format
This test case passes if:
The iSCSI name of the host is set to a string that is a valid IQN format
How to fix this test
Host PowerTools seta the iSCSI name of the host to a valid name using an IQN format, according to the operating system conventions.
Configure the operating system iSCSI name to a valid IQN.
Open the CMD and run the following command:
- This restores the IQN to its default value.
- The IQN is visible from the iscsicpl (iSCSI initator UI).
For all supported platforms:
Open the terminal and run:
This generates a new valid IQN according to the iSCSI IQN RFC.
- Copy this IQN and paste it to the iqn file with the required prefix.
- In most linuxiSCSI initiators the file location is /etc/iscsi/initiatorname.iscsi.
Copy the IQN also to the prefix which is InitiatorName=