Official explanation:
The iSCSI (Internet Small computer system Interface Internet small Computer system interface) was developed jointly by IBM's two research institutes, one by one California Aimaden and the Israel Haifa Research Center, and is a A set of SCSI instructions for use by hardware devices that can run on the upper layer of the IP protocol is an open IP-based industrial technology standard. The protocol can be encapsulated with TCP/IP for SCSI instructions that enable the connection of SCSI and TCP/IP protocols through IP-based network transmission. For the users in the LAN environment, the adoption of this standard requires only a few investments to facilitate and quickly communicate and manage the information and data interactively.
ISCSI is the inevitable result of the rapid development of IP technology and network, is FC (Fiberchannel, Fibre Channel ) The most powerful competitor. iSCSI combines the industry's two most common SCSI and TCP/IP protocols, which greatly facilitates implementation and use, and greatly increases the resource utilization of storage devices, so it is bound to be quickly popularized. Software. With the application of iSCSI technology, there will inevitably be some changes in the storage industry.
Self-Understanding:
1. iSCSI technology costs a lot less than the SAN threshold
  2, many IT engineers are familiar with the technology used by iSCSI and are easier to get started
3, propagation without restrictions, can achieve offsite data exchange, offsite data backup
4, the current Ethernet network speed is increasing, the future and the pace of the San gap is declining
Text Description:
ISCSIimplement networked storage and provide storage-side callsTarget, use the storage side to callInitiator. Targetcan provide storage space on theInitiatorResponsible for connectionISCSIequipment, inISCSIdevice to create file systems, and access data,InitiatorIt looks like a hard drive.
server-side configuration target, ready to be LUNs published by ISCSI storage device (which can be a whole disk, a partition, a logical volume, or RAID array).
Graphic:
·
Building iSCSI:
1. Prepare iSCSI storage devices first.
2, installation, targetd TARGETCLI
(yum-y install targetd targetcli)
3. Systemctl start target (start service)
4, Firewall-cmd--permanent--add-port=3260/tcp (because iSCSI uses 3260 ports, so set up a firewall)
5, TARGETCLI (Execute TARGETCLI tool, you can enter help to view the assistance)
The basic idea is to make the block ready to be shared, create a target, create a LUN on target, and connect a block to a LUN.
6,/backstores/block Create SERVER0.DISK1 (the name of this block) share fast (example:/DEV/SDB)
7./ISCSI Create (creating IQN name, that is, creating iSCSI objects) (example:/ISCSI create Iqn.2018-05.com:disk1)
8. Set the ACL to bind the iSCSI object to the client IP.
(/ISCSI/IQN. 2018-05.COM:DISK1/TPG1/ACLS Create Iqn.2018-05.com:client1)
Note that Iqn.2018-05.com:client1 is the name of initiator and needs to be set on the client.
9. Creating LUNs and binding blocks
(/iscsi/iqn.2018-05.com:disk1/typ1/luns Create/backstores/block/server0.disk2)
One iSCSI object can create multiple LUNs
Perform is view
10. Start the Monitoring program
(/iscsi/iqn.2018-05.com:disk1/typ1/portals create iSCSI Service-side network card IP)
11, install Iscsi-initiator-utils (in the client yum-y install iscsi-initiator-utils)
12, VIM/ETC/ISCSI/INITTATORNAME.ISCSI (give initiator a name, see eighth)
13. Start the service (Systenctl start iSCSI)
14. Discovery Storage (iscsiadm-m discovery-t st-p server IP address)
15, Login storage (iscsiadm-m node-t found stored name-P server IP address-l)
-L for connecting iSCSI targets,-U for disconnecting and iSCSI target connections
The rest of the operation and management of local hard drives
Linux build ISCSI shared storage personal Understanding, detailed configuration Centos7