Tuesday, October 14, 2014

Problem with HP 1.6TB HH/HL Value Endurance (VE) PCIe Workload Accelerator





I had a problem with HP 1.6TB HH/HL Value Endurance (VE) PCIe Workload Accelerator(763836-B21) in a HP DL380P Gen3 server. After installing the latest drivers from the HP website on an ESXi 5.5 U2 host, I got this error:



Error: Fusion-io driver not loaded. Exiting.

Also fio-status command was not working. Same driver error.

Downloaded driver version: VSL3.2.6_ESXi-5.5.zip


Solution: 

I contacted HP and got the right driver. This right driver was not available on the website.


Monday, October 13, 2014

HA failover initiated on

Unable to remove warning message in cluster in VMware vCenter Server 4.x/5.x: HA failover initiated on <clustername> (2004802) 

Symptoms

  • You see a warning message for a cluster in VMware vCenter Server:

    HA initiated a failover on datacenter
    or
    vSpere HA initiated a virtual machine failover action in cluster.....


  • After the warning message appears, you are unable to remove it.
  • No options are present for removal of the warning message.

Purpose

This article provides information on how to clear the failover warning message in vCenter Server.

Cause

This issue occurs when a HA failover event occurs in the cluster, which triggers the warning message. This locks the warning message and prevents it from being removed.

Resolution

To resolve this issue:
  1. Disable HA at the cluster level. For more information, see Disabling VMware High Availability (HA) (1008025).
  2. Enable HA at the cluster level. For more information, see Enabling VMware High Availability and VMware Distributed Resource Scheduler in a cluster (1034280).

 Source: http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2004802

Tuesday, September 16, 2014

Microsoft Datacenter TCO Analysis Tool

Microsoft Datacenter TCO Analysis Tool.
 
What is it ?
 
The Microsoft Cloud OS solution provides a modern datacenter with enterprise class virtualization, greater resource utilization, end-to-end service management and deep insight into applications so organizations can focus on delivering business value. Together with Windows Azure or a Microsoft Service Provider, you can also create advanced hybrid cloud deployment scenarios where seasonal spikes in demand can be easily managed through the public cloud.

Our web-based tool provides a quick comparison of the TCO and benefits of deploying a Microsoft hybrid cloud vs. a VMware private cloud solution for your new workloads; or migrating your existing VMware workloads.

http://www.datacentertcotool.com/ 

Wednesday, September 3, 2014

Server's certificate cannot be checked.

Administration dashboard in VMware Horizon View 5.1/5.2/5.3 reports the error: Server's certificate cannot be checked (2000063)

Symptoms

  • View Administration dashboard displays Connection Server in red status.
  • View Administration dashboard displays Security Server in red status.
  • Clicking Connection Server in View Administration displays this error:

    Connection Server certificate is not trusted
  • Clicking Security Server in View Administration displays this error:

    Server's certificate cannot be checked
  • You are able to connect externally through the Security Server.
  • The certificates on the server are valid.

Cause

This issue occurs if the Certificate Revocation List (CRL) includes a URL that cannot be accessed from the Connection Server paired to the Security Server.

Resolution

To resolve this issue, ensure that the Connection Servers that are paired with Security Servers are able to check the URL in the Certificate Revocation List (CRL), if your environment includes a proxy server that controls Internet access.

To work around this issue, create a CertificateRevocationCheckType registry string in Windows Registry.

Note: This procedure modifies the Windows registry. Before making any registry modifications, ensure that you have a current and valid backup of the registry and the virtual machine. For more information on backing up and restoring the registry, see the Microsoft article 136393.

To create a CertificateRevocationCheckType registry string in Windows Registry:

Note: If you are using multiple connection servers, you need to make this registry modification on all Connection Servers.
  1. Navigate to HKEY_LOCAL_MACHINE\Software\VMware, Inc.\VMware VDM\Security\ in the View Connection Server.

    Caution: Ensure that you make changes in the Connection Server and not the Security Server.

  2. Create the CertificateRevocationCheckType registry string (REG_SZ) and set its value to 1.
