Home » Storage (EMC/NetApp)

Category Archives: Storage (EMC/NetApp)

Error 1720 installing EMC Powerpath and PPME.

I was trying to upgrade EMC powerpath from Powerpath v5.3 to v5.5 SP1. I uninstalled 5.3 using the windows utility and was then unable to re-install the latest version. Found that the previous uninstall was not successful. When tried to install Powerpath and PPME got the below error:

Error 1721. There is a problem with this windows installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor. Action: PP_Writ_To-XML-UninstMode, location:.. \Powerpath””MAINTENANCE_MODE””MODE””0″”CUR_STATE””D..”

Hence, in order to fix the issue copied same installation folder from another working server and executed the file named “PPREMOVEALL.exe”

This removed all dependent files and folders with registry values. After a reboot, I was then able to install Powerpath 5.3 SP1 successfully.

Thanks,
WintelAdmin

How to identify the SAN Disk in Windows 2008?

In order to perform a storage testing, one of the server were allocated with two different storage XtremIO and FED.
Both the lun were added to server as a drive. However, we had a confusion to find which drive was from which storage. Luckily, we were able to track the luns using diskpart.

1. Open command prompt.
2. Enter “Diskpart”.
3. Enter “list volume”.
4. Type “Select volume *” (* to be replaced with volume ID Ex:C,D,E/0,1,2, etc)
5. Execute “Detail Disk”

You would now be displayed with disk details and more information, which will help you to track your lun.

Thanks,
WintelAdmin

Robocopy: How to copy files to a another drive, or server – only if they have changed?

With the robocopy, we can use the below syntax to copy everything from “x:\source” to “\\server\x\dest” including sub-directories:

robocopy x:\source \\server\x\dest /e /r:0 /w:0

Robocopy will look for the date and time stamp of each file. If the file has not changed, it will skip it.

Usage of parameters is as follows:

/e – This will include sub-folders, even if empty

/r:0 – Retry on failure zero times. No retries in this example. It will keep restarting the copy on failure

/w:0 – The number of seconds to wait between failures

Above won’t do is delete files on the destination if they have been deleted on the source. This can be attained by using /purge option:

robocopy X:\source \\server\X\dest /e /r:0 /w:0 /purge

Note: Usage of /purge will delete files on the destination. If you have an empty directory in source, you will end up with an empty directory on the destination.

-WintelAdmin

How to update HBA BIOS Firmware and Driver (Qlogic)?

