new1234.jpg

Archive

Posts Tagged ‘vSphere 5.0’

VMware: System logs on host [hostname] are stored on non-persistent storage

April 7th, 2014 2 comments

Last week I installed some new vSphere hosts with flash disk storage. Some hosts has a yellow caution icon and a message stating:

Configuration Issues – System logs on host [hostname] are stored on non-persistent storage.

 

Solution:

 

Verify the location of System logs:

  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.

VMpros.nl

 

Result:

After a few minutes the logs are stored at the new location (in this case I used central storage):

VMpros.nl

More information: VMware

sanderdaems

Sander Daems is founder and author of this blog and working as a Lead (Sr.) Consultant by UNICA ICT Solutions. Sander has over 15 years experience in IT, primary focus: virtualization and modern worksplace.

More Posts - Website

Follow Me:
TwitterLinkedIn

VMware: The number of heartbeat datastores for host is 0

May 7th, 2013 2 comments

Today I added some vSphere 5.0 u1 hosts in a new created cluster, the SAN will be delivered next week so I didn’t have central storage, to finish my new cluster setup I configured HA and DRS. After configuring HA I received this warning message:

 

The number of heartbeat datastores for host is 0, which is less than required: 2

VMpros

 

Solution:

To (temporary (until the SAN is installed)) hide the warning message I configured the HA – Advanced Option:

  1. Log in to vCenter Server
  2. Right-click the cluster and click Edit Settings
  3. Click VMware HA > Advanced Options
  4. Under Option, add an entry for das.ignoreInsufficientHbDatastore
  5. Under Value, type: true

image

 

More information: VMware

sanderdaems

Sander Daems is founder and author of this blog and working as a Lead (Sr.) Consultant by UNICA ICT Solutions. Sander has over 15 years experience in IT, primary focus: virtualization and modern worksplace.

More Posts - Website

Follow Me:
TwitterLinkedIn

VMware: Install Broadcom 5720 network adapter

March 20th, 2013 2 comments

Today I installed a new Dell PowerEdgde R620 host with vSphere 5.0 update 1. The Intel Ethernet I350 adapter was recognized and installed correct but the Broadcom 5720 wasn’t. I downloaded the latest Broadcom driver CD from VMware and uploaded the extracted content to my local datastore.
To install the drivers I used the following command:

esxcli software vib install -v /vmfs/volumes/pathtodatastore/NIC/net-tg3-3.120h.v50.2-1OEM.500.0.0.472560.x86_64.vib

^ full path to the file must be specified

image
After reboot the Broadcom adapter was installed successfully:

image

More information: VMware

sanderdaems

Sander Daems is founder and author of this blog and working as a Lead (Sr.) Consultant by UNICA ICT Solutions. Sander has over 15 years experience in IT, primary focus: virtualization and modern worksplace.

More Posts - Website

Follow Me:
TwitterLinkedIn

VMware: Mass change portgroup VM’s in cluster with PowerCLI

January 10th, 2013 3 comments

Last week I configured for a customer some new VLAN’s and created on each host new vSwitches with new portgroups, to migrate all VM’s in cluster with network label “VM Network” to “Production” I’ve created this script to automate this for all virtual machines with specific network label in cluster:

Original situation:

image


Script
:

#====================================================================#
#   SCRIPT:        PowerCLI_Mass_change_network_label.ps1            #
#   FUNCTION:      Mass change network label Network A to Network B  #
#   OWNER:         Sander Daems                                      #
#   VSPHERE:       5.0 Update 1 build 623860                         #
#   CREATED:       10/01/2013                                        #
#   MODIFIED:      10/01/2013                                        #
#   VERSION:       v.1.0                                             #
#====================================================================#
#   CHANGELOG:                                                       #
#                                                                    #
#    v.1.0                                                           #
#    - Script created;                                               #
#                                                                    #
#====================================================================#
#   HOST - Specify host and connect                                  #
#====================================================================#
$vCenterServer = Read-Host "Enter vCenter Hostname / IP"
Connect-VIServer $vCenterServer
#
#====================================================================#
# CUSTOM DEFINITIONS                                                 #
#====================================================================#
$Cluster = "Cluster01" 
$SourcePortgroup = "VM Network" 
$DestinationPortgroup = "Production" 
#
#====================================================================#
# SCRIPT                                                             #
#====================================================================#
Get-Cluster $Cluster | Get-VM | Get-NetworkAdapter | Where {$_.NetworkName -eq $SourcePortgroup } | Set-NetworkAdapter -NetworkName $DestinationPortgroup -Confirm:$false#====================================================================#

 

Result:


New situation
 (All VM’s in cluster):

image

sanderdaems

Sander Daems is founder and author of this blog and working as a Lead (Sr.) Consultant by UNICA ICT Solutions. Sander has over 15 years experience in IT, primary focus: virtualization and modern worksplace.

More Posts - Website

Follow Me:
TwitterLinkedIn

VMware: How to rollback ESXi 5.1 to 5.0

October 3rd, 2012 7 comments

