53
EMC CLARiiON Server Support Products for Linux Servers Installation Guide P/N 300–002–041, Revision A16 March 6, 2009 This guide describes how to install and remove the EMC® Navisphere® Host Agent, Navisphere Storage System Initialization Utility, Navisphere Server Utility, Navisphere Command Line Interface (CLI), and admsnap software on a Linux operating system. IMPORTANT If you have a Linux virtual machine, refer to one the following docs: For VMware ESX Server systems – EMC CLARiiON Server Support Products for VMware ESX Servers and Virtual Machines Installation Guide For Windows Server 2008 with Hyper-V system– EMC CLARiiON Server Support Products for Windows Server 2008 with Hyper Installation Guide If you do not know if your system is a virtual machine, consult your system administrator. Topics include: Before you start ............................................................................. 3 About EMC Navisphere server software ......................................... 5 Finding current information ........................................................... 8 Installing and removing the Navisphere Storage System Initialization Utility .......................................................................................... 9 Running the Navisphere Storage System Initialization Utility ........... 13 Determining whether to install the host agent or server utility .................................................................................................... 18 Requirements for the host agent, server utility, and CLI ................... 21 Installing or removing the Navisphere Host Agent and CLI ............. 22 Configuring the Navisphere Host Agent ........................................ 31 Using the event monitor configuration file ..................................... 33 Running the Navisphere Host Agent ............................................. 34 Installing and removing the Navisphere Server Utility .................... 37 1

CLARiiON Server Support Products for Linux ... - emc.gm · PDF fileEMC CLARiiON Server Support Products for Linux Servers ... or your upgrade kit ... EMC CLARiiON Server Support Products

Embed Size (px)

Citation preview

Page 1: CLARiiON Server Support Products for Linux ... - emc.gm · PDF fileEMC CLARiiON Server Support Products for Linux Servers ... or your upgrade kit ... EMC CLARiiON Server Support Products

EMC CLARiiON Server SupportProducts for Linux Servers

Installation GuideP/N 300–002–041, Revision A16

March 6, 2009

This guide describes how to install and remove the EMC® Navisphere®Host Agent, Navisphere Storage System Initialization Utility, NavisphereServer Utility, Navisphere Command Line Interface (CLI), and admsnapsoftware on a Linux operating system.

IMPORTANTIf you have a Linux virtual machine, refer to one the following docs:

For VMware ESX Server systems – EMC CLARiiON Server SupportProducts for VMware ESX Servers and Virtual Machines Installation Guide

For Windows Server 2008 with Hyper-V system– EMC CLARiiON ServerSupport Products for Windows Server 2008 with Hyper Installation Guide

If you do not know if your system is a virtual machine, consult your systemadministrator.

Topics include:

Before you start ............................................................................. 3About EMC Navisphere server software ......................................... 5Finding current information ........................................................... 8Installing and removing the Navisphere Storage System InitializationUtility .......................................................................................... 9Running the Navisphere Storage System Initialization Utility ........... 13Determining whether to install the host agent or server utility.................................................................................................... 18

Requirements for the host agent, server utility, and CLI ................... 21Installing or removing the Navisphere Host Agent and CLI ............. 22Configuring the Navisphere Host Agent ........................................ 31Using the event monitor configuration file ..................................... 33Running the Navisphere Host Agent ............................................. 34Installing and removing the Navisphere Server Utility .................... 37

1

Page 2: CLARiiON Server Support Products for Linux ... - emc.gm · PDF fileEMC CLARiiON Server Support Products for Linux Servers ... or your upgrade kit ... EMC CLARiiON Server Support Products

Running the Navisphere Server Utility ........................................... 42Installing and removing the Admsnap Utility ................................. 47Running the Admsnap Utility ........................................................ 52

2 EMC CLARiiON Server Support Products for Linux Servers Installation Guide

Page 3: CLARiiON Server Support Products for Linux ... - emc.gm · PDF fileEMC CLARiiON Server Support Products for Linux Servers ... or your upgrade kit ... EMC CLARiiON Server Support Products

Before you start

❑ Read the release notes for your CX4 series, CX3 UltraScale™ series,or CX series storage system, which are available in the TechnicalDocumentation and Advisories section on the Powerlink® website.

❑ Read the release notes for your AX4–5 series or AX150 series storagesystem, which are available on the Service & Support page of thestorage-system support website.

The url for the storage-system support website is in the Documentation andSupport document that shipped with your storage system.

❑ Refer to the E-Lab™ Interoperability Navigator on the Powerlink®website for information on supported operating systemversions, including virtual machines, with a CX4 series, CX3UltraScale™series, or CX series storage system.

❑ Refer to the Support Matrix link on the Install page of thestorage-system support website for information on supportedoperating system versions, including virtual machines, with anAX4–5 series or AX150 series storage system. For AX100 seriessystems, refer to the Supported Configurations in the “Technicaldescriptions” section of the storage-system support website.

Storage-system terminology

This document uses the following storage-system terms:

CX4 series — to refer to CX4-120, CX4-240, CX4-480, and CX4-960storage systems.

CX3 series — to refer to CX3 model 10 systems, CX3 model 20systems, CX3 model 40 systems, and CX3 model 80 storage systems.

CX series — to refer to CX300 series, CX500 series, and CX700storage systems.

AX4-5 series — to refer to AX4-5SC, AX4-5SCi, AX4-5, AX4-5istorage systems.

AX150 series — to refer to AX150SC, AX150SCi, AX150, and AX150istorage systems.

EMC CLARiiON Server Support Products for Linux Servers Installation Guide 3

Page 4: CLARiiON Server Support Products for Linux ... - emc.gm · PDF fileEMC CLARiiON Server Support Products for Linux Servers ... or your upgrade kit ... EMC CLARiiON Server Support Products

AX series — to refer to AX150 series and AX100 series storagesystems. AX100 series systems include the AX100SC, AX100SCi,AX100, and AX100i systems.

Minimum FLARE revision required for your storage system

Table 1 lists the minimum FLARE® version that your CLARiiON®storage system requires and the server software that it supports.

Table 1 Minimum FLARE versions and supported software

Storage system Minimum FLARE version Supported server software

AX4-5 series 02.23.050.5.5xx

AX150 series 02.20.xxx.5.yyy

AX100 series 02.16.xxx.5.yyy

Storage systems with Navisphere Express— Navisphere Storage System Initialization Utility— Navisphere Server Utility— Navisphere CLIStorage systems with Navisphere Manager— Navisphere Storage System Initialization Utility— Navisphere Host Agent— Navisphere Server Utility— Admsnap Utility— Navisphere CLI

CX4–120, CX4–240, CX4–480,and CX4–960

04.28.000.5.xxx

CX3–10c 03.24.010.5.xxx

CX3 model 20 systems, CX3model 40 systems, and CX3model 80 systems

03.22.xxx.5.yyy

CX700, CX500 series, andCX300 series

02.16.xxx.5.yyy

Storage systems with Navisphere Manager— Navisphere Storage System Initialization Utility— Navisphere Host Agent— Navisphere Server Utility— Admsnap Utility— Navisphere CLI

4 EMC CLARiiON Server Support Products for Linux Servers Installation Guide

Page 5: CLARiiON Server Support Products for Linux ... - emc.gm · PDF fileEMC CLARiiON Server Support Products for Linux Servers ... or your upgrade kit ... EMC CLARiiON Server Support Products

About EMC Navisphere server software

The EMC server-based software listed below is available on Powerlinkand on the server support CD that shipped with your storage systemor your upgrade kit (for upgrading AX4-5 series or AX series systemsto Navisphere Manager).

For information on the server software supported with your CLARiiON®storage system and the minimum FLARE® version required, refer to MinimumFLARE revision required for your storage system, page 4 .

Navisphere Storage System Initialization Utility

Navisphere Host Agent

Navisphere Server Utility

Admsnap Utility

Navisphere Command Line Interface (CLI)

About the Navisphere Storage System Initialization Utility

For Fibre Channel storage systems, use the Navisphere® initializationutility to discover storage systems and set network parameters (IPaddress, subnet mask, and default gateway). In addition, for iSCSIstorage systems with iSCSI data ports attached to Windows servers, usethe utility to set network parameters for these ports.

For CX series storage systems, an authorized service provider must install andrun the initialization utility.

You can run the initialization utility from the server support CD or youcan install it on a server or other host such as a Navisphere off-arraymanagement station. The only requirement is that the host be connectedto the same network subnet as the storage-system management ports.

About the Navisphere Host Agent

The host agent registers the server’s host bus adapter (HBA) with theattached storage system when the host agent service starts. This action

EMC CLARiiON Server Support Products for Linux Servers Installation Guide 5

Page 6: CLARiiON Server Support Products for Linux ... - emc.gm · PDF fileEMC CLARiiON Server Support Products for Linux Servers ... or your upgrade kit ... EMC CLARiiON Server Support Products

sends the initiator records for each HBA to the storage system. Initiatorrecords are used to control access to storage-system data.

The agent can then retrieve information from the storage systemautomatically at startup or when requested by Navisphere Manageror CLI.

The host agent can also:

Send operating system drive mapping information to the attachedCLARiiON® storage systems.

