Tuesday, January 24, 2012

ESXi cli

Some quick command with ESXi command line

C:\Program Files\VMware\VMware vSphere CLI\bin

Check and see if powerpath is installed:

C:\>vihostupdate.pl --query --server <server> --username root
Enter password:
---------Bulletin ID--------- -----Installed----- ----------------Summary-----------------
ESX400-Update01               2011-10-22T16:21:24 VMware ESX 4.0 Complete Update  1
EMC-PP5.4.1.00.00-b033        2011-10-26T08:28:48 PowerPath 5.4.SP1 for ESX


What pathmgmt software is managing multipathing per device:
C:\>esxcli --server <server> corestorage claimrule list

Enter username: root
Enter password:
Rule  Class   Type      Plugin    Matches
----  -----   ----      ------    -------
0     runtime transport NMP       transport=usb
1     runtime transport NMP       transport=sata
2     runtime transport NMP       transport=ide
3     runtime transport NMP       transport=block
4     runtime transport NMP       transport=unknown
101   runtime vendor    MASK_PATH vendor=DELL model=Universal Xport
101   file    vendor    MASK_PATH vendor=DELL model=Universal Xport
250   runtime vendor    PowerPath vendor=DGC model=*
250   file    vendor    PowerPath vendor=DGC model=*
260   runtime vendor    PowerPath vendor=EMC model=SYMMETRIX
260   file    vendor    PowerPath vendor=EMC model=SYMMETRIX
270   runtime vendor    PowerPath vendor=EMC model=Invista
270   file    vendor    PowerPath vendor=EMC model=Invista
280   runtime vendor    PowerPath vendor=HITACHI model=OPEN
280   file    vendor    PowerPath vendor=HITACHI model=OPEN
290   runtime vendor    PowerPath vendor=HP model=OPEN
290   file    vendor    PowerPath vendor=HP model=OPEN
300   runtime vendor    PowerPath vendor=COMPAQ model=HSV111
300   file    vendor    PowerPath vendor=COMPAQ model=HSV111
310   runtime vendor    PowerPath vendor=HP model=HSV111
310   file    vendor    PowerPath vendor=HP model=HSV111
320   runtime vendor    PowerPath vendor=HP model=HSV210
320   file    vendor    PowerPath vendor=HP model=HSV210
330   runtime vendor    PowerPath vendor=EMC model=Celerra
330   file    vendor    PowerPath vendor=EMC model=Celerra
65535 runtime vendor    NMP       vendor=* model=*

Get a listing of all scsi devices on the ESX server and determine if PowerPath is managing the devices
C:\>vicfg-scsidevs.pl --l --server 10.127.79.58 --username root --password <password>

mpx.vmhba3:C0:T0:L0
   Device Type: cdrom
   Size: 0 MB
   Display Name: Local HL-DT-ST CD-ROM (mpx.vmhba3:C0:T0:L0)
   Plugin: NMP
   Console Device: /vmfs/devices/genscsi/mpx.vmhba3:C0:T0:L0
   Devfs Path: /vmfs/devices/genscsi/mpx.vmhba3:C0:T0:L0
   Vendor: HL-DT-ST  Model: RW/DVD GCC-4244N  Revis: 2.00
   SCSI Level: 5  Is Pseudo:   Status:
   Is RDM Capable:  Is Removable:
   Other Names:
      vml.0005000000766d686261333a303a30

naa.600601602b40230018637b9ca9fee011
   Device Type: disk
   Size: 20480 MB
   Display Name: DGC Fibre Channel Disk (naa.600601602b40230018637b9ca9fee011) L
UN1582
   Plugin: PowerPath
   Console Device: /vmfs/devices/disks/naa.600601602b40230018637b9ca9fee011
   Devfs Path: /vmfs/devices/disks/naa.600601602b40230018637b9ca9fee011
   Vendor: DGC       Model: RAID 5            Revis: 0429
   SCSI Level: 4  Is Pseudo:   Status:
   Is RDM Capable:  Is Removable:
   Other Names:
      vml.0200040000600601602b40230018637b9ca9fee011524149442035


Tuesday, November 1, 2011

How do I get Java browser support on Google Chrome on Ubuntu Linux?

Today I was asked is there a way to run Linux Google Chrome with Java support?
Run the following command and then restart your browser:
sudo apt-get install sun-java6-jre sun-java6-plugin 

Wednesday, October 26, 2011

Turn on/off GUI at startup on Linux

Someone asked me today about shutting off the GDM at boot. To enable/disable GUI at startup. You just have to change the default run-level at startup. Edit the file /etc/inittab and change the line to enable the GUI:
id:5:initdefault:
To disable it:
id:3:initdefault:

Tuesday, October 25, 2011

Battlefield 3 is finally here

First there was the alpha (very exciting), then the not so hot beta.... but I'm loving the final product. Thank you Dice! It was worth the wait.