To obtain and install the new HBA BIOS Firmware and Driver , follow these steps:
1. Obtain the new BIOS. Locate the iSCSI BIOS on the QLogic Web site (support.qlogic.com) and click Download.
2. The File Download dialog box displays. Click Save. Specify a temporary location on the hard disk and download the file.
3. In the temporary directory, locate the BIOS file. Double-click the file to extract it to a specified directory.
4. Perform the following steps to update the BIOS:
5. In the SANsurfer iSCSI HBA Manager main window HBA tree, select the HBA port. Click on “Utilities” and then on “Update Flash”.
6. This will then ask for the “*.bin” file. Locate the file and click open. This is done.
7. Similarly, to update the HBA driver files, please click on “Update Driver”. Locate *.zip/*.inf/*.exe file and click open.
8. You will now required to reboot the server to view the new BIOS version.

EMC Powerpath license registration

I was supposed to register EMC powerpath in one of the servers and I did not have an proper idea to do so. I did not have the key with myself.

Then after a lots of googling I found the command to check the EMC powerpath registration status.

C:\Users\administrator>powermt check_registration
There are no license keys now registered.

Then I logged into another server, executed the same command and got the key.

C:\Users\administrator>powermt check_registration

Key XXXX-XXXX-XXXX-XXXX-XXXX-XXXX
Product: PowerPath
Capabilities: All

I then used the same key for the server using the command.

C:\Users\administrator>emcpreg -add XXXX-XXXX-XXXX-XXXX-XXXX-XXXX
Success: License added

I succeeded in registration.

EMC PowerPath Powermt Command

If your server has two HBA cards connected to EMC SAN storage device, you can implement load-balancing, and fail-over on the HBA cards using the EMC PowerPath software.

Powermt management utility helps you manage I/O paths from the server to the EMC storage device. In this article, let us discuss how to use powermt command with practical examples.

1. powermt display – Display High Level HBA I/O Paths

powermt display command (without any arguments), displays the available HBAs and their current status. The following examples, shows that there are 2 HBAs connected to the server, both the HBAs are in active condition with 2 I/O path’s each. qla2xxx indicates that it is using the Q-Logic HBA card.

This also indicates that the connected EMC device is CLARiiON, as it displays a value for “CLARiiON logical device count” as 1.

C:\Program Files\EMC\PowerPath> powermt display
Symmetrix logical device count=0
CLARiiON logical device count=1
Hitachi logical device count=0
Invista logical device count=0
HP xp logical device count=0
Ess logical device count=0
HP HSx logical device count=0
==============================================================================
—– Host Bus Adapters ——— —— I/O Paths —– —— Stats ——
### HW Path Summary Total Dead IO/Sec Q-IOs Errors
==============================================================================
1 qla2xxx optimal 2 0 – 0 0
2 qla2xxx optimal 2 0 – 0 0

2. powermt display dev=all – Display All Attached LUNs

This is the most frequently used powermt command, which will display all the attached logical devices to the server.

C:\Program Files\EMC\PowerPath> powermt display dev=all
Pseudo name=emcpowera
CLARiiON ID=AAA00000000000 [dev-server]
Logical device ID=1111111111111111111 [LUN 1]
state=alive; policy=CLAROpt; priority=0; queued-IOs=0
Owner: default=SP B, current=SP B Array failover mode: 1
==============================================================================
—————- Host ————— – Stor – — I/O Path – — Stats —
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
1 qla2xxx sdd SP A4 active alive 0 0
1 qla2xxx sde SP B4 active alive 0 0
2 qla2xxx sdf SP A5 active alive 0 0
2 qla2xxx sdg SP B5 active alive 0 0
Pseudo name=emcpowerb
CLARiiON ID=AAA00000000000 [dev-server]
Logical device ID=2111111111111111111 [LUN 2]
state=alive; policy=CLAROpt; priority=0; queued-IOs=0
Owner: default=SP A, current=SP A Array failover mode: 1
==============================================================================
—————- Host ————— – Stor – — I/O Path – — Stats —
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
1 qla2xxx sdh SP A4 active alive 0 0
1 qla2xxx sdi SP B4 active alive 0 0
2 qla2xxx sdj SP A5 active alive 0 0
2 qla2xxx sdk SP B5 active alive 0 0
The above indicates that there are two LUNs attached to the dev-server with 4 I/O paths from the server to the SAN storage device.

The above command output indicates the following:

Pseudo name=emcpowera – The device name that can be used by the server. For example, /dev/emcpowera.
CLARiiON ID=AAA00000000000 [dev-server] – EMC CLARiiON CX3 serial number and the server name.
Logical device ID=11111111 [LUN 1] – LUN number. For example, LUN 1.
state=alive; policy=CLAROpt; – This displays that this particular LUN is valid and using the CLAROpt policy.
Owner: default=SP B, current=SP B – This indicates that the default (and current) owner for this LUN is storage processor SP B.

3. powermt display dev=emcpowera – Display specific LUN

When there are multiple LUNs connected to a server, you might want to view information about a specific LUN by providing the logical name of the LUN as shown below.

C:\Program Files\EMC\PowerPath> powermt display dev=emcpowera
Pseudo name=emcpowera
CLARiiON ID=AAA00000000000 [dev-server]
Logical device ID=1111111111111111111 [LUN 1]
state=alive; policy=CLAROpt; priority=0; queued-IOs=0
Owner: default=SP B, current=SP B Array failover mode: 1
==============================================================================
—————- Host ————— – Stor – — I/O Path – — Stats —
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
1 qla2xxx sdd SP A4 active alive 0 0
1 qla2xxx sde SP B4 active alive 0 0
2 qla2xxx sdf SP A5 active alive 0 0
2 qla2xxx sdg SP B5 active alive 0 0
If the device is not available, you’ll get a “Bad dev value” as shown below.

C:\Program Files\EMC\PowerPath>powermt display dev=emcpowerc
Bad dev value emcpowerc, or not under Powerpath control.

4. powermt check_registration – Display PowerPath Registration Key / Status

If you’ve lost the PowerPath registration key that you’ve used during the EMC PowerPath installation, you can retrieve it using the following command.

C:\Program Files\EMC\PowerPath> powermt check_registration
Key AAAA-BBBB-CCCC-DDDD-EEEE-FFFF
Product: PowerPath
Capabilities: All

5. powermt display options – Display EMC PowerPath Options

Displays the high level EMC SAN array options as shown below.

C:\Program Files\EMC\PowerPath> powermt display options
Default storage system class: all
Show CLARiiON LUN names: true
Path Latency Monitor: Off
Path Latency Threshold: 0 Sec.
Storage
System Class Attributes
———— ———-
Symmetrix periodic autorestore = on
status = managed
CLARiiON periodic autorestore = on
status = managed
Hitachi periodic autorestore = on
status = managed
Invista periodic autorestore = on
status = managed
HP xp periodic autorestore = on
status = managed
Ess periodic autorestore = on
status = managed
HP HSx periodic autorestore = on
status = managed

6. powermt display hba_mode – Display PowerPath HBA Mode

This is similar to #1, but displays whether hba is enabled or not, as shown in the last column of the output.

7. powermt display path – Display available I/O Paths.

This displays all available path for your SAN device.

C:\Program Files\EMC\PowerPath> powermt display paths
Symmetrix logical device count=0
==============================================================================
—– Host Bus Adapters ——— —— Storage System —– – I/O Paths –
### HW Path ID Interface Total Dead
==============================================================================
CLARiiON logical device count=1
==============================================================================
—– Host Bus Adapters ——— —— Storage System —– – I/O Paths –
### HW Path ID Interface Total Dead
==============================================================================
1 qla2xxx AAA00000000000 SP A4 1 0
1 qla2xxx AAA00000000000 SP B4 1 0
2 qla2xxx AAA00000000000 SP A5 1 0
2 qla2xxx AAA00000000000 SP B5 1 0
Hitachi logical device count=0
==============================================================================
—– Host Bus Adapters ——— —— Storage System —– – I/O Paths –
### HW Path ID Interface Total Dead
==============================================================================
Invista logical device count=0
==============================================================================
—– Host Bus Adapters ——— —— Storage System —– – I/O Paths –
### HW Path ID Interface Total Dead
==============================================================================
HP xp logical device count=0
==============================================================================
—– Host Bus Adapters ——— —— Storage System —– – I/O Paths –
### HW Path ID Interface Total Dead
==============================================================================
Ess logical device count=0
==============================================================================
—– Host Bus Adapters ——— —— Storage System —– – I/O Paths –
### HW Path ID Interface Total Dead
==============================================================================
HP HSx logical device count=0
==============================================================================
—– Host Bus Adapters ——— —— Storage System —– – I/O Paths –
### HW Path ID Interface Total Dead
==============================================================================

8. powermt displays port_mode – Display Port Status

Displays the status of the individual ports on the HBA. i.e Whether the port is enabled or not.

C:\Program Files\EMC\PowerPath> powermt display port_mode
Storage class = Symmetrix
==============================================================================
———– Storage System ————— — I/O Paths — — Stats —
ID Interface Wt_Q Total Dead Q-IOs Mode
==============================================================================
Storage class = CLARiiON
==============================================================================
———– Storage System ————— — I/O Paths — — Stats —
ID Interface Wt_Q Total Dead Q-IOs Mode
==============================================================================
AAA00000000000 SP A4 256 1 0 0 Enabled
AAA00000000000 SP B4 256 1 0 0 Enabled
AAA00000000000 SP A5 256 1 0 0 Enabled
AAA00000000000 SP B5 256 1 0 0 Enabled

9. powermt version – Display EMC PowerPath Version

How to identify the version number of EMC PowerPath software?

C:\Program Files\EMC\PowerPath> powermt version
EMC powermt for PowerPath (c) Version 5.3 (build 185)

10. powermt check – Check the I/O Paths

If you have made changes to the HBA’s, or I/O paths, just execute powermt check, to take appropriate action. For example, if you have manually removed an I/O path, check command will detect a dead path and remove it from the EMC path list.

C:\Program Files\EMC\PowerPath> powermt check
Warning: storage_system I/O path path_name is dead.
Do you want to remove it (y/n/a/q)?
Note: If you want powermt to automatically remove all dead paths, without any confirmation, execute “powermt check force”.

11. powermt set mode hba – Forcefully set the mode for a specific HBA

You can change the mode of a specific HBA to either standby or active using this command. Following example, changes HBA #1′s mode from active to standby.

C:\Program Files\EMC\PowerPath> powermt set mode=standby hba=1
After the above command, you can see the mode for HBA#1 changed to standby, as shown below.

C:\Program Files\EMC\PowerPath> powermt display dev=all
Pseudo name=emcpowera
CLARiiON ID=AAA00000000000 [dev-server]
Logical device ID=1111111111111111111 [LUN 1]
state=alive; policy=CLAROpt; priority=0; queued-IOs=0
Owner: default=SP B, current=SP B Array failover mode: 1
==============================================================================
—————- Host ————— – Stor – — I/O Path – — Stats —
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
1 qla2xxx sdd SP A4 standby alive 0 0
1 qla2xxx sde SP B4 standby alive 0 0
2 qla2xxx sdf SP A5 active alive 0 0
2 qla2xxx sdg SP B5 active alive 0 0
Note: Path mode can also be “unlic” indicating that you’ve not registered the PowerPath with proper License key.

Note: Some powermt commands (for example, powermt set port_disable), is restricted to certain platform and storage type — On AIX and Solaris, only Fibre channel is supported. On HP-UX, only iSCSI and Fibre are supported. On Linux, Only iSCSI (HBAs) and Fibre are supported.

12. powermt remove – Delete an I/O Path

Use this command to remove any specific I/O path (or) a whole device.

The following example has 4 I/O Paths.

C:\Program Files\EMC\PowerPath> powermt display dev=all
==============================================================================
—————- Host ————— – Stor – — I/O Path – — Stats —
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
1 qla2xxx sdd SP A4 standby alive 0 0
1 qla2xxx sde SP B4 standby alive 0 0
2 qla2xxx sdf SP A5 active alive 0 0
2 qla2xxx sdg SP B5 active alive 0 0
To remove I/O Path sdd, execute the following powermt remove command.

C:\Program Files\EMC\PowerPath> powermt remove dev=sdd

C:\Program Files\EMC\PowerPath> powermt display dev=all
==============================================================================
—————- Host ————— – Stor – — I/O Path – — Stats —
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
1 qla2xxx sde SP B4 standby alive 0 0
2 qla2xxx sdf SP A5 active alive 0 0
2 qla2xxx sdg SP B5 active alive 0 0
Following will remove all I/O Path for a particular device. i.e To remove /dev/emcpowera, do the following. If the /dev/emcpowera is mounted and used by some program, following command will not work.

C:\Program Files\EMC\PowerPath> powermt remove dev=emcpowera

13. powermt config – Configure PowerPath

This command checks for available EMC SAN logical devices and add those to PowerPath configuration list. Powermt config command, sets some of the options to it’s default values. For example, write throttling = off, HBA mode = active, CLARiiON policy = CLAROpt, etc.

Possible EMC SAN LUN policy values are: Adaptive, BasicFailover, CLAROpt, LeastBlocks, LeastIos, NoRedirect, Request, RoundRobin, StreamIO, or SymmOpt.

After you execute the powermt config, if you don’t like any of the default values, you should change it accordingly.

C:\Program Files\EMC\PowerPath> powermt config

14. powermt restore – Make Dead I/O Path Alive

If you have dead I/O paths, and if you’ve done something to fix the issue, you can request PowerPath to re-check the paths and mark it as active using powermt restore command.

When you execute powermt restore, it does an I/O path check. If a previously dead path is alive, it will be marked as alive, and if a previously alive path is dead, it will be marked as dead.

For some reason, if you see the default owner and the current owner of a particular LUN is not the same storage processor, then execute the following command, which will make the current owner of the LUN same as the default owner.

C:\Program Files\EMC\PowerPath> powermt restore dev=all
Instead of dev, you can also specify class in the powermt restore command. Class can be one of the following depending on your system.

symm – Symmetrix
clariion – CLARiiON
invista – Invista
ess – IBM ESS
hitachi – Hitachi Lightning TagmaStore
hpxp – HP StorageWorks XP, or EVA series
hphsx – HP StorageWorks EMA, or MA
all – All systems

What is World Wide Name (WWN)

A World Wide Name, or WWN, is a 64-bit address used in fibre channel networks to uniquely identify each element in a Fibre Channel network.

Soft Zoning utilizes World Wide Names to assign security permissions.

The use of World Wide Names for security purposes is inherently insecure, because the World Wide Name of a device is a user-configurable parameter.

For example, to change the World Wide Name (WWN) of an Emulex HBA, the users simply needs to run the `elxcfg` command.

HEAT Report Generation (Host Environment Analysis Tool)

The Host Environment Analysis Tool (HEAT) is a Web-based application that Processes the output of the EMCReports script for the Windows Hosts.

In order to generate a HEAT report login to the EMC POWERLINK website:

https://powerlink.emc.com

Once you are successfully logged into the site with the valid user name and password, kindly follow the below link:

Home > Support > Product and Diagnostic Tools > Environment Analysis Tools > Host Environment Analysis Tool (HEAT)

Visit the Host Environment Analysis Tool (HEAT) Website

https://servicetools.emc.com/heat.php

Upload the latest EMC grab report and then you will find the complete HEAT report. You could also send the same file to your registered mail is.

EMC Grabs Report Downloads Links

EMC Grabs Reports Latest Version downloads for Windows, Solaris, Linux, AIX, HP-UX, IRIX, REliantUNIX, OSF1 and for Heat Reports as well, find below the download link –

You need to have user id and password to login into http://www.powerlink.emc.com

ftp://ftp.emc.com/pub/emcgrab/Windows
ftp://ftp.emc.com/pub/emcgrab/Unix

To view this FTP site in Windows Explorer, click Page, and then click Open FTP Site in Windows Explorer.

NAS Vs SAN

NAS – Network Attached Storage:

1. Any machine that can connect to the LAN can use NFS, CIFS or HTTP protocol to connect to a NAS and share files.
2. A NAS identifies data by file name.
3. NAS allows greated sharing of information between disperate Operating systems such as Unix and NT.
4. File System handled by NAS head unit.
5. Backups and mirrors are done on files and not on blocks for savings in bandwidth and time.

SAN – Storage Area Network:

1. Only server class devices with SCSI Fibre channel can connect to the SAN.
2. SAN address data by disk block number and transfer raw disk blocks.
3. File sharing is operating system dependent and does not exist in many Operating systems.
4. File system handled by servers.
5. Backups and mirrors requires a block by block copy even if the block is empty.

Types of networks supported
NAS uses TCP/IP Networks: Ethernet, FDDI, ATM (perhaps TCP/IP over Fiber Channel someday)
SAN uses Fiber Channel

The Protocols
NAS uses TCP/IP and NFS/CIFS/HTTP
SAN uses Encapsulated SCSI

NAS works best for these types of applications:
File serving
File sharing
Users’ home directories
Content archiving
Metadata directories
E-mail repositories, such as enterprise .PST files
GRID computing (using 10 Gigabit Ethernet)
Peer-to-peer data sharing

SAN works best for these types of applications:
Databases
Server clustering
Messaging applications
Backup
Data replication
GRID computing
Data warehousing
Recovery archives


Visitors Count

Subscriber Count

    3891
April 2017
M T W T F S S
« Feb    
 12
3456789
10111213141516
17181920212223
24252627282930