June 2014
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
30  

Categories

June 2014
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
30  

VM Operations in ESXi 4.1 ESXi 5.5 Command Line

List all the VMs running on the host:~ # vim-cmd vmsvc/getallvmsVmid Name File Guest OS Version Annotation612 vm_name1 [datastore] vm_name1/vm_name1.vmx rhel6_64Guest vmx-10633 vm_name2 [datastore] vm_name2/vm_name2.vmx rhel6_64Guest vmx-10646 vm_name3 [datastore] vm_name3/vm_name3.vmx rhel6_64Guest vmx-10647 vm_name4 [datastore] vm_name4/vm_name4.vmx rhel6_64Guest vmx-10664 vm_name5 [datastore] vm_name5/vm_name5.vmx rhel6_64Guest vmx-10To poweroff a VMvim-cmd vmsvc/power.off 612 #here 612 is a vim idTo poweron a […]

VAAI primitive UNMAP and Space Reclaim::

VAAI primitive UNMAP and Space Reclaim::

VAAI UNMAP or space reclaim was introduced in vSphere 5.0 to allow the ESXi host to inform the storage array (VAAI TP Supported) that files (vmdk) or VMs had be moved or deleted from a Thin Provisioned VMFS datastore. This allows the array to reclaim the freed blocks.

Recommended […]

Rollback ESXi 5.x Upgrade or Reverting to a previous version of ESXi

To revert to a previous version of ESXi after upgrade:1). From the Console screen press F22). Then press F12 to see the shutdown options for your ESXi.3). Press F11 to reboot.4). When the Hypervisor progress bar starts loading, press Shift+R.5). Now you will see a warning message: Current hypervisor will permanently be replacedwith build: X.X.X-XXXXXX. […]

ESXi, import if failing with error “Failed to open ‘xyz.vmdk’: The system cannot find the file specified (25).”

Imports would fail if “multiextent” module is not loaded in your ESXi.

This may be the reason “multiextent” is not loaded by default.

Need to load this module by running the following command:

 

# vmkload_mod multiextent Module multiextent loaded successfully

PSOD vSphere ESXi 5.x Collect Logs from ESXi Server

PSOD vSphere ESXi 5.x Collect Logs from ESXi Server PSOD vSphere ESXi 5.x Collect Logs from ESXi Server

If you hit a PSOD, collect the logs (step by step method). 1. Reboot the PSODed ESX/ESXi server. 2. Run command esxcfg-dumppart –copy –devname /vmfs/devices/disks/<naa.xxxxxxxxxxx:y –zdumpname <esxpsodname> 3. extrat the zdump by running the command esxcfg-dumppart –log […]

ESXi Upgrade Commands CLI : ESXi 5.0 to ESXi 5.x

~ # esxcli software sources profile list [cmd options] Cmd options: -d|–depot=[ <str> … ] Specifies full remote URLs of the depot index.xml or server file path pointing to an offline bundle .zip file. (required) –proxy=<str> Specifies a proxy server to use for HTTP, FTP, and HTTPS connections. The format is proxy-url:port.

~ # esxcli […]

check the Path status in ESXi

~ # esxcfg-mpath –l (to list all the device paths)

~ # esxcfg-mpath –s (to change the path state)

~ # esxcfg-mpath –bd <naa name of your device/lun> (to list the paths and state)

Other ESXi path command options:

esxcfg-mpath <options> [–path=<path>]

-l|–list List all Paths on the system with their

detailed information.

-L|–list-compact List […]

OpenFiler

OpenFiler Openfiler is a Linux based storage solution for SMBs. Openfiler is a file-based network-attached storage and block-based storage area network. Openfiler can run with minimal resources.

By using Openfiler you can provide cost effective solutions for your storage needs, instead going for the Enterprise Storage Arrays. Openfiler supports both regular Operating Systems and Virtualization […]

Difference in VMware VMotion & Storage VMotion (SVMotion)?

The differences by VMware VMotion and VMware Storage VMotion (SVMotion) and their benefits.

With VMotion, VM guests are able to move from one ESX Server to another with no downtime for the users. What is required is a shared SAN storage system between the ESX Servers and a VMotion license.

Storage VMotion (or SVMotion) […]

Scan for New Scsi Device to Detect New Lun Without Reboot -Centos

This will scan the scsi host and no need to reboot to make devices(luns) visible.

echo “- – -” > /sys/class/scsi_host/host#/scan

June 15th, 2014 | Category: Centos, Linux | Leave a comment