Openfiler and multipath Multi-path function support

Source: Internet
Author: User
Tags connect

Description: For iSCSI storage devices with two or more controllers, or for systems with Openfiler with two network adapters. You need to configure Multipath to improve availability.

This article uses Openfiler to implement the installation and testing of iSCSI devices.

This article NAS uses Openfiler 2.99.1 X64 as an experimental environment to prepare for a recent backup environment deployment.

1. And install the iSCSI Launcher package

RPM-IVH iscsi-initiator-utils-6.2.0.871-0.10.el5.i386.rpm

Chkconfig--level 2345 iSCSI on

Chkconfig--level 2345 Iscsid on

Service iSCSI Start

Service Iscsid Start

2. Multi-path Software Installation Preparation

# RPM-QA |grep Mapper

Device-mapper-event-1.02.55-2.el5

Device-mapper-1.02.55-2.el5

Device-mapper-multipath-0.4.7-42.el5

#

Set to power-on self-starter MULTIPATHD

# chkconfig--level 2345 MULTIPATHD on

To check if the installation is OK

# lsmod |grep Dm_multipath

Dm_multipath 25421 0

SCSI_DH 12097 1 Dm_multipath

Dm_mod 63097 Dm_multipath,dm_raid45,dm_snapshot,dm_zero,dm_mirror,dm_log

3. Discover storage devices

# iscsiadm-m Discovery-t st-p 192.168.100.238

192.168.100.238:3260,1 iqn.2006-01.com.openfiler:tsn.f9d59aaffe9c

192.168.100.239:3260,1 iqn.2006-01.com.openfiler:tsn.f9d59aaffe9c

4. Connect two nodes, connect through two IP respectively

(1) connection to the first IP login

# iscsiadm-m Node-t iqn.2006-01.com.openfiler:tsn.f9d59aaffe9c-p 192.168.100.238-l

Logging in to [Iface:default, target:iqn.2006-01.com.openfiler:tsn.f9d59aaffe9c, portal:192.168.100.238,3260]

Login to [Iface:default, target:iqn.2006-01.com.openfiler:tsn.f9d59aaffe9c, portal:192.168.100.238,3260] Successful .

(2) Connection login second IP

# iscsiadm-m Node-t iqn.2006-01.com.openfiler:tsn.f9d59aaffe9c-p 192.168.100.239-l

Logging in to [Iface:default, target:iqn.2006-01.com.openfiler:tsn.f9d59aaffe9c, portal:192.168.100.239,3260]

Login to [Iface:default, target:iqn.2006-01.com.openfiler:tsn.f9d59aaffe9c, portal:192.168.100.239,3260] Successful .

5. View connection Status

(1) View connection Status 1

# ISCSIADM-M Session

TCP: [1] 192.168.14.180:3260,1 iqn.2006-01.com.openfiler:tsn.355d1613342d

TCP: [2] 192.168.14.181:3260,1 iqn.2006-01.com.openfiler:tsn.355d1613342d

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.