A reboot is not required to make this change take effect.
 

Tuesday, August 5, 2014

Virtual machines appear as orphaned in vCenter Server

I had a server with the status Orphaned. I have read this article:


VMware KB: Virtual machines appear as invalid or orphaned in vCenter Server

But there was an easier way to solve it. I migrated the server to a new datastore and host.. Now it is available again. Read more about it below:

Recover Orphaned Virtual Machines
Virtual machines appear in the vSphere inventory list with (orphaned) appended to their name.
Virtual machines that reside on an ESXi host managed by vCenter Server might become orphaned in rare cases. Such virtual machines exist in the vCenter Server database, but the ESXi host no longer recognizes them.
Virtual machines can become orphaned if a host failover is unsuccessful, or when the virtual machine is unregistered directly on the host. If this situation occurs, move the orphaned virtual machine to another host in the datacenter that has access to the datastore on which the virtual machine files are stored.
1
In the vSphere inventory list, right-click the virtual machine and select Migrate.
2
Click Change Host and click Next.
3
Select the host on which to place the virtual machine.
If no hosts are available, add a host that can access the datastore on which the virtual machine's files are stored.
4
Click Finish to save your changes.
The virtual machine is connected to the new host and appears in the inventory list.

source:  
 

Friday, August 1, 2014

Wednesday, July 30, 2014

How to change Horizon View SESparse to VMFSSparse

Nice article about changing SESparse to VMFSSparse:

How to change Horizon View SESparse to VMFSSparse

In my article Clearing up Space-Efficient Virtual Disk questions I explained the most important requirements and constraints when the new SESparse VMDK disk format with Horizon View 5.2.
Just in cased you missed it:
  • This new feature requires vSphere 5.1 as well as hardware version 9 for the VMs.
  • The Space Efficient format is only for for linked clone pools; and only for the OS disk.
  • Horizon View automatically chooses the space efficient format when possible and there is no official way to change this behavior.
  • The Space Efficient Format is not yet supported for Windows 8.
  • The space reclamation process is kicked off automatically by Horizon View when the reclaimable space for the VM exceeds the threshold set by the administrator.
  • The space reclamation statistics (reclaimed amount, reclaimed time) are displayed in the Pool Summary, and Desktop Summary.
  • SESparse disks ARE COMPATIBILE with the Horizon View Storage Accelerator technology from View 5.1 / vSphere 5.

Despite many customers are already successfully using the new feature and are effectively saving on the overall storage capacity utilized, some customer asked me how to disable this feature and re-instate VMFS Sparse as the default disk type. For many VMware internal reasons SESparse is the Default behavior and cannot be changed from the Admin UI. However there are couple ways to disable it.

Read more......

Source: http://myvirtualcloud.net/?p=4745

Tuesday, July 29, 2014

The Host IPMI System Event Log Status alarm.

I had this error and solved it with this solution:
A reset of the management agent on the ESXi hosts was required to.

The Host IPMI System Event Log Status alarm is triggered repeatedly in VMware vCenter Server 4.x and 5.x (1033725)

 Symptoms

  • The Host Intelligent Platform Management Interface (IPMI) System Event Log (SEL) Status alarm is triggered repeatedly on the ESXi/ESX host.
  • Acknowledging the alarm removes the exclamation on the ESXi/ESX host in the inventory.
  • The alarm is triggered again after some time.
  • The messages.log file (located at /var/log) contains errors similar to:

    sfcb-vmware_raw[5153]: IpmiIfcSelReadAll: failed call to IpmiIfcSelReadEntry cc = 0xff
    sfcb-vmware_raw[5153]: IpmiIfcSelReadAll: failed call to IpmiIfcSelReadEntry cc = 0xff
    snmpd[19956]: Connection from UDP: [10.16.16.65]:61945
    sfcb-vmware_raw[5153]: IpmiIfcSelReadAll: failed call to IpmiIfcSelReadEntry cc = 0xff
    /usr/lib/vmware/bin/vmware-hostd[19577]: Accepted password for user root from 10.16.16.65
    sfcb-vmware_raw[5153]: IpmiIfcSelReadAll: failed call to IpmiIfcSelReadEntry cc = 0xff
    sfcb-vmware_raw[5153]: IpmiIfcSelReadAll: failed call to IpmiIfcSelReadEntry cc = 0xff
    snmpd[19956]: Connection from UDP: [10.16.16.65]:61945
    sfcb-vmware_raw[5153]: IpmiIfcSelReadAll: failed call to IpmiIfcSelReadEntry cc = 0xff
    sfcb-vmware_raw[5153]: IpmiIfcSelReadAll: failed call to IpmiIfcSelReadEntry cc = 0xff


    Note: For more information, see Location of vCenter Server log files (1021804).

