NAS 308 Introduction to iscsi Use iscsi with your ASUSTOR NAS A S U S T O R C O L L E G E
COURSE OBJECTIVES Upon completion of this course you should be able to: 1. Have a basic understanding of iscsi 2. Be able to use the iscsi service with your ASUSTOR NAS PREQUISITES Course Prerequisites: None Students are expected to have a working knowledge of: N/A OUTLINE 1. Introduction to iscsi 1.1 What is iscsi? 2. Using the iscsi service with your computer 2.1 Creating an iscsi target and LUN 2.2 Connecting to the target using the iscsi initiator 2.3 Initializing the new disk volume A S U S T O R C O L L E G E / 2
1. Introduction to iscsi 1.1 What is iscsi? iscsi, (Internet Small Computer System Interface), is an Internet Protocol (IP)-based storage networking standard for linking data storage facilities. It offers high expandability and low implementation costs. Through existing network infrastructure and iscsi you can use your NAS to expand existing storage space or have it act as a backup destination. iscsi consists of two ends, a target and an initiator. The initiator (on your computer) functions as an iscsi client and is used to search for iscsi hosts and to set up targets. Targets are storage resources that are located on an iscsi server. An iscsi target is often a dedicated network-connected hard disk storage device (ASUSTOR NAS). Note: A single target should not be simultaneously connected to multiple clients or initiators. A S U S T O R C O L L E G E / 3
2. Using the iscsi service with your computer In the following example we will take you through the process of creating an iscsi volume on the ASUSTOR NAS and then connecting to it using a PC. 2.1 Creating an iscsi target and LUN STEP 1 Open [Storage Manager]. Click on [Create] under the iscsi tab. A S U S T O R C O L L E G E / 4
STEP 2 The Create New iscsi Device window will now appear. Select the [An iscsi target with one LUN] radio button and click [Next]. STEP 3 Enter a name for your Target and then click [Next]. A S U S T O R C O L L E G E / 5
STEP 4 Select the [No authentication required] radio button and click [Next]. In our example we have chosen not to use authentication. However, if you wish to verify a user s identity you can choose to use CHAP authentication. If you choose to use CHAP authentication, a CHAP password must first be entered from the initiator for verification before it can connect to the target. A S U S T O R C O L L E G E / 6
STEP 5 Select the [Create a new iscsi LUN] radio button. Fill in a name for your LUN and select a size for it. Once, you re done click [Next]. Note: A LUN (logical unit number) represents an individually addressable (logical) SCSI device that is part of a physical SCSI device (target). In an iscsi environment, LUNs are essentially numbered disk drives. An initiator negotiates with a target to establish connectivity to a LUN. LUNs represent slices of your hard disks. STEP 6 Look over a final summary of your settings. Once you re done, confirm these settings by clicking [Finish]. A S U S T O R C O L L E G E / 7
STEP 7 You will now see the new target that you have created in the left hand panel and the new LUN under the Mapped iscsi LUN(s) heading. A S U S T O R C O L L E G E / 8
2.2 Connecting to the target using the iscsi initiator STEP 1 In Windows, click [Start] and then click on [Control Panel]. STEP 2 Select [Administrative Tools]. A S U S T O R C O L L E G E / 9
STEP 3 Double-click on [iscsi Initiator]. STEP 4 Under the Targets tab enter the IP address of your NAS into the [Target:] field and then click on [Quick Connect ]. A S U S T O R C O L L E G E / 10
STEP 5 You will now see the Quick Connect dialog box and that your target has been connected to. Click on [Done]. A S U S T O R C O L L E G E / 11
STEP 6 Once again, you will see that the target has been connected to under the [Discovered targets] heading. Click on [OK]. A S U S T O R C O L L E G E / 12
2.3 Initializing the new disk volume STEP 1 In Windows click [Start]. Then right-click on [Computer] and select [Manage]. STEP 2 The Computer Management window will now appear. Click on [Disk Management] under [Storage] in the left hand panel. The Initialize Disk dialog box will now appear. Make sure the disk is selected and then click [OK] to initialize it. A S U S T O R C O L L E G E / 13
STEP 3 You will now see that the new disk is online but unallocated. Right-click on it and select [New Simple Volume ]. STEP 4 The New Simple Volume Wizard will now appear. Follow the steps provided by the wizard to complete the creation of the new disk volume. A S U S T O R C O L L E G E / 14
STEP 5 This is what the information for the disk should look like once the new volume has been created. STEP 6 The new volume is now ready for use. It will appear as a hard disk drive as in the picture below. You can use it as if it were a hard drive on your computer and any data that you store on it will be saved to the ASUSTOR NAS. Note: Please remember that a single target should not be simultaneously connected to multiple clients or initiators. A S U S T O R C O L L E G E / 15