Tuesday, September 25, 2012

Storage Best Practices from different vendors on VMware vSphere

Here is a collection of storage Best Practices from different vendors on VMware vSphere.

HP

HP Enterprise Virtual Array (EVA) family with VMware vSphere 4.0, 4.1 and 5.0 Configuration Best practices
Download
Running VMware vSphere 4 on HP LeftHand P4000 SAN Solutions
Download
Best Practices for deploying VMware and vSphere 4 with VMware High Availability and Fault Tolerance on HP P4500 Multi-Site SAN cluster
Download
HP P4000 LeftHand Solutions with VMware vSphere Best Practices (incl. vSphere 5)
Download
3PAR Utility Storage with VMware vSphere
Download
HP P2000 Software  Plug-in for VMware VAAI
Download
HP 3PAR Storage and VMware vSphere 5 best practices
Download

NetApp

NetApp Storage Best Practices for VMware vSphere TR-3749
Version 3.0, last updated: December 2011
Download
NetApp Deploying VMware vCenter Site Recovery Manager 5 with NetApp FAS/V-Series Storage Systems
Version May 2012
Download

EMC

Using EMC VNX Storage with VMware vSphere
Version 1.0
Download
Using VMware vSphere with EMC Symmetrix Storage
Download
EMC Powerpath/VE for VMware vSphere Best Practices planning
Download

Dell


Configuring iSCSI Connectivity with VMware vSphere 5 and Dell EqualLogic PS Series Storage TR1075
V1.0 November 2011
Download

Disaster Recovery with Dell EqualLogic PS Series SAN and VMware vSphere Site Recovery Manager 5 TR1073
V1.0 September 2011
Download
Sizing and Best Practices for Deploying VMware View 4.5 on VMware vSphere 4.1 with Dell EqualLogic Storage
Download
Configure VMware vSphere Software ISCSI with Dell EqualLogic PS Series Storage
Download
Sizing and Best Practices for Microsoft Exchange 2010 on VMware vSphere and EqualLogic storage
Download
Dell EqualLogic iSCSI Volume Connection Count Maximum Characterization
Download

Hitachi

Optimizing the Hitachi Virtual Storage Platform in vSphere Environments
Download

IBM

IBM Storage N series and VMware vSphere Storage Best Practices
Download

IBM StorWize V7000 Unified: A feature-rich environment for VMware vSphere 5.0
Download

Monday, September 17, 2012

HP Custom image VMWare ESXi 5.1.0

Dear VMWare engineers (and others that uses wonderfull VMWare products), new version of VMWare HP Custom build images is available on following link:

https://my.vmware.com/web/vmware/details?downloadGroup=HP-ESXI-5.1.0-GA-10SEP2012&productId=285

1. VMware-ESXi-5.1.0-799733-HP-5.30.28.iso
MD5SUM:fa2763c0001252c7cff8324739855a9d SHA1SUM:8fc18964f2f35b37c1c35d3a1a8c112d62aa38ef

2.  VMware-ESXi-5.1.0-799733-HP-5.30.28.zip
MD5SUM:35934890d23bd6cea20732778964edf8 SHA1SUM:0a9d5f8fd45f03a51131ada29d61c0de63187627

To be able to use this version, keep in mind that it is needed to have up2date firmware on HP servers.
HP / VMWare cookbook is available on location: http://vibsdepot.hp.com/hpq/recipes/September2012VMwareRecipe2.0.pdf


New HP VMWare images have following bundles included:

SW Depot Product Base OS Image VIBs added to HP's images URLs for the bundles that contain the VIBs

