Recent research on libvirt, storage
Create an iSCSI storage pool
Import lib1_conn = libvirt. open ('qemu: // system') # conn = libvirt. open ('qemu: // system ') /dev/Disk/by-pathxmldesc = '''
Logical concept correspondence:
When a storage pool is created and an iqn In The iSCSI server is used as the device, the iqn can understand a pool, and the Lun in the iqn corresponds to the volume in libvirt,
1.Target-side configuration
The target side is the disk array or other host with disk. The Iscsitarget tool maps disk space to the network, and the initiator side can find and use the disk.
Note that a target host can map multiple target to a network, that is, multiple block devices can be mapped to the network.
1) package
Iscsitarget
You can download the latest version from http://sourceforge.net/projects/iscsitarget/files/.
2) Compile and install
Very simple, unpack, compile, install.
Linux Target Framework (TGT) aims to simplify various SCSI target driver (ISCSI, Fibre Channel, SRP, etc) creation and Mai Ntenance. The key goals is the clean integration to the SCSI-MID layer and implementing a great portion of TGT in user space.The developer of IET is also helping to develop Linux SCSI Target Framework (STGT) which looks like it might leads to an CSI target implementation with an upstream kernel component.
Storage Multipath Subsystem Device Driver Installation configuration and instructions
The storage multi-path software used by a Coal Company's ERP system is datapath currently has two shared vg. A total of 1453Gb data.
The IBM System Storage Multipath Subsystem Device Driver (SDD) provides
Vsphere supports storage multipath selection for NFS and iSCSI, which are explained in detail in the following two ways.first, the multipath approach to NFS is described, and NFS is a multi-path IP-based network, although he can do link aggregation through LACP, but he is only a shunt technology, not the bandwidth overlay, and the premise must be in a one-to-many
Problem for current multipath delivering Protocol: Assume infinite Receive Buffer. When the buffer is limited, flow control will degrade the throughput a lot.
Contribution: The authors uses systematic coding, which saves processing buffer. The basic idea :"Send the redundancy at the beginning and transmit the uncoded packetsLater so that the in-order arriving original packets cocould be released immediately and only the redundancy is Bu already ered.
1PHP2 //Multi-channel branch, multi-condition Operation3 //Address bar input: http://127.0.0.2/text.php?sex=manage=624 $sex=$_get["Sex"];5 $age=$_get["Age"];6 7 if($sex= = "Man"){8 if($age>= 60){9 Echo"This man has retired." ($age-60). " Years. ";Ten}Else{ One Echo"This man is still working, and." (60-$age)." Years before retiring. ; A } - -}Else { the if($age>= 55){ - Echo"This lady has retired." ($age-55). " Years. "; -}Else{ - Echo"This lady is still w
~]# iscsiadm -m discovery -t sendtargets -p 10.1.1.1[root@node2 ~]# iscsiadm -m node -T disk -p 10.1.1.1 -l
At this time, we will find two identical disks. We can verify the following:
1234
scsi_id -u -g /dev/sdb1IET_00010001scsi_id -u -g /dev/sdc1IET_00010001
Because the two devices have the same WWID, they are the same device.
4. Next we will start to configure multi-path.
1
yum install device-mapper\*
1
cp /usr/share/doc/device-mapper-*
When testing Oracle RAC, iSCSI is used to simulate the magnetic array (the real magnetic array requires multipath software), which is simply recorded#scsi serveryum Install SCSI-target-/srv/if=/dev/zero of=/srv/iscsi/disk01.img bs=1m count=/etc/tgt/targets.conf#backing-Store (virtual appliance) #direct-Store (actual device)-.dev.iscsi-target:iscsidisk>backing-sto
When installing 11GR2 RAC on RHEL6.4, multipath is used to aggregate the disks that bind the multipath and modify the disk permissions to give Grid:asmadmin users and groups.At this point, the disks can be found at the time of installation and the logs areINFO: ... discoverystring =/dev/mapper/*info:executing [/tmp/orainstall2014-11-24_04-55-14pm/ext/bin/kfod, Nohdr=true, Verbose=true, Disks=all, status=tru
When the OCR disk was initialized, a disk read and write error was reported.
Error Input/output error when reading and writing test for multipath device
DD If=/dev/zero OF=/DEV/MAPPER/VOT1 bs=1mcount=1000
Dd:writing '/dev//mapper/vot1 ': input/output error
1+0 Records in
0+0 Records out
The reason is on the multiple path configuration, the production looks multipath–ll
VOT1 (360080e50001fa2d0000003ba
First, the concept of iSCSI
iSCSI is a standard for data block transmission on Internet protocols, especially Ethernet, which is a new storage technology based on IP storage theory, which combines SCSI interface technology widely used in storage industry with IP network technology, You can build a SAN storage area network on an IP network, simply put, iSCSI is a
Recently read a number of papers, multipath routing algorithm. More obscure, or reluctantly summed up a little content:
multi-path Routing Algorithms Summary
Problem formulation 2
MPA (multiple Path algorithm) 2
Problem solved by the MPA algorithm 2
MPA uses the essence of thought 3
MPA Execution Procedure 3
Mdva (Distance-vector Multipath) 4
Problem solved by Mdva algorithm 4
The essential thought of Mdva
supports active/Active mode and active/passive mode clustering.Detailed cluster deployment documentation is available on the official DSS website. http://www.open-e.com/support/library/how-to-resources/can also be downloaded from the attachmentIv. deploying an Active/Active mode iSCSI failover ClusterOn the Reference website: Step-by-Step Guide to Open-e DSS V7 active-active iSCSI Failover technical docume
Instructor: Instructor Zeng Yong of Double Star Technology
I. Working Principles of iSCSI
1.1. Composition of iSCSIA simple iSCSI system consists of the following parts:ISCSI initiator or iSCSI HbAIscsi targetEthernet SwitchOne or more servers
1.2 iSCSI initiator
ISCSI init
Install iSCSI in CentOS 6.6
I. Introduction to ISCSI
ISCSI, internet SCSI, also known as IP-SAN, is a standard developed by IETF to map SCSI data blocks into Ethernet packets. ISCSI is a TCP/IP-based protocol used to establish and manage the connection between IP storage devices, hosts and clients, and create a storage
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.