Multipathing Setup on RHEL 6.0

Similar documents
Setting up iscsi Multipath in Ubuntu Server 12.04

Enabling Multi-pathing on ESVA with Red Hat Enterprise Linux 6 Device Mapper

Using Dell EqualLogic and Multipath I/O with Citrix XenServer 6.2

Storage Fusion Architecture. Multipath (v1.8) User Guide

FUJITSU Storage ETERNUS DX Configuration Guide -Server Connection-

iscsi Quick-Connect Guide for Red Hat Linux

V2P2 and DigiBESS: case studies of open IT infrastructures for Islandora devel and production

Introduction to MPIO, MCS, Trunking, and LACP

Running Oracle 11g RAC on Violin

Linux Host Utilities 6.1 Installation and Setup Guide

HP LeftHand SAN Solutions

How To Configure A High Availability Pair Of Netapp Controllers With Asymmetric Logical Unit Access (Alua) For The Fibre Channel Protocol (Alua) On A Netapp 2-Laneros 2-Pool (Netapp

Intelligent Power Protector User manual extension for Microsoft Virtual architectures: Hyper-V 6.0 Manager Hyper-V Server (R1&R2)

Parallels Virtuozzo Containers 4.7 for Linux

Dell UPS Local Node Manager USER'S GUIDE EXTENSION FOR MICROSOFT VIRTUAL ARCHITECTURES Dellups.com

White Paper. Fabasoft on Linux Cluster Support. Fabasoft Folio 2015 Update Rollup 2

SAN Implementation Course SANIW; 3 Days, Instructor-led

How To Set Up Software Raid In Linux (Amd64)

AWS Virtual Tape Library as storage for Bareos

Drobo How-To Guide. What You Will Need. Use a Drobo iscsi Array with a Linux Server

StarWind iscsi SAN & NAS: Configuring HA File Server on Windows Server 2012 for SMB NAS January 2013

Module 4 - Introduction to XenServer Storage Repositories

High Availability for Informatica Data Replication in a Cluster Environment

Drobo How-To Guide. Topics. What You Will Need. Prerequisites. Deploy Drobo B1200i with Microsoft Hyper-V Clustering

How to Restore a Linux Server Using Bare Metal Restore

The Host Server. Linux Configuration Guide. July The Data Infrastructure Software Company

StarWind iscsi SAN & NAS: Configuring HA Shared Storage for Scale- Out File Servers in Windows Server 2012 January 2013

StarWind iscsi SAN: Configuring HA File Server for SMB NAS February 2012

StarWind iscsi SAN Configuring HA File Server for SMB NAS

Dell EqualLogic Red Hat Enterprise Linux 6.2 Boot from SAN

Preparing for the Installation

How you configure Iscsi target using starwind free Nas software & configure Iscsi initiator on Oracle Linux 6.4

Multipathing Configuration for Software iscsi Using Port Binding

White Paper. ThinRDP Load Balancing

Configuring iscsi Multipath

GWAVA 5. Migration Guide for Netware GWAVA 4 to Linux GWAVA 5

Getting Started with RES Automation Manager Agent for Linux

Configuring Offboard Storage Guide

StarWind iscsi SAN Software: Using an existing SAN for configuring High Availability storage with Windows Server 2003 and 2008

StarWind iscsi SAN & NAS: Configuring HA Storage for Hyper-V October 2012

StarWind Virtual SAN Installation and Configuration of Hyper-Converged 2 Nodes with Hyper-V Cluster

Our target is an EqualLogic PS100 Storage Array with a portal address of

Citrix XenServer 5.6 OpenSource Xen 2.6 on RHEL 5 OpenSource Xen 3.2 on Debian 5.0(Lenny)

Nimble Storage for Oracle Database on OL6 & RHEL6 with Fibre Channel or iscsi

Drobo How-To Guide. Topics. What You Will Need. Configure Windows iscsi Multipath I/O (MPIO) with Drobo iscsi SAN

Using Red Hat Enterprise Linux with Georgia Tech's RHN Satellite Server Installing Red Hat Enterprise Linux

Implementing and Managing Windows Server 2008 Clustering

OnCommand Performance Manager 1.1

KonyOne Server Installer - Linux Release Notes

Veritas Cluster Server

Linux Cluster. Administration

HighlyavailableiSCSIstoragewith DRBDandPacemaker

istorage Server: High Availability iscsi SAN for Windows Server 2012 Cluster

Implementing a High Availability ENOVIA Synchronicity DesignSync Data Manager Solution

EMC ViPR Controller. User Interface Virtual Data Center Configuration Guide. Version REV 01

Setup Cisco Call Manager on VMware

Windows Host Utilities Installation and Setup Guide

INUVIKA OVD INSTALLING INUVIKA OVD ON RHEL 6

Overview... 1 Requirements Installing Roles and Features Creating SQL Server Database... 9 Setting Security Logins...

Cluster Configuration Manual Cluster configuration on Database Servers

Configuring High Availability for VMware vcenter in RMS Distributed Setup

PIM SOFTWARE TR50. Configuring the Syslog Feature TECHNICAL REFERENCE page 1

Building a Microsoft SQL Server Failover Cluster on the Interoute Virtual Data Centre

Dell High Availability Solutions Guide for Microsoft Hyper-V

Replicating VNXe3100/VNXe3150/VNXe3300 CIFS/NFS Shared Folders to VNX Technical Notes P/N h REV A01 Date June, 2011

Using Cisco UC320W with Windows Small Business Server

STORAGE CONFIGURATION BEST PRACTICES FOR SAP HANA TAILORED DATA CENTER INTEGRATION ON EMC VMAX AND VMAX3 STORAGE SYSTEMS

StorSimple Appliance Quick Start Guide

Performing Administrative Tasks

Windows Host Utilities 6.0 Installation and Setup Guide

README.TXT

SonicWALL SRA Virtual Appliance Getting Started Guide

PolyServe Understudy QuickStart Guide

Configuring Windows Server Clusters

Compellent Storage Center

Resilient NAS by Design. Buffalo. A deployment guide to disaster recovery. Page 1

Storage and High Availability with Windows Server 10971B; 4 Days, Instructor-led

StarWind Virtual SAN Installing & Configuring a SQL Server 2012 Failover Cluster

Linux FTP Server Setup

SteelEye Protection Suite for Linux: Apache/MySQL. Evaluation Guide

White Paper. Installation and Configuration of Fabasoft Folio IMAP Service. Fabasoft Folio 2015 Update Rollup 3

CatDV-StorNext Archive Additions: Installation and Configuration Guide

20417-Upgrading Your Skills to MCSA Windows Server 2012

NetBrain Security Guidance

How To Set Up A Network Map In Linux On A Ubuntu 2.5 (Amd64) On A Raspberry Mobi) On An Ubuntu (Amd66) On Ubuntu 4.5 On A Windows Box