5.1 Sept 2012 vSphere 5.1
Build 799733
char-hpcru 5.0.2.21-1OEM.500.0.0.434156 HP ESXi Offline Bundle for VMware ESXi 5.0 version 1.3
char-hpilo 500.9.0.0.9-1OEM.500.0.0.434156
hp-smx-provider 500.03.01.00.5-434156
hp-ams-esx-500.9.2.0-11.434156
hp-nmi - Version 500.2.0.11-434156 HP NMI Sourcing Driver for VMware ESXi 5.0 version 2.1
hpacucli-9.20.9.0.vib HP ESXi Utilities Offline Bundle for VMware ESXi 5.0 Version 1.3
hpbootcfg-01-01.02.vib
hponcfg-04-00.10.vib
char-hpilo-500.9.0.0.9-1OEM.500.0.0.434156.x86_64.vib
hp_vaaip_p2000 - Version 2.1.0-2 HP hpvaaip p2000
net-bnx2 - Version - 2.2.1l.v50.1-1 Broadcom NX2 package
net-bnx2x - Version - 1.72.54.v50.2-1
misc-cnic-register - Version - 1.72.1.v50.1-1
net-cnic - Version - 1.72.50.v50.1-1
scsi-bnx2fc - Version - 1.72.51.v50.1-1
scsi-bnx2i - Version - 2.72.10.v50.2-1
net-tg3 - Version 3.123b.v50.1-1 Broadcom tg3 Driver
net-mlx - Version – 1.6.1.2-1 Mellanox ConnectX Driver
net-qlcnic - Version 5.0.741-14 Qlogic qlcnic Driver
net-nx-nic - Version 5.0.614-3 Qlogic nx_nic Driver
net-igb - Version 3.2.10-1 Intel igb Driver
scsi-hpsa - Version 5.0.0-28 HP hpsa Driver
scsi-hpvsa - Version 5.0.0-36 HP hpvsa Driver
mpt2sas - Version 13.10.02.00.1 LSI mpt2sas Driver
scsi-qla2xxx - Version 911.k1.1-26 Qlogic qla2xxx Driver
scsi-qla4xxx - Version 624.01.43-1 Qlogic qla4xxx Driver Set
ima-qla4xxx - Version 500.2.01.31-1
bfa - Version 3.0.0.0-1 Brocade bfa Driver

Sunday, September 16, 2012

HP 8540w + LinuxMint 13 + un2420 Mobile Broadband Module

My HP EliteBook 8540w comes with un2420 Qualcomm Mobile Broadband Module which requires Gobi 2000 firmware and drivers. Next image shows how does it look like in Windows 7 Device Manager:

 In Windows/Linux dual boot environment if one starts Windows first (with installed drivers for un2420), Windows will preload firmware into un2420 module and it will work fine under Windows. Restarting machine (not truning it off), and starting Ubuntu afterwards will enable Ubunutu to see un2420 module in functional state since the firmware will survive restart and stay loaded inside module.

The problem is when Ubuntu is started first (after machine was turned off), then firmware is not preloaded in un2420 and linux cannot see module ready for communication.

Before loading Gobi firmware into un2420 module LinuxMint 13 Mate recognizes un2420 as (VEN=03f0,DEV=241d):

$lsusb
...
Bus 001 Device 003: ID 03f0:241d Hewlett-Packard Gobi 2000 Wireless Modem (QDL mode)
...


un2420 module LinuxMint setup



First of all one has to copy Gobi 2000 firmware binaries from Windows to LinuxMint. Gobi 2000 dirvers are three binary files;

C:\Program Files\QUALCOMM\Images\HP\0\uqcn.mbn
C:\Program Files\QUALCOMM\Images\HP\UMTS\amss.mbn
C:\Program Files\QUALCOMM\Images\HP\UMTS\apps.mbn


In Ubuntu create /lib/firmware/gobi/ folder and copy firmware files in it.

Then install gobi_loader;

$ sudo apt-get install gobi_loader


Now when you have Gobi 2000 firmware binaries and gobi loader tool installed you can manually load firmware into un2420 device with the following command:

$ sudo /lib/udev/gobi_loader -2000 /dev/ttyUSB0 /lib/firmware/gobi


Now after loading firmware into un2420 module Ubuntu recognizes it as (VEN=03f0,DEV=251d):
:

$lsusb
...
Bus 001 Device 005: ID 03f0:251d Hewlett-Packard Gobi 2000 Wireless Modem
...


Loading of firmware into un2420 will take few seconds and after that the dialog to insert SIM card PIN will pop up.

