Skip navigation
VMware
1 2 3 Previous Next

Brian Atkinson's Blog

34 Posts
0

The vSphere Configuration Maximums constantly come up in VMTN discussions about the VCP5 exam. Many people report that they received no configuration maximum questions on their VCP5 exam, but I don't think that this is entirely true. I think what people are implying is that they didn't receive any of the old VCP3-style questions that just centered around knowing a specific configuration maximum value. The exam has evolved and so have the questions.

 

I would venture to bet that nearly every one that takes the VCP5 will receive questions where knowing values from the configuration maximums will be required to answer the question. I know that when I took the VCP5 BETA, there were many questions that required knowledge of configuration maximums. The questions were not the simple "how many X are supported" type questions, but more involved questions where you couldn't arrive at the correct answer without knowing a value from the configuration maximums.

 

Objective 4.3 of the VCP5 exam blueprint lists the required knowledge of "Identify the vCenter Server managed ESXi hosts and Virtual Machine maximums." This objective guarantees that configuration maximums are included in the VCP5 exam. My advice is to not let anyone else's exam experience sway you into thinking that you do not need to know the configuration maximums for the VCP5 exam. Also remember this: Knowing the configuration maximums could be the difference between passing the VCP5 or not. It would definitely be better to spend some time with this document, before you take the VCP5 exam.

 

Good Luck!

 

Brian

196 Views 0 Comments Permalink Tags: vcp, certification, vsphere, vcp5
15

This is a modernized version of the "Single use vihostupdate How To for ESXi 4.x, which was a modernized version of the "Single use ESXUPDATE How To for ESX 4"  post I wrote a long time ago. With vSphere 5, vihostupdate and esxupdate are not applicable for ESXi 5. We instead will need to use the esxcli command to apply the updates to our ESXi 5 hosts.

 

01: Make sure you have the vMA 5.0 or the vCLI installed and configured or that you have ESXi Shell access on the ESXi 5 host.

 

02: Download the patch bundle directly from VMware Support. This download will be .zip file.  Do not extract it.

 

03: Upload the .zip file to a datastore that is accessible on the ESXi host you wish to update. The syntax below will use /vmfs/volumes/datastore1, and you may need to adjust as necessary. Note that the .zip file is uploaded to the ESXi host.

 

Note:  In the examples below, the syntax is specific for the vMA. Adjust accordingly, if you are using another approach.


04: Obtain local console access to the vMA and login with the vi-admin account.

 

05. To determine if the host needs to be placed in maintenance mode, issue the following command:

 

esxcli --server=10.10.10.10 --username=root software sources vib get -d /vmfs/volumes/datastore1/ESXi500-201109001.zip | grep "Maintenance Mode Required: True"

 

06.  If grep returns "Maintenance Mode Required: True" results, then issue the following command to place the host in maintenance mode:

 

vicfg-hostops --server 10.10.10.10 --operation enter

 

07. Verify that the host is in maintenance mode, by issuing the following command:

 

vicfg-hostops --server=10.10.10.10 --operation info

 

Note: You could also use the vSphere Client to put the ESXi 5 host in maintenance mode.

 

08. To verify which VIBs are already installed on the ESXi 5 host, issue the following command:

 

esxcli --server=10.10.10.10 --username=root software vib list | more

 

09. To find out which VIBs are available in the depot (the downloaded .zip file), issue the following command:

 

esxcli --server=10.10.10.10 --username=root software sources vib list --depot=/vmfs/volumes/datastore1/ESXi500-201109001.zip | more

 

10. To update the ESXi 5 host with the VIBs included in the depot, issue the following command:

 

esxcli --server=10.10.10.10 --username=root software vib update --depot=/vmfs/volumes/datastore1/ESXi500-201109001.zip

 

11. When the update is complete, verify the information presented. If prompted, reboot the ESXi 5 host by issuing the following command:

 

vicfg-hostops --server 10.10.10.10 --operation reboot

 

12. Verify the patch bundle was installed, by issuing the following command:

 

esxcli --server=10.10.10.10 --username=root software vib list | more

 

13. If applicable, take the ESXi 5 host out of maintenance mode using the vSphere Client or with the following command:

 