Cause

This issue occurs when the alarm monitors the capacity of the IPMI System Event log and is triggered when the log is full.

Resolution

To determine why the log has filled up, investigate the hardware.
To resolve this issue, stop the alarm from triggering repeatedly and clear the IPMI System Event log and reset the sensors.
To clear the log and reset the sensors:
  1. Open vCenter Server using vSphere Client.
  2. In the vCenter Inventory, select the ESXi/ESX host.
  3. Click the Hardware Status tab.
  4. Click System Event log under View.
  5. Click Reset Event Log. The red alert is removed from the System Event log.
  6. Click Reset Sensors to reset the host sensors.
Introduced in ESXi 5.1 Update 2 (Build Number: 1483097) and ESXi 5.5 Patch 1 (Build Number:  1474528), there is a new localcli command line to clear the IPMI SEL logs:

localcli hardware ipmi sel clear

To run this command on the ESXi 5.1 or 5.5 host:
  1. Connect to the ESXi host via SSH. For more information, see Using Tech Support Mode in ESXi 4.1 and ESXi 5.x (1017910).
  2. Run this command:

    localcli hardware ipmi sel clear

Additional Information

If you find an incorrect date and if you are unable to reset the logs, restart the management agents and sfcbd-watchdog on ESX, or the management agents on ESXi.

Monday, July 28, 2014

Upgrading VMware Tools Using RPM on a Linux Guest

Upgrading VMware Tools Using RPM on a Linux Guest Imported from Workstation Might Fail (1004319)

Details

Upgrading VMware Tools using RPM on a Linux guest might fail with a message similar to the following:
Error: unpacking of archive failed on file /usr/lib/vmware-tools/lib32/libXrender.so.1: cpio: rename failed - Is a directory
This problem occurs on a Workstation 5.x Linux virtual machine that is installed with Workstation 6.0 VMware Tools using RPM, and this virtual machine is imported into ESX Server 3.5.x.

Solution

To work around this issue:
  1. Uninstall VMware Tools from the virtual machine:

    # rpm –qa | grep VMwareTools
    # rpm –e <old_tools_RPM_name>

  2. Reinstall VMware Tools on the virtual machine:

    # rpm –ivh <new_tools_RPM_name>

Sunday, July 27, 2014

How to disable warnings for ESXi Shell and SSH

I used this to get rid of these annoying messages every time on one ESXi host. There was one exception because of management reasons. The others hosts are in lockdown mode.

Cluster warning for ESXi Shell and SSH appear on an ESXi 5.x host (2003637)


Symptoms

  • ESXi host shows these errors:

    • ESXi Shell for the Host has been enabled
    • SSH for the host has been enabled

Cause

Note: This article pertains to vSphere 5.0. For vSphere 4.x, see Cluster warning shown in vCenter Server when Remote Tech Support Mode (SSH) or Local Tech Support Mode is enabled (1016205).
In vSphere 5, you can enable both Remote SSH and the ESXi Shell for management of hosts from the vSphere Client, vSphere Web Client and from the Direct Console User Interface.
These messages that appear with a yellow exclamation mark is a proactive security measure and inform administrators that remote access is enabled for the server.
Disabling Remote SSH and ESXi Shell removes the messages from the host.

Resolution

