Building an IP storage network with iSCSI storage technology (real-combat article)

Source: Internet
Author: User

This article focuses on building a PC-architected iSCSI Storage System, where we select a common, performance-enabled PC server as iSCSI target and choose a mature and stable iSCSI target software Iscsitarget, The basic configuration environment is shown in table 1:

Table 1

The target host third hard disk (hard disk ID/DEV/SDC) is used as an iSCSI shared disk with a hard disk size of 10G, shared to a Windows host and a Linux host, in the basic structure shown in Figure 1:

Figure 1

The following is a detailed introduction to the iSCSI networked storage setup process.

First, install the iSCSI target software

The installation of the Iscsitarget software is done on the target host, the 192.168.12.246 host set above, where the target software we choose is iscsitarget, and the reader can http:// Iscsitarget.sourceforge.net download the appropriate version, where the download is iscsitarget-1.4.20.1.tar.gz, and then start the compile installation:

[Root@iscsi-target iSCSI] #tar-XZVF iscsitarget-1.4.20.1.tar.gz

[Root@iscsi-target iSCSI] #cd iscsitarget-1.4.20.1

[Root@iscsi-target iscsitarget-1.4.20.1] #make

[Root@iscsi-target iscsitarget-1.4.20.1] #make Install

When the Iscsitarget is installed, the/etc/iet/directory is created, the Iscsitarget profile is available under this directory, and the Iscsitarget service can be started, and the command to start or close the Iscsitarget service is as follows:

[Root@iscsi-target iscsi]# Service Iscsi-target

Usage:/etc/init.d/iscsi-target {start|stop|restart|condrestart|status}

If you want the Iscsi-target service to boot automatically, do the following:

[Root@iscsi-target iSCSI] #chkconfig--level Iscsi-target on

So far, the Iscsitarget installation is complete.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.