vicfg-hostops --server 10.10.10.10 --operation exit

 

As always, thanks for reading!

50,653 Views 15 Comments Permalink Tags: esxi, operations, vma, esxcli
10

This question of what happened to the vCenter Converter plug-in has been coming up a lot lately in the communities, and here are some official/unofficial references about what happened.

 

(1) The vSphere 4.1 release notes from July 13, 2010 announced that "VMware vSphere 4.1 and its  subsequent update and patch releases are the last releases for the  VMware vCenter Converter plug-in for vSphere Client. VMware will  continue to update and support the free Converter Standalone product,  which enables conversions from sources such as physical machines, VMware  and Microsoft virtual machine formats, and certain third-party disk  image formats."

 

(2) A discussion showed up from http://communities.vmware.com/people/bchanana in the Converter forum stating the following:

"With the release of vSphere 5.0,  we will no longer provide vCenter Converter Integrated however, vCenter  Converter Standalone will continue to be available as a stand-alone,  public software binary. We will continue to provide support for vCenter  Converter Integrated on the existing vSphere platforms per the VMware support policy and we will continue to provide vCenter Converter Standalone as a free  download. You can find out more about vCenter Converter Standalone here:  http://www.vmware.com/products/converter.

 

Best regards,
VMware Product Management"

 

(3) The vCenter Server Installer application does not list the vCenter Converter plug-in, and the media does not contain it.

 

The standalone version of Converter 5.0 was released on September 8, 2011 and may be downloaded at https://www.vmware.com/tryvmware/?p=converter.

 

Thanks for reading,

Brian

8,593 Views 10 Comments Permalink Tags: converter
0

It has been a long time in the works, but I am happy to announce that I am currently in the process of writing Sybex's VCP5 study guide. The book is tentatively titled "VCP: VMware Certified Professional on vSphere 5." This book will be a complete rewrite with 100% new content to focus on the VCP5. I am also pleased to announce that Troy Clavell has signed on to be technical editor for this project.

 

The goal of the book is to follow the VCP5 exam blueprint and cover each of the objectives in detail. I also hope to impart real world practical knowledge along the way, using many of the things learned here in the VMTN forums. The book will also include many hands-on exercises, 20 review questions at the end of each chapter, a glossary and plenty of helpful tips. There will also be a companion CD that will include two 75-question bonus exams and at least 100 flashcards.

 

The book will be available in the first quarter of 2012, but I will announce the actual availability when I know for certain. If you have any feedback on what you think would make a great VCP5 book, I would love to hear it.

 

Thanks,
Brian

658 Views 0 Comments Permalink
2

The subject of partition alignment comes up in the communities on a fairly regular basis.  VMware's "Recommendations for Aligning VMFS Partitions" performance study is the classic reference for this topic, but it is also stated in this document that "Aligning the boot disk in the virtual machine is neither recommended nor required. Align only the data disks in the virtual machine."  The logic here historically was around the idea that OS partitions would not have high IO demands and the hassle of creating an aligned OS volume in Windows XP or 2003 was a frustrating process involving usually GParted or other 3rd party utilities.  With Windows 7 and Windows 2008, this is no longer an issue, as the partitions are all aligned by default.  For those still running older versions of Windows, the easiest solution for aligning the OS volumes is to use the newly released public BETA of VMware Converter 5.0.  The latest release of VMware Converter offers optimized disk and partition alignment and cluster size change as options.

 

To test these new features, I started with a plain vanilla Windows XP install in VMware Workstation.  In the screenshot below, notice that the value for "Partition Starting Offset" is 32,256.  This is clearly a volume that is not aligned.

xp-original.jpg

After a quick V2V using VMware Converter 5.0, notice that the value for "Partition Starting  Offset" is now 1,048,576.  This is a volume that is aligned on a 1 MB boundary.

xp-v2vw-offset.jpg

In comparison to the other methods I have seen for accomplishing this task, it just doesn't get much easier than this!

 

Thanks for reading,

Brian

1,170 Views 2 Comments Permalink Tags: converter, v2v, alignment
0