Monitor storage-system events and notify personnel by email, page,or modem when any designated event occurs.

Retrieve LUN world wide name (WWN) and capacity informationfrom Symmetrix® storage systems.

About the Navisphere Server Utility

The server utility allows you to perform the following functions:

Update server information to the storage system — Lets you sendthe server name and IP address to the storage system and, if neededlater on, allows you to update or view this data.

Verify server high availability (HA) — Lets you determine if theserver is configured for high availability (HA) by verifying thatthe server has at least one connection path to each storage-systemSP, and that PowerPath® or some other failover software, such asVMware native, DMP, PV Links, or HP native failover for 11iV3is running. The utility does not detect any other native failoversoftware, such as Sun StorEdge Traffic Manager or Linux nativemultipath (MPIO).

Use the snapshot feature (Navisphere Express only) — On storagesystems with Navisphere Express, you can start and stop a snapshoton the source server (server assigned to the source virtual disk orsource LUN), or you can allow or remove access to the snapshot bythe secondary server (server assigned to the snapshot).

On AX4–5 series storage systems with Navisphere Manager, you cannotuse the server utility to manage snapshots. Instead, you must install anduse the admsnap utility.

6 EMC CLARiiON Server Support Products for Linux Servers Installation Guide

Page 7: CLARiiON Server Support Products for Linux ... - emc.gm · PDF fileEMC CLARiiON Server Support Products for Linux Servers ... or your upgrade kit ... EMC CLARiiON Server Support Products

You can run the Navisphere Server Utility from the CD or you caninstall it on the servers that are connected to the storage system. Westrongly recommend that you install the utility on each server that isconnected to the storage system.

About the Admsnap Utility

The Admsnap Utility is an executable program that you can runinteractively or with a script to manage SnapView® clones andsnapshots. The Admsnap Utility resides on the servers connected tothe storage system with the SnapView driver installed.

Use admsnap commands to:

Scan for new storage devices

Make storage devices inaccessible to the server operating system

Flush cached data to disk

List current snapshot devices

Map and unmap to a SnapView session

Start and stop a SnapView session

If you upgraded your storage system to Navisphere Manager and want tomanage snapshots, you must use the SnapView software and the AdmsnapUtility. For more information on SnapView and admsnap, refer to theNavisphere Manager help and the EMC SnapView Command Line InterfacesReference.

About the Navisphere CLI

The CLI complements, or is an alternative to Manager. It provides acommand line interface for storage-system management, includingstorage provisioning, status and configuration information retrieval,and control. You can use the CLI to automate management functionsthrough shell scripts and batch files. For more information, refer to theEMC Navisphere Command Line Interface (CLI) Reference Guide.

EMC CLARiiON Server Support Products for Linux Servers Installation Guide 7

Page 8: CLARiiON Server Support Products for Linux ... - emc.gm · PDF fileEMC CLARiiON Server Support Products for Linux Servers ... or your upgrade kit ... EMC CLARiiON Server Support Products

Finding current information

The most up-to-date information about the CLARiiON® serversoftware is posted on the EMC Powerlink® website. We recommendthat you download the latest information before you install any serversoftware.

To access EMC Powerlink, use the following link:

http://Powerlink.EMC.com

After you log in, select Support > Technical Documentation andAdvisories and find the following:

Navisphere Host Agent/CLI and Utilities Release Notes.

EMC SnapView Command Line Interfaces Reference (P/N 069001181).

For the most current management and security content, refer to theEMC Navisphere Manager help.

For Navisphere CLI commands, refer to the latest revision ofthe EMC Navisphere Command Line Interface (CLI) Reference (P/N300–003–628).

8 EMC CLARiiON Server Support Products for Linux Servers Installation Guide

Page 9: CLARiiON Server Support Products for Linux ... - emc.gm · PDF fileEMC CLARiiON Server Support Products for Linux Servers ... or your upgrade kit ... EMC CLARiiON Server Support Products

Installing and removing the Navisphere Storage System InitializationUtility

EMC recommends that you install the utility on the server; however,you can run the Navisphere Storage System Initialization Utility fromthe server support CD.

IMPORTANT

If you have a Linux virtual machine, refer to one the following docs:

For VMware ESX Server systems – EMC CLARiiON Server SupportProducts for VMware ESX Servers and Virtual Machines InstallationGuide

For Windows Server 2008 with Hyper-V system– EMC CLARiiONServer Support Products for Windows Server 2008 with HyperInstallation Guide

If you do not know if your system is a virtual machine, consult yoursystem administrator.

Installation prerequisites

To initialize a storage system using the Navisphere Storage SystemInitialization Utility, the server must meet the following requirements:

Run a supported version of the operating system.

Be connected to the same subnet as the 10/100 management ports ofthe storage system that you want to initialize. This server may alsobe a server with Fibre Channel connections to the storage system.

If you have an earlier version of the storage system initialization utilityinstalled, you must uninstall it before installing an updated version.

Installing the Navisphere Storage System Initialization Utility on a Linux server

EMC recommends that you install the most recent version of theNavisphere Storage System Initialization Utility software that isappropriate for your configuration. You can download the mostrecent version from the software download page on the Powerlinkwebsite (CX4 series, CX3 series, CX series, and AX4-5 series) or on the

EMC CLARiiON Server Support Products for Linux Servers Installation Guide 9

Page 10: CLARiiON Server Support Products for Linux ... - emc.gm · PDF fileEMC CLARiiON Server Support Products for Linux Servers ... or your upgrade kit ... EMC CLARiiON Server Support Products

storage-system support website (AX series). You can also install thesoftware from the server support CD (any storage system); however,the CD may not contain the most recent version for your configuration.

1. Log in to the root account of a Linux server that is on the samesubnet as the storage system.

2. At the command line prompt, look for an existing initializationutility:

rpm -qi naviinittool

If an earlier version of the software has been installed, you mustremove it before continuing.

3. To download the software for CX4 series, CX3 series, CX series, orAX4–5 series storage systems, do the following:

a. From the Navigator drop-down menu at the top right of thePowerlink website, select Software Downloads and Patches.

b. Select the appropriate initialization utility version to downloadand select the option to save the zip file to your server.

c. At the command line prompt, navigate to the directory whereyou saved the zip file and unzip the file.

unzip Linux-INITTOOL-version.zip

where version is the version listed in the filename.

d. Enter the one of the following commands to install theinitialization utility package:

Linux servers:rpm -ivh naviinittool-version-build.noarch.rpm

Power Linux servers (version 6.28.10 or higher):rpm -ivh naviinittoolPowerPC-version-build.ppc64.rpm

where version and build are the version number and the buildnumber of the initialization utility.

10 EMC CLARiiON Server Support Products for Linux Servers Installation Guide

Page 11: CLARiiON Server Support Products for Linux ... - emc.gm · PDF fileEMC CLARiiON Server Support Products for Linux Servers ... or your upgrade kit ... EMC CLARiiON Server Support Products

If you are upgrading the utility on the server, use -U in place of -i.

4. To download the software for AX series storage systems, do thefollowing:

a. On the storage-system support website select the link todownload software.

b. Select the appropriate Navisphere Storage System InitializationUtility version to download and select the option to save thezip file to your server.

c. At the command line prompt, navigate to the directory whereyou saved the zip file and unzip the file.

unzip Linux-INITTOOL-version.zip

where version is the version listed in the filename.

d. Enter the following command to install the initialization utilitypackage:

rpm -ivh naviinittool-version-build.noarch.rpm

where version and build are the version number and the buildnumber of the initialization utility.

If you are upgrading the utility on the server, use -U in place of -i.

5. To install the software from the server support CD (any storagesystem), do the following:

a. In the drive of a Linux server, insert the server support CD,which shipped with the storage system or the upgrade kit (forAX4-5 series or AX series systems upgrading to NavisphereManager).

b. From a console window, mount the CD using the mountcommand for your operating system version.

c. From the CD directory, change to the Linux directory:

EMC CLARiiON Server Support Products for Linux Servers Installation Guide 11

Page 12: CLARiiON Server Support Products for Linux ... - emc.gm · PDF fileEMC CLARiiON Server Support Products for Linux Servers ... or your upgrade kit ... EMC CLARiiON Server Support Products

cd linux

This directory contains the Linux install packages.

d. Install the initialization utility:

rpm -ivh naviinittool.noarch.rpm

If you are upgrading the utility on the server, use -U in place of -i.

e. When installation is complete, remove the CD from the server’sCD drive.

Removing the Navisphere Storage System Initialization Utility from a Linux server

1. Log in to the server as root or as a member of an administrativegroup.

2. Open a terminal window and enter the following command toremove the Storage System Initialization Utility:

rpm -e naviinittool

12 EMC CLARiiON Server Support Products for Linux Servers Installation Guide

Page 13: CLARiiON Server Support Products for Linux ... - emc.gm · PDF fileEMC CLARiiON Server Support Products for Linux Servers ... or your upgrade kit ... EMC CLARiiON Server Support Products

Running the Navisphere Storage System Initialization Utility

You can start the storage system initialization utility from theserver on which it is installed or from the server support CD. Thestorage system initialization utility has three methods for executingcommands — a user interface (UI) version, a command line interfacethat can be scripted, or a text-based utility that cannot be scripted.Before continuing, make sure that the storage system is powered upcompletely.