un2420 SIM unlock dialog

Now you can setup your WWAN device in Network Manager:

un2420 in Network Manager

Friday, September 14, 2012

CentOS 6 / SL 6 / RHEL 6 How to change wireless standard

1.create a file called /etc/modprobe.d/iwlwifi.conf with a single line like this:

options iwlwifi 11n_disable=1

2. Reboot (or "modprobe -r iwlwifi ; modprobe iwlwifi" as root).
This can help in case of problem with iwlwifi driver / card.
 
Found on:  https://bugzilla.redhat.com/show_bug.cgi?id=785239

Wednesday, September 12, 2012

CentOS 6.3 VMware ESXi 5 network interface problem

I’ve been running CentOS on VMware ESXi 5 hosts for quite some time without any problems. However, after updating CentOS 6.2 to CentOS 6.3 (using the trusty-old ‘yum update’) I found myself presented with the following problem after guest OS reboot:
Bringing up interface eth0: eth0: vmxnet_init_ring alloc_page failed.
RTNETLINK answers: cannot allocate memory
This error is typical for driver issues, so I quickly knew where to look.

Original text can be found on location:
http://www.syn-ack.org/vmware/centos-6-3-vmware-esxi-5-network-interface-problem/

Monday, September 10, 2012

RPMFORGE and EPEL Repos on CentOS 6.3 64bit

RPMFORGE:

rpm --import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt

wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
 
rpm -ivh rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm

EPEL:

rpm --import https://fedoraproject.org/static/0608B895.txt
 
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-7.noarch.rpm
 
rpm -ivh epel-release-6-7.noarch.rpm

Wednesday, August 29, 2012

Using rsync to Mirror Directories

The rsync utility can be used to mirror a directory locally or over a network. As the name implies, rsync synchronizes two directories. Key benefits of the utility include:
  • After the first copy, only differences in files are copied, not the entire file. This saves time and bandwidth.
  • rsync works with ssh so it can copy files securely over a network.
Command Basics and the slash

To copy a directory from one directory to another, they command line would be:
rsync -options --otherOptions sourceDir targetDir

Example 1: rsync -vaz ~/bk/ ~/test

This example copies the contents of the ~/bk directory to the test test directory.

Example 2: rsync -vaz ~/bk ~/test

This example creates a bk directory under the ~/test directory and recursively copies the contents of the ~/bk into this new directory. This is slighly different from the first example.

Command Line Options

A few command line options are listed in the previous example. Each of these options is described below.
Key rsync Options
Option Description
-v Turn on verbose mode
-a This turns on archive mode. Bascially this causes rsync to recurse the directory copying all the files and directories and perserving things like case, permissions, and ownership on the target. (Note: Ownership may not be preserved if you are not logged in as the root user.)
-z Turns on compression during the transfer. This option compresses the data as it is copied over the network.
 
Copying over ssh

To use ssh to copy the files over the network, just add the --rsh option to the command line. Simply specify the ssh command line as shown in the example. Also, to specify another machine as a target, precede the directory target with a host name and a colon.

Example 3: rsync -vaz --rsh="ssh -l username" ~/bk targetHost:~/test
After typing the command line, you will be prompted for your password. After entering the password, the command executes and your files are copied. You can also set the ssh command using the RSYNC_RSH environment variable. You can also avoid entering the ssh password if you use ssh keys.
 
The --exclude Option

This option allows you to exclude certain files and directories from the copy process. You can exclude by specific names or by using wildcards.
Example 4: rsync -vaz --exclude=log/ --exclude=*.xml ~/bk targetHost:~/test
In this example, the log directory is excluded from the copy as well as any file with a .xml extension.

The --delete Option

This option deletes any files that exist in your target directories but that do not exist in the source directory struction. Using this option truly keeps your files synchronized. However, use this option with caution. It can delete a lot of stuff on the target machine if you aren't careful.

How to use DiskSpd to simulate Veeam Backup & Replication disk actions

This HOW-TO contains information on how to use Microsoft© DiskSpd to simulate Veeam Backup & Replication disk actions to measure disk pe...