Forums

Home / Forums

You need to log in to create posts and topics. Login · Register

Change IQN

Hello,

is there a way to change the iSCSI IQN? I have two PetaSAN cluster and both expose the same IQN (iqn.2016-05.com.petasan). When I try to connect with my PC to the iSCSI Targets I have a problem cause they have the same IQN. Now I've used a workaround by creating and then deleting an iSCSI disk to obtaind two different IQN (Cluster 1: iqn.2016-05.com.petasan:00001, Cluster 2: iqn.2016-05.com.petasan:00002) but I think that will be better to have the possibility to edit it. Thanks in advance.

Best regards.

Luca S.

Yes you can change the iqn base value from the iSCSI Settings page.  You can change the iSCSI settings ( iqn base, subnet ips )  any time in an operating cluster, it will affect newly created  disks.  All iSCSI disks with older iqn + subnet ips will continue to function correctly.  To make older disks get the new values, they need to be stopped, detached (detach removes the iSCSI metadata from the Ceph rbd image ) and then restarted.

Ops,

I haven't noticed this option. Sorry and thanks a lot for the fast reply!

Best reagards.

Luca S.