To disable these warnings using vSphere Client:
  1. Select the ESXi host from the Inventory.
  2. Click the Configuration tab.
  3. Click Advanced Settings in the Software menu.
  4. Navigate to UserVars > UserVars.SuppressShellWarning.
  5. Set the value from 0 to 1.
  6. Click OK.
To disable these warnings using esxcli:
  1. Connect to the ESXi host through SSH using root credentials.
  2. Run this command:

    vim-cmd hostsvc/advopt/update UserVars.SuppressShellWarning long 1
To enable these warnings using esxcli:
  1. Connect to the ESXi host through SSH using root credentials.
  2. Run this command:

    vim-cmd hostsvc/advopt/update UserVars.SuppressShellWarning long 0
To disable SSH and warning using vSphere Web Client:
  • Disable remote access to the ESXi 5.x host
    1. From the vSphere Web Client, select vCenter from the Home menu.
    2. Select Hosts and Clusters under the Inventory Trees.
    3. Expand the tree in the left pane of the vSphere Web Client.
    4. Click the ESXi host with the yellow exclamation and click the Manage tab.
    5. Click Settings and highlight Security Profile.
    6. Scroll to Services and click Edit.
    7. Highlight ESXi Shell and click Stop.
    8. Repeat for SSH, then press OK.
  • Disable the Warning message
    1. From the vSphere Web Client, select vCenter from the Home menu.
    2. Select Hosts and Clusters under the Inventory Trees.
    3. Expand the tree in the left pane of the vSphere Web Client.
    4. Click the ESXi host with the yellow exclamation and click the Manage tab.
    5. Click Settings and highlight Advanced System Settings.
    6. Locate the parameter UserVars.SuppressShellWarning and click the pencil icon to edit.
    7. Change the value to 1 and press OK.

Saturday, July 26, 2014

System logs are stored on non-persistent storage (2032823)

System logs are stored on non-persistent storage (2032823)

Details

You receive this message when your system stores its log files on non-persistent storage.

Example

When you use the advanced system parameter Syslog.global.logDir to configure the system log location, if you configure the system log location as temporary, for example [] /tmp, you get the esx.problem.syslog.nonpersistent message.

When the location for system logs is not configured, your system uses the scratch partition by default. If the scratch location is set to nonpersistent storage, such as /tmp, you get the esx.problem.syslog.nonpersistent message.

Impact

System logs are required for auditing and diagnostic purposes. If you do not store system logs permanently, for example on a datastore, they disappear after a reboot.

Solution

Verifying the Location of System Logs in vSphere Client

To verify the location:
  1. In vSphere Client, select the host in the inventory panel.
  2. Click the Configuration tab, then click Advanced Settings under Software.
  3. Ensure that Syslog.global.logDir points to a persistent location. The directory should be specified as [datastorename] path_to_file where the path is relative to the datastore. For example, [datastore1] /systemlogs.
  4. If the Syslog.global.logDir field is empty or explicitly points to a scratch partition, make sure that the field ScratchConfig.CurrentScratchLocation shows a location on persistent storage.

Verifying the Location of System Logs in vSphere Web Client

To verify the location:
  1. Browse to the host in the vSphere Web Client navigator.
  2. Click the Manage tab, then click Settings.
  3. Under System, click Advanced System Settings.
  4. Ensure that Syslog.global.logDir points to a persistent location.
  5. If the field Syslog.global.logDir is empty or points to a scratch partition, make sure that the field ScratchConfig.CurrentScratchLocation shows a location on persistent storage.

    Note: You must reboot the host for the changes to take effect.
Note: To log to a datastore, the Syslog.global.logDir entry should be in the format of [Datastorename]/foldername. To log to the scratch partition set in the ScratchConfig.CurrentScratchLocation, the format is blank or []/foldername.
 

Additional Information

For more information on determining persistent logging, see Determining whether an ESXi host has persistent logging (2004773).

