COMPUTING > Cloud Servers > Unified storage > How to get the iQN code

13.3.1 How to get the iQN code Cloud Server Pro service guide

With the iSCSI (internet Small Computer Systems Interface) protocol you are required to use an alphanumeric code called iQN (iSCSI Qualified Name) so that the client (Cloud Server) can communicate with the target (Unified Storage). During the activation process of the Unified Storage service with the iSCSI protocol you therefore need this code.

The process for getting the iQN code of a Cloud Server varies depending on the operating system:
 
We remind you that the iQN codes indicated here are only examples
 
To get the iQN parameter of a Cloud Serve with Windows 2012 operating system proceed as follows:
  • access the Cloud Server via RDP;
  • click on "Start" and then go to the "Administrative Tools",

  • a window will open called "Administrative Tools", select the "iSCSI Initiator" option,

  • confirm your choice,

  • in the window that appears (Fig. 10) go to the "Configuration" section where you will find the iQN code in the "Initiator Name:".

To get the iQN parameter of a Cloud Serve with Windows 2008 operating system proceed as follows:
  • access the Cloud Server via RDP,
  • click on "Start";
  • type in "iSCSI" in the "Search program and files" text box,

  • select the "iSCSI Initiator" option,

  • a window will open called "iSCSI Initiator Properties",

  • in the "Configuration" tab you will find the iQN code under "Initiator Name:".

To get the iQN parameter of a Cloud Serve with Linux CentOS operating system proceed as follows:
  • access the Cloud Server via SSH,
  • run the command: yum install iscsi-initiator-utils

    [root@VM-CentOS ~]# yum install iscsi-initiator-utils

  • confirm the choice with: y

    Is this ok [y/N]: y

  • type in the command: cat /etc/iscsi/initiatorname.iscsi

    [root@VM-CentOS ~]# cat /etc/iscsi/initiatorname.iscsi

  • you will get:

    InitiatorName=iqn.1994-05.com.redhat:a15f513f611

    in which iqn.1994-05.com.redhat:a15f513f611 is the iQN code.
To get the iQN parameter of a Cloud Serve with Linux Debian operating system proceed as follows:
  • access the Cloud Server via SSH,
  • run the command: aptitude install open-iscsi

    [root@VM-Debian ~]# aptitude install open-iscsi

  • restart the initiator with the command: /etc/init.d/open-iscsi restart

    [root@VM-Debian ~]# /etc/init.d/open-iscsi restart

  • type in the command: cat /etc/iscsi/initiatorname.iscsi

    [root@VM-Debian ~]# cat /etc/iscsi/initiatorname.iscsi

  • you will get:

    InitiatorName=iqn.1993-08.org.debian:01:106de7d4264c

    in which iqn.1993-08.org.debian:01:106de7d4264c is the iQN code.
To get the iQN parameter of a Cloud Serve with Linux Ubuntu operating system proceed as follows:
  • access the Cloud Server via SSH,
  • run the command: aptitude install open-iscsi

    [root@VM-Ubuntu ~]# aptitude install open-iscsi

  • confirm using the command: Y

    Do you want to continue? [Y/n/?] Y

  • restart the initiator with the command: /etc/init.d/open-iscsi restart

    [root@VM-Ubuntu ~]# /etc/init.d/open-iscsi restart

  • type in the command: cat /etc/iscsi/initiatorname.iscsi

    [root@VM-Ubuntu~]# cat /etc/iscsi/initiatorname.iscsi

  • you will get:

    InitiatorName=iqn.1993-08.org.debian:01:c0115a0fe25

    in which iqn.1993-08.org.debian:01:c0115a0fe2 is the iQN code.
To get the iQN parameter of a Cloud Serve with Linux openSuse 12.1 operating system proceed as follows:
  • access the Cloud Server via SSH,
  • run the command: zypper install open-iscsi

  • confirm by typing: y

  • run the command: iscsi-iname

  • you will get



    in which iqn.2005-03.org.open-iscsi:bc3351c7e5 is the iQN code.
To get the iQN parameter of a Cloud Serve with Linux openSuse 11.4 operating system proceed as follows:
  • access the Cloud Server via SSH,
  • run the command: yast

  • select the "Network Services" option,

  • then scroll down to "iSCSI Initiator" and press enter,

  • confirm by pressing enter,

  • you will get



    in which iqn.2013-04.com.example:01:e78ccdcf6e2 is the iQN code.