VMware ESXi MegaCLI StorCLI Enable Cache Write Back

VMware ESXi MegaCLI StorCLI  Enable Cache Write Back
You have two options for managing the LSI Logic, Dell PERC, etc. from the ESXi CLI: StorCLI or MegaCLI. You can download MegaCLI for VMware here: 8.04.07_MegaCLI You can download StorCLI from the LSI website and here: CLI_VMWare_MN_8.04.07 MegaCLI: esxi1# ./MegaCli -LDSetProp -Cached -LAll -aAll Set Cache Policy to Cached on Adapter 0, VD 0 ...

VMware PowerCLI – How do I add functions?

When first using VMware PowerCLI, you will need to add functions that are associated with your profile. Create a new profile: PowerCLI> New-item –type file –force $profile Once your profile has been created, you can now add functions by typing: PowerCLI> notepad $profile The above command simply opens notepad and allows you to edit your ...

ESXi identify boot LUN + boot LUN claim rules

Identify bootlun: # ls -l / lrwxrwxrwx 1 root root 49 Oct 27 17:55 bootbank -> /vmfs/volumes/94671c74-55d3efd8-6f90-332c181fc3cf Obtain the disk ID: # vmkfstools -P path For example: # vmkfstools -P /vmfs/volumes/bebbef72-6cbc41fa-b169-68d3824c6d51 vfat-0.04 file system spanning 1 partitions. File system label (if any): Mode: private Capacity 261853184 (63929 file blocks * 4096), 114647040 (27990 blocks) avail ...

VMware converter does not find or recognize LVM CentOS 6 |-wi-ao|

As discussed in this VMware thread:  http://communities.vmware.com/thread/413602 VMware converter 5 fails to recognize LVM slices on CentOS 6 or Red Hat 6. Log files shows: WARN storage.lvm ]: Failed to match lvs output line ‘  lv_root|vg00|587034787840B|-wi-ao–|1 This issue is:  -wi-ao–    converter is expecting:  -wi-ao  (no –) Two fixes: 1.  downgrade to:   lvm2-2.02.72 -or- 2. Wrap ...

VMware “Unable to connect to the MKS:”

Unable to connect to the MKS: Login (username / password) incorrect Open /etc/vmware/config with a text editor. Add this:  vmauthd.server.alwaysProxy = “TRUE” Check your firewall config/network setup.    This error is caused by your vSphere client not able to communicate with the ESX/ESXi host directly. All “Unable to connect to the MKS:” errors are network issues.   ...

VMware vCenter SSL Certificate Locations

ESX/ESXi 4.0 /etc/vmware/ssl/ vCenter Server 4.0 C:UsersAll UsersVMwareVMware VirtualCenterSSL For Windows Server 2008, C:ProgramDataVMwareVMware VirtualCenterSSL    

Connect vCenter To ESX/ESXi Through MIP NATd IP

To make both connectivity to vCenter and clone operations function with NATd ESX service consoles: 1. In Vmware vCenter client, disable Vmware HA and DRS. 2. In Vmware vCenter client, disconnect the host. The VMs will continue to run. 3. Log in to the ESX service console via SSH and change to root. $ ssh ...

SSH Client in ESXi

By default, the ssh command does not exist in VMware ESXi 4.1. To create it, login as root and execute the following command: ln -s /sbin/dropbearmulti /bin/ssh

VMware ESX 4.0 to 4.1 Upgrade Error

When updated VMware ESX 4.0 to 4.1: Host was not updated, no changes required. Skipping bulletin ESX410-GA-esxupdate; it is installed or obsoleted. Encountered error RunCommandError: This is an unexpected error. Please report it as a bug. Error Message – Command ‘[‘/usr/bin/vim-cmd’, ‘hostsvc/runtimeinfo’]’ terminated due to signal 6 Simply type: ldconfig [ad#Google Adsense]

vCenter 4.1 “No 64Bit DSN Found” DSN Error on Windows 2008 R2 Server

This error will appear when attempting to install VMware vCenter 4.1. A work around for this issue is to create a system DSN. Then open regedt32 on the server and go to HKLM > Software > ODBC.INI > Update its driver to: C:WINDOWSsystem32sqlncli10.dll. Restart the vCenter install.