For more information on configuring Syslog on ESXi, see Configuring syslog on ESXi 5.x (2003322).
 
  • Product(s):
    VMware ESXi
    VMware vCenter Server

  • Product Version(s):
    VMware ESXi 5.0.x
    VMware ESXi 5.1.x
    VMware vCenter Server 5.0.x
    VMware vCenter Server 5.1.x
    VMware vCenter Server 5.5.x
  •  
     

    Friday, July 25, 2014

    Host currently has no management network redundancy (1004700)

    Howto suppress this message:

    Host <xxx> currently has no management network redundancy

    I found this article in the VMWare KB:

    Network redundancy message when configuring VMware High Availability in vCenter Server (1004700)

    Symptoms

    When configuring the VMware High Availability (HA) in a vCenter Server, you see the message:

    Host <xxx> currently has no management network redundancy

    Cause

    This message is displayed if the network redundancy configuration within theService Console/VMkernel Port Management Network is incorrect. This message can be safely ignored.

    Resolution

    To prevent this message from appearing, and to comply with proper network redundancy, VMware recommends that you add a second vmnic to the service console or management network vSwitch configured with NIC teaming, and that you keep both as active adapters, or place one in standby. For more information, see NIC teaming in ESXi and ESX (1004088).

    Alternatively, you can add a second service console on a different vSwitch and subnet. To suppress this message on ESXi and ESX hosts in the VMware High Availability (HA) cluster, or if the warning appears for a host already configured in a cluster, set the VMware HA advanced option das.ignoreRedundantNetWarning to true and reconfigure VMware HA on that host. This advanced option is available in VMware Virtual Center 2.5 Update 3 and later.

    If the warning appears even when there are two available uplinks for the vSwitch hosting the Service Console/VMkernel Port Management Network, providing a redundancy, see ESX/ESXi host displays warning message when test condition is false (2008602).
    Note: If the warning continues to appear, disable and re-enable VMware High Availability in the cluster.
    To set das.ignoreRedundantNetWarning to true:
    1. From the VMware Infrastructure Client, right-click on the cluster and click Edit Settings.
    2. Select vSphere HA and click Advanced Options.
    3. In the Options column, enter das.ignoreRedundantNetWarning
    4. In the Value column, type true.

      Note: Steps 3 and 4 create a new option.
    5. Click OK.
    6. Right-click the host and click Reconfigure for vSphere HA. This reconfigures HA.
    To set das.ignoreRedundantNetWarning to true in the vSphere 5.1 Web Client:
    1. From the vSphere Web Client, right click on the cluster.
    2. Click on the Manage tab for the cluster, then under Settings click vSphere HA.
    3. Click on the Edit button in the top right corner.
    4. Expand the Advanced Options section, and click Add.
    5. In the Options column, type das.ignoreRedundantNetWarning.
    6. In the Value column, type true.
    7. Click OK.
    8. Right-click the host and click Reconfigure for vSphere HA.
    Source:http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1004700

    Tuesday, July 22, 2014

    Plain Virtualization: vSphere 5.5 Installation with MS SQL Overview

    Plain Virtualization: vSphere 5.5 Installation with MS SQL Overview: It has been sometime that I last did any installation and decide to rebuild my home lab.  I will skip the installation or upgrade of ESX s...

    I used a part of this article for my own vSphere 5.5 installation with MS SQL server 2008 R2.

    Monday, July 21, 2014

    Microsoft SQL server 2008 R2 error code 2337 during setup.

    I could not start the Microsoft SQL server 2008 R2 setup after this error code. The solution was:

    (Step 1 was not required for me!)
    1. Save the following in a .reg file and merge to populate the registry:

    Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\100\Bootstrap]
    "BootstrapDir"="C:\\Program Files\\Microsoft SQL Server\\100\\Setup Bootstrap\\"

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\100\Bootstrap\Setup]
    "PatchLevel"="10.50.1600.00"

    2. Next, copy the following files and folders from the media to the specified destinations:


    File/Folder in media:   
    X64/X86 folder (depending on what architecture you want to install)
    Destination:
    C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\SQLServer2008R2

    File/Folder in media:
    Setup.exe
    Destination:   
    C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\SQLServer2008R2

    File/Folder in media:
    Resources folder
    Destination:
    C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\SQLServer2008R2

    Next, re-run the setup, and it should proceed beyond the point of error this time.

    Source: