Amazon Ad

Featured Post

Saturday, January 12, 2019

How to convert a standard LUN to RDM



Clean up stale iSCSI devices


esxcli storage core claiming unclaim -t device -d t10.IET_____000100170000000000000000000000000000000000000000esxcli storage core claiming unclaim -t vendor -v

For more information:

Wednesday, January 09, 2019

VDBench 4 Corner Performance Tests Configuration


* Four corners testing

messagescan=no
ios_per_jvm=300000

hd=default,vdbench=/home/john/vdb,user=root,shell=ssh,jvms=32
hd=localhost,system=srv31.acme.com
hd=storage1.acme.com,system=srv21.acme.com
hd=storage2.acme.com,system=srv22.acme.com
hd=storage3.acme.com,system=srv23.acme.com
hd=storage4.acme.com,system=srv24.acme.com
hd=storage5.acme.com,system=srv25.acme.com

sd=r100,lun=/dev/sdc,size=10g,openflags=o_direct,threads=128

* Workload Definitions

wd=r10_seqwrite32k,host=(localhost),sd=r10,xfersize=32768,rdpct=0,seekpct=sequential
wd=r10_seqread32k,host=(localhost),sd=r10,xfersize=32768,rdpct=100,seekpct=sequential

wd=r10_randwrite4k,host=(localhost),sd=r10,xfersize=4096,rdpct=0,seekpct=random
wd=r10_randread4k,host=(localhost),sd=r10,xfersize=4096,rdpct=100,seekpct=random

* Runs

*rd=r10_seqread32k,wd=r10_seqread32k,iorate=curve,curve=(95,100),elapsed=10,interval=5
*rd=r10_seqwrite32k,wd=r10_seqwrite32k,iorate=curve,curve=(95,100),elapsed=10,interval=5
*rd=r10_randread4k,wd=r10_randread4k,iorate=curve,curve=(95,100),elapsed=10,interval=5
*rd=r10_randwrite4k,wd=r10_randwrite4k,iorate=curve,curve=(95,100),elapsed=10,interval=5

Sunday, January 06, 2019

LUN Statistics in ONTAP Classic


toaster> lun stats -z
toaster> sysstat -s -i 1
 CPU     NFS    CIFS   iSCSI     Net   kB/s    Disk   kB/s   iSCSI   kB/s  Cache
                                  in    out    read  write      in    out    age
  2%       0       0       0       0      0       0      0       0      0   >60
  2%       0       0       0       0      0       0      0       0      0   >60
  2%       0       0       4      17      1       0      0      16      0   >60
  2%       0       0       0       1      0       0      0       0      0   >60
  2%       0       0       0       0      0       0      0       0      0   >60
  2%       0       0       0       0      0       0      0       0      0   >60
  4%       0       0       1       4      0       0    818       4      0   >60
  4%       0       0       0       0      0      12     32       0      0   >60
  2%       0       0       0       0      0       0      0       0      0   >60
  5%       0       0       7       6   1856    1747      0       0   1788   >60
  3%       0       0      14    1901     38       0      0    1826      0     9
  2%       0       0       2       9      1       0      0       8      0     9
  2%       0       0       0       1      0       0      0       0      0     9
  2%       0       0       0       0      0       0      0       0      0     9
  2%       0       0       0       0      0       0      0       0      0     9
  2%       0       0       0       1      0       0      0       0      0     9
  2%       0       0       1       5      0       0      0       4      0     9
  5%       0       0       0       0      0       0   1859       0      0     9
  4%       0       0       0       0      0       0   2290       0      0     9
--
Summary Statistics (   19 samples  1 secs/sample)
 CPU     NFS    CIFS   iSCSI     Net   kB/s    Disk   kB/s   iSCSI   kB/s  Cache
                                  in    out    read  write      in    out    age
Min
  2%       0       0       0       0      0       0      0       0      0     9
Avg
  2%       0       0       1     102     99      92    263      97     94   >60
Max
  5%       0       0      14    1901   1856    1747   2290    1826   1788   >60
toaster> lun stats
    /vol/vol0/lun1  (0 hours, 0 minutes, 30 seconds)
        Read (kbytes)   Write (kbytes)  Read Ops  Write Ops
        1754            1834            7         26
toaster>


Useful esxcli VAAI commands


~ # esxcli storage core device vaai status get
t10.IET_____000100010000000000000000000000000000000000000000
   VAAI Plugin Name:
   ATS Status: supported
   Clone Status: unsupported
   Zero Status: supported
   Delete Status: unsupported
~ #

~ # esxcli system settings advanced list -o /DataMover/HardwareAcceleratedMove
   Path: /DataMover/HardwareAcceleratedMove
   Type: integer
   Int Value: 1
   Default Int Value: 1
   Min Value: 0
   Max Value: 1
   String Value:
   Default String Value:
   Valid Characters:
   Description: Enable hardware accelerated VMFS data movement (requires compliant hardware)
~ #

~ # esxcli system settings advanced list -o /DataMover/HardwareAcceleratedInit
   Path: /DataMover/HardwareAcceleratedInit
   Type: integer
   Int Value: 1
   Default Int Value: 1
   Min Value: 0
   Max Value: 1
   String Value:
   Default String Value:
   Valid Characters:
   Description: Enable hardware accelerated VMFS data initialization (requires compliant hardware)
~ #

~ # esxcli system settings advanced list -o /VMFS3/HardwareAcceleratedLocking
   Path: /VMFS3/HardwareAcceleratedLocking
   Type: integer
   Int Value: 1
   Default Int Value: 1
   Min Value: 0
   Max Value: 1
   String Value:
   Default String Value:
   Valid Characters:
   Description: Enable hardware accelerated VMFS locking (requires compliant hardware)
~ #

Interesting Articles on Windows Server Cluster Shared Volumes



Cluster Shared Vols:

Check an update of an RPM without actually updating it


yum check-update