On Wed, Aug 21, 2019 at 7:07 PM Dan Poltawski <dan.poltawski(a)tnp.net.uk>
wrote:
When I added the first node a 'random' initiator name was
generated of
form:
# cat /etc/iscsi/initiatorname.iscsi
InitiatorName=iqn.1994-05.com.redhat:[RANDOM]
Having attempted to add another node, this node has another initiator name
generated and can't access the storage. Is there a way to configure this
initiator name to a static value which will be configured when new nodes
get added to the cluster? Or is there some reason for this i'm missing?
thanks,
Dan
oVirt nodes are iSCSI clients and each node needs to have a different
InitiatorName value.
Eventually you can modify initiatorname of a node before running discovery
against oVirt and rebooting it (or restarting iscsi services).
You can edit the file or use the iscsi-iname command.
It must be named with an iqn name in the format of
iqn.YYYY-MM.reverse.domain.name:OptionalIdentifier
Typically you configure your iSCSI storage array giving access to the lun
to be used as a storage domain to all oVirt hosts initiators. Or you can
use chap authentication or both
Se also here:
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/...
https://www.certdepot.net/rhel7-configure-iscsi-target-initiator-persiste...
HIH,
Gianluca