vSphere 4.0 introduced virtual hardware version 7, which added hot plug support for virtual devices and hot add support for memory and virtual CPUs.  Finding the operating systems that could be used with hot add was a somewhat difficult process, and there wasn't a readily available "official" resource that could be used for reference.  With the release of v 2.0 of the VMware Compatibility Guide, finding this information just got a lot easier.  So, what operating systems can be used with hot add memory and vCPU?

 

Memory

 

vCPU

 

There are many!  Rather than posting large tables that would require constant updating, I posted the direct link to the VMware Compatibility Guide.  This way the results shown will always be current.

 

Thanks for reading.

Brian

189 Views 0 Comments Permalink Tags: performance, guest, configuration, vsphere
2

With Apple's OS X Lion announcement yesterday, I was quickly reminded of a situation that plays out in the forums at least a few times a year. With each and every new OS release from any company, the forums quickly fill up with the inevitable "When will VMware support my new OS" discussions. In the table below, 7 Ubuntu releases are shown with their respective release dates and when the OS was supported in both VMware ESX(i) and VMware Workstation. The Ubuntu release dates were obtained from https://wiki.ubuntu.com/Releases and the VMware support information was obtained from the VMware HCL.

 

Version
Release DateWorkstation Support - Guest
Workstation Support - HostESX(i) SupportDays Wait
Ubuntu 10.1010/10/201003/29/2011 (7.1.4)N/A11/15/2010 (4.1)37, 171
Ubuntu 9.1010/29/200901/29/2010 (7.0.1)01/29/2010 (7.0.1)11/18/2009 (4.0 U1)21, 93
Ubuntu 9.0404/23/200908/20/2009 (6.5.3)10/26/2009 (7.0)06/30/2009 (3.5 U4)69, 120, 187
Ubuntu 8.1010/30/200803/31/2009 (6.5.2)10/26/2009 (7.0)03/30/2009 (3.5 U4)152,153,362
Ubuntu 8.0404/24/200809/23/2008 (6.5)09/23/2008 (6.5)08/08/2008 (3.0.3)107, 153
Ubuntu 7.1010/18/200703/14/2008 (6.0.3)09/23/2008 (6.5)04/10/2008 (3.5 U1)149, 176, 194
Ubuntu 7.0404/19/200709/19/2007 (6.0.1)05/09/2007 (6.0)07/31/2007 (3.0.2)21, 104, 154

 

As you can see, the wait for support varies anywhere from 21 to 362 days.  This averages out to approximately 135 days.  There are obviously quite a few variables involved here, especially when you consider VMware's own product launches and their timing.  When you think about everything that has to go into the development, testing, training, documentation, etc involved to support an OS, it is staggering.  The bottom line is that there will almost always certainly be a wait involved for the latest guest operating systems to be supported. As for the duration of the wait, the often used phrase "it depends" definitely applies here.

 

Thanks for reading!

Brian

1,069 Views 2 Comments Permalink Tags: support, guest
0

This is an updated version of my blog entry "SQL Server Data Consistency Levels with VCB Backups" from more than a year ago, and vSphere 4.1 and the VMware vStorage APIs for Data Protection have changed things up a bit.

 

The chart below summarizes the current state of data consistency levels, when using VMware vStorage APIs for Data Protection with vSphere 4.1 for Windows/SQL Server backups.

 

SQL 7SQL 2000SQL 2005SQL 2005 SP2SQL 2008
Windows 2000Crash ConsistentCrash ConsistentCrash ConsistentCrash ConsistentNot Supported
Windows 2003Crash ConsistentApplication ConsistentApplication ConsistentApplication ConsistentApplication Consistent
Windows 2008Not SupportedNot SupportedNot SupportedApplication ConsistentApplication Consistent

 

Not Supported:

Microsoft does not support this combination of Windows and SQL Server. A combination unsupported by Microsoft.

 

Crash Consistent:

This is the state in which a system would be found after a system failure or power outage.

 

Application Consistent:

This is the state in which all databases are in-synch and represent the true status of the application.  In the table above, the light green represents a software snapshot provider (Windows 2003) and the dark green represents a hardware snapshot provider (Windows 2008).

 

As with all things backup, you should always verify the restores periodically to ensure the intended result can/will be achieved.

 

Note: This information is valid as of May 17, 2011 for VMware vStorage APIs for Data Protection and vSphere 4.1 editions.

 

