Archive for the ‘EMC’ Category

Install Solutions Enabler on Linux

Monday, December 14th, 2009

Installing solutions enabler on Redhat/Centos 5.x will fail, it looks like latest version of Redhat/Centos that work with Solutions Enabler is 4.8. To install Solutions Enabler to Redhat/Centos 4.8, gunizip and untar file you have downloaded from powerlink and run (this will install with all default):

[root@labhost12 emc]# ./se6520_install.sh -install -silent

#—————————————————————————-
# EMC Installation Manager
#—————————————————————————-
Copyright 2007, EMC Corporation
All rights reserved.

The terms of your use of this software are governed by the
applicable contract.

Solutions Enabler Native Installer[RT] Kit Location : /root/emc

Checking for OS version compatibility……
Checking for previous installation of Solutions Enabler……

Checking for active processes…..
Checking for /usr/symcli/storbin/cimserver…
Checking for /usr/symcli/bin/symapisrv…

Checking for active SYMCLI components…

Checking for LIBGCC version compatibility……

Checking for disk space availability….

Installing symcli-datacore-V6.5.2-0.i386.rpm…..

Installing symcli-datastorbase-V6.5.2-0.i386.rpm…..

Installing symcli-core-V6.5.2-0.i386.rpm…..

Installing symcli-storbase-V6.5.2-0.i386.rpm…..

Installing symcli-srmbase-V6.5.2-0.i386.rpm…..

Installing symcli-storfull-V6.5.2-0.i386.rpm…..

Installing symcli-symcli-V6.5.2-0.i386.rpm…..

Installing symcli-star_perl-V6.5.2-0.i386.rpm…..

Installing symcli-symrecover-V6.5.2-0.i386.rpm…..

Installing symcli-64bit-V6.5.2-0.x86_64.rpm…..

Creating OPENSSL Certificate….

Enabling stordaemon…

Do not forget to run ‘symcfg discover’ after the installation
completes and whenever your configuration changes.

You may need to manually rediscover remotely connected
arrays. Please see the installation notes for further
information.

#—————————————————————————–
# The following HAS BEEN INSTALLED in /opt/emc via the rpm utility.
#—————————————————————————–
ITEM PRODUCT VERSION
01 EMC Solutions Enabler V6.5.2.0
RT KIT
#—————————————————————————–

That will install symcli commands to /opt/emc/SYMCLI/V6.5.2/bin

Now you need to copy symapi license key file in its place, and you are done.

Disk partition aligment

Monday, November 2nd, 2009

Misaligned partitions can affect disk I/O peformance by 30% or more for random I/O. Test on this page http://sqlblog.com/blogs/linchi_shea/archive/2007/02/01/performance-impact-of-disk-misalignment.aspx confirm that.

The article below is from “EMC Host Connectivity Guide for Linux” and is described for CLARiiONs, but it equally applies to LUNs provided by other storage arrays:

File-system misalignment affects performance in two ways:

? Misalignment causes disk crossing: an I/O broken across two
drives (where normally one would service it).
? Misalignment makes it hard to stripe-align large uncached writes.

The first case is more commonly encountered. Even if the disk
operations are buffered by cache, the effect can be detrimental, as it
will slow flushing from the cache. Random reads, which by nature
require disk access, are also affected, both directly (waiting for two
drives in order to return data) and indirectly (making the disks busier
than they need to be).
Alignment issues only affect striped LUNs, so RAID 1 is not affected.
However, two disk RAID 1/0 groups are now allowed. They will use
striping once expanded to four or more disks and should be aligned
from the outset.
For greater detail on this and other performance issues regarding the
CLARiiON array, please refer to Powerlink and search for EMC
CLARiiON Best Practices for Fibre Channel Storage.
Aligning the partition
In Linux, align the partition table before data is written to the LUN as
the partition map will be rewritten and all data on the LUN
destroyed. In the following example, the LUN is mapped to
/dev/emcpowerah, and the LUN stripe element size is 128 blocks.
Arguments for the fdisk(8) utility are as follows:
root #> fdisk /dev/emcpowerah

enter x expert mode
enter b adjust starting block number
enter 1 choose partition 1
enter 128 set it to 128, our stripe element size
enter w write the new partition

This method is preferable to the Navisphere LUN alignment offset
method for LUNs that will have a snapshot, BCV, or MirrorView
image made of them. It is preferred for SANCopy sources and targets
as well.

Here is process for partition alignment for windows (from http://technet.microsoft.com/en-us/library/aa995867%28EXCHG.65%29.aspx):

To align Exchange I/O with storage track boundaries using Diskpart.exe

1.

If the disk you are aligning is already blank (raw), proceed to Step 3. If the disk contains data, backup the disk before proceeding.
2.

Delete all partitions on the disk.
3.

Open a command prompt, and execute Diskpart.exe.
4.

At the Diskpart command prompt, type List Disk and press Enter. If the disk you want to align does not appear in the list make sure that it exists and is accessible using the Disk Management snap-in.
5.

At the Diskpart command prompt, type Select Disk X, where X is the number of the disk as shown in the output of the List Disk command. Diskpart should return a message that indicates that Disk X is the selected disk.
6.

At the Diskpart command prompt, type Create Partition Primary Align=X, where X is either 32 or 64, depending on the recommendation from your storage vendor. If your storage vendor does not have any specific recommendations, it is recommended that you use 64.
7.

At the Diskpart command prompt, type Assign Letter=. For example, to assign letter Z to the disk, type Assign Letter=Z.
8.

Once the drive letter is assigned, type exit to exit out of the Diskpart utility.
9.

Use the Disk Management snap-in or the Windows Format command to format the partition as an NTFS-formatted partition.

Vista seems to be aligning its disk partitions while XP 32-bit and 64-bit are not.