Presentation is loading. Please wait.

Presentation is loading. Please wait.

Copyright © 2014 EMC Corporation. All Rights Reserved. Linux Host Installation and Integration for Block Upon completion of this module, you should be.

Similar presentations


Presentation on theme: "Copyright © 2014 EMC Corporation. All Rights Reserved. Linux Host Installation and Integration for Block Upon completion of this module, you should be."— Presentation transcript:

1 Copyright © 2014 EMC Corporation. All Rights Reserved. Linux Host Installation and Integration for Block Upon completion of this module, you should be able to: Describe Linux storage connectivity limits and guidelines Describe the implementation of Linux FC connectivity Describe the implementation of Linux iSCSI connectivity Linux Host Installation and Integration for Block1

2 Copyright © 2014 EMC Corporation. All Rights Reserved. Linux Host Installation and Integration for Block This lesson covers the following topics: Linux system limits and guidelines Linux HBA utilities Linux data alignment Lesson 1: Linux storage connectivity Linux Host Installation and Integration for Block2

3 Copyright © 2014 EMC Corporation. All Rights Reserved. Linux Connectivity: Requirements One or more VNX storage systems One or more Linux hosts Supported HBAs, HBA drivers, switches and cables Correctly configured switch zoning Correctly configured network A management station in the environment  Supported host and OS  Supported browser  Supported JRE  Network connectivity to storage systems 3Linux Host Installation and Integration for Block

4 Copyright © 2014 EMC Corporation. All Rights Reserved. Operating System Limits and Guidelines 16 Fibre Channel initiator ports per Linux host (Single or dual ported) No mixing of HBAs from different vendors or HBAs with different PCI-interfaces (PCI-Express with PCI-X HBAs) Host InitiatorsSAN connections used for multipathing must be homogenous The number of logical units seen by a host system is dependent on the OS SCSI scan algorithm and HBA LUN scan limits Logical Units Supported Protocols: Fibre Channel, Fibre Channel over Ethernet (FC0E), and iSCSI 4Linux Host Installation and Integration for Block

5 Copyright © 2014 EMC Corporation. All Rights Reserved. Host HBA Utilities Depending on the supported HBA one of the following utilities can be used to view host connectivity  Emulex HBAs: OneCommand Manager  Qlogic: SANsurfer CLI or GUI  Brocade: Host Connectivity Manager 5Linux Host Installation and Integration for Block

6 Copyright © 2014 EMC Corporation. All Rights Reserved. Emulex OneCommand Manager: Port Information 6Linux Host Installation and Integration for Block

7 Copyright © 2014 EMC Corporation. All Rights Reserved. OneCommand Manager: Target Mapping tab 7Linux Host Installation and Integration for Block

8 Copyright © 2014 EMC Corporation. All Rights Reserved. Qlogic SANsurfer scli example 8Linux Host Installation and Integration for Block

9 Copyright © 2014 EMC Corporation. All Rights Reserved. Brocade Host Connectivity Manager 9Linux Host Installation and Integration for Block

10 Copyright © 2014 EMC Corporation. All Rights Reserved. Using fdisk to Align a Linux Partition 2048 Select the primary partition Enter expert mode Offset to the begin at 128 Write the changes to disk Create a new partition 10Linux Host Installation and Integration for Block

11 Copyright © 2014 EMC Corporation. All Rights Reserved. Linux Host Installation and Integration for Block During this lesson the following topics were covered: Linux system limits and guidelines Linux HBA utilities Linux data alignment Lesson 1: Summary Linux Host Installation and Integration for Block11

12 Copyright © 2014 EMC Corporation. All Rights Reserved. Linux Host Installation and Integration for Block This lesson covers the following topics: VNX FC connections to a Linux host VNX FCoE connections to a Linux host VNX iSCSI connections to a Linux host Lesson 2: Linux FC and iSCSI Connectivity Linux Host Installation and Integration for Block12

13 Copyright © 2014 EMC Corporation. All Rights Reserved. Viewing Block Storage Ports Linux Host Installation and Integration for Block13

14 Copyright © 2014 EMC Corporation. All Rights Reserved. Initiator Registration Records: Fibre Number of initiators is model dependent An initiator is an HBA or CNA port that can access the storage system Some HBAs and CNAs have two ports Each path consumes one initiator record Access from a server to an SP in a storage system can be: Single path Multipath Alternate path Linux Host Installation and Integration for Block14

