Академический Документы
Профессиональный Документы
Культура Документы
Shyam Iyer
Situation
Linux Engineering
Linux Engineering
Volume Management Authentication ACLs RAID Snapshot/Backups Thin provisioning I/O Bandwidth, QOS Cluster-capable
Linux Engineering
Complication
Confidential
Linux Engineering
Cons
Multiple Management Window VMs can't make use of underlying technologies
Linux Engineering
Linux Engineering
Technology Advancements
HW
SR-IOV, VT-D, iSCSI offload, Data Centre Bridging, Multiqueues, VLAN segmentation
Software
Linux Engineering
VM2
iqn2
VM3
iqn3
Migrate
Hypervisor
iSCSI Initiator - iqn1
Hypervisor
NIC
Network
iqn.1
iqn.1
iqn.2
iqn.3
Network
Storage
iSCSI initiator in Hypervisor
Storage
iSCSI initiator in VM
Linux Engineering
Solution
Linux Engineering
Multi-IQN Concept
VM1
Lend IQN iqn.1 iSCSI_1 VF_1 iqn.2 iqn.2 iSCSI_2 VF_2 iqn.3
VM2 VM1
VM3
Lend IQN
iSCSI_X
iSCSI_3
Hypervisor
iqn.1
iqn.2
Storage
Linux Engineering
Linux Engineering
Implementation
Linux Engineering
Implementation Details
Open-iscsi
#iscsiadm -m iface -o new -I initiatorIqnA #iscsiadm -m iface -I initiatorIqnA -o update -n iface.initiator -v <IQNname> #iscsiadm -m discovery -t st -p <IP> -I initiatorIqnA #iscsiadm -m node -l
Libvirt Create MultiIQN iface abstraction Extended ISCSI Storage Pool XML Libvirt APIs to create multiiqn pools
Linux Engineering
Implementation Details
Virt-manager
Linux Engineering
Steps
# iscsiadm -m discovery -t sendtargets -p 10.66.90.100 10.66.90.100:3260,1 iqn.2001-05.com.equallogic:0-8a0906-26f1f7d03-1c7267779594c286-test-1 # virsh pool-define pool-multiiqn.xml # virsh pool-start multiiqn Pool multiiqn started
Linux Engineering
Use Cases
Linux Engineering
However certain target have more multiple LUNs behind the same target IQN so policies can't be made based on target IQNs ACLs and policies are based on initiator IQN Bottom Line Initiator IQN can uniquely determine the path to a LUN
Linux Engineering
IQN A
ISCSI Initiator
IQN B
Linux Engineering
IQN A
ISCSI Initiator
IQN B
Linux Engineering
IQN A
ISCSI Target
IQN C
ISCSI Initiator
IQN B
Architecture Summary
Enables per VM QOS Makes efficient use of underlying HW, OS technologies Supports New Usecases Allows efficient LUN mapping and path policy decisions
Linux Engineering
References
http://www.mail-archive.com/libvir-list@redhat.com/msg19253.html
Linux Engineering
Linux Engineering
Backup
Linux Engineering
Discovery Mechanisms DHCP iSNS Autologin SCN events Sendtargets Is the iSCSI storage going to be provisioned for SAN-boot? Initiator and Target IQN identifications TCP/IP networking(This is the most simple)
Linux Engineering