Professional Documents
Culture Documents
Your Configuration is: Attaching a server in a Block configuration Model - VNX5300 Storage Type - VNX for Block (SAN) Connection Type - Fibre Channel Switch or Boot from SAN Server Operating System - Linux Path Management Software - PowerPath Document ID -1319773864593
Reporting Problems To send comments or report errors regarding this document, please email: usercustomizeddocs@emc.com. For Issues not related to this document, contact your service provider. Refer to Document ID: 1319773864593 Content Creation Date Thu Oct 27 23:51:50 EDT 2011
EMC Attaching a Linux Server with EMC PowerPath to a VNX5300 in a Fibre Channel Switch Configuration
This document explains how to attach a Linux Server with EMC PowerPath to a VNX5300 in a Fibre Channel switch configuration.
Important: This document uses the term system to refer to your VNX.
If you are an EMC partner, refer to the EMC Services Partner website to download the Unisphere server software mentioned in this guide. The partner site is available from the Navigator drop-down menu on Powerlink.
Important: If you will configure your system connections to your ESX or Hyper-V server, you must attach the ESX or Hyper-V server to your system prior to performing the steps in this document. For information on attaching an ESX or Hyper-V server to your system, generate a new document and select the appropriate ESX or Hyper-V server version.
Read the release notes for your system, which are available on the EMC Online Support website. You must have a supported Windows host on the same network as the system management ports. You can use this host:
As a client in which you launch the Unisphere software. This client was formerly referred to as the Navisphere management station. To run the Unisphere Service Manager, which runs only on a Windows host. As an EMC Secure Remote Support (ESRS) IP Client, which must be a Windows host, but cannot be a server (that is, it cannot send I/O to the system data ports).
You must have a Unisphere Server with a supported Internet browser that is on the same network as the system management ports. The Unisphere Server replaces the Navisphere Management Server. This host can also be the server or a Unisphere management station (formerly referred to as the Navisphere off-array management station). For supported Internet browsers, see the Unisphere release notes on the EMC Online Support website. You must have an a Linux host, that is or will be a server with Fibre Channel connections to the system. This server must have a supported server configuration; that is, it must have all required updates, such as hot fixes or patches, installed. You must have one or more supported Fibre Channel host bus adapters (HBAs), which may already be installed in the server. These adapters must have the latest supported BIOS and driver. We recommend that you do not mix Fibre Channel HBAs from different vendors in the same server.
Each Fibre Channel front-end port that you will use on the system must have an optical cable. These cables may already be connected for a configuration with an existing system or server. We strongly recommend you use OM3 50 m cables. For cable specifications, refer to the system's technical specifications. You can generate this user-customized document from the learn link on the system support website (http://www.emc.com/vnxsupport). You must have one or two Fibre Channel switch fabrics, which may already be installed, and an optical cable for connecting each HBA port to a switch port, if not already connected. We strongly recommend you use OM3 50 m cables. For cable specifications, refer to system's Technical Specifications . You can generate this document using the user customized documentation learn link on the on the system support website (http://www.emc.com/vnxsupport).
You must have a method for writing data to a LUN on the system that will test the paths from the server to the system. You can download an I/O simulator (Iometer) from the following website: http://www.iometer.org/.
Attaching a server
Installing HBAs
CAUTION HBAs are very susceptible to damage caused by static discharge and need to be handled accordingly. Before handling HBAs, observe the following precautions: Store HBAs in antistatic bags. Use a ground (ESD) strap whenever you handle HBAs. Never plug or unplug HBAs with the power on. Severe component damage can result.
1. If the server is powered up: a. Shut down the server's operating system. b. Power down the server. c. Unplug the server's power cord from the power outlet. 2. Put on an ESD wristband, and clip its lead to bare metal on the server's chassis. 3. For each HBA that you are installing: a. Locate an empty PCI bus slot or a slot in the server that is preferred for PCI cards. b. Install the HBA following the instructions provided by the HBA vendor.
c. If you installed a replacement HBA, reconnect the cables that you removed in the exact same way as they were connected to the original HBA. 4. Plug the server's power cord into the power outlet, and power up the server.
Attaching a server
For an Emulex driver - You can download the latest supported version and instructions
for installing the Emulex HBA driver from the vendors website: http://www.emulex.com/products/fibre-channel-hbas.html
For a QLogic driver - You can download the latest supported version and instructions for
installing the HBA driverkernal driver from the vendors website: http://support.qlogic.com/support/oem_emc.asp
For a Brocade driver - You can download the latest supported version and instructions
for installing the Brocade HBA driver driver from the vendors website: http://www.brocade.com/services-support/driversdownloads/HBA/HBA_EMC.page
Any updates, such as hot fixes or patches to the servers operating system that are required for the HBA driver version you will install. For information on any required updates, refer to one of the following:
E-Lab Interoperability Navigator on the EMC Online Support website The HBA vendors website
2. If the hot fix or patch requires it, reboot the server. 3. Install the driver following the instructions on the HBA vendors website. 4. Reboot the server when the installation program prompts you to do so. 5. If the installation program did not prompt you to reboot, then reboot the server when the driver installation is complete.
Attaching a server
Install PowerPath by referring to the appropriate PowerPath Installation and Administration Guide for your operating system. This guide is available on the EMC Online Support website. Check the PowerPath software download section on the EMC Online Support website for a more recent version of PowerPath or a patch to the version of PowerPath installed on the server. If a more recent version exists, install it, as described in the appropriate PowerPath Installation and Administration Guide for your operating system. This guide is available on the EMC Online Support website. If the server is running the most recent version and a patch exists for this version, install it, as described in the readme file that accompanies the patch.
2. Save your Linux kernel and back up your system. 3. Change the Linux kernel, as described in Changing the kernel on a Linux server on page 9. 4. Change the Linux configuration files, as described in Modifying configuration files on a Red Hat server on page 10 or Modifying configuration files on a Linux SuSE server on page 11. Changing the kernel on a Linux server 1. If you load the HBAs driver as a module, install its binary file in the appropriate location: Red Hat Linux Location /lib/modules/'uname -r'/drivers/addon/hba_driver where
uname -r is the string returned to the console by the uname -r command
2. Save your kernel change. Modifying configuration files on a Red Hat server Modify the configuration file on the server as follows: For Brocade HBAs Edit the /etc/modprobe.conf file as described in your HBA vendor documentation. For QLogic HBAs Edit the /etc/modprobe.conf file to make sure that the ql2xfailover and the ConfigRequired parameters are set to 0:
options qla2xxx q12xfailover=0 ConfigRequired=0 Note: The variable x and xxx vary with the HBA model.
For Emulex HBAs Edit the /etc/modprobe.conf file to set the value of the lpfc_nodev_tmo parameter to 10:
options lpfc lpfc_nodev_tmo=10
Saving kernel changes on a Red Hat server 1. Run ls -l /boot and look at the line with initrd -> to determine which initrd file is used. 2. Run the uname -r to display the kernel version. 3. Enter:/sbin/mkinitrd -f -v initrd where
kernel
10
Attaching a server
initrd is the configuration identified by ls -l /boot kernel is the kernel version displayed by uname -r
For example,
/sbin/mkinitrd -f -v initrd-2.6.9-24.img 2.6.9-24
4. Verify that the .img file you created is under the /boot directory and that the initrd entry of /boot/grub/grub.conf specifies this .img file. Verifying the HBA driver on a SuSE server Verify that the HBA driver is always loaded after the internal SCSI adapter driver as specified by the /etc/sysconfig/kernel file. For example, in the following file, driver_module (the HBA driver module for accessing the system) is always loaded after all internal SCSI drivers are loaded:
INTINRD_MODULES="scsi_mod sd_mod cciss reiserfs driver_module_module "
Note: When loading HBA drivers into the ramdisk, make sure that the HBA module name used in /etc/sysconfig/kernel is the same as that used in the /etc/modules.conf file.
Modifying configuration files on a Linux SuSE server For Brocade HBAs Edit the /etc/modprobe.conf file as described in your HBA vendor documentation. For Emulex HBAs Edit the /etc/modprobe.conf.local file by setting the value of the lpfc_nodev_tmo parameter to 10:
options lpfc lpfc_nodev_tmo=10
For QLogic HBAs Make sure that the ql2xfailover and the ConfigRequired parameters are set to 0:
options qla2xxx q12xfailover=0 ConfigRequired=0 Note: The variables x and xxx vary with the HBA model.
Saving kernel changes on a SuSE server 1. Run uname -r to display the kernel version.
11
2. Run ls -l /boot to determine which initrd and vmlinuz files are used for the kernel version. The names of both the initrd and vmlinuz files include the kernel version. 3. Enter: /sbin/mk_initrd -k vmlinuz -i initrd where vmlinuz and initrd correspond to the configuration identified by ls - boot for the kernel version.
12
Attaching a server
Before you begin Refer to the sections below to determine which application to install for host registration and the requirements for installing each of these applications.
To run Unisphere server software, your server must meet the requirements outlined in Requirements for Unisphere server software on page 13. To determine whether to install the Unisphere Host Agent or Unisphere Server Utility to register your HBAs with the system, refer to Determining whether to install the Unisphere Host Agent on page 14.
Installing Unisphere server software Depending on which Unisphere server software you are installing, refer to the appropriate section below.
Unisphere Host Agent see Installing the Unisphere Host Agent. Unisphere Server Utility see Installing the Unisphere Server Utility. Navisphere CLI see Installing Navisphere CLI. Admsnap Utility see Installing the Admsnap Utility.
Run a supported version of the Linux operating system. For Fibre Channel connections, have the EMC VNX supported HBA hardware and driver installed. Be connected to at least one SP (two SPs for high availability) in each system either directly or through a switch or hub. Each SP must have an IP connection. For the host agent and CLI only - Be on a TCP/IP network connected to at least one SP (two SPs for high availability) in the system.
13
The TCP/IP network connection allows the server to send LUN mapping information to the system and it allows Unisphere or Navisphere CLI to communicate with the system over the network.
Have a configured TCP/IP network connection to any remote hosts that you will use to manage the systems, including:
any server whose browser you will use to access Unisphere, a supported Windows server running Unisphere Server software (replaces the Navisphere Management Server software), any AIX, HP-UX, Linux, VMware ESX Server, NetWare, Solaris, or Windows server running Navisphere CLI.
If you want to use Navisphere CLI on the server to manage systems on a remote server, the server must be on a TCP/IP network connected to both the remote server and each SP in the system. The remote server can be running AIX, HP-UX, Linux, Solaris, or the Windows operating system.
Note: For information about the specific revisions of the server operating system and the system FLARE and Access Logix software that are required for your version of the host agent, see the release notes for the host agent on the EMC Online Support website.
Monitor system events and notify personnel by e-mail, page, or modem when any designated event occurs. Retrieve LUN world wide name (WWN) and capacity information from Symmetrix systems. Register the servers HBAs with the system. Alternatively, you can use the Unisphere Server Utility to register the servers HBAs with the system. Table 1 on page 15 describes the host registration differences between the host agent and the server utility.
14
Attaching a server
Table 1. Host registration differences between the host agent and the server utility Function Unisphere Host Agent Unisphere Server Utility
Pushes LUN mapping and OS Yes LUN mapping information is No LUN mapping information is not sent to the information to the system. displayed in the Unisphere UI next to system. Only the servers name, ID, and IP address the LUN icon or with the CLI using are sent to the system. the lunmapinfo command. Note: The text Manually Registered appears next to the hostname icon in the Unisphere UI indicating that the host agent was not used to register this server.
Runs automatically to send in- Yes No user interaction is required. No You must manually update the information by formation to the system. starting the utility or you can create a script to run the utility. Since you run the server utility on demand, you have more control as to how often or when the utility is executed. Requires network connectivity Yes Network connectivity allows to the system. LUN mapping information to be available to the system.
No LUN mapping information is not sent to the
system. Note that if you are using the server utility to upload a high-availability report to the system, you must have network connectivity.
15
If an earlier version of the naviagent or naviagentcli software package is listed, you must remove it before installing the new host agent and CLI package. 4. Download the software: a. From the EMC Online Support website, select the VNX Support by Product page and locate the Software Downloads. b. Select the Unisphere Host Agent, and then select the option to save the zip file to your server. c. At the command line prompt, navigate to the directory where you saved the zip file and unzip the file:
unzip Navi_Agent_CLI_Linux-version.zip
5. Depending on which version you are installing, enter one of the following commands to install the software:
32-bit server
rpm -ivh UnisphereHostAgent-Linux-32-noarch-en_US-ver sion-build.noarch.rpm
64-bit server
rpm -ivh UnisphereHostAgent-Linux-64-x86-en_US--ver sion-build.x86_64.rpm
where version and build are the version number and the build number of the software.
Note: If you have an IA64 system, you must install the 32bit package and 32bit OS compatibility packages. The 64bit package is currently supported on x86_64 systems only. Refer to the release notes for any updates. If you are upgrading the utility on the server, use -U in place of -i.
6. Verify that host agent and/or CLI are installed: rpm -qa | grep navi
Note: Before you can use the host agent or CLI, you must modify the user login scripts and configure the host agent configuration file.
16
Attaching a server
Modifying user login scripts To use navicli command at the root prompt without typing a leading ./ before the commands (for example, ./navicli getagent ), you must modify the $PATH environment variable in the user login script. Follow the steps below to modify the environment variable PATH: 1. Add /opt/Unisphere/bin to $PATH: PATH=$PATH:/opt/Unisphere/bin; export
PATH
2. Set the environment variable $PATH for all login sessions: a. For the user profile, edit $HOME/.bash_profile b. For the user startup script, edit $HOME/.bashrc 3. If you are setting up a new server, go to Starting and stopping the Unisphere Host Agent on page 19. If you are just upgrading the host agent or CLI on an existing system, you have finished the upgrade.
17
where name is the person's account name and name@hostname is the name of the remote server the person will be using. The default host agent configuration file includes a user root entry.
18
Attaching a server
Testing the host agent connections Before continuing, you should test the host agent connections as follows: 1. Start the host agent as described in . 2. Look for any errors on the console and in the operating system log to make sure the agent started and no device errors occurred. 3. Verify that the host agent on the server can see the system as follows: a. Enter the following CLI command: naviseccli |navicli [-d device]| -h host
name port -list -hba
where [-d device] is the device name for the system (only supported with legacy systems).
19
For each HBA in the server, a listing similar to the following will be displayed. For systems in a SAN (shared storage) environment, the listing includes HBAs in all connected hosts.
Information about each HBA: HBA UID: 10:00:00:60:B0:3E:46:AC:10:00:00:60:B0:3E:46:AC Server Name: siux134 Server IP Address: 128.221.208.134 HBA Model Description: HBA Vendor Description: HBA Device Driver Name: Information about each port of this HBA: SP Name: spa HBA Devicename: sp0 Trusted: NO Logged In: YES Source ID: 1 Defined: YES Initiator Type: 0 Storage Group Name: Storage Group 134
b. In the listing, verify the path for each HBA installed in the host to the SP.
Host agent status and error logging While the system is running, the operating system tracks information about host agent events and host agent errors, and places this information in log files on the server. The host agent error log tracks information about the host agents startup, the host agent shutdown, and errors that might occur, such as the host agents inability to access a device in the configuration file. If problems occur, log files are a good place to start your troubleshooting. Host agent events and errors are logged in /var/log/agent.log. System events are logged in /var/log/messages.
20
Attaching a server
2. At the command line prompt, look for any existing server utility:
rpm -qi naviserverutil or rpm -qi serverutilcli
3. If an earlier version of the software has been installed, you must remove it before continuing.
rpm -e naviserverutil or rpm -qi serverutilcli
4. Download the software: a. From the EMC Online Support website, select the VNX Support by Product page and locate the Software Downloads. b. Select the Unisphere Server Utility, and then select the option to save the zip file to your server. c. At the command line prompt, navigate to the directory where you saved the zip file and unzip the file. d. Install the software:
32-bit server
rpm -ivh UnisphereServerUtil-Linux-32-x86-en_US-versionbuild.plat form.rpm
where version and build are the version number and the build number of the server utility and platform is your Linux platform number (for example, i386 or ia64).
where version and build are the version number and the build number of the software.
64-bit server
rpm -ivh UnisphereServerUtil-Linux-64-x86-en_US-ver sionbuild.x86_64.rpm
where version and build are the version number and the build number of the software.
Note: If you have an IA64 system, you must install the 32bit package. The 64bit package is currently supported on x86_64 systems only. Refer to the release notes for any updates. If you are upgrading the utility on the server, use -U in place of -i.
21
where version and build are the version number and the build number of the server utility and platform is your Linux platform number (for example, i386, ia64, or x86-64).
The installation process adds a line to the /etc/rc.d/rc.local file that starts the server utility on reboot, provided root has execute permission for the /etc/rc.d/rc.local file.
3. At the command line prompt, look for any existing CLI by typing: rpm -qi navicli If an earlier version of the software has been installed, you must remove it before continuing. 4. Download the software: a. From the EMC Online Support website, select the VNX Support by Product page and locate the Software Downloads.
22
Attaching a server
b. Select the Navisphere Secure CLI, and then select the option to save the zip file to your server. c. At the command line prompt, navigate to the directory where you saved the zip file and unzip the file. d. Install the software:
32-bit server
rpm -ivh NaviSecureCLI-Linux-32-noarch-language-ver sion-build.noarch.rpm
64-bit server
rpm -ivh NaviSecureCLI-Linux-64-x86-language-version-build.x86_64.rpm
where
language is either en_US, when only the English version is available, or loc, when
The system displays the word navicli or naviseccli and a series of pound (#) signs. When the installation is complete, the system prompt reappears.
5. Verify that Navisphere Secure CLI is installed by using the rpm -qa | more command.
23
You can install admsnap on the server or on the virtual machine. Installation prerequisites Before you can install and use the Admsnap Utility, you must install SnapView on a supported system. For a list of supported systems, refer to the release notes for SnapView and admsnap. Installing the Admsnap Utility on a Linux server or a Linux virtual machine We recommend that you download and install the most recent version of the Admsnap Utility software from the applicable support by product page on the EMC Online Support website. 1. Log in as root or as a member of an administrative group. 2. Open a terminal window and enter the following command to list any admsnap package that may be currently installed: rpm -qi admsnap 3. Examine the list for an earlier version of admsnap. If an earlier version is installed, remove it. 4. Download the software: a. From the EMC Online Support website, select the VNX Support by Product page and locate the Software Downloads. b. Select the Admsnap Utility version you want to download and select the option to save the zip file to your server. c. At the command line prompt, navigate to the directory where you saved the zip file and unzip the file.
unzip admsnap_ version.zip
where version is the version listed in the filename. d. Install the software:
Linux server:
rpm -ivh admsnap-Linux-32-x86-en_US-version-build.rpm
where version and build are the version number and the build number of the software.
24
Attaching a server
Note: If you are upgrading the utility on the server, use -U in place of -i.
The following files are installed in the /usr/admsnap directory: /usr/admsnap/admsnap /usr/admsnap/man/man1/admsnap.1 /usr/admsnap/readme
5. Verify that the correct version of admsnap is installed by entering the following command:
/usr/admsnap/admsnap help
This command displays a message about the help command, which includes the revision number of the installed admsnap software. 6. Configure MANPATH to access the Linux man pages. Edit the /etc/man.config file by adding the following lines: MANPATH /usr/admsnap/man 7. Configure sg devices by using the MAKEDEV utility. For information on how to use the MAKEDEV utility, refer to the MAKEDEV man pages.
25
26
Attaching a server
Note: In a VNX Unified system or a VNX for File system the onboard Fibre Channel ports 4 and 5 are for blade connections.
Figure 1. Onboard Fibre Channel host ports and slots for I/O modules with host ports in a VNX5300 (FC and iSCSI modules shown)
Module labels and FE port connectors Each Fibre Channel I/O module has a 8 GB Fibre label on its handle and an optical small-form factor pluggable (SFP) transceiver module in each of its Fibre FE ports. FE port connectivity The Fibre FE ports on an 8 Gb/s Fibre Channel I/O module supports 2/4/8 Gb/s connectivity. You cannot use the FE ports on an 8 Gb/s Fibre Channel I/O module in a 1 Gb/s Fibre Channel environment.
Keep the covers on all optical cables until you are ready to insert them. Avoid tight bends. If you need to make a 90 bend, do it over 6 to 12 inches. Do not use optical cables to support weight (including their own unsupported weight if they are long). Do not pull long runs of cable; instead, lay the cable in place or pull only a few feet at a time. Place the cables where no one can step on them or roll equipment over them.
27
Cabling the VNX Fibre Channel host ports to the switch ports (if necessary)
For highest availability, connect one or more Fibre Channel host ports on SP A to ports on the switch and connect the same number of Fibre Channel host ports on SP B to ports on same switch or on another switch, if two switches are available. For each Fibre Channel (FC) host port on the VNX that you will use for I/O with the server: 1. Locate the FC host port to which you will connect the switch port. For information on identifying the host ports using Unisphere, refer to the Unisphere online help.
Note: The MirrorView/A and MirrorView/S applications require onboard port 2. The SAN Copy application may restrict or require the use of certain SP ports. Refer to the application documentation for specific cabling information.
2. Remove the protective cover from the FC host port connector on the SP and from one end of the optical cable, and plug the cable into the host port connector (Figure 2 on page 29 and Figure 3 on page 29).
28
Attaching a server
3. Remove the protective cover from the optical connector on the switch port that you will use and from the free end of the optical cable, and plug the cable into the switch port (Figure 2 on page 29 and Figure 3 on page 29).
Cabling the switch ports to the server HBA ports (if necessary)
For highest availability in a multiple-HBA server, connect one or more HBA ports to ports on the switch and connect the same number of HBA ports to ports on same switch or on another switch, if two switches are available. For each server HBA port that you will use for I/O with the VNX: 1. Remove the protective cover from the FC switch port connector and from one end of the optical cable, and plug the cable into the connector.
Cabling the switch ports to the server HBA ports (if necessary)
29
2. Remove the protective cover fromthe server HBA port connector and from the free end of the optical cable, and plug the cable into the HBA port connector (Figure 4 on page 30).
To zone the switch: 1. Connect the switch management ports to the network from which you will manage the switches.
30
Attaching a server
2. If the switches are not running the most recent supported firmware version, install this software from the switch vendor's website.
Note: For information on the supported switch firmware versions, see the E-Lab Interoperability Navigator on the EMC Online Support website.
3. Use either the zoning wizard CD that shipped with the switch or the switch management software to set up the appropriate switch zones. a. To use the zoning wizard CD Using the instructions provided with the CD, run the zoning wizard and select the zone configuration that is applicable to the way that you connected the VNX Fibre ports and the server HBA ports to the switch. b. To use the switch management software Download the latest version of the switch management software from the switch vendor's website, and follow the instructions provided for the software to setup the zones that are applicable to the way that you connected the VNX Fibre ports and the server HBA ports to the switch.
31
32
Attaching a server
4. From the E-Lab Interoperability Navigator page, select Launch E-Lab Interoperability Navigator and then select the Wizards tab. 5. From the drop-down menu, select the CLARiiON Wizards. 6. In Select a wizard, select Host Attach Wizard. 7. For each step of the wizard, provide the requested information based on what is installed on the server or what you intend to install on the server. If the configuration you entered is invalid, an additional step appears in the wizard and a Results, EMC Support Statements pane appears on the right with information to help you provide the requested information in the additional step. If the configuration you entered is valid, a Results link appears on the right. 8. Click the Results link appears to view a report that contains information about the configuration you entered. 9. Print and/or save a copy of the report. 10. Close the E-Lab Interoperability Navigator. 11. Compare this report to either the information that you know about your server software or the checklist report you generated with the server utility. 12. If your server software versions and/or patches or hot fixes are not listed in the Host Attach Wizard report, you must upgrade to a supported version or patch before continuing.
Note: The Host Attach Wizard displays only options that EMC supports. If any of the configuration information on the server utility's high-availability report cannot be found in the wizard, then EMC does not support it.
33
You must run the Unisphere Server Utility on each server connected to the system to register the server's HBAs with the system.
Starting the Unisphere Server Utility on a Linux server 1. Open a console window. 2. Navigate to the Unisphere bin directory and run the server utility: /opt/Unisphere/bin/serverutilcli
Registering the Linux server using the Unisphere Server Utility 1. If the host agent is running, stop the host agent service. 2. In the server utility, enter 1 to select Update Server Information. The utility automatically scans for connected systems, and displays a list of the ones it finds. 3. In the server utility, enter u to register the server with each system the utility found.
34
Attaching a server
The utility sends the servers name and IP address to each system. Once the server has storage on the system, the utility also sends the Linux device name and volume or file system information for each LUN (virtual disk) in the system that the server sees. 4. Enter c (cancel) to stop the utility. 5. If you stopped the host agent, restart it.
35
Validate the connectivity of the system hardware components Verify back-end functionality Verify the status of all field-replaceable units Analyze system logs
1. If you do not have the Unisphere Service Manager running: a. Download and install the Unisphere Service Manager from the EMC Online Support website to a Windows management station that is connected to the system's management ports. If you do not have a Windows management station, your service provider can run this wizard. b. Start the Unisphere Service Manager by doing one of the following:
Select Start All Programs or Start Programs, then select EMC Unisphere
Unisphere Service Manager Unisphere Service Manager
2. Log in to your system. 3. From the System screen, select Diagnostics Verify Storage System and follow the instructions that appear. 4. Review the report that the wizard generates, and if it lists any problems, try to resolve them.
36
Attaching a server
Starting Unisphere
1. Log in to a host (which can be a server) that is connected through a network to the systems management ports and that has an Internet browser: Microsoft Internet Explorer, Netscape, or Mozilla. 2. Start the browser. 3. In the browser window, enter the IP address of one of the following that is in the same domain as the systems that you want to manage:
A system SP with the most recent version of the VNX Operating Environment (OE) installed
Note: This SP can be in one of the systems that you want to manage.
A Unisphere management station with the most recent Unisphere Server and UIs installed
Note: If you do not have a supported version of the JRE installed, you will be directed to the Sun website where you can select a supported version to download. For information on the supported JRE versions for your version of Unisphere, refer to Environment and System Requirements in the Unisphere release notes on the EMC Online Support website.
4. Enter your user name and password. 5. Select Use LDAP if you are using an LDAP-based directory server to authenticate user credentials. If you select the Use LDAP option, do not include the domain name. When you select the LDAP option, the username / password entries are mapped to an external LDAP or Active Directory server for authentication. Username / password pairs whose roles are not mapped to the external directory will be denied access. If the user credentials are valid, Unisphere stores them as the default credentials. 6. Select Options to specify the scope of the systems to be managed.
37
Global (default) indicates that all systems in the domain and any remote domains can be managed. Local indicates that only the targeted system can be managed.
7. Click Login. When the user credentials are successfully authenticated, Unisphere stores them as the default credentials and the specified system is added to the list of managed systems in the Local domain. 8. If you are prompted to add the system to a domain, add it now. The first time that you log in to a system, you are prompted to add the system to a Unisphere domain. If the system is the first one, create a domain for it. If you already have systems in a domain, you can either add the new systemto the existing domain or create a new domain for it. For details on adding the system to a domain, use the Unisphere help.
5. Set the read cache memory size. 6. Click Apply. 7. Click the SP Cache tab, and select SP A Read Cache, SP B Read Cache, Write Cache (Enabled), and Enable Watermarks. 8. Set the low watermark to 60% and the high watermark to 80%. 9. Click Apply.
38
Attaching a server
Allocating storage on a new system with the Unisphere Storage Provisioning Wizard
Important: If you have a Hyper-V or ESX server, perform this procedure on your Hyper-V or ESX server.
1. From Unisphere, select All Systems System List. 2. From the Systems page, select a system. 3. Select the Storage tab. 4. Under LUNs, select the Storage Provisioning Wizard. 5. On the Select Servers page, select Assign LUNs to the Servers, and select the servers that will have access to the new LUNs. 6. Select the system in which the new LUNs will reside. 7. Create a LUN: a. Select a pool or RAID group in which to create a LUN, or create a new pool for the LUN. We recommend you use an existing pool or create a pool instead of a RAID group because a pool supports options, such as Fully Automated Storage Tiering (FAST) and Thin Provisioning, which a RAID group does not support.
39
b. If you are creating a pool LUN and you want the LUN to be a thin LUN, select Thin LUN. The Thin LUN option is available only if the Thin Provisioning enabler is installed. To learn about pools and thin LUNs, click the ? icon next to Thin LUN. c. Select the properties for the LUN. d. Add the LUNs to a user-defined folder or do not place them in a folder. e. Click Finish to create the LUN. 8. Verify that the server was assigned to the storage group containing the LUNs you created:
If you know the name of the storage group in which the LUNs reside, from Unisphere, select Storage Storage Groups. If you know the name of the server to which the storage group is assigned, from Unisphere, select Storage LUNs and confirm that the new LUNs are listed.
If you do not see any of the LUNs you just created, you may not have selected the Assign LUNs to a server option in the Select Servers page of the Storage Provisioning wizard. You can use the Storage Assignment wizard to assign the LUNs to a server. 9. Create a hot spare (a RAID group with a hot spare RAID Type) as described in the Unisphere online help.
Note: A pool LUN (thick or thin LUN) cannot be a hot spare.
A hot spare is a single disk that serves as a temporary replacement for a failed disk in a RAID 6, 5, 3, 1, or 1/0 storage pool. Data from the failed disk is reconstructed automatically on the hot spare from the parity or mirrored data on the working disks in the LUN, so the data on the LUN is always accessible.
Allocating storage to an existing system with the Storage Provisioning wizard in Unisphere
Important: If you have a Hyper-V or ESX server, perform this procedure on your Hyper-V or ESX server.
Use the Provision wizard in the Unisphere to create system storage and provide server access to this storage:
40
Attaching a server
1. From Unisphere, select All Systems System List. 2. From the Systems page, select a system. 3. Select the Storage tab. 4. If you need additional LUNs for the server, use the Storage Provisioning wizard from the LUNs category to create them. 5. If you want to assign existing LUNs to the server, use the Storage Assignment wizard from the Storage Groups category to assign them.
Note: For high availability, a host can connect to only one storage group per system at a time. If you connect a host that is already connected to another storage group, the host will disconnect from the first storage group. When you disconnect a host from a storage group, and then connect it to a different storage group, the host can no longer perform I/O to the first storage group.
6. Verify that the server was assigned to the storage group containing the LUNs you created.
If you know the name of the storage group in which the LUNs reside From Unisphere, select Storage Storage Groups. If you know the name of the server to which the storage group is assigned From Unisphere, select Storage LUNs and confirm that the new LUNs are listed.
If you do not see any of the LUNs you just created, you may not have selected the Assign LUNs to a server option in the Select Servers page of the Provision wizard. You can use the Storage Assignment wizard to assign the LUNs to a server.
41
Click OK to create the new Storage Group and close the dialog box, or Click Apply to create the new Storage Group without closing the dialog box. This allows you to create additional Storage Groups.
6. Select the storage group you just created and click the Connect hosts. 7. Move the host from Available host to Host to be connected and click OK.
42
Attaching a server
b. Choose one available LUN to receive data (I/O) for the test. c. View the paths to the chosen LUN:
powermt display dev=x every=2
where x is a pseudo device that represents the chosen LUN. d. Start sending data to a LUN by writing data to it. e. Identify the HBA sending data to the LUN by viewing the output of the
powermt display dev= x every=2
command, and disconnect the cable to that . f. View the output of the
powermt display dev= x every=2
The state of the uncabled paths becomes dead. Data continues to be sent on the remaining paths to the LUN, indicating that the failover path was successful and that PowerPath is working properly.
g. Reconnect the cable that you disconnected from the HBA. h. If you caused any LUN to fail over, restore them to their original SP:
powermt restore
3. If you are connected to an existing system, restart any applications that you stopped and re-enable any user logins to the server that you disabled.
43
Linux virtual machine 1. Partition the VMware virtual disk. 2. Create and mount a file system on the partition.
Windows virtual machine 1. Write a signature to the VMware virtual disk. 2. Either create partitions on a basic disk or create volumes on a dynamic disk.
44
Attaching a server
Verifying that the system received the LUN information using Unisphere
1. From Unisphere, select All Systems System List. 2. From the Systems page, select a system that is attached to the host that you want to verify. 3. Select Hosts Hosts List. 4. Select a host and then, on the Details page, click the LUNs tab. 5. Verify that the LUNs tab displays a physical drive and logical drive name for each LUN on the host.
45
b. Choose one available LUN to receive data (I/O) for the test. c. View the paths to the chosen LUN:
powermt display dev=x every=2
where x is a pseudo device that represents the chosen LUN. d. Start sending data to a LUN by writing data to it. e. Identify the HBA sending data to the LUN by viewing the output of the
powermt display dev= x every=2
command, and disconnect the cable to that . f. View the output of the
powermt display dev= x every=2
The state of the uncabled paths becomes dead. Data continues to be sent on the remaining paths to the LUN, indicating that the failover path was successful and that PowerPath is working properly.
g. Reconnect the cable that you disconnected from the HBA. h. If you caused any LUN to fail over, restore them to their original SP:
46
Attaching a server
powermt restore
3. If you are connected to an existing system, restart any applications that you stopped and re-enable any user logins to the server that you disabled.
47
Copyright 2010 - 2011 EMC Corporation. All rights reserved. Published September 2011 EMC believes the information in this publication is accurate as of its publication date. The information is subject to change without notice. THE INFORMATION IN THIS PUBLICATION IS PROVIDED "AS IS." EMC CORPORATION MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WITH RESPECT TO THE INFORMATION IN THIS PUBLICATION, AND SPECIFICALLY DISCLAIMS IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Use, copying, and distribution of any EMC software described in this publication requires an applicable software license. For the most up-to-date regulatory document for your product line, go to the Technical Documentation and Advisories section on EMC Powerlink. For the most up-to-date listing of EMC product names, see EMC Corporation Trademarks on EMC.com. All other trademarks used herein are the property of their respective owners. Corporate Headquarters: Hopkinton, MA 01748-9103
48
Attaching a server