15 Copyright © 2014 EMC Corporation. All Rights Reserved. Initiator Registration Records Format: Fibre Channel Hostname Host IP address Host HBA WWNs  128 bit number - WWNN + WWPN VNX port WWNs  128 bit number - WWNN + WWPN Operating system type  Allows appropriate response to host SCSI commands Linux Host Installation and Integration for Block15

16 Copyright © 2014 EMC Corporation. All Rights Reserved. Unisphere Host Initiators: Fibre Linux Host Installation and Integration for Block 16

17 Copyright © 2014 EMC Corporation. All Rights Reserved. Initiator Information: Fibre Linux Host Installation and Integration for Block 17

18 Copyright © 2014 EMC Corporation. All Rights Reserved. Emulex hbacmd listbas and targetmappings commands VNX port numbers Linux Host Installation and Integration for Block18

19 Copyright © 2014 EMC Corporation. All Rights Reserved. Qlogic SANsurfer scli example Linux Host Installation and Integration for Block19

20 Copyright © 2014 EMC Corporation. All Rights Reserved. Viewing SP Fibre Channel Port Properties Linux Host Installation and Integration for Block20

21 Copyright © 2014 EMC Corporation. All Rights Reserved. Linux Servers and FCoE CNA Adapters Linux Host Installation and Integration for Block21

22 Copyright © 2014 EMC Corporation. All Rights Reserved. Initiator Registration Records: iSCSI Names iSCSI address  Uniquely identifies nodes  Two variations  iqn. – iSCSI Qualified Name (IQN)  iqn com.emc:cx.fnm a5  iqn com.emc:cx.fnm b5  eui. – Extended Unique Identifier (EUI)  eui AEA5574E Linux Host Installation and Integration for Block22

23 Copyright © 2014 EMC Corporation. All Rights Reserved. Linux iSCSI NIC Initiator File and Target Discovery Each server connected to an iSCSI storage system must have a unique iSCSI initiator name for its NICs Linux iSCSI driver gives the same name to all NICs in a server /etc/initiatorname.iscsi  Displays the host iscsi iqn initiator name /var/lib/iscsi/nodes  Displays discovered iSCSI target ports and iqn identifier Linux Host Installation and Integration for Block23

24 Copyright © 2014 EMC Corporation. All Rights Reserved. Linux initiator and target discovery commands Display iscsi initiator name Display iscsi target port iqn names Displays iscsi network IP address Directory for iscsi node information Linux Host Installation and Integration for Block24

25 Copyright © 2014 EMC Corporation. All Rights Reserved. Unisphere Host Initiators: iSCSI Linux Host Installation and Integration for Block25

26 Copyright © 2014 EMC Corporation. All Rights Reserved. Initiator Information: iSCSI Linux Host Installation and Integration for Block 26

27 Copyright © 2014 EMC Corporation. All Rights Reserved. Viewing iSCSI Front-end Port Properties Linux Host Installation and Integration for Block27

28 Copyright © 2014 EMC Corporation. All Rights Reserved. Linux Host Installation and Integration for Block During this lesson the following topics were covered: VNX FC connections to a Linux host VNX FCoE connections to a Linux host VNX iSCSI connections to a Linux host Lesson 2: Summary Linux Host Installation and Integration for Block28

29 Copyright © 2014 EMC Corporation. All Rights Reserved. Linux Host Installation and Integration for Block This lesson covers the following topics: Implementing Linux FC Connectivity Implementing Linux iSCSI Connectivity Lesson 3: Implementing Linux Connectivity Linux Host Installation and Integration for Block29

30 Copyright © 2014 EMC Corporation. All Rights Reserved. Linux Connectivity Steps Check and validate all host to VNX connectivity OCManager utility (Emulex) SANsurfer (Qlogic) Unisphere Initiators naviseccli –h port –list –hba Unisphere Server Utility for iSCSI Create a storage group, add LUNs and connect your Linux host Perform a LUN scan or reboot the host to see the newly provisioned LUNs Run fdisk Partiton disk Create a file system Mount the file system Linux Host Installation and Integration for Block - 30

31 Copyright © 2014 EMC Corporation. All Rights Reserved. Host Registration Automatically Manually Registration makes a host known to the storage system Fabric logins tell the VNX which ports and HBAs are connected iSCSI logins tell the VNX which ports and initiators (hardware or software based) are connected Connectivity depends on the protocol being used: 31 Linux Host Installation and Integration for Block