As always, thanks for reading.

Brian

361 Views 0 Comments Permalink Tags: backup, operations
0

.VMX Hardening Options

Posted by vmroyale Apr 8, 2011

The vSphere 4.1 Hardening Guide was released yesterday, and it contains a wealth of information on securing vSphere environments.  The scope of the guide states that the topics covered are the "initial configuration of the virtualization infrastructure layer," which includes VMware ESX 4 and VMware ESXi 4 hosts, Virtual Machine Configuration (.VMX) files, virtual networking infrastructure, VMware vCenter Server, its database and client components and VMware Update Manager.  General Guest OS and application hardening is not included as part of this guide.

 

I updated my security notes, after reading the new guide, and I also decided to include the .VMX options here as a quick reference.  While these .VMX options can help secure the environment, these changes are only a part of a comprehensive strategy.  Also keep in mind that most of these changes will require the VM to be powered off or rebooted, before they can take effect.  With that being said, here are the options:

 

Prevent virtual disk shrinking:
isolation.tools.diskWiper.disable = "true"
isolation.tools.diskShrink.disable = "true"

 

Prevent other users from spying on administrator remote consoles:
RemoteDisplay.maxConnections=1

 

Disable Copy and Paste from VMs:
isolation.tools.copy.disable = "true"
isolation.tools.paste.disable = "true"

 

Ensure that unauthorized devices are not connected (unless needed/required):
floppyX.present = "false"
serialX.present = "false"
parallelX.present = "false"
usb.present = "false"
ideX:Y.present = "false"

 

Prevent unauthorized removal, connection and modification of devices:
isolation.device.connectable.disable=TRUE
isolation.device.edit.disable=TRUE

 

Disable VM-to-VM communication through VMC:
vmci0.unrestricted=FALSE

 

Limit VM log file size and number:
log.rotateSize = "100000"
log.keepOld = "10"
logging=FALSE

 

Limit informational messages from the VM to the VMX file:
tools.setInfo.sizeLimit=1048576

 

Disable certain unexposed features:
isolation.tools.unity.push.update.disable = TRUE
isolation.tools.ghi.launchmenu.change = TRUE
isolation.tools.memSchedFakeSampleStats.disable = TRUE
isolation.tools.getCreds.disable = TRUE
isolation.tools.hgfsServerSet.disable = TRUE

 

Disable remote operations within the guest:
guest.command.enabled=FALSE

 

Do not send host performance information to guests:
tools.guestlib.enableHostInfo=FALSE

 

Control access to VMs through VMsafe CPU/memory APIs:
vmsafe.enable = TRUE
vmsafe.agentAddress=”www.xxx.yyy.zzz”
vmsafe.agentPort=”nnnn

 

Control access to VMs through VMsafe network APIs:
ethernet0.filter1.name = dv-filter1

 

Allow Application Consistent Snapshots in Windows 2008:
disk.EnableUUID=”true”

 

The final option is not actually in the guide, but application consistency can/should be thought of as increased availability.  Many of these options could cause undesired consequences in your environment, so consult the guide and always test before making any of these changes in production environments.

 

As always, thanks for reading!

Brian

1,120 Views 0 Comments Permalink Tags: esx, vmware, security, management, esxi, configuration, virtualization, hardening, vsphere
2

The requirement:
A requirement comes down for a set of 4 new virtual machines. Each of the VMs is 185 GB in size and will require a full nightly image backup.

 

The problem:
This additional 740 GB of daily backups is impacting the backup window and using a lot of storage in the process.  With no deduplication, a week's worth of all four VMs requires over 5TB of storage.  Each VM backup was taking 50 minutes to complete, and a total of 3 hours and 20 minutes each night was used just for these 4 VMs.

 

The resolution:
Use NetBackup 7 (which leverages the vStorage APIs for Data Protection) and VMware's Changed Block Tracking (CBT) functionality to reduce both the backup window and storage requirements.  The idea is to take a full image backup of each VM once a week, and then perform a block level incremental backup (BLIB) for the remaining 6 days.

 

The math:


FULL VM IMAGE BACKUPFULL VM w/BLIB
Saturday165 GB, 50 minutes165 GB, 50 minutes
Sunday165 GB, 50 minutes11 GB, 05 minutes
Monday165 GB, 50 minutes21 GB, 10 minutes
Tuesday165 GB, 50 minutes15 GB, 12 minutes
Wednesday165 GB, 50 minutes11 GB, 12 minutes
Thursday165 GB, 50 minutes19 GB, 10 minutes
Friday165 GB, 50 minutes20 GB, 11 minutes
WEEKLY TOTAL x 1 VM1.1 TB, 350 minutes262 GB, 110 minutes

WEEKLY TOTALS x 4 VM4.4 TB, 1400 minutes1 TB, 440 minutes

 

The full backup on Saturday still takes the same amount of time as before, but on Sunday the block level incremental backup takes just 5 minutes to complete.  Monday - Friday offer similar results, and no single BLIB ever takes longer than 12 minutes to complete.  This means that I can get what is essentially a FULL backup of all four VMs in the time it used to take to get just one.  Notice also the amount of data that is backed up.  The entire set of BLIBs for 6 days use less space than a single FULL backup.  Both of these savings are very real and also very easy to implement.

 

The implementation:
Note: The VM must be running Virtual Machine Version 7, in order to use CBT, and the VM must be powered off to enable the CBT changes detailed below.  The first step is to enable CBT on a per-VM basis.  This is done via the "Edit Settings" for the VM.  Next choose the "Options" tab and scroll down to "Advanced" and select the "General" option.  Click the "Configuration Parameters" button and then add the following lines:

 

Name: ctk.Enabled

Value: true


Name: scsi0:0.ctkEnabled

Value: true

 

 

screengrab1.jpg

 

The scsiX:X.ctkEnabled configuration parameter should be added for each disk in the VM, and its value should reflect the Virtual Device Node for each disk.  For example, say there were two disks in the VM with Virtual Device Nodes scsi0:0 and scsi0:1 - there would need to be a configuration parameter added for each disk.  Each disk would be added as a new line.

 

The final configuration parameter (Name: disk.EnableUUID | Value: true) shown in the screenshot is optional.  It is used to enable application-consistent quiescing in Windows 2008 VMs and is discussed in kb 1028881.  Now might be a good time to make this change as well.

 

Once all of the name value pairs have been added to the Configuration Parameters, click OK twice and then power the VM up.  CBT is now enabled, and can be verified with the instructions provided in kb 1020128.

 

Note: If CBT is planned to be used for all virtual machines in the environment, it might make sense to modify any templates to include it by default.


Now that CBT is set up, the NetBackup policy can be set up to leverage BLIB.  Basically, the idea here is to set up the policy's schedule for one weekly full FlashBackup-Windows backup and 6 differential incremental backups.  First, the policy must be set up to use CBT.  This is configured in the "Attributes" tab for the policy and is accomplished by selecting the checkbox for "Perform block level incremental backups."

 

screengrab2.jpg

 

The final step is to configure the scheduling for this policy.  To do this, select the "Schedules" tab and create two new schedules.  The first schedule will be for a full weekly backup to be performed on Saturday.  The second schedule will be for a daily differential incremental backup to be performed Sunday through Friday.

 

screengrab3.jpg

Add the client that CBT was enabled on in the previous steps to this policy, and the policy is complete and ready to be used.

 

After the first full and differential incremental backups are both complete, the results can be verified with the "Backup Archive Restore" NetBackup application.  After selecting the desired VM, the differential backups will show up just like they would for a normal MS-Windows type policy.

screengrab4.jpg

 

The conclusion:

The combination of BLIB with CBT is a very effective solution for lowering backup windows and saving on storage.  For those that are already using vSphere and NetBackup 7, there is no additional licensing or cost associated with implementing either of these technologies.  The information presented here is a very basic approach to implementing BLIB and CBT, and there is much more information about this topic in both the "Designing Backup Solutions for VMware vSphere" Technical Note and the "Symantec NetBackup for VMware Administrator's Guide."

 

As always, thanks for reading!

Brian

1,392 Views 2 Comments Permalink Tags: backup, management, vsphere
2

http://www.pearsonitcertification.com/ShowCover.aspx?isbn=0789740575&type=f