Home PC Speed differences

I was wondering what the I/O read performance was in my home gaming PC.
For this set of tests I'm using:
Here are my simple benchmark results on my PC:
Western Digital Caviar Black 1.5TB
OCZ-Agility3 60GB
OCZ-Vertex3 120GB
Clearly the OCZ-Vertex3 is a clear winner.

Random access results
To simulate the behaviour on Windows Vista and
Windows 7 systems I made all the read tests have a 4 KB alignment.
Western Digital Caviar Black 1.5TB
OCZ-Agility3 60GB
OCZ-Vertex3 120GB
The two OCZ SDDs come out much closer in the random read.

Other tests using a test capacity of 32 gB
WDC WD1502FAEX-007BA0 
Random seek 156 IOPS 6.398 ms 0.076 MB/s
Random seek 4 KB 162 IOPS 6.183 ms 0.632 MB/s
Butterfly seek 147 IOPS 6.786 ms 0.072 MB/s
Random seek / size 64 KB 153 IOPS 6.556 ms 2.345 MB/s
Random seek / size 8 MB 28 IOPS 35.652 ms 113.734 MB/s
Sequential outer 2331 IOPS 0.429 ms 145.667 MB/s
Sequential middle 2331 IOPS 0.429 ms 145.673 MB/s
Sequential inner 2399 IOPS 0.417 ms 149.939 MB/s
Burst rate 3131 IOPS 0.319 ms 195.677 MB/s

Transfer size operations / sec avg. access time max. access time avg. speed
512 bytes 146 IOPS 6.803 ms 23.899 ms 0.072 MB/s
4 KB 152 IOPS 6.543 ms 11.403 ms 0.597 MB/s
64 KB 143 IOPS 6.979 ms 12.246 ms 8.955 MB/s
1 MB 69 IOPS 14.324 ms 31.717 ms 69.812 MB/s
Random 92 IOPS 10.789 ms 27.403 ms 47.025 MB/s

OCZ-AGILITY3 
Random seek 4861 IOPS 0.206 ms 2.373 MB/s
Random seek 4 KB 4660 IOPS 0.215 ms 18.203 MB/s
Butterfly seek 4852 IOPS 0.206 ms 2.369 MB/s
Random seek / size 64 KB 3748 IOPS 0.267 ms 57.634 MB/s
Random seek / size 8 MB 48 IOPS 21.020 ms 192.907 MB/s
Sequential outer 2791 IOPS 0.358 ms 174.412 MB/s
Sequential middle 2796 IOPS 0.358 ms 174.724 MB/s
Sequential inner 3462 IOPS 0.289 ms 216.391 MB/s
Burst rate 2505 IOPS 0.399 ms 156.560 MB/s

Transfer size operations / sec avg. access time max. access time avg. speed
512 bytes 4985 IOPS 0.200 ms 0.317 ms 2.435 MB/s
4 KB 4678 IOPS 0.213 ms 1.844 ms 18.276 MB/s
64 KB 2162 IOPS 0.462 ms 1.444 ms 135.166 MB/s
1 MB 190 IOPS 5.237 ms 9.869 ms 190.927 MB/s
Random 370 IOPS 2.701 ms 7.150 ms 187.842 MB/s

OCZ-VERTEX3 Extra Tests
Random seek 4490 IOPS 0.223 ms 2.193 MB/s
Random seek 4 KB 4338 IOPS 0.230 ms 16.947 MB/s
Butterfly seek 4669 IOPS 0.214 ms 2.280 MB/s
Random seek / size 64 KB 3539 IOPS 0.283 ms 54.410 MB/s
Random seek / size 8 MB 54 IOPS 18.469 ms 219.556 MB/s
Sequential outer 2951 IOPS 0.339 ms 184.419 MB/s
Sequential middle 2964 IOPS 0.337 ms 185.240 MB/s
Sequential inner 2968 IOPS 0.337 ms 185.499 MB/s
Burst rate 3289 IOPS 0.304 ms 205.590 MB/s

Transfer size operations / sec avg. access time max. access time avg. speed
512 bytes 4591 IOPS 0.217 ms 0.323 ms 2.242 MB/s
4 KB 4460 IOPS 0.224 ms 1.088 ms 17.424 MB/s
64 KB 2183 IOPS 0.457 ms 1.340 ms 136.465 MB/s
1 MB 213 IOPS 4.685 ms 5.948 ms 213.424 MB/s
Random 401 IOPS 2.487 ms 6.497 ms 203.942 MB/s

Btw while I'm in the need of an upgrade, my gaming system is an:
  • Windows7
  • Intel i7 860  Lynnfield (Socket 1156 LGA) @ 2.80GHz
  • P55 Dell 0x231R mobo, 8GB DDR3
  • Radeon HD6970 2GB
In a later blog, I'll repeat the same tests on various other storage devices, including EMC CLARiiON CX4 and maybe VNX.