32 Copyright © 2014 EMC Corporation. All Rights Reserved. Unisphere Host Agent Installation Download the latest software EMC Online Support website Use rpm to install the software packages rpm -ivh.rpm Verify that host agent is installed: rpm –qa | grep UnisphereHostAgent* Same procedures are used to download and install other packages (Navisphere CLI, Unisphere Server Utility, admsnap) Agent can be started and stopped /etc/init.d Linux Host Installation and Integration for Block32

33 Copyright © 2014 EMC Corporation. All Rights Reserved. Configuring the Unisphere Host Agent Host agent configuration file must include an entry that defines the user who will issue the CLI commands as a privileged user Linux Host Installation and Integration for Block 33

34 Copyright © 2014 EMC Corporation. All Rights Reserved. Hostagent Commands Linux Host Installation and Integration for Block Hostagent can be:  Started  Stopped  Verified  Execute the./hostagent command/s from the /etc/init.d directory Verify agent status Stop the agent Verify the hostagent process is stopped Start the agent Verify the hostagent is running 34

35 Copyright © 2014 EMC Corporation. All Rights Reserved. Verify Host Agent with Unisphere Linux Host Installation and Integration for Block Selecting the LUN Status tab and clicking on Update produces a Error when the agent is not available. 35

36 Copyright © 2014 EMC Corporation. All Rights Reserved. Naviseccli port and getagent Commands Linux Host Installation and Integration for Block36

37 Copyright © 2014 EMC Corporation. All Rights Reserved. Unisphere Server Utility Linux Host Installation and Integration for Block37

38 Copyright © 2014 EMC Corporation. All Rights Reserved. Creating a Storage Group 38Linux Host Installation and Integration for Block

39 Copyright © 2014 EMC Corporation. All Rights Reserved. Adding LUNs to a Storage Group 39Linux Host Installation and Integration for Block

40 Copyright © 2014 EMC Corporation. All Rights Reserved. Adding Hosts to a Storage Group 40Linux Host Installation and Integration for Block

41 Copyright © 2014 EMC Corporation. All Rights Reserved. LUN Scanning Mechanisms for reconfiguring devices on a Linux host  System Reboot  # reboot  HBA driver reload  Echoing the SCSI device list in /proc  Executing a SCSI scan function through attributes exposed to /sys  SCSI scan through HBA vendor scripts  lun_scan for Emulex Linux Host Installation and Integration for Block41

42 Copyright © 2014 EMC Corporation. All Rights Reserved. After a reboot or bus rescan, verify the LUN is available to the OS by opening the scsi file from the /proc/scsi directory. LUN 60 is now available. Verifying LUNs after a reboot or rescan: /proc/scsi LUN as viewed in the storage group Selected LUNs Linux Host Installation and Integration for Block42

43 Copyright © 2014 EMC Corporation. All Rights Reserved. Create and mount a Linux File System mkfs.ext3 to create a file system on the emcpower partiton mkdir to make a directory and mount the file on the directory Use touch to write data to the mounted file system Linux Host Installation and Integration for Block43

44 Copyright © 2014 EMC Corporation. All Rights Reserved. Linux iSCSI CHAP Configuration Initiator or Mutual CHAP Enable CHAP security for the NIC or iSCSI HBA before configuring CHAP on the storage system CHAP data on the target must be the same on each NIC initiator. Linux/driver revisions use different utilities and/or configuration files iscsi.conf file (RH 4)iscsiadm command for (RH 5 ) Linux Host Installation and Integration for Block44

45 Copyright © 2014 EMC Corporation. All Rights Reserved. Linux Host Installation and Integration for Block During this lesson the following topics were covered: Implementing Linux FC Connectivity Implementing Linux iSCSI Connectivity Lesson 3: Summary Linux Host Installation and Integration for Block45

46 Copyright © 2014 EMC Corporation. All Rights Reserved. Summary Key points covered in this module: Connectivity requirements include:  Supported HBAs, HBA drivers, vendor management software, and proper cabling to the fabric switches.  Fabric switches properly configured and zoned  Management station with supported OS, Web Browser, Java, and network connectivity to the VNX. Several configuration are key to successful host integration, such as initiator records and port properties Steps to implement Linux connectivity in both a Fibre Channel and iSCSI environment. Linux Host Installation and Integration for Block46


Download ppt "Copyright © 2014 EMC Corporation. All Rights Reserved. Linux Host Installation and Integration for Block Upon completion of this module, you should be."

Similar presentations


Ads by Google