Last fall, I was fortunate to have the opportunity to be one of technical editors on Eli Khnaser's "Exam Cram: VCP4 VMware Certified Professional VCP-410 Exam."  It was my first time as a technical editor, and it was an interesting and learning experience.  The book was updated from the first edition that covered VI3, and the technical editing was a good use of both my VCP3 and VCP4 certifications.  I recently received a copy of the book, and thought now would be a great time to write about it.  The book is available now!

 

The first thing you notice when opening this book is the Cram Sheet foldout.  This foldout contains 109 facts around the exam that follow the layout of the chapters of the book.  The book follows the exam blueprint chapter by chapter, and along the way there are lots of sample questions, exam alerts and other items that will help prepare you for the VCP-410.  There is also a nice balance between the cram information and the information that Eli includes as tips, notes and cautions.  These items apply more to real world scenarios, and would help any VCP be more rounded in the field.  This information is a nice touch and a real hidden bonus.  There is also a 75 question practice exam, and a very useful reference in the included glossary.  If you still need more practice questions, there are 75 more on the included CD.  If you are looking to take the VCP-410 exam soon, I would definitely recommend picking up a copy of this book!

 

As always, thanks for reading!

Brian

1,384 Views 2 Comments Permalink Tags: vcp, certification
1

I recently had to update the BIOS and iDRAC firmware on a Dell server running ESXi. I did not have the Dell Server Updates DVDs or the time required to download them, and instead used the Dell OMSA CentOS LiveCD and the Update Package for Red Hat Linux files option.  While the steps below are Dell specific, they could be modified very easily to work with just about any hardware vendor.


01. Download the Dell OMSA CentOS LiveCD, and make sure to read the README file.

 

02. Download the required updates from the Dell support site. Be sure to choose the "Update Package for Red Hat Linux" .BIN format for the downloads.  Again, make sure to read any notes or installation instructions included with the downloads.  For this set of Dell updates, the iDRAC firmware had to be updated prior to the BIOS.

 

03. Use ISO Master (or equivalent) to inject the .BIN files to the root of the Dell OMSA CentOS LiveCD ISO image, and then burn the image to disc. The updates could also be copied to a USB drive and then mounted from within the LiveCD.

 

04. After evacuating all VMs from the ESXi host and putting it in maintenance mode, boot the ESXi host to the Dell OMSA CentOS LiveCD.

 

05. Choose the "Boot (run from CD)" option at the menu.

 

06. Wait for the GUI to start, and then issue the following commands from the terminal window:

 

cd /mnt/live
./<NAME-OF-UPDATE.BIN>

 

07. When the update is complete, issue a reboot command from the GUI of the LiveCD or type the following command in the terminal window:

 

reboot

 

08. After the LiveCD completes shut down, remove it from the ESXi host.  Verify that the updated firmware versions are correct, and then test your ESXi host to ensure everything is working as expected.

 

Thanks for reading!

811 Views 1 Comments Permalink
0

This is a modernized version of the "Single use ESXUPDATE How To for ESX 4" post I wrote over a year ago.  With more and more people making the transition over to ESXi, it seemed like it was time to have a simple set of instructions to be provided for use in patching ESXi.

 

01: Make sure you have the vMA both installed and configured.

 

02: Download the patch bundle directly from VMware Support. This download will be .zip file.  Do not extract it.

 

03: Use SCP (Windows users use WinSCP) to upload the .zip file to the vi-admin user's home directory (/home/vi-admin) on the vMA.

 

04: Obtain local console access, or SSH (putty), to the vMA virtual machine that the bundle file was uploaded to.

 

Note: In all examples below, 10.10.10.10 would be replaced with the actual IP address (or DNS name) of the ESXi host to be patched.

 

05: Use the vSphere client to put the ESXi 4.x host in maintenance mode.  Alternatively, from the vMA use the command:

 

vicfg-hostops --server 10.10.10.10 --operation enter

 

To next verify that the host is in maintenance mode, run the following command from the vMA.

 

vicfg-hostops --server 10.10.10.10 --operation info

 

The following command may also be used to list running virtual machines.  This is for environments without VMotion or for single hosts.

 

vmware-cmd --server 10.10.10.10 -l

 

