Using Linux Hosts with ONTAP Storage

Total Page:16

File Type:pdf, Size:1020Kb

Using Linux Hosts with ONTAP Storage Linux® Uni®ed Host Utilities 7.1 Using Linux® Hosts with ONTAP storage February 2019 | 215-11446_C0 [email protected] Table of Contents | 3 Contents Overview of the supported Linux environments ....................................... 7 (iSCSI) How to configure iSCSI for Linux ............................................... 10 Getting the iSCSI initiator node name ...................................................................... 10 Setting the timeout values to enable multipathing with iSCSI .................................. 11 Setting up CHAP for Red Hat Linux 5, 6, and 7, SUSE Linux 10, 11, 12, 15, and later for iSCSI ............................................................................................... 12 (iSCSI) Setting up CHAP for Red Hat Enterprise Linux 4 series ............................. 13 Starting the iSCSI service ......................................................................................... 14 Methods for setting up target discovery with software initiators on iSCSI .............. 15 Discovering the iSCSI target by using the iscsiadm utility on Red Hat 5, 6, and 7 and SUSE 10, 11, 12, 15, and later ............................................ 15 (iSCSI) Setting up target discovery on Red Hat Enterprise Linux 4 series ... 16 Discovering targets by using YaST2 on SUSE 10, 11, 12, 15, or later on iSCSI ........................................................................................................ 16 Configuring the iSCSI service to start automatically ................................................ 17 Configuring manual or automatic node login with iSCSI ......................................... 18 Configuring the storage system ................................................................. 19 DM-Multipath configuration ..................................................................... 20 Verifying the required multipathing packages .......................................................... 20 Editing the DM-Multipath configuration file ............................................................ 21 Starting DM-Multipath .............................................................................................. 22 Configuring DM-Multipath to start automatically while booting ................. 23 Verifying the DM-Multipath configuration ............................................................... 24 Stopping DM-Multipath ............................................................................................ 27 Veritas Dynamic Multipath configuration ............................................... 28 (Veritas) VxDMP restore daemon and LUN retries tunable configuration ............... 28 Setting the Veritas restore daemon and LUN retry editable values ............... 28 Configuring Red Hat Enterprise Linux 6 series and Red Hat Enterprise Linux 7 series to support Veritas Storage Foundation ...................................................... 29 Configuring SUSE Linux Enterprise Server 11 to support Veritas Storage Foundation ........................................................................................................... 30 The Veritas Array Support Library and Array Policy Module .................................. 31 (Veritas) What the ASL is ............................................................................. 31 (Veritas) What the APM is ............................................................................ 32 Installing the ASL and APM software to support Veritas Storage Foundation ............................................................................................... 32 (Veritas) Removing the ASL and APM ......................................................... 33 (Veritas) Information about ASL error messages .......................................... 33 Methods for working with LUNs in native Linux environments ........... 35 Discovering new LUNs in FC and hardware iSCSI environments ........................... 35 Discovering new LUNs on Red Hat and SUSE with iSCSI and multipathing ......... 36 4 | Using Linux® Hosts with ONTAP storage Discovering new LUNs on Red Hat Enterprise Linux 4 with DM-Multipath and software iSCSI ..................................................................................................... 36 Viewing a list of LUNs .............................................................................................. 37 Examples of sanlun, iscsiadm, iscsi output when used to view LUNs ......... 37 Enabling device persistence for newly discovered LUNs ......................................... 43 Removing an unmapped LUN ................................................................................... 43 (Veritas) LUN access when using VxDMP ............................................... 45 Discovering new LUNs on Veritas with FC .............................................................. 45 Discovering new LUNs for Red Hat 5, 6 or 7 or SUSE 10, 11, 12, 15 and later while using Veritas and iSCSI ............................................................................. 46 Viewing LUNs mapped to the host and on VxVM disks .......................................... 46 Examples of sanlun, iscsiadm, and iscsi output when used to view LUNs on Veritas ................................................................................................. 47 (Veritas) Displaying multipathing information for VxDMP ..................................... 51 (Veritas) Examples of sanlun output for VxDMP ......................................... 51 Removing an unmapped LUN ................................................................................... 52 Displaying available paths using VxVM on Veritas ................................................. 52 (FC) Setting up a SAN boot LUN on Red Hat Enterprise Linux ........... 54 (FC) Setting up a SAN boot LUN on SUSE Linux Enterprise Server ... 55 (FC) Configuring the root partition with DM-Multipath on SUSE Linux Enterprise Server ................................................................................................. 55 (iSCSI) SAN boot configuration for iSCSI hardware, software initiators .................................................................................................. 57 (Hardware iSCSI) Configuring SAN boot on Red Hat Enterprise Linux ................. 57 (Native multipathing) Using sanlun to display DM-Multipath information ............. 58 (Native multipathing) Examples of sanlun output containing DM- Multipath information ............................................................................. 58 (Software iSCSI) Configuring SAN boot on Red Hat Enterprise Linux 5 or 6 series .................................................................................................................... 61 Configuring SAN boot on Red Hat Enterprise Linux 7 series .................................. 62 (Software iSCSI) Configuring SAN boot on SUSE Linux Enterprise Server .......... 63 (Software iSCSI) Configuring multipathing for a SAN boot LUN using SUSE Linux Enterprise Server ....................................................................................... 65 Configuring SAN boot in a Veritas environment ..................................... 66 Support for host virtualization .................................................................. 68 Hypervisor VHD requires alignment for best performance ...................................... 68 Supported Linux and Data ONTAP features ........................................... 70 Protocols and configurations supported by Host Utilities ......................................... 70 The FC protocol ............................................................................................ 70 The FCoE protocol ........................................................................................ 71 The iSCSI protocol ........................................................................................ 71 SAN booting .................................................................................................. 71 Support for Linux Device Mapper Multipathing .......................................... 72 Volume management and multipathing with Veritas Storage Foundation .... 72 Linux configurations that support ALUA ..................................................... 72 Table of Contents | 5 Troubleshooting .......................................................................................... 74 LUNs not recognized by DM-Multipath ................................................................... 74 (FC) LUNs not visible on the Linux host .................................................................. 74 FC troubleshooting .................................................................................................... 75 (FC) Warnings displayed during Host Utilities installation .......................... 75 (FC) Linux hosts with QLogic initiators fail to detect LUNs ....................... 76 (FC) The SAN booted root on a DM-Multipath host freezes during FC path faults ................................................................................................ 76 (FC) Poor performance due to misalignment of partitioned LUNs .............. 76 (FC) sanlun command displays error when HBA libHBAAPI.so is missing ..................................................................................................... 77 (FC) LUNs are unavailable after a storage system failover or giveback ....... 77 (FC) SCSI rescan issues on SUSE Linux Enterprise Server hosts
Recommended publications
  • Storage Administration Guide Storage Administration Guide SUSE Linux Enterprise Server 12 SP4
    SUSE Linux Enterprise Server 12 SP4 Storage Administration Guide Storage Administration Guide SUSE Linux Enterprise Server 12 SP4 Provides information about how to manage storage devices on a SUSE Linux Enterprise Server. Publication Date: September 24, 2021 SUSE LLC 1800 South Novell Place Provo, UT 84606 USA https://documentation.suse.com Copyright © 2006– 2021 SUSE LLC and contributors. All rights reserved. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or (at your option) version 1.3; with the Invariant Section being this copyright notice and license. A copy of the license version 1.2 is included in the section entitled “GNU Free Documentation License”. For SUSE trademarks, see https://www.suse.com/company/legal/ . All other third-party trademarks are the property of their respective owners. Trademark symbols (®, ™ etc.) denote trademarks of SUSE and its aliates. Asterisks (*) denote third-party trademarks. All information found in this book has been compiled with utmost attention to detail. However, this does not guarantee complete accuracy. Neither SUSE LLC, its aliates, the authors nor the translators shall be held liable for possible errors or the consequences thereof. Contents About This Guide xii 1 Available Documentation xii 2 Giving Feedback xiv 3 Documentation Conventions xiv 4 Product Life Cycle and Support xvi Support Statement for SUSE Linux Enterprise Server xvii • Technology Previews xviii I FILE SYSTEMS AND MOUNTING 1 1 Overview
    [Show full text]
  • Netapp Cloud Volumes ONTAP Simple and Fast Data Management in the Cloud
    Datasheet NetApp Cloud Volumes ONTAP Simple and fast data management in the cloud Key Benefits The Challenge • NetApp® Cloud Volumes ONTAP® In today’s IT ecosystem, the cloud has become synonymous with flexibility and efficiency. software lets you control your public When you deploy new services or run applications with varying usage needs, the cloud cloud storage resources with industry- provides a level of infrastructure flexibility that allows you to pay for what you need, when leading data management. you need it. With virtual machines, the cloud has become a go-to deployment model for applications that have unpredictable cycles or variable usage patterns and need to be • Multiple storage consumption models spun up or spun down on demand. provide the flexibility that allows you to use just what you need, when you Applications with fixed usage patterns often continue to be deployed in a more need it. traditional fashion because of the economics in on-premises data centers. This situation • Rapid point-and-click deployment creates a hybrid cloud environment, employing the model that best fits each application. from NetApp Cloud Manager enables In this hybrid cloud environment, data is at the center. It is the only thing of lasting value. you to deploy advanced data It is the thing that needs to be shared and integrated across the hybrid cloud to deliver management systems on your choice business value. It is the thing that needs to be secured, protected, and managed. of cloud in minutes. You need to control what happens to your data no matter where it is.
    [Show full text]
  • Ontap 9.3 St
    NetApp, Inc. ONTAP® 9.3 Security Target Evaluation Assurance Level (EAL): EAL 2+ Document Version 1.2 30 July 2018 Prepared by: NetApp, Inc. 495 East Java Drive Sunnyvale, CA 94089 United States of America Revision History Version Date Document Version History 1.0 2018-05-14 Initial draft. (Garrett Cooper) 1.1 2018-07-16 Update TOE reference in Section 1.3 to ONTAP 9.3 P4 (Mike Scanlin) 1.2 2018-07-30 Corrected Figures 2 and 4. Corrected ONTAP version references. (Garrett Cooper) Preface This document provides the basis for an evaluation of a specific Target of Evaluation (TOE), NetApp ONTAP 9.3. This Security Target (ST) defines a set of assumptions about the aspects of the environment, a list of threats that the product intends to counter, a set of security objectives, a set of security requirements, and the Information Technology (IT) Security Functions provided by the TOE which meet the set of requirements. 2 NetApp, Inc. ONTAP® 9.3 Security Target version 1.2 © 2018 NetApp, Inc. All rights reserved. TABLE OF CONTENTS 1 Introduction .............................................................................................................................................. 6 1.1 TOE Components ............................................................................................................................................ 6 1.2 Purpose ............................................................................................................................................................ 7 1.3 Security Target and TOE Reference
    [Show full text]
  • Using Red Hat Client with Netapp Storage Over NFS Bikash Roy Choudhury, Netapp October 2013 | TR-3183
    Technical Report Using Red Hat Client with NetApp Storage over NFS Bikash Roy Choudhury, NetApp October 2013 | TR-3183 Abstract This report helps you to get the best from your Linux® NFS clients when used in an environment that includes NetApp® storage. Most of the discussion revolves around Red Hat Enterprise (RHEL) clients. This document does not include best practices and recommendations for block protocols like FCP and iSCSI. The paper highlight some of the best practices and tuning parameters that would be required for running user home directories and regular UNIX® file systems. The paper describes various tuning options on RHEL clients and diagnoses performance and reliability problems. Every workload has a different access pattern and characterization; we recommend appropriate tuning on RHEL clients based on the workload characterization, which should not be treated as “one size fits all" for all workloads. Separate technical reports have been published for different applications that provide recommendations for specific workloads. In this paper you will learn where to look for more information when faced with problems that are d ifficult to diagnose. Storage tuning information specific to your application may be available in other NetApp technical reports and solution guides. TABLE OF CONTENTS 1 Introduction ..................................................................................................................................... 3 2 Which RHEL Linux NFS Client Is Right for Me? ............................................................................
    [Show full text]
  • ONTAP 9 Data Management Software Simplify Your Transition to the Modern Data Center
    Datasheet ONTAP 9 Data Management Software Simplify your transition to the modern data center Key Benefits The Challenge Simplify Deployment and Management Businesses today need to address competitive pressures by evolving into digital • Deploy new workloads in under 10 enterprises that speed innovation and enable better business decisions. They must minutes take a more modern approach to their data storage while integrating into their existing • Unify data management across flash, environment. Businesses must also manage data wherever it resides—on the premises disk, and cloud and in the cloud- while reducing costs and operating with existing IT sta. • Gain a global view of storage with a single management console The Solution Simplify your transition to a modern data center with NetApp® ONTAP® 9, the next Flexibly Support Changing Business generation of the industry’s leading enterprise data management software. It combines Needs new levels of simplicity and flexibility with powerful data management capabilities and • Deploy on engineered systems, storage eciencies. converged infrastructure, software- defined storage, and cloud With ONTAP 9, you can build a hybrid cloud that is the foundation of a Data Fabric • Support current and modern software that spans flash, disk, and cloud. Seamlessly manage your data as it flows to wherever platforms you need it most to make the best possible decisions for your organization. ONTAP 9 • Manage SAN and NAS workloads on a addresses the challenges that face your digital enterprise by: unified storage architecture • Simplifying deployment and data management Power Your Enterprise Applications • Flexibly supporting your changing business needs • Deliver rich data services with high • Powering your enterprise applications performance and consistent low latency You can simplify your storage environment with proven operational eciency.
    [Show full text]
  • Iscsi存储和存储多路径介绍 综合产品支持部——李树兵 01 Iscsi存储介绍
    iSCSI存储和存储多路径介绍 综合产品支持部——李树兵 01 iSCSI存储介绍 02 Linux DM multipath(多路径)介绍 01 iSCSI存储介绍 02 Linux DM multipath(多路径)介绍 SCSI(Small Computer System Interface)历史 • SISI小型计算机系统接口技术是存储设备最基本的标准协议,但是他通常需要设备互相靠近并用SCSI总 线连接。 • SCSI-1 • 1986年ANSI标准,X3.131-1986 • SCSI-2 • 1994年ANSI标准,X3.131-1994 • SCSI-3 • 发展到SCSI-3,已经过于复杂,不适合作为单独的一个标准;在某次修订中,T10委员会决定把 SCSI分为更小的单元;并且将某些单元的维护工作移交给其他组织。SCSI-3是这些子标准的集合, 表示第三代SCSI。 • iSCSI属于SCSI-3的传输协议层(类似于FCP),由IETF维护。 • 目前还没有SCSI-4 SCSI-3架构模型 Architecture Model 特定设备命令集 Device-Type Specific Command Sets 架构模型 基础命令集 Shared Command Set SCSI传输协议 SCSI Transport Protocols 物理连接 Interconnects 特定设备命令集:包括磁盘设备的“SCSI块命令(SCSI Block Commands)”等 基础命令集:所有SCSI设备都必须实现的“基础命令(SCSI Primary Commands)” SCSI传输协议:譬如iSCSI,FCP 物理连接:譬如光纤通道,internet 架构模型:定义了SCSI系统模型和各单元的功能分工 SCSI通讯模型 target initiator 任务分发器 SCSI SCSI通道 SCSI port port 逻辑单元 客户端 任务管理器 服务器 见下页的概念介绍 iSCSI正是SCSI通道的一种 SCSI主要实体介绍 • SCSI是客户端-服务器架构 • 在SCSI术语里,客户端叫initiator,服务器叫target • Initiator通过SCSI通道向target发送请求,target通过SCSI通道向initiator发送响应 • SCSI通道连接的是SCSI Port,SCSI initiator port和SCSI target port • 所以initiator至少必须包括一个SCSI Port,和一个能发起请求的客户端 • 在SCSI里,target的概念比较麻烦(可能是历史原因),它并很与initiator对应 • Target需要包括一个SCSI port,任务分发器和逻辑单元 • SCSI port用来连接SCSI通道,任务分发器负责将客户端的请求分到到适当的逻辑单元,而逻 辑单元才是真正处理任务的实体 • 通常一个逻辑单元都支持多任务环境,所以需要包含一个任务管理器和真正响应请求的服务器 • Initiator用一种叫做CDB(Command Descriptor Blocks)的数据结构封装请求 分布式SCSI通讯模型 Initiator 设备 Target 设备 • Initiator的应用层封装好SCSI SCSI应用 应用协议 SCSI应用 CDB后,调用SCSI传输协议接 口…… 传输协议接口 • Target的应用层收到SCSI CDB后, 根据CDB内容进行相应处理,封 SCSI传输协议 传输协议 SCSI传输协议 装好SCSI 响应后,调用SCSI传输 协议接口…… 互连协议接口 • iSCSI正是SCSI传输协议的一种
    [Show full text]
  • Mysql Backup and Restore Using Zmanda Recovery Manager and Netapp Snapshot Technology Karthikeyan Nagalingam, Product and Partner Engineer, Netapp K
    NETAPP TECHNICAL REPORT MySQL Backup and Restore Using Zmanda Recovery Manager and NetApp Snapshot Technology Karthikeyan Nagalingam, Product and Partner Engineer, NetApp K. K. George, Vice President, India Development Operations, Zmanda, Inc. March 2008 | TR-3656 TABLE OF CONTENTS 1 INTRODUCTION ......................................................................................................................... 3 1.1 INTENDED AUDIENCE.................................................................................................................................3 1.2 PURPOSE .....................................................................................................................................................3 2 BACKUP AND RECOVERY SOLUTION FOR MYSQL OVERVIEW ........................................ 3 2.1 CONSIDERATIONS AND BEST PRACTICES FOR MYSQL BACKUP SOLUTION...................................5 2.2 ZMANDA RECOVERY MANAGER FOR MYSQL ........................................................................................6 2.3 ZMANDA MANAGEMENT CONSOLE (ZMC) FOR MYSQL BACKUP .......................................................8 2.4 ZMANDA RECOVERY MANAGER FOR MYSQL CLUSTER EDITION......................................................9 2.5 USING SNAPSHOT TECHNOLOGY FOR BACKUP ...................................................................................9 2.6 ZRM WITH NETAPP PLUG-IN....................................................................................................................10 2.7 PREREQUISITES
    [Show full text]
  • Freebsd Foundation February 2018 Update
    FreeBSD Foundation February 2018 Update Upcoming Events Message from the Executive Director Dear FreeBSD Community Member, AsiaBSDCon 2018 Welcome to our February Newsletter! In this newsletter you’ll read about FreeBSD Developers Summit conferences we participated in to promote and teach about FreeBSD, March 8-9, 2018 software development projects we are working on, why we need Tokyo, Japan funding, upcoming events, a release engineering update, and more. AsiaBSDCon 2018 Enjoy! March 8-11, 2018 Tokyo, Japan Deb SCALE 16x March 8-11, 2018 Pasadena, CA February 2018 Development Projects FOSSASIA 2018 March 22-25, 2018 Update: The Modern FreeBSD Tool Chain: Singapore, Singapore LLVM's LLD Linker As with other BSD distributions, FreeBSD has a base system that FreeBSD Journal is developed, tested and released by a single team. Included in the base system is the tool chain, the set of programs used to build, debug and test software. FreeBSD has relied on the GNU tool chain suite for most of its history. This includes the GNU Compiler Collection (GCC) compiler, and GNU binutils which include the GNU "bfd" linker. These tools served the FreeBSD project well from 1993 until 2007, when the GNU project migrated to releasing its software under the General Public License, version 3 (GPLv3). A number of FreeBSD developers and users objected to new restrictions included in GPLv3, and the GNU tool chain became increasingly outdated. The January/February issue of the FreeBSD Journal is now available. Don't miss articles on The FreeBSD project migrated to Clang/LLVM for the compiler in Tracing ifconfig Commands, Storage FreeBSD 10, and most of GNU binutils were replaced with the ELF Tool Multipathing, and more.
    [Show full text]
  • Cmdlet Reference Guide for Windows
    SnapCenter® Software 2.0 Cmdlet Reference Guide For Windows March 2017 | 215-11361_B0 [email protected] Table of Contents | 3 Contents About PowerShell commands for SnapCenter Plug-ins Package for Windows ................................................................................................... 4 Preparing the PowerShell environment ....................................................................... 4 Creating a storage system connection and a Run As account using PowerShell cmdlets ................................................................................................................... 5 Backing up resources using PowerShell cmdlets ........................................................ 6 Restoring and recovering resources using PowerShell cmdlets .................................. 8 Cloning backups using PowerShell cmdlets ............................................................... 9 Copyright information ............................................................................... 13 Trademark information ............................................................................. 14 How to send comments about documentation and receive update notifications ............................................................................................ 15 Index ............................................................................................................. 16 4 About PowerShell commands for SnapCenter Plug-ins Package for Windows This command reference document is a compilation of all the
    [Show full text]
  • IBM System Storage DS Storage Manager Version 11.2: Installation and Host Support Guide DDC MEL Events
    IBM System Storage DS Storage Manager Version 11.2 Installation and Host Support Guide IBM GA32-2221-05 Note Before using this information and the product it supports, read the information in “Notices” on page 295. This edition applies to version 11 modification 02 of the IBM DS Storage Manager, and to all subsequent releases and modifications until otherwise indicated in new editions. This edition replaces GA32-2221-04. © Copyright IBM Corporation 2012, 2015. US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents Figures .............. vii Using the Summary tab ......... 21 Using the Storage and Copy Services tab ... 21 Tables ............... ix Using the Host Mappings tab ....... 24 Using the Hardware tab ......... 25 Using the Setup tab .......... 26 About this document ......... xi Managing multiple software versions..... 26 What’s new in IBM DS Storage Manager version 11.20 ................ xii Chapter 3. Installing Storage Manager 27 Related documentation .......... xiii Preinstallation requirements ......... 27 Storage Manager documentation on the IBM Installing the Storage Manager packages website .............. xiii automatically with the installation wizard .... 28 Storage Manager online help and diagnostics xiv Installing Storage Manager with a console Finding Storage Manager software, controller window in Linux and AIX ........ 31 firmware, and readme files ........ xiv Installing Storage Manager packages manually .. 32 Essential websites for support information ... xv Software installation sequence ....... 32 Getting information, help, and service ..... xvi Installing Storage Manager manually ..... 32 Before you call ............ xvi Uninstalling Storage Manager ........ 33 Using the documentation ........ xvi Uninstalling Storage Manager on a Windows Software service and support ....... xvii operating system ........... 33 Hardware service and support .....
    [Show full text]
  • Security Hardening Guide for Netapp ONTAP 9
    Security Hardening Guide for Lenovo® ONTAP 9® Guidelines for Secure Deployment of ONTAP 9 Abstract This technical report provides guidance and configuration settings for Lenovo® ONTAP® 9 to help organizations meet prescribed security objectives for information system confidentiality, integrity, and availability. Second Edition (April 2020) © Copyright Lenovo 2020. LIMITED AND RESTRICTED RIGHTS NOTICE: If data or software is delivered pursuant to a General Services Administration (GSA) contract, use, reproduction, or disclosure is subject to restrictions set forth in Contract No. GS-35F- 05925. 2 Security Hardening Guide for Lenovo ONTAP 9 © 2020 Lenovo. All rights reserved. TABLE OF CONTENTS 1 Introduction ........................................................................................................................................... 5 2 ONTAP Image Validation ...................................................................................................................... 5 2.1 Upgrade Image Validation .............................................................................................................................. 5 2.2 Boot-Time Image Validation ............................................................................................................................ 5 3 Local Storage Administrator Accounts .............................................................................................. 5 3.1 Roles, Applications, and Authentication .........................................................................................................
    [Show full text]
  • ONTAP 9 Release Notes
    ONTAP® 9 Release Notes March 2019 | 215-11139_A0_UR032 [email protected] Updated for ONTAP 9.5 Table of Contents | 3 Contents ONTAP 9 Release Notes ............................................................................. 11 Changes introduced since ONTAP 9 ......................................................... 12 Changes in ONTAP 9.5 ............................................................................................. 12 Changes in ONTAP 9.4 ............................................................................................. 13 Changes in ONTAP 9.3 ............................................................................................. 15 Changes in ONTAP 9.2 ............................................................................................. 16 Changes in ONTAP 9.1 ............................................................................................. 18 Changes in ONTAP 9.0 ............................................................................................. 20 New and changed features in the ONTAP 9 release family .................... 24 Antivirus enhancements ............................................................................................ 24 Support for Vscan on-demand scanning ....................................................... 24 Support for FQDN configuration of Vscan servers ....................................... 24 API updates ............................................................................................................... 24 Support for REST
    [Show full text]