Step by step guide for installing highly available System Centre 2012 Virtual Machine Manager Management server:

How to Install Multicraft on a VPS or Dedicated Server (Ubuntu bit)

Configure Backup Server for Cisco Unified Communications Manager

WES 9.2 DRIVE CONFIGURATION WORKSHEET

Configuring Linux to Enable Multipath I/O

Red Hat System Administration 1(RH124) is Designed for IT Professionals who are new to Linux.

Red Hat Cluster Suite

ORACLE OPS CENTER: PROVISIONING AND PATCH AUTOMATION PACK

ENTERPRISE LINUX SYSTEM ADMINISTRATION

F-SECURE MESSAGING SECURITY GATEWAY

istorage Server: High-Availability iscsi SAN for Windows Server 2008 & Hyper-V Clustering

VTrak A-Class Release Notes R1.00

LAMP Quickstart for Red Hat Enterprise Linux 4

Transcription:

Multipathing Setup on RHEL 6.0 Sharath Suryanarayan November, 2012 KB-00009 Document Revision 1

StorSimple knowledge base articles are intended to provide customers with information and guidance to successfully deploy and manage StorSimple Storage Appliances and Software as a part of their broader data and storage management processes. KB-00009 Page 2 of 7

Multipathing Setup on RHEL 6.0 KB-00009 Overview This KB article explains the steps required to setup Multipathing on Red Hat Enterprise Linux (RHEL) iscsi initiators connected to a StorSimple appliance for High Availability (HA). This article details the automatic discovery of multipath devices and specific setup only for StorSimple volumes. Prerequisites This section details the configuration prerequisites on RHEL server and StorSimple Appliance. On RHEL Server Following utilities need to be installed on the RHEL server: iscsi-initiator-utils Device-mapper-multipath On StorSimple Appliance The StorSimple appliance should have: A minimum of two interfaces enabled for iscsi All iscsi Interfaces should be reachable from the RHEL server Recommended that interfaces are connected on separate paths for redundancy. Automatic Discovery Multipathing Configuration Multipath supported devices can be automatically discovered and configured. For this method, automatic discovery should be enabled on the RHEL server. Automatic discovery enables any multipathing devices to be automatically added to the list of supported devices and discover all available paths to the device. KB-00009 Page 3 of 7

