ThecusOS 7: create an iSCSI target [Quick Guide]
operating systems that ship the sins of today, including those of Thecus, support iSCSI to create iSCSI targets to host LUNS on the NAS. On the iSCSI LUN, we can for example store virtual machines for the establishment of a cluster of high availability.
in this tutorial, we will see how to create an iSCSI target on a Thecus NAS equipped of ThecusOS 7.
. log on to the web interface of ThecusOS, then in the Control Panel, go to “iSCSI” under the part “ storage .
Let’s start by activating the iSCSI service, for this we go to the tab “ iSCSI parameters ” and we tick the box ‘ iSCSI Service Enable “.” Click on ‘ apply ‘ to confirm the change.
then return on the first tab called ‘ list iSCSI ‘ and click on ‘ Add “.”
the first phase of setting appears, here’s some info to help you:
- create RAID: choose the RAID on which you want to host the iSCSI LUN, if you have that a cluster RAID on your NAS, the choice will be the default.
- target name: the name of the iSCSI target, which will appear in the Thecus interface but also in the IQN.
- year/month IQN : you can leave the default, the IQN contains in its name the date and month, this allows you to customize this information.
once the fields completed, continue.
note : the IQN means “ iSCSI Qualified Name ” which represents a unique name for the iSCSI target with a syntax in the following form: “ iqn.yyyy – mm.naming – authority: unique name ‘
this is the configuration for authentication phase, I advise you to refer to CHAP authentication or standard mode” , or mutual CHAP (where both parties must authenticate on the other to make the connection).
If you choose the “CHAP” mode, we need to indicate a username and associated password. This information must be entered on the server that will act as iSCSI initiator to mount the NAS iSCSI target.
now we will enter the information of our Sun, which is a logical unit with one ID on our space, it will be directly related to our iSCSI target. Enter a name for this LUN, an ID and a capacity of disk.
the type is used to indicate if one carries out an allocation of immediate disk space or dynamically. For performance reasons, you should choose the “instant distribution” so that the disk space is now assigned and reserved to the LUN.
a summary appears and allows you to control the settings are correct. Click on “Finish”.
for my part, I did it again the same operation to create an iSCSI target (with a LUN) for the Quorum (witness) of the cluster.
ThecusOS interface, all iSCSI targets to appear in the interface. The IQN is a unique name assigned to our iSCSI target, and this name is used by the servers who want to ride the iSCSI target.