iQN and its purpose
The iSCSI protocol (
Internet Small Computer Systems Interface) uses an alphanumeric code called iQN (
iSCSI Qualified Name) to identify the Cloud Server initiator and allow it to communicate with the Unified Storage target.
If you choose the iSCSI protocol when
creating a Unified Storage, you must have the iQN of the Cloud Server you want to connect.
The procedure for obtaining the iQN varies depending on the Cloud Server operating system.
The iQNs shown in the examples in this guide are for illustrative purposes only.
Obtaining the iQN on Windows
The procedure applies to Windows 2022, Windows 2019, Windows 2016 and Windows 2012.
- access the Cloud Server via RDP;
- select Start and then Windows Administrative Tools;

- in the Administrative Tools window, select iSCSI Initiator;

- confirm the message displayed;

- in the iSCSI Initiator Properties window, go to the Configuration section: the iQN value is shown under Initiator Name.

Obtaining the iQN on CentOS
- access the Cloud Server via SSH;
- run the
yum install iscsi-initiator-utils command:
[root@VM-CentOS ~]# yum install iscsi-initiator-utils
- confirm by entering
y:
Is this ok [y/N]: y
- run the
cat /etc/iscsi/initiatorname.iscsi command:
[root@VM-CentOS ~]# cat /etc/iscsi/initiatorname.iscsi
- the following is displayed:
InitiatorName=iqn.1994-05.com.redhat:a15f513f611
where iqn.1994-05.com.redhat:a15f513f611 is the iQN value.
Obtaining the iQN on Debian
- access the Cloud Server via SSH;
- run the
aptitude install open-iscsi command:
[root@VM-Debian ~]# aptitude install open-iscsi
- restart the initiator using the
/etc/init.d/open-iscsi restart command:
[root@VM-Debian ~]# /etc/init.d/open-iscsi restart
- run the
cat /etc/iscsi/initiatorname.iscsi command:
[root@VM-Debian ~]# cat /etc/iscsi/initiatorname.iscsi
- the following is displayed:
InitiatorName=iqn.1993-08.org.debian:01:106de7d4264c
where iqn.1993-08.org.debian:01:106de7d4264c is the iQN value.
Obtaining the iQN on Ubuntu
- access the Cloud Server via SSH;
- run the
aptitude install open-iscsi command:
[root@VM-Ubuntu ~]# aptitude install open-iscsi
- confirm by entering
Y:
Do you want to continue? [Y/n/?] Y
- restart the initiator using the
/etc/init.d/open-iscsi restart command:
[root@VM-Ubuntu ~]# /etc/init.d/open-iscsi restart
- run the
cat /etc/iscsi/initiatorname.iscsi command:
[root@VM-Ubuntu ~]# cat /etc/iscsi/initiatorname.iscsi
- the following is displayed:
InitiatorName=iqn.1993-08.org.debian:01:c0115a0fe25
where iqn.1993-08.org.debian:01:c0115a0fe25 is the iQN value.
Obtaining the iQN on openSUSE
- access the Cloud Server via SSH;
- run the
zypper install open-iscsi command;

- confirm by entering
y;

- run the
iscsi-iname command;

- the following is displayed:

where iqn.2005-03.org.open-iscsi:bc3351c7e5 is the iQN value.