For storage-system initialization, connect the server from which you arerunning the utility and the storage system to the same network subnet. Onceyou have assigned an IP address to the storage system, the server and storagesystem can be on different subnets.

Starting the initialization utility on a Linux server

To start the text-based version of the utility, enter:

/opt/Navisphere/bin/naviinittoolcli

To start the command line version of the utility, enter:

/opt/Navisphere/bin/naviinittoolcli and any of the command lineswitches in Using the command line initialization utility, page 15.

Starting the initialization utility on a Linux server from the CD

To start the text-based or command line version of the initializationutility from the CD, do the following:

1. On the server, log in to the root account.

2. In the server’s drive, insert the server support CD, which shippedwith the storage system or the upgrade kit (for AX4-5 series or AXseries systems upgrading to Navisphere Manager).

3. From a console window, mount the CD-ROM drive by enteringthe following command:

mount /mnt/cdrom

EMC CLARiiON Server Support Products for Linux Servers Installation Guide 13

Page 14: CLARiiON Server Support Products for Linux ... - emc.gm · PDF fileEMC CLARiiON Server Support Products for Linux Servers ... or your upgrade kit ... EMC CLARiiON Server Support Products

4. Change to the CD-ROM directory by entering the followingcommand:

cd /mnt/cdrom

5. Navigate to the Linux directory:

cd Linux

6. Depending on which version of the initialization utility you want tostart and run from the CD, enter the appropriate command:

Text-based version — ./naviinittoolcli

Command line version — ./naviinittoolcli and any of the commandline switches in Using the command line initialization utility, page 15.

Using the text-based initialization utility

After you start the utility, it automatically scans the subnet forsupported storage systems. When this storage-system discoveryoperation is complete, the utility lists, by hardware serial number, alluninitialized and initialized storage systems it found. The hardwareserial number for CX4 series storage systems is on a hanging tag at therear of the storage system.The hardware serial number for CX3 andCX series storage systems is on a blue label located on the SPE chassisbehind the front bezel.The hardware serial number for AX4-5 and AXseries storage systems is on a blue label on the rear of the chassis.

If the storage system you are installing was not discovered, verify thecable connections between the storage system and the host runningthe utility.

Use the information in the “Storage-System Management Ports”worksheet from the storage-system configuration planning guide,planning worksheets document, or the administration worksheet, andfollow the instructions on the screen to change the storage system’sname, to set the network parameters for the storage-system 10/100management ports, and to set the storage system’s management useraccount settings.

14 EMC CLARiiON Server Support Products for Linux Servers Installation Guide

Page 15: CLARiiON Server Support Products for Linux ... - emc.gm · PDF fileEMC CLARiiON Server Support Products for Linux Servers ... or your upgrade kit ... EMC CLARiiON Server Support Products

For a CX4 or CX3 series storage systemIf you entered an SP IP address for the first time or changed an SP IPaddress, the utility reboots the storage system, and the SP fault light onthe back of each SP starts blinking. The reboot takes several minutesto complete. When it has completed, the SP fault light (LEDs) on eachSP stops blinking and remains off.

For an AX4-5 series storage systemIf you entered an SP IP address for the first time or changed an SPIP address, the utility reboots the storage system, and green activitylights flash. The reboot takes 5 to 6 minutes to complete. When it hascompleted, the power button on each SP remains solid/steady green.

For an AX series storage systemIf you entered an SP IP address for the first time or changed an SP IPaddress, the utility reboots the storage system and the SP Boot/Faultlight on the back of each SP starts blinking. The reboot takes severalminutes to complete. When it has completed, the SP Boot/Fault lighton each SP stops blinking and remains off.

Using the command line initialization utility

After you start the command line version of the initialization utility,use any of the switches below with the naviinittoolcli .

eula [-language language]

discover [-all] [-xml]