The following command may also be used to stop running virtual  machines.  This is for environments without VMotion or for single hosts.

 

vmware-cmd --server 10.10.10.10 <vm-path> stop soft

 

06: Verify which bundles are already installed on the ESXi host, using the command:

 

vihostupdate --server 10.10.10.10 --query

 

Note: You will next be prompted for a username and password when running this and any subsequent commands that connect to an ESXi host.

 

07. Find out which bulletins are available in the bundle.

 

vihostupdate --server 10.10.10.10 --list --bundle ~/<bundle-name>

 

Note: In the example above, the bundle-file would be located in the vi-admin user's home directory.  The list here should be reviewed for accuracy and to ensure that the correct bundle file was downloaded and copied to the vMA.

 

08. Find out which bulletins are applicable to the ESXi host.

 

vihostupdate --server 10.10.10.10 --scan --bundle ~/<bundle-name>

 

09: Finally, the bundle is installed using the command:

vihostupdate --server 10.10.10.10 --install --bundle ~/<bundle-name>

 

10. When (or IF) prompted to reboot, use the vSphere client or the following command from the vMA:

 

vicfg-hostops --server 10.10.10.10 --operation reboot


Note: Not all patches will require an ESXi host reboot.  You will be prompted, when required.

 

11: After the ESXi host boots, verify the patch bundle was installed from the vMA with the command:

 

vihostupdate --server 10.10.10.10 --query

 

12: If applicable, take the ESXi host out of maintenance mode using the vSphere client or from the vMA with the command:

 

vicfg-hostops --server 10.10.10.10 --operation exit

 

13: If applicable, restart virtual machines using the vSphere client or from the vMA with the command:

 

vmware-cmd --server 10.10.10.10 <vm-path> start

 

As always, thanks for reading!

2,258 Views 0 Comments Permalink Tags: management, esxi
2

I recently ran into an issue upgrading a customer's vSphere environment.  This environment had 4 older servers running ESX 4.0 in a single cluster that were to be replaced with new hardware running ESXi 4.1. The upgrade process was basically to enable EVC on an existing cluster, remove one host at a time and finally add one host at a time back to the cluster.  When it was time to add the first host back into the existing cluster, I received the error "Cannot complete the configuration of the HA agent on the host.  Misconfiguration in the host network setup."  A quick search of the VMware Knowledge Base turned up kb 1019200 - "Configuring VMware High Availability fails with the error: Cannot complete the configuration of the HA agent on the host"

 

The kb article states that "This issue occurs if all the hosts in the cluster do not share the same service console or management network configurations. Some hosts may have service consoles using a different name or may have more service consoles than other hosts."  This makes perfect sense, as the ESX 4.0 hosts are using a Service Console connection type for the management network and the new ESXi 4.1 host is using a VMkernel connection type.  Fortunately, the kb article went on to discuss how to use the "das.bypassNetCompatCheck" option for HA to ignore this mismatched management connection condition.  Basically, turning off HA for the cluster and then turning it  on again with the "das.bypassNetCompatCheck" option allowed the ESXi 4.1 host to join the existing cluster without incident.  Once the fourth and final host was added to the cluster and the cluster contained only ESXi 4.1 hosts, the "das.bypassNetCompatCheck" was removed using the same procedure.

 

Hopefully this information will help others, as I am certain this upgrade scenario is a common one.

 

Thanks for reading,

Brian

1,332 Views 2 Comments Permalink Tags: upgrade, esx, cluster, ha, esxi, vsphere
0

I just ran across kb 1026944, titled "Restoring VMware Consolidated Backup images on vSphere 4.1."  This kb article discusses that while VCB support is included in vSphere 4.1, restoring a previously backed up VCB image will require the use of vCenter Converter Standalone 4.0.1 or earlier.  This is because the VCB restore capability is no longer available in vSphere 4.1, vCenter Server 4.1, and vCenter Converter 4.1.  So if you have older VCB backups that may have to be restored into your vSphere 4.1 environments, make sure you have a copy of vCenter Converter Standalone 4.0.1 or earlier available.

 

Thanks for reading!

Brian

627 Views 0 Comments Permalink
1 2 3 Previous Next

Communities