I believe the Next Generation Computing is Software Defined Infrastructure on top of the robust physical infrastructure. You can ask me anything about enterprise infrastructure (virtualization, compute, storage, network) and we can discuss it deeply on this blog. Don't hesitate to contact me.
Wednesday, June 13, 2012
Extending an EagerZeroedThick Disk
~ # vmkfstools -X 6G -d eagerzeroedthick /vmfs/volumes/cs-ee-symmlun-001A/cormac.vmdk
Grow: 100% done. All data on '/vmfs/volumes/cs-ee-symmlun-001A/cormac.vmdk' will be overwritten with zeros from sector <8388608> onwards.
Zeroing: 100% done.
VAAI
# esxcfg-advcfg -g /DataMover/HardwareAcceleratedMove
# esxcfg-advcfg -g /DataMover/HardwareAcceleratedInit
# esxcfg-advcfg -g /VMFS3/HardwareAcceleratedLocking
To check if the storage array supports VAAI primitives, you can use the following command:
esxcli storage core device vaai status get -d naa.60a98000572d54724a346a6170627a52
VAAI Plugin Name: VMW_VAAIP_NETAPP
ATS Status: supported
Clone Status: supported
Zero Status: supported
Delete Status: supported
Tuesday, June 12, 2012
Get the maximum IOPS (PowerCLI)
$metrics = "disk.numberwrite.summation","disk.numberread.summation"
$start = (Get-Date).AddMinutes(-5)
$report = @()
$vms = Get-VM | where {$_.PowerState -eq "PoweredOn"}
$stats = Get-Stat -Realtime -Stat $metrics -Entity $vms -Start $start
$interval = $stats[0].IntervalSecs
$lunTab = @{}
foreach($ds in (Get-Datastore -VM $vms | where {$_.Type -eq "VMFS"})){
$ds.ExtensionData.Info.Vmfs.Extent | %{
$lunTab[$_.DiskName] = $ds.Name
}
}
$report = $stats | Group-Object -Property {$_.Entity.Name},Instance | %{
New-Object PSObject -Property @{
VM = $_.Values[0]
Disk = $_.Values[1]
IOPSMax = ($_.Group | `
Group-Object -Property Timestamp | `
%{$_.Group[0].Value + $_.Group[1].Value} | `
Measure-Object -Maximum).Maximum / $interval
Datastore = $lunTab[$_.Values[1]]
}
}
$report
File Server Capacity Tool v1.2- (64 bit)
http://www.microsoft.com/en-us/download/details.aspx?id=27284
Friday, June 01, 2012
Monday, May 28, 2012
Fundamentals of vSphere Performance Management
Performance monitoring is a critical aspect of vSphere administration. This article introduces you the basic concepts and terminologies in vSphere performance management, for example, performance counters, performance metrics, real time vs historical statistics, etc. Much of the content is based on my book VMware VI and vSphere SDK by Prentice Hall.
Once you understand these basics, the related tools and APIs should be relatively easy. If you are already familiar with vSphere Client performance monitoring or esxtop, they help as well.
Performance Statistics (PowerCLI)
http://www.sandfordit.com/vwiki/Performance_Statistics_(PowerCLI)
Performance Statistics (Perl SDK)
http://www.vmware.com/vmtn/technology/developer/webinars/vi-perl-toolkit_webcast_2006-10-11.pdf
Thursday, May 17, 2012
WAN Optimization for the Masses
Saturday, May 12, 2012
Friday, May 11, 2012
ControlByWeb Ethernet I/O
ControlByWeb Ethernet I/O products provide an easy and reliable way to monitor & control devices over a network.
Thursday, May 03, 2012
VMware Health check - RVTools
RVTools Homepage: http://www.robware.net/
Download Link: http://www.robware.net/download/RVTools.msi
Sunday, April 22, 2012
Saturday, April 21, 2012
How to enable/disable Intel VT-d on XEN
How to disable Intel VT-d on ESX
This issue should be solved by server vendors releasing fixed BIOS version but if there is not a fix available you can use following workaround until new BIOS is released.
Disabling Intel VT-d Interrupt Remapping:
Disabling all VT-d features:
Advanced setting VMkernel.Boot.noIOMMU = unchecked = 0
For more info look at https://kb.vmware.com/kb/1030265
Friday, April 20, 2012
VMware Perl SDK - SSL Certificate verification
[root@MON-PROXY vm]# ./vminfo.pl --url https://10.10.4.70/sdk/vimService --username dpasek -vmname mon_proxy
Enter password:
Server version unavailable at 'https://10.10.4.70:443/sdk/vimService.wsdl' at /usr/lib/perl5/5.8.8/VMware/VICommon.pm line 545,
SOLUTION:
[root@MON-PROXY vm]# export PERL_LWP_SSL_VERIFY_HOSTNAME=0
[root@MON-PROXY vm]# ./vminfo.pl --url https://10.10.4.70/sdk/vimService --username dpasek -vmname mon_proxy
Thursday, April 19, 2012
VMware SRM
C:\Program Files (x86)\VMware\VMware vCenter Site Recovery Manager\scripts\SAN
command.pl
discoverArray.pl
discoverLuns.pl
testfailover.pl
failover.pl
SRM Logs
%ALLUSERSPROFILE%\VMware\VMware vCenter Site Recovery Manager\Logs\
Links:
http://www.yellow-bricks.com/2009/01/20/sra-discoverluns/
http://www.yellow-bricks.com/2012/01/10/hacking-site-recovery-manager-srm-a-storage-array-adapter/
http://www.yellow-bricks.com/2012/01/12/fiddling-around-with-srms-storage-replication-adapter-part-ii/
Tuesday, April 17, 2012
GVRP - GARP VLAN Registration protocol
http://startnetworks.blogspot.com/2011/05/gvrp-garp-vlan-registration-protocol.html
Sunday, April 15, 2012
Dell OpenManage Offline Bundle and VIB for ESXi
http://www.dell.com/support/drivers/us/en/555/DriverDetails/DriverFileFormats?c=us&l=en&s=&cs=555&DriverId=R300511
OMSA 7.0
http://www.dell.com/support/drivers/us/en/555/DriverDetails/DriverFileFormats?DriverId=VPTVV&FileId=2922404090&productCode=poweredge-r720&urlProductCode=False
It can be installed with VMware Update Manager (VUM) or with CLI.
VUM is preferred, simpler and more convenient option.
CLI installation:
vihostupdate.pl -server
vicfg-advcfg --server
For example:
vicfg-advcfg --server 10.10.1.72 --set 1 UserVars.CIMoemProviderEnabled
Note:
in ESX5 advanced parameter changed to
Wednesday, April 11, 2012
Tuesday, March 27, 2012
Friday, March 16, 2012
DELL PCT 6224 (EQL configuration)
- Enable the RSTP on the switch
- Enable “spanning-tree portfast” on all ports connected to the SAN
- Enable Jumbo Frame support on ports connected to the SAN
- Disable the “storm control” feature on ports connected to the SAN
- When you have dedicated SAN network enable Flow Control on the switch
Configuration:
Switch(config)# spanning-tree mode rstp
Switch(config)# interface range ethernet 1/g1-1/g12
Switch(config-if)# spanning-tree portfast
Switch(config-if)# mtu 9216
Switch(config-if)# no storm-control unicast
Switch(config-if)# exit
Switch(config)# flowcontrol (only you have dedicated SAN)
Switch# copy running-config startup-config
Wednesday, March 14, 2012
ESX, NUMA and "Node Interleaving"
NUMA can be disabled by enabling Node Interleaving in the BIOS of the ESX host but that's not good practice for NUMA systems.
Full explanation at http://frankdenneman.nl/2010/12/node-interleaving-enable-or-disable/
Sunday, March 11, 2012
How to create and send disk image over ssh
Monday, March 05, 2012
VMware Linked Clones
https://vwade.wordpress.com/2010/02/28/linked-clones/
Linked clone script with Perl SDK:
http://engineering.ucsb.edu/~duonglt/vmware/vGhettoLinkedClone.html
Linked clone script with PowerCLI:
http://www.vmdev.info/?p=40
Saturday, March 03, 2012
MD5/SHA1 calculation
SlavaSoft HashCalc - HASH, CRC, AND HMAC CALCULATOR
http://www.slavasoft.com/hashcalc/index.htm
Friday, March 02, 2012
Thursday, February 23, 2012
Friday, February 17, 2012
How to install Apache with perl modules on CENTOS
yum install httpd
2/ Configure Apache on startup
chkconfig httpd on
3/ Allow port 80 and 443 in IPTABLES firewall
edit conf file /etc/sysconfig/iptables and add folowing lines before last reject line
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 443 -j ACCEPT
4/ Install PERL modules
rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
yum list *NCFTP*
yum install ncftp
perl -MCPAN -e shell
cpan> install XML::Simple
Sunday, January 29, 2012
Wednesday, January 25, 2012
DELL racadm on CentOS 5.7
- Install and configure minimal installation of CENTOS 5.7 x86_64
- wget http://linux.dell.com/repo/hardware/OMSA_6.1/platform_independent/rh50_64/racadm/mgmtst-racadm-6.1.0-648.i386.rpm
- yum install compat-libstdc++-33
- rpm -i mgmtst-racadm-6.1.0-648.i386.rpm
and here we go ...
You can use racadm to query for example DELL M1000e CMC
racadm -r 10.10.1.54 -u root -p calvin getsysinfo
Bellow are links to some other posts about RACADM ...
RACADM Command Line Interface for DRAC ...
http://en.community.dell.com/techcenter/systems-management/w/wiki/racadm-command-line-interface-for-drac.aspx
How to setup racadm on Centos ...
http://linux.dell.com/repo/hardware/OMSA_6.1/#yum
Here is some blog about ...
http://yo61.com/install-dell-racadm-on-fedora-11.html
Here is the software repository for racadm install package
http://linux.dell.com/repo/hardware/OMSA_6.1/platform_independent/rh50_64/racadm/
Sunday, January 22, 2012
Friday, January 06, 2012
VMware vCenter Orchestrator
MDS Fibre Channel Switching Basics for Network Engineers
Monday, January 02, 2012
Sunday, January 01, 2012
Tuesday, December 20, 2011
Data Center Networking – Victor Lama's White Paper Series
Saturday, December 17, 2011
Wednesday, December 14, 2011
Monday, December 12, 2011
Data Center Interconnect: Layer 2 Extension Between Remote Data Centers
• Point-to-point or point-to-multipoint interconnection, using virtual switching system (VSS), virtual PortChannel (vPC), and optical technologies
• Point-to-point interconnection using Ethernet over Multiprotocol Label Switching (EoMPLS) natively (over an MPLS core) and over a Layer 3 IP core
• Point-to-multipoint interconnections, using virtual private LAN services (VPLS) or advanced VPLS (A-VPLS) natively (over an MPLS core) or over a Layer 3 IP core
Sunday, December 11, 2011
Wednesday, November 30, 2011
Wednesday, November 23, 2011
Tuesday, November 08, 2011
VMware vSphere Health Check Report v5.0.0
This script generates a health check report for the new vSphere release of VMware ESX(i) 4.x/5.x and VMware vCenter 4.x/5.x and it's managed entities. User's can now fully customize the report based on the categories that are of importance to their operating environment, including selecting specific set of ESX(i) hosts and/or Virtual Machines.