configure –serial serialnumber [-file filename] [–ipaspAIpaddress|–sphosta spAhostname] [-ipb spBIpaddress|–sphostb spBhostname] [–mask subnetmask] [–gateway gatewayaddress][-user username] [–password password] [–storagename storageName][-ipv6mode |automatic|disable| [manual [-globalprefix prefix[-ipv6gateway ipv6gateway]] [ -help]

where:

eula

Displays the EMC end-user license agreement (EULA) in the specified language.

-language language The default language is English.Currently, the only valid languageis English.

discover

EMC CLARiiON Server Support Products for Linux Servers Installation Guide 15

Page 16: CLARiiON Server Support Products for Linux ... - emc.gm · PDF fileEMC CLARiiON Server Support Products for Linux Servers ... or your upgrade kit ... EMC CLARiiON Server Support Products

Discovers and displays a list of partially initialized storage systems.

-all Discovers and displays a list ofinitialized and partially initializedstorage systems.

-xml Specifies that the output is in xmlformat.

configure

Specifies the network parameters for the specified storage system.

-serial serialnumber Specifies the serial number ofthe storage system you want toinitialize.

-file filename Specifies the name of the filethat will store all the networkparameters.

-ipa spAipaddress |-sphosta spAhostname Specifies the IP address of SP A,or the server name for SP A for thespecified storage system.

-ipb spBipaddress |-sphostb spBhostname Specifies the IP address of SP B,or the server name for SP B for thespecified storage system.

-mask subnetmask Specifies the subnet mask for thespecified storage system.

-gateway gateway Specifies the gateway for thespecified storage system.

-user username Specifies the storage-system loginusername.

-password password Specifies the storage-system loginpassword.

-storagename storagename Specifies the name for the specifiedstorage system.

-help Displays the help screen and doesnot start the initialization process

16 EMC CLARiiON Server Support Products for Linux Servers Installation Guide

Page 17: CLARiiON Server Support Products for Linux ... - emc.gm · PDF fileEMC CLARiiON Server Support Products for Linux Servers ... or your upgrade kit ... EMC CLARiiON Server Support Products

-ipv6mode automatic | disable |[manual –globalprefix prefix –ipv6gatewayipv6gateway]

Specifies the configuration type forthe IPv6 network. Refer to the IPv6configuration type table below fordetails. IPv6 is supported with CX4series systems only.

Table 2 IPv6 parameter values based on IPv6 configuration type (CX4 seriessystems only)

Existing configuration type(What you see when you open the

initialization utility)

New configuration type(What you see after changing the configuration type)

Disabled Auto Manual

Link Local: TBD*

Global IP: TBD*

GlobalPrefix:

Blank/editable

Disabled All IPv6 parameteers areblank and grayed out.IPv4 will be used

All IPv6parametersare set toTBD*

Gateway: blank/editable

Link Local: visible**

Global IP: visible**

GlobalPrefix:

visible/editable**

Auto Current IPv6 parameters arevisible but not editable.

All IPv6 parametersare blank andgrayed out *IPv4 will be used

Gateway: visible/editable**

Link Local: visible

Global IP: visible

GlobalPrefix:

visible/ed-itable

Manual

Gateway: visible/ed-itable

All IPv6 parametersare blank andgrayed out * IPv4will be used

Current IPv6Link Localparameter isvisible. Allothers are setto TBD **

* After changing the configuration type from Disabled to Auto or Manual, or from Auto or Manual to Disabled, the new values will be setafter the automatic reboot of the storage system. After the reboot completes, open the initialization utility again to view the new IPv6 values.** After changing the configuration type from Manual to Auto or from Auto to Manual, a reboot is not required.

EMC CLARiiON Server Support Products for Linux Servers Installation Guide 17

Page 18: CLARiiON Server Support Products for Linux ... - emc.gm · PDF fileEMC CLARiiON Server Support Products for Linux Servers ... or your upgrade kit ... EMC CLARiiON Server Support Products

Determining whether to install the host agent or server utility

Depending on your application needs, you can install the host agent,server utility, or both on an attached server.

If you want to install both applications, you must install version 6.22.20or later of the server utility either before or after you install the hostagent. The registration feature of the server utility will be disabledand the host agent will be used to register the server’s NICs or iSCSIHBAs to the storage system.

Prior to version 6.22.20 of the server utility, you could not install the host agentand server utility on the same server. However, you could install them ondifferent servers that are connected to the same storage system.

If you do not want to install both applications, but want to use someof the features available in the server utility, you can run the serverutility from the server support CD.

If you have an AX4-5 series or AX series storage system runningNavisphere Express, you can install only the server utility. The hostagent is supported only on CX4 series, CX3 series, CX series, AX4-5series, and AX series storage systems running Navisphere Manager.

Table 3 describes the differences between the host agent and the serverutility on a server attached to a storage system.

Depending on the version of the server utility, some of the features listed inTable 3 may not be available.

18 EMC CLARiiON Server Support Products for Linux Servers Installation Guide

Page 19: CLARiiON Server Support Products for Linux ... - emc.gm · PDF fileEMC CLARiiON Server Support Products for Linux Servers ... or your upgrade kit ... EMC CLARiiON Server Support Products

Table 3 Differences between the host agent and the server utility

Function Host agent Server utility

Pushes LUN mappingand OS information to thestorage system.

Yes – LUN mapping information isdisplayed in the Manager UI next tothe LUN icon or with the CLI usingthe lunmapinfo command.

AX4–5 series and AX series storage systemsYes – LUN mapping information is displayed in theManager UI next to the LUN icon, or with the CLI usingthe -lunmapinfo command. In Navisphere Express thisinformation is displayed in the Manage Virtual Disks page.Note: The text Manually Registered appears next to thehostname icon in the Manager UI indicating that the host agent wasnot used to register this server.CX4 series, CX3 series, and CX series storage systemsNo – LUN mapping information is not sent to the storage system. Onlythe server’s name, ID, and IP address are sent to the storage system.Note: The text Manually Registered appears next to thehostname icon in the Manager UI indicating that the host agent wasnot used to register this server.

Runs automatically tosend information to thestorage system.

Yes – No user interaction isrequired.

AX4–5 series and AX series storage systemsNo – You must manually update the information by startingthe utility or you can create a script to run the utility. Since you runthe server utility on demand, you have more control as to how oftenor when the utility is executed.CX4 series, CX3 series, and CX series storage systemsNo – You must manually update the information by starting the utilityor you can create a script to run the utility. Since you run the serverutility on demand, you have more control as to how often or when theutility is executed.

Provides high-availability(HA) validation.

No – You can run the server utility’sHA validation feature from the CDwithout having to install the serverutility.

AX4–5 series and AX series storage systemsCurrently not supported.CX4 series, CX3 series, and CX series storage systemsYes – The HA validation feature verifies that failover software isinstalled on the server and that working paths exist between theserver and each SP in the storage system.

Requires networkconnectivity to the storagesystem.

Yes – Network connectivity allowsLUN mapping information to beavailable to the storage system.

AX4–5 series and AX series storage systemsNo – LUN mapping information is sent through a data pathto the storage system.CX4 series, CX3 series, and CX series storage systemsNo – LUN mapping information is not sent to the storage system.Note that if you are using the server utility to upload a high-availabilityreport to the storage system, you must have network connectivity.

EMC CLARiiON Server Support Products for Linux Servers Installation Guide 19

Page 20: CLARiiON Server Support Products for Linux ... - emc.gm · PDF fileEMC CLARiiON Server Support Products for Linux Servers ... or your upgrade kit ... EMC CLARiiON Server Support Products

Function Host agent Server utility

Requires installation. Yes – You must install the hostagent on the server.

AX4–5 series and AX series storage systemsNo – You can run the server utility from the CD. However,we recommend that you install it on the server.CX4 series, CX3 series, and CX series storage systemsNo – You can run the server utility from the CD. However, werecommend that you install it on the server.

Note: If you install the host agent and then version 6.22.20 or later of the server utility, the server utility’s registration service feature willnot be installed. Prior to version 6.22.20 of the server utility, you could not install the host agent and server utility on the same server.

20 EMC CLARiiON Server Support Products for Linux Servers Installation Guide

Page 21: CLARiiON Server Support Products for Linux ... - emc.gm · PDF fileEMC CLARiiON Server Support Products for Linux Servers ... or your upgrade kit ... EMC CLARiiON Server Support Products

Requirements for the host agent, server utility, and CLI

To run the host agent, CLI, or server utility, your server must meetthe following requirements:

Run a supported version of the Linux operating system.

For Fibre Channel connections, have the EMC CLARiiONsupported HBA hardware and driver installed.

Be connected to at least one SP (two SPs for high availability) ineach storage system either directly or through a switch or hub. EachSP must have an IP connection.

For the host agent and CLI only - Be on a TCP/IP network connectedto at least one SP (two SPs for high availability) in the storagesystem. The TCP/IP network connection allows the server to sendLUN mapping information to the storage system and it allowsNavisphere Manager or CLI to communicate with the storagesystem over the network.

Have a configured TCP/IP network connection to any remote hoststhat you will use to manage the server’s storage systems, including:

any server whose browser you will use to access Manager 6.X.

any Windows Server 2008, 2003, or Windows 2000 serverrunning Storage Management Server software.

any AIX, HP-UX, Linux, VMware ESX Server, NetWare, Solaris,Windows Server 2003, or Windows 2000 server running the CLI.

If you want to use the CLI on the server to manage storage systems ona remote server, the server must be on a TCP/IP network connectedto both the remote server and each SP in the remote server’s storagesystem. The remote server can be running AIX, HP-UX, Linux, Solaris,or the Windows operating system.

For information about the specific revisions of the server operating systemand the storage-system FLARE and Access Logix™ software that are requiredfor your version of the host agent, see the release notes for the host agenton the EMC Powerlink website. To access this website, see Finding currentinformation, page 8 .

EMC CLARiiON Server Support Products for Linux Servers Installation Guide 21

Page 22: CLARiiON Server Support Products for Linux ... - emc.gm · PDF fileEMC CLARiiON Server Support Products for Linux Servers ... or your upgrade kit ... EMC CLARiiON Server Support Products

Installing or removing the Navisphere Host Agent and CLI

You can install both the host agent and CLI, or you can install themseparately. If you will install both, install the host agent first.

IMPORTANT

If you have a Linux virtual machine, refer to one the following docs:

For VMware ESX Server systems – EMC CLARiiON Server SupportProducts for VMware ESX Servers and Virtual Machines InstallationGuide

For Windows Server 2008 with Hyper-V system– EMC CLARiiONServer Support Products for Windows Server 2008 with HyperInstallation Guide

If you do not know if your system is a virtual machine, consult yoursystem administrator.

To modify an existing host agent configuration refer to the next section.

If you want to install the host agent and use some of the features in the serverutility, see Determining whether to install the host agent or server utility , page 18.

Installing the host agent and CLI on a Linux server

EMC recommends that you install the most recent version of theNavisphere Host Agent and CLI software that is appropriate for yourconfiguration. You can download the most recent version from thesoftware download page on the Powerlink website (CX4 series, CX3series, CX series, and AX4-5 series) or on the storage-system supportwebsite (AX series). You can also install the software from the serversupport CD (any storage system); however, the CD may not containthe most recent version for your configuration.

1. On the Linux server, log in to the root account.

2. At a command line prompt, look for an existing host agent and CLIpackage by entering one of the following commands:

rpm -qa | grep navi

22 EMC CLARiiON Server Support Products for Linux Servers Installation Guide

Page 23: CLARiiON Server Support Products for Linux ... - emc.gm · PDF fileEMC CLARiiON Server Support Products for Linux Servers ... or your upgrade kit ... EMC CLARiiON Server Support Products

If an earlier version of the naviagentcli or naviagent softwarepackage is listed, you must remove it before installing the new hostagent and CLI package.

3. To download the software for CX4 series, CX3 series, CX series, orAX4–5 series storage systems with Navisphere Manager, do thefollowing:

a. From the Navigator drop-down menu at the top right of thePowerlink website, select Software Downloads and Patches.

b. Select the appropriate Navisphere Host Agent/CLI version todownload and select the option to save the zip file to your server.

c. At the command line prompt, navigate to the directory whereyou saved the zip file and unzip the file.

unzip Navi_Agent_CLI_Linux-version.zip

where version is the version listed in the filename.

d. Enter the following command to install both the host agent andCLI packages:

rpm -ivh naviagentcli-version-build.noarch.rpm

where version and build are the version and build number for theNavisphere Host Agent/CLI.

The system displays the word navigentcli and a series ofpound (#) signs. When the installation is complete, the systemprompt reappears.

4. To download the software for AX series storage systems withNavisphere Manager, do the following:

a. On the storage-system support website, select the link todownload software.

b. Select the appropriate Navisphere Host Agent/CLI version todownload and select the option to save the zip file to your server.

c. At the command line prompt, navigate to the directory whereyou saved the zip file and unzip the file.

EMC CLARiiON Server Support Products for Linux Servers Installation Guide 23

Page 24: CLARiiON Server Support Products for Linux ... - emc.gm · PDF fileEMC CLARiiON Server Support Products for Linux Servers ... or your upgrade kit ... EMC CLARiiON Server Support Products

unzip Navi_Agent_CLI_Linux-version.zip

where version is the version listed in the filename.

d. Enter the following command to install both the host agent andCLI packages:

rpm -ivh naviagentcli-version-build.noarch.rpm

where version and build are the version and build number for theNavisphere Host Agent/CLI.

The system displays the word navigentcli and a series ofpound (#) signs. When the installation is complete, the systemprompt reappears.

5. To install the software from the server support CD (any storagesystem), do the following:

a. In the server’s drive, insert the server support CD that shippedwith your storage system or the upgrade kit (for AX4-5 series orAX series systems upgrading to Navisphere Manager).

b. From a console window, mount the CD using the mountcommand for your operating system version.

c. From the CD directory, change to the Linux directory byentering the following command:

cd linux

This directory contains the Linux install packages.

d. Enter the following command to install both the host agent andCLI packages:

rpm -ivh naviagentcli.noarch.rpm

The system displays the word navigentcli and a series ofpound (#) signs. When the installation is complete, the systemprompt reappears.

24 EMC CLARiiON Server Support Products for Linux Servers Installation Guide

Page 25: CLARiiON Server Support Products for Linux ... - emc.gm · PDF fileEMC CLARiiON Server Support Products for Linux Servers ... or your upgrade kit ... EMC CLARiiON Server Support Products

e. If you installed the software from the server support CD,unmount the CD, and then remove the CD from the CD drive.

If the File Manager window is open to the /mnt/cdrom directory, youneed to close this window first before attempting to unmount the CD.

6. Verify that Navisphere Agent and/or CLI are installed by using therpm -qa | grep navi command.

Before you can use the host agent or CLI, you must modify the user loginscripts and configure the host agent configuration file.

7. If you have a multihomed host (multiple NIC cards installed onthe host), create an agentID.txt file to ensure that the agent findsthe correct NIC card.

A multihomed host machine has multiple IP addresses connected tonetworks; it is physically connected to multiple data links that can be on thesame or different networks. When you install Navisphere Host Agent on amultihomed host, the host agent, by default, binds to the first NIC in thehost. If your host is multihomed, for the host agent to successfully registerwith the desired CLARiiON storage system, you need to configure the hostagent to bind to a specific NIC. You do this by setting up an agentID.txt file.

a. Using a text editor that does not add special formatting, createor edit a file named agentID.txt (case sensitive) in either / (root)or in a directory of your choice.

b. Add the following two separate lines to the agentID.txt file,with no special formatting:

First line: Fullyqualified hostname of the host

Second line: IP address of the HBA/NIC port that you

want Navisphere agent to use

For example, if your host is named host28 on the domainmydomain.com and your host contains two HBAs/NICs,HBA1/NIC1 with IP address 192.111.222.2 and HBA2/NIC2

EMC CLARiiON Server Support Products for Linux Servers Installation Guide 25

Page 26: CLARiiON Server Support Products for Linux ... - emc.gm · PDF fileEMC CLARiiON Server Support Products for Linux Servers ... or your upgrade kit ... EMC CLARiiON Server Support Products

with IP address 192.111.222.3, and you want the host agent touse NIC 2, you would configure agentID.txt as follows:

host28.mydomain.com192.111.222.3

The agentID.txt file should contain only these two lines, without anyformatting. The first line should contain the hostname and the secondline should contain the IP address of the HBA/NIC port as describedabove. Both lines should end with a carriage return. As a result, thecursor will be on a third line but this line should not contain any text.

c. Save the agentID.txt file.

d. If you created the agentID.txt file in a directory other thanroot, for host agent to restart after a system reboot using thecorrect path to the agentID.txt file, set the environment variableEV_AGENTID_DIRECTORY to point to the directory whereyou created agentID.txt.

e. If a HostIdFile.txt file is present in the directory shown for youroperating system, delete or rename it. The HostIdFile.txt file islocated in /var/log/HostIdFile.txt.

f. Stop and then restart the host agent.

g. Once the host agent has restarted, verify that the host agent isusing the IP address that is entered in the agentID.txt file. Todo this, view the new HostIdFile.txt file. You should see the IPaddress that is entered in the agentID.txt file.

Installing the Navisphere CLI on a Linux server

EMC recommends that you install the most recent version of theNavisphere CLI software that is appropriate for your configuration.You can download the most recent version from the software downloadpage on the Powerlink website (CX4 series, CX3 series, CX series, andAX4-5 series) or on the storage-system support website (AX series).You can also install the software from the server support CD (anystorage system); however, the CD may not contain the most recentversion for your configuration.

1. On the Linux server, log in to the root account.

2. At the command line prompt, look for any existing CLI by typing:

26 EMC CLARiiON Server Support Products for Linux Servers Installation Guide

Page 27: CLARiiON Server Support Products for Linux ... - emc.gm · PDF fileEMC CLARiiON Server Support Products for Linux Servers ... or your upgrade kit ... EMC CLARiiON Server Support Products

rpm -qi navicli

If an earlier version of the software has been installed, you mustremove it before continuing.

3. To download the software for CX4 series, CX3 series, CX series, orAX4–5 series storage systems, do the following:

a. From the Navigator drop-down menu at the top right of thePowerlink website, select Software Downloads and Patches.

b. Select the appropriate Navisphere CLI version to download andselect the option to save the zip file to your server.

c. At the command line prompt, navigate to the directory whereyou saved the zip file and unzip the file.

unzip Linux_navicli-version.zip

where version is the version listed in the filename.

d. Enter the following command to install the CLI package:

Linux servers:rpm -ivh navicli-version-build.noarch.rpm

Power Linux servers (version 6.28.10 or higher):rpm -ivh naviseccli_PowerPC-version-build.ppc64.rpm

This will install Secure CLI only.

where version and build are the version and build number for theNavisphere CLI.

The system displays the word navicli and a series of pound(#) signs. When the installation is complete, the system promptreappears.

4. To download the software for AX series storage systems withNavisphere Manager, do the following:

EMC CLARiiON Server Support Products for Linux Servers Installation Guide 27

Page 28: CLARiiON Server Support Products for Linux ... - emc.gm · PDF fileEMC CLARiiON Server Support Products for Linux Servers ... or your upgrade kit ... EMC CLARiiON Server Support Products

a. On the storage-system support website, select the link todownload software.

b. Select the appropriate Navisphere CLI version to download andselect the option to save the zip file to your server.

c. At the command line prompt, navigate to the directory whereyou saved the zip file and unzip the file.

unzip Linux_navicli-version.zip

where version is the version listed in the filename.

d. Enter the following command to install the CLI package:

rpm -ivh navicli-version-build.noarch.rpm

where version and build are the version and build number for theNavisphere CLI.

The system displays the word navicli and a series of pound(#) signs. When the installation is complete, the system promptreappears.

5. To install the software from the server support CD (any storagesystem), do the following:

a. In the server’s drive, insert the server support CD that shippedwith your storage system or the upgrade kit (for AX4-5 series orAX series systems upgrading to Navisphere Manager).

b. From a console window, enter the following command:

mount /mnt/cdrom

The CD can also be mounted from either the Gnome or KDE desktop.

c. Change to the CD directory by entering the following command:

cd /mnt/cdrom

d. Change to the Linux directory by entering the followingcommand:

28 EMC CLARiiON Server Support Products for Linux Servers Installation Guide

Page 29: CLARiiON Server Support Products for Linux ... - emc.gm · PDF fileEMC CLARiiON Server Support Products for Linux Servers ... or your upgrade kit ... EMC CLARiiON Server Support Products

cd linux

This directory contains the Linux install packages.

e. Enter the following command to install the CLI package:

rpm -ivh navicli.noarch.rpm

The system displays the word navicli and a series of pound(#) signs. When the installation is complete, the system promptreappears.

f. If the File Manager window is open to the /mnt/cdrom directory,you need to close this window first before attempting tounmount the CD. Then enter the following commands:

cdumount /mnt/cdrom

6. Verify that Navisphere CLI is installed by using the rpm -qa | morecommand.

Modifying user login scripts

To use navicli commands at the root prompt without typing a leading./ before the commands (for example, ./navicli getagent), you mustmodify the $PATH environment variable in the user login script.

Follow the steps listed below to modify the environment variablePATH:

1. Add /opt/Navisphere/bin to $PATH:

PATH=$PATH:/opt/Navisphere/bin export PATH

To verify the path enter:

echo $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

EMC CLARiiON Server Support Products for Linux Servers Installation Guide 29

Page 30: CLARiiON Server Support Products for Linux ... - emc.gm · PDF fileEMC CLARiiON Server Support Products for Linux Servers ... or your upgrade kit ... EMC CLARiiON Server Support Products

3. If you are setting up a new server, go to Running the Navisphere HostAgent , page 34. If you are just upgrading the host agent or CLI onan existing system, you have finished the upgrade.

Removing the host agent and CLI from a Linux server

To avoid losing site-specific information, copy the agent configuration file(agent.config) to a safe location before removing any Navisphere software.

1. Log in as root or as a member of an administrative group.

2. Open a terminal window and depending on which version youare running, enter one of the following commands to stop the hostagent, and then uninstall the host agent and CLI files.

Version 6.16.x.x.x (or later)/etc/init.d/naviagent stoprpm -e naviagentcli | naviagent

Version 6.7.0.4.7 (or earlier)/etc/init.d/naviagent stoprpm -e naviagentcli-version | naviagent-versionFor example, rpm -e naviagentcli-6.7.0.4.7-1 or rpm -enaviagent-6.6.0.4.7-1

The system removes all files required to run the host agent and CLI.

A backup copy of the configuration file is saved in /etc/Navi-sphere/agent.config.rpmsave.

Removing the Navisphere CLI from a Linux server

1. Log in to the Linux server as root or as a member of anadministrative group.

2. Open a terminal window and enter the following command toremove CLI:

rpm -e navicli

The system removes all files required to run Navisphere CLI.

30 EMC CLARiiON Server Support Products for Linux Servers Installation Guide

Page 31: CLARiiON Server Support Products for Linux ... - emc.gm · PDF fileEMC CLARiiON Server Support Products for Linux Servers ... or your upgrade kit ... EMC CLARiiON Server Support Products

Configuring the Navisphere Host Agent

Before you can use the Navisphere CLI navicli register command toconfigure your storage system, you must make sure the host agentconfiguration file includes a privileged user, as described in Addingprivileged users, page 31.

The pathname of the host agent configuration file is /etc/Navisphere/agent.con-fig.

If you are configuring a legacy storage system, refer to revision A10 ofthis guide.

A legacy system is an FC series storage system that is not running storagemanagement server software.

Adding privileged users

If you will use Navisphere CLI to configure any storage system, thehost agent configuration file must include an entry that defines theperson who will issue the CLI commands as a privileged user.

To define a privileged user, add a local or remote privileged user byadding the appropriate entry below.

For a local user:

user name

For a remote user:

user name@hostname

where name is the person’s account name and hostname is the name ofthe remote server the person will be using.

The default host agent configuration file includes a user root entry.

Saving the host agent configuration file

1. Save the host agent configuration file.

EMC CLARiiON Server Support Products for Linux Servers Installation Guide 31

Page 32: CLARiiON Server Support Products for Linux ... - emc.gm · PDF fileEMC CLARiiON Server Support Products for Linux Servers ... or your upgrade kit ... EMC CLARiiON Server Support Products

2. If you have finished adding information to the host agentconfiguration file, stop and restart the host agent by entering thefollowing commands:

/etc/init.d/naviagent stop/etc/init.d/naviagent start

32 EMC CLARiiON Server Support Products for Linux Servers Installation Guide

Page 33: CLARiiON Server Support Products for Linux ... - emc.gm · PDF fileEMC CLARiiON Server Support Products for Linux Servers ... or your upgrade kit ... EMC CLARiiON Server Support Products

Using the event monitor configuration file

The Navisphere Host Agent can monitor storage-system events andtake such action as sending email or paging you if specified eventsoccur. The event monitor that ships with Navisphere Manager providesan interactive way to define these events and actions. If you do nothave event monitor, you can still define such events and actions byediting the event monitor configuration file.

/etc/Navisphere/Navimon.cfg

The file is self-documenting; that is, text in it describes how to defineevents and the actions you want taken if the events occur. You cantest the file after editing it using the Navisphere CLI commandresponsetest, as explained in the Navisphere Command Line InterfaceReference.

EMC CLARiiON Server Support Products for Linux Servers Installation Guide 33

Page 34: CLARiiON Server Support Products for Linux ... - emc.gm · PDF fileEMC CLARiiON Server Support Products for Linux Servers ... or your upgrade kit ... EMC CLARiiON Server Support Products

Running the Navisphere Host Agent

This section describes how to test the host agent connections and howto start and stop the host agent.

Starting and stopping the Navisphere Host Agent

The host agent starts automatically when you bring the server up toinit level 3. When you first start the host agent, look at the system logfor the server’s operating system to make sure the agent started and nodevice errors occurred. The system log is located in /var/log/messages.

When a storage system experiences heavy input/output traffic (that is,applications are using the storage system), information may not be reportedto the host agent in a timely manner, resulting in the host agent taking severalminutes to execute a storage-system management task. This behavior is mostevident when one host agent is managing multiple storage systems. Also, if theSP event log is large and the host agent configuration file is set up to read allevents, it may take a few minutes for the host agent to start.

Starting the host agent

Log in as root and enter this command:

/etc/init.d/naviagent start

Stopping the host agent

Log in as root and enter this command:

/etc/init.d/naviagent stop

Testing the host agent connections

Before continuing, you should test the host agent connections asfollows:

1. Start the host agent as described in Starting and stopping theNavisphere Host Agent, page 34.

2. Look for any errors on the console and in the operating system logto make sure the agent started and no device errors occurred.

34 EMC CLARiiON Server Support Products for Linux Servers Installation Guide

Page 35: CLARiiON Server Support Products for Linux ... - emc.gm · PDF fileEMC CLARiiON Server Support Products for Linux Servers ... or your upgrade kit ... EMC CLARiiON Server Support Products

3. Verify that the host agent on the server can see the storage systemas follows:

a. Enter the following CLI command:naviseccli |navicli [-d device]| -h hostname port-list -hba

You cannot specify both the –d switch and –h switch.

where:

[-d device] is the device name for the storage system (onlysupported with legacy systems).

-h hostname is the IP address of the SP.

For each HBA in the server, a listing similar to the following willbe displayed. For storage 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:ACServer Name: siux134Server IP Address: 128.221.208.134HBA Model Description:HBA Vendor Description:HBA Device Driver Name:Information about each port of this HBA:SP Name: spaHBA Devicename: sp0Trusted: NOLogged In: YESSource ID: 1Defined: YESInitiator Type: 0Storage Group Name:Storage Group 134

b. In the listing, examine the information for each HBA installed inthe host to verify the path from the HBA to the SP.

Host agent status and error logging

While the system is running, the operating system tracks informationabout host agent events and host agent errors, and places thisinformation in log files on the server.

EMC CLARiiON Server Support Products for Linux Servers Installation Guide 35

Page 36: CLARiiON Server Support Products for Linux ... - emc.gm · PDF fileEMC CLARiiON Server Support Products for Linux Servers ... or your upgrade kit ... EMC CLARiiON Server Support Products

The host agent error log tracks information about the host agent’sstartup, the host agent shutdown, and errors that might occur, such asthe host agent’s inability to access a device in the configuration file. Ifproblems occur, log files are a good place to start your troubleshooting.

Host agent events and errors are logged in /var/log/agent.log. Systemevents are logged in /var/log/messages.

36 EMC CLARiiON Server Support Products for Linux Servers Installation Guide

Page 37: CLARiiON Server Support Products for Linux ... - emc.gm · PDF fileEMC CLARiiON Server Support Products for Linux Servers ... or your upgrade kit ... EMC CLARiiON Server Support Products

Installing and removing the Navisphere Server Utility

This section describes how to install the Navisphere Server Utility.

IMPORTANT

If you have a Linux virtual machine, refer to one the following docs:

For VMware ESX Server systems – EMC CLARiiON Server SupportProducts for VMware ESX Servers and Virtual Machines InstallationGuide

For Windows Server 2008 with Hyper-V system– EMC CLARiiONServer Support Products for Windows Server 2008 with HyperInstallation Guide

If you do not know if your system is a virtual machine, consult yoursystem administrator.

Installing the Navisphere Server Utility on a Linux server

EMC recommends that you install the most recent version of theNavisphere Server Utility software that is appropriate for yourconfiguration. You can download the most recent version from thesoftware download page on the Powerlink website (CX4 series, CX3series, CX series, and AX4-5 series) or on the storage-system supportwebsite (AX series). You can also install the software from the serversupport CD (any storage system); however, the CD may not containthe most recent version for your configuration.

1. Log in to the root account.

2. At the command line prompt, look for any existing server utility:

rpm -qi naviserverutil

If you have an AX100 series storage system and a previous version of theserver utility was not detected with the command above, try entering rpm-qi axnaviserverutil.

3. If an earlier version of the software has been installed, you mustremove it before continuing.

EMC CLARiiON Server Support Products for Linux Servers Installation Guide 37

Page 38: CLARiiON Server Support Products for Linux ... - emc.gm · PDF fileEMC CLARiiON Server Support Products for Linux Servers ... or your upgrade kit ... EMC CLARiiON Server Support Products

rpm -e naviserverutil

4. To download the software for CX4 series, CX3 series, CX series, orAX4–5 series storage systems, do the following:

a. From the Navigator drop-down menu at the top right of thePowerlink website, select Software Downloads and Patches.

b. Select the appropriate Navisphere Server Utility version todownload and select the option to save the zip file to your server.

c. At the command line prompt, navigate to the directory whereyou saved the zip file and unzip the file.

unzip Linux_HOSTUTIL-version.zip

where version is the version listed in the filename.

d. Install the Navisphere Server Utility on the server:

Linux servers (except PLinux and SuSE ia64 servers):rpm -ivh naviserverutil.platform.rpm

Power Linux servers (version 6.28.10 or higher):rpm -ivh naviinittoolPowerPC-version-build.ppc64.rpm

SuSE ia64 servers:rpm -i naviserverutil_suseversion-build.platform.rpm

where version and build are the version number and the buildnumber of the server utility and platform is your Linux platformnumber (for example, i386, ia64, or x86-64).

If you are upgrading the utility on the server, use -U in place of -ivh.

The installation process adds a line to the /etc/rc.d/rc.local filethat starts the server utility on reboot, provided root has executepermission for the /etc/rc.d/rc.local file.

5. To download the software for AX series storage systems, do thefollowing:

38 EMC CLARiiON Server Support Products for Linux Servers Installation Guide

Page 39: CLARiiON Server Support Products for Linux ... - emc.gm · PDF fileEMC CLARiiON Server Support Products for Linux Servers ... or your upgrade kit ... EMC CLARiiON Server Support Products

a. On the storage-system support website, select the link todownload software.

b. Select the appropriate Navisphere Server Utility version todownload and select the option to save the zip file to your server.

c. At the command line prompt, navigate to the directory whereyou saved the zip file and unzip the file.

unzip Linux_HOSTUTIL-version.zip

where version is the version listed in the filename youdownloaded.

d. Install the Navisphere Server Utility on the server:

rpm -ivh naviserverutil.platform.rpm

For a SuSE ia64 system, use the following command:

rpm -i naviserverutil_suseversion-build.platform.rpm

where version and build are the version number and the buildnumber of the server utility and platform is your Linux platformnumber (for example, i386, ia64, or x86-64).

If you are upgrading the utility on the server, use -U in place of -ivh.

The installation process adds a line to the /etc/rc.d/rc.local filethat starts the server utility on reboot, provided root has executepermission for the /etc/rc.d/rc.local file.

6. To install the software from the server support CD (any storagesystem), do the following:

a. In the server’s drive, insert the server support CD, whichshipped with the storage system or the upgrade kit (for AX4-5series or AX series systems upgrading to Navisphere Manager).

b. From a console window, mount the CD using the mountcommand for your operating system version.

EMC CLARiiON Server Support Products for Linux Servers Installation Guide 39

Page 40: CLARiiON Server Support Products for Linux ... - emc.gm · PDF fileEMC CLARiiON Server Support Products for Linux Servers ... or your upgrade kit ... EMC CLARiiON Server Support Products

c. From the CD directory, change to the Linux directory byentering the following command:

cd linux

This directory contains the Linux install packages.

d. Install the Navisphere Server Utility on the server:

rpm -ivh naviserverutil.platform.rpm

For a SuSE ia64 system, use the following command:

rpm -i naviserverutil_suse.platform.rpm

where platform is your Linux platform number (for example,i386, ia64, or x86-64).

If you are upgrading the utility on the server, use -U in place of -ivh.

The installation process adds a line to the /etc/rc.d/rc.local filethat starts the server utility on reboot, provided root has executepermission for the /etc/rc.d/rc.local file.

e. Remove the CD from the server’s CD drive.

Removing the server utility from a Linux server

1. Log in as root or as a member of an administrative group.

2. Open a terminal window and, depending on which version of theserver utility is installed, enter the appropriate command to removethe server utility:

rpm -e naviserverutilorrpm -e axnaviserverutil

40 EMC CLARiiON Server Support Products for Linux Servers Installation Guide

Page 41: CLARiiON Server Support Products for Linux ... - emc.gm · PDF fileEMC CLARiiON Server Support Products for Linux Servers ... or your upgrade kit ... EMC CLARiiON Server Support Products

To determine which version is installed, enter rpm -qi naviserverutil orrpm -qi axnaviserverutil. If the utility is installed, information about theutility is displayed.

EMC CLARiiON Server Support Products for Linux Servers Installation Guide 41

Page 42: CLARiiON Server Support Products for Linux ... - emc.gm · PDF fileEMC CLARiiON Server Support Products for Linux Servers ... or your upgrade kit ... EMC CLARiiON Server Support Products

Running the Navisphere Server Utility

This section describes how to start and use the server utility. You canrun the server utility from the server or from the server support CD.

Starting the Navisphere Server Utility on a Linux server

1. Open a console window.

2. Navigate to the Navisphere bin directory and run the server utility:

/opt/Navisphere/bin/naviserverutilcli

Starting the Navisphere Server Utility on a Linux server from the CD

1. Log in to the root account.

2. In the server’s drive, insert the server support CD, which shippedwith the storage system or the upgrade kit (for AX4-5 series or AXseries systems upgrading to Navisphere Manager).

3. From a console window, mount the CD using the mount commandfor your operating system version.

4. From the CD directory, change to the Linux directory by enteringthe following command:

cd linux

This directory contains the Linux install packages.

5. Run the server utility:

./naviserverutilcli

Using the Navisphere Server Utility

The Navisphere Server Utility allows you to perform the followingfunctions:

Update server information on the storage system

Perform snapshot tasks (Navisphere Express only)

42 EMC CLARiiON Server Support Products for Linux Servers Installation Guide

Page 43: CLARiiON Server Support Products for Linux ... - emc.gm · PDF fileEMC CLARiiON Server Support Products for Linux Servers ... or your upgrade kit ... EMC CLARiiON Server Support Products

Generate a high-availablity report

Updating server information on the storage system

The Update Server Information option allows you to send informationabout the server to all connected storage systems. To update serverinformation, select option 1 from the server utility’s Welcome screen,and follow the instructions on the utility.

Performing snapshot tasks

For information on using the snapshot tasks option, refer to theNavisphere Express online help.

Generating a high-availability report

The Generate high availability report option (option 3) and thenaviserverutilcli hav command determine if the server is configuredfor high availability by verifying that the server has at least oneconnection path to each storage-system SP, and that PowerPath orsome other failover software, such as DMP, is running. The utility willnot detect any other native failover software, such as Linux nativemultipath (MPIO).

After the verification, the utility generates a summary report andsaves it to the server. If you issue the -upload switch with thenaviserverutilcli hav command, the utility also sends the report to thespecified storage system.

Generate a high-availability report to:

check the status of a server.

prepare for software installation on a storage system.

For AX4 systems only — Use the -upload switch to upload the HA reportto the storage system only if you will use the Navisphere Software Assistantto install new software. We strongly recommend that you use the SoftwareAssistant, and not the -ndu install command to update your software. The-ndu install command does not perform the same pre-installation validationchecks as the Software Assistant. The Software Assistant is included in theNavisphere Service Taskbar.

EMC CLARiiON Server Support Products for Linux Servers Installation Guide 43

Page 44: CLARiiON Server Support Products for Linux ... - emc.gm · PDF fileEMC CLARiiON Server Support Products for Linux Servers ... or your upgrade kit ... EMC CLARiiON Server Support Products

Checking the status of a serverTo periodically check the high-availability status of a server, you canselect option 3 from the server utility’s Welcome screen, and follow theinstructions in the utility to generate a high-availability report, or issuethe naviserverutilcli hav[-directory | -d outputdirectory] command.

where:

-directory | -doutputdirectory

Specifies the directory to which you want to deposit the reporton the server. This switch is required only if you are running theserver utility from the CD. Otherwise the report is automaticallysaved to the Navisphere Server Utility installation directory.

If the server utility is installed on your server and you specify a directory,the directory you specify will override the server utility’s installationdirectory.

Preparing for software installation on a storage systemIf you are generating a high-availability report as a prerequisite toupdating storage-system software, you need to upload this report to thestorage system prior to installing the software on the storage system.To generate and upload an HA report, issue the following commandfrom the directory in which you installed the utility:

naviserverutilcli hav -upload -ip IPaddress |-hIPaddress|network_name -user|-u username -password|-puserpassword -scope|-s scopelevel -secfilepath securityfilepath-port 443|2163 [-directory | -d outputdirectory]

where:

44 EMC CLARiiON Server Support Products for Linux Servers Installation Guide

Page 45: CLARiiON Server Support Products for Linux ... - emc.gm · PDF fileEMC CLARiiON Server Support Products for Linux Servers ... or your upgrade kit ... EMC CLARiiON Server Support Products

-ip IPaddress Specifies the IP address of an SP on the storage system to which youwill upload the report. You cannot use this switch in conjunction withthe -h switch.

-h IPaddress |network_name

Specifies the IP address or the network name of an SP on the storagesystem to which you will upload the report. You cannot use this switchin conjunction with the -ip switch.

-user | -uusername

Specifies the login name for the storage system. You must use this switchin conjunction with the -password | -p and -scope | -s switches. Youcannot use this switch in conjunction with the -secfilepath switch.

-password | -puserpassword

Specifies the password required for access to the storage system. Youmust use this switch in conjunction with the -user | -u and -scope | -sswitches. You cannot use this switch in conjunction with the -secfilepathswitch.

-scope | -sscopelevel

Specifies the level of access this username and password has to thestorage system: 0 = global; 1 = local; 2 = LDAP. You must use this switchin conjunction with the -user | -u and -password | -p switches. Youcannot use this switch in conjunction with the -secfilepath switch.

-secfilepathsecurityfilepath

Searches the security file for the specified IP address. If the utility doesnot find the specified IP address, then the utility will use the default entryin the security file.A security file is required to run this switch. For information on how tocreate a security file, refer to the EMC Navisphere Command Line (CLI)Reference guide.You cannot use this switch in conjunction with the -user | -u, -password |-p , and -scope | -s switches.

-port 443 | 2163 Specifies the Navisphere Management Server port number. The defaultis 443.

-directory | -doutputdirectory

Specifies the directory to which you want to deposit the report onthe server. This switch is required only if you are running the serverutility from the CD. Otherwise the report is automatically saved to theNavisphere Server Utility installation directory.If the server utility is installed on your server and you specify a directory,the directory you specify will override the server utility’s installationdirectory.

After uploading the HA reportIn addition to running the server utility to validate server highavailability, we strongly recommend that you perform the followingmanual checks.

EMC CLARiiON Server Support Products for Linux Servers Installation Guide 45

Page 46: CLARiiON Server Support Products for Linux ... - emc.gm · PDF fileEMC CLARiiON Server Support Products for Linux Servers ... or your upgrade kit ... EMC CLARiiON Server Support Products

Verify support of software and hardware — Make sure thatyou have verified that all software and hardware is supportedaccording to the EMC E-Lab™ Interoperability Navigator andsupport matrices.

This tool does not verify that you are running supported switch firmware,nor that you are using redundant switches (recommended).

Upgrading storage–system software — If you are about to performa storage-system online software upgrade or you added an HBA, aLUN, or changed connectivity (added a path or changed zoning):

Make sure that you have validated all software and hardwarethat are supported and interoperable according to EMC E-LabInteroperability Navigator and support matrices.

Verify that all LUNs (virtual disks) that your servers will accessduring the upgrade are under path management softwarecontrol. For servers running PowerPath and DMP, see theFailover Software section on the Details tab of the report andlocate these LUNs. If they are not in the list, the server will loseaccess to those LUNs during the software upgrade.

46 EMC CLARiiON Server Support Products for Linux Servers Installation Guide

Page 47: CLARiiON Server Support Products for Linux ... - emc.gm · PDF fileEMC CLARiiON Server Support Products for Linux Servers ... or your upgrade kit ... EMC CLARiiON Server Support Products

Installing and removing the Admsnap Utility

EMC strongly recommends that you install admsnap on all serversconnected to a storage system that has the SnapView driver installed.

IMPORTANT

If you have a Linux virtual machine, refer to one the following docs:

For VMware ESX Server systems – EMC CLARiiON Server SupportProducts for VMware ESX Servers and Virtual Machines InstallationGuide

For Windows Server 2008 with Hyper-V system– EMC CLARiiONServer Support Products for Windows Server 2008 with HyperInstallation Guide

If you do not know if your system is a virtual machine, consult yoursystem administrator.

Installation prerequisites

Before you can install and use the Admsnap Utility, you must:

Install SnapView on a supported CLARiiON storage system. Fora list of supported storage systems, refer to the release notes forSnapView and admsnap.

Enable data access control on the same CLARiiON storage system.

Installing the Admsnap Utility on a Linux Server

EMC recommends that you install the most recent version of theAdmsnap Utility software that is appropriate for your configuration.You can download the most recent version from the software downloadpage on the Powerlink website (CX4 series, CX3 series, CX series, andAX4-5 series) or on the storage-system support website (AX series).You can also install the software from the server support CD (anystorage system); however, the CD may not contain the most recentversion for your configuration.

1. Log in as root or as a member of an administrative group.

EMC CLARiiON Server Support Products for Linux Servers Installation Guide 47

Page 48: CLARiiON Server Support Products for Linux ... - emc.gm · PDF fileEMC CLARiiON Server Support Products for Linux Servers ... or your upgrade kit ... EMC CLARiiON Server Support Products

2. Open a terminal window and enter the following command to listany 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 as described in Removingthe Admsnap Utility from a Linux server, page 51.

4. To download the software for CX4 series, CX3 series, CX series, orAX4–5 series storage systems with Navisphere Manager, do thefollowing:

a. From the Navigator drop-down menu at the top right of thePowerlink website, select Software Downloads and Patches.

b. Select the appropriate Admsnap Utility version to downloadand select the option to save the zip file to your server.

c. At the command line prompt, navigate to the directory whereyou saved the zip file and unzip the file.

unzip admsnap_version.zip

where version is the version listed in the filename.

d. Install admsnap using the rpm -ivh command (Red Hat) or theyast command (SuSe).

Red Hat Linux users:

rpm -ivh admsnap-version-build.platform.rpm

SuSe Linux users:

yast -l SuSe_admsnap-version-build.platform.rpm

SuSe Linux users with PLinux (version 6.28.10 or higher):

yast -l admsnap_Linux_ppc64_enUS_version.rpm

The software is installed in the directory /usr/admsnap withthe following files:

/usr/admsnap/admsnap/usr/admsnap/man/man1/admsnap.1/usr/admsnap/readme

48 EMC CLARiiON Server Support Products for Linux Servers Installation Guide

Page 49: CLARiiON Server Support Products for Linux ... - emc.gm · PDF fileEMC CLARiiON Server Support Products for Linux Servers ... or your upgrade kit ... EMC CLARiiON Server Support Products

5. To install the software for AX series storage systems withNavisphere Manager, do the following:

a. On the storage-system support website, select the link todownload software.

b. Select the appropriate Admsnap Utility version to downloadsection and select the option to save the zip file to your server.

c. At the command line prompt, navigate to the directory whereyou saved the zip file and unzip the file.

unzip admsnap_version.zip

where version is the version listed in the filename.

d. Install admsnap using the rpm -ivh command (Red Hat) or theyast command (SuSe).

Red Hat Linux users — use the following command:

rpm -ivh admsnap-version-build.platform.rpm

where version and build are the version number and the buildnumber of the Admsnap Utility and platform is your Linuxplatform number.

SuSe Linux users — use the following command:

yast -i SuSe_admsnap-version-build.platform.rpm

where version and build are the version number and the buildnumber of the Admsnap Utility and platform is your Linuxplatform number (see the Red Hat examples above).

The software is installed in the directory /usr/admsnap withthe following files:

/usr/admsnap/admsnap/usr/admsnap/man/man1/admsnap.1/usr/admsnap/readme

6. To install the software from the server support CD (any storagesystem), do the following:

a. In the server’s drive, insert the server support CD that shippedwith your storage system or the upgrade kit (for upgradingAX4-5 series or AX series systems to Navisphere Manager).

EMC CLARiiON Server Support Products for Linux Servers Installation Guide 49

Page 50: CLARiiON Server Support Products for Linux ... - emc.gm · PDF fileEMC CLARiiON Server Support Products for Linux Servers ... or your upgrade kit ... EMC CLARiiON Server Support Products

b. From a console window, mount the CD using the mountcommand for your operating system version.

c. From the CD directory, change to the Linux directory byentering the following command:

cd linux

This directory contains the Linux install packages.

d. List the filenames on the CD:

ls

You will see four admsnap rpm packages for different platforms.These rpm packages are for the Intel 64-bit platform (ia64), AMDprocessor-based Linux or Intel Xeon-based Linux platform(x86_64), Intel 32-bit Linux platform (i386), and SuSE Linuxplatform (ia64).

e. Install admsnap using the rpm -ivh command (Red Hat) or theyast command (SuSe).

Red Hat Linux users — use the following command:

rpm -ivh admsnap.platform.rpm

where platform is your Linux platform number.

For example:

rpm -ivh admsnap.i386rpmrpm -ivh admsnap.ia64.rpmrpm -ivh admsnap.x86_64.rpm

SuSe Linux users — use the following command:

yast -i admsnap.platform.rpm

where platform is your Linux platform number (see the RedHat examples above).

The software is installed in the directory /usr/admsnap withthe following files:

50 EMC CLARiiON Server Support Products for Linux Servers Installation Guide

Page 51: CLARiiON Server Support Products for Linux ... - emc.gm · PDF fileEMC CLARiiON Server Support Products for Linux Servers ... or your upgrade kit ... EMC CLARiiON Server Support Products

/usr/admsnap/admsnap/usr/admsnap/man/man1/admsnap.1/usr/admsnap/readme

f. Unmount (umount) the CD file system by entering:cdumount /dev/cdrom

g. Remove the CD from its drive.

You have installed admsnap on a Linux server.

7. Verify that the correct version of admsnap is installed by enteringthe following command:

/usr/admsnap/admsnap help

This command displays a message about the help command, whichincludes the revision number of the installed admsnap software.

8. Configure MANPATH to access the Linux man pages. Editthe /etc/man.config file by adding the following lines:MANPATH /usr/admsnap/man

9. Configure sg devices by using the MAKEDEV utility. Forinformation on how to use the MAKEDEV utility, refer to theMAKEDEV man pages.

Removing the Admsnap Utility from a Linux server

1. Log in as root or as a member of an administrative group.

2. Open a terminal window and enter the following commandto list any admsnap package that is currently installed:rpm -q admsnap

3. To remove the previous version of the admsnap software, enter:

rpm -e namewhere name is the admsnap program name displayedby the command in step 2.

EMC CLARiiON Server Support Products for Linux Servers Installation Guide 51

Page 52: CLARiiON Server Support Products for Linux ... - emc.gm · PDF fileEMC CLARiiON Server Support Products for Linux Servers ... or your upgrade kit ... EMC CLARiiON Server Support Products

Running the Admsnap Utility

Refer to the EMC SnapView Command Line Interfaces Reference forinformation on running admsnap commands.

52 EMC CLARiiON Server Support Products for Linux Servers Installation Guide

Page 53: CLARiiON Server Support Products for Linux ... - emc.gm · PDF fileEMC CLARiiON Server Support Products for Linux Servers ... or your upgrade kit ... EMC CLARiiON Server Support Products

Copyright© 2004–2009 EMC Corporation. All Rights Reserved.

EMC believes the information in this publication is accurate as of its publication date. Theinformation is subject to change without notice.

THE INFORMATION IN THIS PUBLICATION IS PROVIDED "AS IS." EMC CORPORATIONMAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WITH RESPECT TOTHE INFORMATION IN THIS PUBLICATION, AND SPECIFICALLY DISCLAIMS IMPLIEDWARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.

Use, copying, and distribution of any EMC software described in this publication requires anapplicable software license.

For the most up-to-date regulatory document for your product line, go to the TechnicalDocumentation and Advisories section on EMC Powerlink.

For the most up-to-date listing of EMC product names, see EMC Corporation Trademarks onEMC.com

All other trademarks mentioned herein are the property of their respective owners.

EMC CLARiiON Server Support Products for Linux Servers Installation Guide 53