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
Tags: package/usr ODI next Nic multipath Operation IDT CommandOne, what is multipathThe normal computer host is a hard disk attached to a bus, here is a one-to-one relationship. In the case of a SAN environment with optical fiber, or an ipsan environment made up of iSCSI, the host and storage are connected by a fibre switch or multiple network cards and IP, which makes the relationship much more numerous. In other words, host-to-storage can have multi
Using MPath devices
After the mapping is generated with multipath, multiple devices pointing to the same link are generated in the/dev directory:
/dev/mapper/mpathn
/dev/mpath/mpathn
/dev/dm-n
But their origins are completely different:
/DEV/MAPPER/MPATHN is a multipath virtual multi-path device, we should use this device;
/dev/mpath/mpathn is created by Udev Device Manager, which is actually pointin
1.Installing the Multipath tool# yum–y Install Device-mapper Device-mapper-multipath2. Set boot from boot# Chkconfig MULTIPATHD on3. Open Multipath# mpathconf--enableor use the full command: mpathconf--enable--find_multipaths y--with_multipathd y--with_chkconfig y4. Open Service# Service MULTIPATHD Restart5. View Status# MULTIPATH-LLThe following status indicates
Session[sid:2, Target:iqn.2017-03.centos-i1:target1, portal:192.168.136.101,3260]Logout of [Sid:1, Target:iqn.2017-03.centos-i1:target1, portal:192.168.20.101,3260] successful.Logout of [Sid:2, Target:iqn.2017-03.centos-i1:target1, portal:192.168.136.101,3260] successful.# lsblk # Verify that the device is logout# iscsiadm-m Node-tiqn.2017-03.centos-i1:target1–l # re-login, the case here is a two-pathLogging in to [Iface:default, Target:iqn.2017-03.centos-i1:target1, portal:192.168.20.101,3260]
Installation and ConfigurationDm-multipathInstallation RunDmSoftware# yum Install Device-mapper-multipath #/etc/init.d/multipathdrestartOkstopping Multipathddaemon: [OK]Starting Multipathddaemon: [OK]MULTIPATHD Once the service is started, it will pass SCSI ID automatically find multiple paths for the same device, and install the default settings to aggregate them for use. # MULTIPATH-LLMPATHB (1IET 0001000
simulate Linux dual-nic dual IP for multipath multi-Path connection storage system (centos6.5:oracle-1) :Eth0:192.168.21.23/24Eth1:172.16.112.17/24Storage ip:192.168.21.230to configure iSCSI storage first , and then next, I've configured two iscis StorageNIC Routing ConfigurationBecause there can only be one gateway, adding a static route enables two-NIC communication1. edit the NIC eth0,eth1Set up the con
Multipath implements LUN device name persistence. I. additional knowledge based on different transmission protocols, the network card can be divided into three types: An Ethernet card, an FC network card, and an iSCSI Network card. (1) Ethernet adapter: The learning name EthernetAdapter. the transmission protocol is the IP protocol. Generally, the persistence of the LUN device name is realized through optical fiber cables or dual
The multi-path software under Ubuntu system is the DM multipath tool that comes with the operating system. ----------------------------------------------------------------------------------------------------------- -------Dm-multipath Component Description: dm_multipath: kernel modules re-specify I/O for path and path groups and support for error redundancy. multipath
Simple configuration of Multipath in Linux
1. Enable Multipath:
(1) Start The multipathd service# Service multipathd start or #/etc/init. d/multipathd start
(2) modify the multipath configuration file/etc/multipath. conf:A By default, all devices are in the multipath blackli
Implementation of MultiPath software in Linux
How Multipath works
When the multipath is started, it uses the system command scsi_id-eg-s/block/sdX to obtain the UUID (universally unique identify) of all block devices in proc/partitions ), then, all Block devices with the same UUID are grouped into a Group to generate a corresponding independent device in/dev/mapp
the SCSI definition.
The FC SAN and IP San are currently two popular SAN storage scenarios:
When a SAN device is connected to the system, it is represented as one or more target IDs, and its logical allocation unit is LUN-LOGICAL unit number (logical unit).
The IP San is also known as iSCSI (Internet Small computer System Interface).
The core of iSCSI technology is the transmission of SCSI protocols on TCP/IP networks, which is the encapsulation of SCSI packets with TCP/I
Use the mpath Device
After the multiing is generated using multipath, multiple devices pointing to the same link will be generated in the/dev directory:
/Dev/mapper/mpathn
/Dev/mpath/mpathn
/Dev/dm-n
However, their sources are completely different:
/Dev/mapper/mpathn is a multi-path device virtualized by multipath. We should use this device;
/Dev/mpath/mpathn is created by the udev Device Manager. It actual
Multipath implements LUN device name persistence. I. Additional knowledge based on different transmission protocols, the network card can be divided into three types: an Ethernet card, an FC network card, and an iSCSI network card. (1) Ethernet Adapter: an Ethernet Adapter. The transmission protocol is an IP protocol. It is generally connected to an Ethernet switch through an optical fiber cable or twisted pair. Interfaces can be divided into optical
Lenovo DSStorageLinuxunderISCSIMulti-Path mapping configurationRenren 2018-01-17Lab Environment: ds4200 storage, B The director pool divides a size of 18g volume 1G Iscsi port port2 and Port3 Port B2 port ip 172.16.1.14/24 port B3 port ip 172.16.1.15/24the client system is a CentOS 6.9 , two Ethernet ports,eth0 port ip 172.16.1.195/24,eth1 Port IP for 172.16.1.196/24. Network is the state of Unicom. The client needs to use this 18G volume with open
Sometimes we in the Linux system through the "fdisk-l" command, you will see the/dev/mapper/xxxxx disk, which is likely to be a logical volume, or the configuration of multipath, you can first through "lvdisplay" how to see, then the description is a logical volume, if not , then is the disk multipath configuration, under the Multipath configuration, generally/de
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.