VMware vSphere ESXi 5.1 was released last month, after upgrading my hosts I had some really annoying issue’s, I couldn’t connect my iSCSI (QNAP) datastores and the hosts failed with a PSOD.. once I checked the HCL at the VMware website I saw that my HP DL360 G5 isn’t supported anymore.. time to rollback the latest installation.


Solution:

(Re)boot the host and press R to start the Recovery Mode..

Installed hypervisors:

HYPERVISOR1: 5.0.0-623860
HYPERVISOR2: 5.1.0-799733 (Default)

CURRENT DEFAULT HYPERVISOR WILL BE REPLACED PERMANENTLY
DO YOU REALLY WANT TO ROLL BACK?

 

Press Y to start the roll back

image

 

Result:

image

The host is downgraded and back online again with VMware vSphere ESXi 5.0.0

sanderdaems

Sander Daems is founder and author of this blog and working as a Lead (Sr.) Consultant by UNICA ICT Solutions. Sander has over 15 years experience in IT, primary focus: virtualization and modern worksplace.

More Posts - Website

Follow Me:
TwitterLinkedIn

VMware: ESXi requires the Execute Disable/No Execute CPU feature to be enabled

September 17th, 2012 70 comments

During upgrade my HP DL360 G5 ESXi 5.0 u1 hosts to ESXi 5.1 I received a purple screen with warning message:

 

The system has found a problem on your machine and cannot continue.

VMware ESXi requires the Execute Disable/No Execute CPU feature to be enabled

 

Solution:

Restart the host, press F9 to boot in BIOS mode

Advanced Options > Processor Options > No-Execute Memory Protection, then configure: Enabled

image

More information: VMware

sanderdaems

Sander Daems is founder and author of this blog and working as a Lead (Sr.) Consultant by UNICA ICT Solutions. Sander has over 15 years experience in IT, primary focus: virtualization and modern worksplace.

More Posts - Website

Follow Me:
TwitterLinkedIn

VMware: vCenter Server 5.0 Update 1a released

July 13th, 2012 No comments

vCenter Server Appliance 5.0 Update 1a is the first major update since vCenter Server Appliance 5.0 was released

VMware vCenter Server 5.0 Update 1a is a patch release and offers the following improvements:

  • vCenter Server 5.0 Update 1a introduces support for the following vCenter Databases
    • Oracle 11g Enterprise Edition, Standard Edition, Standard ONE Edition Release 2 [11.2.0.3] – 64 bit
    • Oracle 11g Enterprise Edition, Standard Edition, Standard ONE Edition Release 2 [11.2.0.3] – 32 bit
  • vCenter Server Appliance Database Support: The DB2 express embedded database provided with the vCenter Server Appliance has been replaced with VMware vPostgres database. This decreases the appliance footprint and reduces the time to deploy vCenter Server further.
  • Resolved Issues: In addition, this release delivers a number of bug fixes that have been documented in the Resolved Issues section.

Read more…

sanderdaems

Sander Daems is founder and author of this blog and working as a Lead (Sr.) Consultant by UNICA ICT Solutions. Sander has over 15 years experience in IT, primary focus: virtualization and modern worksplace.

More Posts - Website

Follow Me:
TwitterLinkedIn

VMware: The device or operation specified at index ‘2’ is not supported for the current virtual machine version

April 19th, 2012 3 comments

Last week I was migrating some servers from ESX 3.02 to a vSphere 5 cluster, after importing the the exported VM’s I received this error message:

The device or operation specified at index ‘2’ is not supported for the current virtual machine version ‘vmx-04’.  A minimum version of ‘vmx-06’ is required for this operation to succeed.

A general system error occurred: Invalid fault

image


Solution
:

The VMware Converter I used was version 4.3.0 build-292238

image

After installing VMware Converter 5.0.0 build-470252 I was able to start the import virtual machine in the new vSphere 5 cluster

image

image

The import finished successfully

sanderdaems

Sander Daems is founder and author of this blog and working as a Lead (Sr.) Consultant by UNICA ICT Solutions. Sander has over 15 years experience in IT, primary focus: virtualization and modern worksplace.

More Posts - Website

Follow Me:
TwitterLinkedIn

VMware: The checkpoint data length (16384 bytes) or the offset (16776528 bytes) exceeds the maximum checkpoint data length

April 13th, 2012 1 comment

Today I was importing some virtual machines (delivered by a 3rd party company) to the new vSphere 5 environment of a customer, the import was successful but after a vMotion I received this warning:

 

Module Migrate power on failed.
vMotion migration [168099940:1334234558581378] failed. The checkpoint data length (16384 bytes) or the offset (16776528 bytes) exceeds the maximum checkpoint data length (16777216 byte).

 

image

Solution:

The owner of the template installed the OS with a 1920 x 1080 resolution, after changing the resolution to 1280 x 1024 the GFX memory usage degraded to normal (under 30 MB).

 

image

After changing the resolution I was able to migrate the virtual machines,

Read more…

sanderdaems

Sander Daems is founder and author of this blog and working as a Lead (Sr.) Consultant by UNICA ICT Solutions. Sander has over 15 years experience in IT, primary focus: virtualization and modern worksplace.

More Posts - Website

Follow Me:
TwitterLinkedIn