Multipathing on RHEL can be configured using the following two methods: Editing /etc/multipath.conf file Using mpathconf utility to edit the /etc/multipath.conf file. Both methods are explained in the following sections. Please select the method appropriate for the scenarios under consideration. Using mpathconf Utility: Perform the following steps to configure your mpathconf utility for automatic discovery. Enable mulitpathing if it is set for the first time on the RHEL server. Type the following command: o mpathconf --enable The above command will create a sample /etc/multipath.conf file. Enable automatic discovery of multipaths by typing the following command: o mpathconf -- find_multipaths y The above command enables this option in /etc/multipath.conf file. Default multipathing type is failover. Using multipath.conf File: To enable automatic discovery of multipath devices, edit the defaults section of /etc/multipath.conf file as shown below. defaults { find_multipaths yes user_friendly_names yes Note: This method enables multipathing for all devices that support multipathing. If this is not desired or if there are other devices mounted that do not require multipathing to be enabled, refer to the next section to configure multipathing only for the StorSimple volumes. KB-00009 Page 4 of 7

After configuring multipathing, please refer to the section Enabling Multipathing to enable multipathing and testing the connection. Configuring Multipathing only for StorSimple Volumes This section explains the changes required in /etc/multipath.conf file for enabling multipathing only for volumes mounted from StorSimple appliance. StorSimple device should be listed in the blacklist_exceptions section of the /etc/multipath.conf file for multipathing to be enabled only for StorSimple appliance volumes mounted on the RHEL server. Please edit the /etc/multipath.conf file to enter the information specified below. This list contains all models of StorSimple appliance. blacklist_exceptions { product "Model 5020*" product "Model 7020*" product "Model 5520*" product "Model 7520*" Note: Only the model of StorSimple appliance to which the RHEL server is connecting should be entered in the list. KB-00009 Page 5 of 7

Configuring Round-Robin Multipathing To configure Round-Robin Multipathing policy, edit the /etc/multipath.conf file with the path grouping policy set to multibus under the defaults section. defaults { user_friendly_names yes path_grouping_policy multibus Enabling Mulitpathing Multipathing should be enabled after the configuration is done. This operation is performed by restarting the multipathd daemon. Please ensure that multipathd daemon is set to automatically start at the boot time. Refer to the table below for a list of commands used with multipathd daemon. Operation Command to start Command to stop Command to restart Command to enable multipathd service to start at boot time Command Used service multipathd start service multipathd stop service multipathd restart chkconfig multipathd on OR mpathconf with_chkconfig y Verifying Multipathing Prior to verifying the multipathing configuration Ensure that iscsi connection is established with the StorSimple appliance A volume is exposed to the RHEL server from the StorSimple appliance. The multipathing configuration can now be verified using the following commands on the RHEL server. KB-00009 Page 6 of 7

List multipath topology: multipath -ls Sample output for failover multipathing configuration with three paths: mpatha (36486fd2066fb3aa4d7e9d9d9f31b046b) dm-2 SSIMPLE,Model 7020 size=100g features='0' hwhandler='0' wp=rw -+- policy='round-robin 0' prio=0 status=active `- 5:0:0:0 sdb 8:16 active undef running -+- policy='round-robin 0' prio=0 status=enabled `- 6:0:0:0 sdc 8:32 active undef running `-+- policy='round-robin 0' prio=0 status=enabled `- 7:0:0:0 sdd 8:48 active undef running Sample output of round-robin multipathing configuration with three paths: mpatha (36486fd2066fb3aa4d7e9d9d9f31b046b) dm-2 SSIMPLE,Model 7020 size=100g features='0' hwhandler='0' wp=rw `-+- policy='round-robin 0' prio=0 status=active - 8:0:0:0 sdb 8:16 active undef running - 9:0:0:0 sdd 8:48 active undef running `- 10:0:0:0 sdc 8:32 active undef running Appendix Some useful iscsi commands are tabulated below. Operation Discover available targets on the specified IP address Login to the target Logout from the target Print iscsi initiator name Check the state of iscsi session and volume discovered on host Command Used iscsiadm -m discovery -t sendtargets -p <TARGET_IP> iscsiadm -m node --login -T <TARGET_IQN> iscsiadm -m node --logout -p <Target_IP> cat /etc/iscsi/initiatorname.iscsi iscsiadm m session s <sessionid> -P 3 KB-00009 Page 7 of 7