WilliamLam.com

  • About
    • About
    • Privacy
  • VMware Cloud Foundation
  • VKS
  • Homelab
    • Resources
    • Nested Virtualization
  • VMware Nostalgia
  • Apple

vSphere 5 Summary on virtuallyGhetto

07.29.2011 by William Lam // Leave a Comment

Here is a collection of all my blog posts relating to vSphere 5 that I have worked on over the last 6 months.

General Topics
1. How to Enable Support for Nested 64bit & Hyper-V VMs in vSphere 5
2. Automating ESXi 5.x Kickstart Tips & Tricks
3. Major Enhancements in esxcli for vSphere 5
4. What's New in VMware Vsish for ESXi 5
5. SSH Keys & Lockdown Mode Caveat in ESXi 5
6. How to Create Custom Firewall Rules in ESXi 5.0
7. How to Format and Create VMFS Volume using the CLI in ESXi 5
8. HBR (Host Based Replication) CLI for SRM 5
9. New vSphere 5 CLI Utilities/Tricks Marketing Did Not Tell You About Part 1
10. New vSphere 5 CLI Utilities/Tricks Marketing Did Not Tell You About Part 2
11. New vSphere 5 CLI Utilities/Tricks Marketing Did Not Tell You About Part 3
12. New vSphere 5 HA, DRS and SDRS Advanced/Hidden Options
13. How to Trick ESXi 5 in seeing an SSD Datastore
14. Free Linux & Windows Syslog Alternatives to depercated vi-logger in vMA 5
15. Host Profiles Free in ESXi 5?
16. vi-fastpass esxcli and resxtop bug resolved in vMA 5
17. Tips and Tricks for vMA 5
18. How to Enable Nested vFT (virtual Fault Tolerance) in vSphere 5
20. When Can I Run Apple OSX on vSphere 5?
21. How Fast is the New vSphere 5 HA/DRS on 64 Node Cluster? FAST!
22. New Hidden CBRC (Content-Based Read Cache) Feature in vSphere 5 & for VMware View 5?
 

API + SCRIPTS
1. There's a new mob in town, FDM MOB for ESXi 5
2. New SRM 5 APIs
3. Automating the New Integrated VIX/Guest Operations API in vSphere 5 
4. Automating Storage DRS & Datastore Cluster Management in vSphere 5
5. How to Automate Host Cache Configuration in ESXi 5
6. 2 Hidden Virtual Machine Gems in the vSphere 5 API
7. New vSphere Health Check 5.0 & ghettoVCB Script
8. New Performance Metrics In vSphere 5
9. How to Persist Configuration Changes in ESXi 4.x/5.x Part 1
10. How to Persist Configuration Changes in ESXi 4.x/5.x Part 2
11. How to Automate the Upgrade of Classic ESX 4.x to ESXi 5
12. New Application Awareness API in vSphere 5

If you have found these and other resources useful on this site and would like to support us, you can donate here. Thanks!

Categories // Uncategorized Tags // ESXi 5.0, vSphere 5.0

New vSphere Health Check 5.0 & ghettoVCB Script

07.29.2011 by William Lam // 8 Comments

The vSphere Health Check script has now been updated to support vSphere 5.0 and includes the following new features:

  • vCenter Server Instance UUID
  • vCenter hostname
  • Storage DRS Configuration (Maintenance Mode, Stats Aggregation, Stats Collection for Datastores)
  • FDM/HA Heartbeat Policy + Datastore
  • FDM/HA State
  • Host Agent Settings
  • Host New iSCSI Configuration/Information
  • Host FCoE HBAs
  • Host Source Packages for ESXi Services
  • Host ESXi Capabilities
  • Host SMC Hardware Information regarding OSX Support
  • Host Updated Firewall Rules (direction, port type, port, protocol and allowedIPs)
  • Host Cache SSD Datastore details
  • Host DVS IPFIX Details + NIOC
  • Virtual Machine Virtual Hardware Version
  • Virtual Machine Firmware, Initial overhead memory + swap
  • Virtual Machine State
  • Virtual Machine Snapshot consolidation + HA protection
  • Virtual Machine EZT Disk Type
  • Updated color mappings for multipath states
  • Support for standalone ESX(i) hosts without vCenter Clusters
  • New healthCheck.conf variables:  DVS_SUMMARY, DVS_CAPABILITY, DVS_CONFIG, DATASTORE_CLUSTER_SUMMARY, DATASTORE_CLUSTER_POD_CONFIG, DATASTORE_CLUSTER_POD_ADV_CONFIG, DATASTORE_CLUSTER_POD_STORAGE, HOST_ISCSI, HOST_AGENT, HOST_CACHE, VM_STATE, VM_EZT
  • Updated color scheme for HTML report

Here is an sample report that you can view.

For more details, please check out the vSphere Health Check Script document located here.

The popular free virtual machine backup script ghettoVCB has also been updated to support ESXi 5.0!

Categories // Uncategorized Tags // ESXi 5.0, health check script, vSphere 5.0

Tips and Tricks for vMA 5

07.29.2011 by William Lam // 13 Comments

vMA 5 is just one of the latest VMware virtual appliances that have received the blessings and conversion to VMware's standard virtual appliance OS, SUSE. There have been several changes in the latest version of vMA and here are just a few tips and tricks that can help get you going with this new OS

1. The increase password complexity is something you may notice when you first configure vMA, if you are interested in changing it to make it easier or harder, you can take a look at the following knowledge base found on Novell's website:

2. You can now update vMA using a browser versus using the vma-update utility which is no longer being bundled with vMA 5. To access the management interface of vMA, go to your browser and type the following: https://[your-vma-hostname]:5480. You can configure a few things through the VAMI interface including updates for vMA in which you have a few options to choose from such as no updates, automatic check for updates or automatic check and install updates (just like Windows Update)

3. As with the previous versions of vMA, it has the OSP (Operating Specific) VMware Tools and the status will show up on the vSphere Client as "unmanaged". If you want to upgrade to the latest version of VMware Tools found on ESXi 5.0 to make sure of functionality such as the new integrated VIX API into the core vSphere API, you will need to run the latest VMware Tools. To do so, you will need to uninstall the OSP VMware Tools and then install the VMware Tools found in ESXi

First you will need to identify the package to uninstall and then uninstall, this can all be done at once using the following command:

vi-admin@primp-dhcp-235:~> sudo rpm -e $(rpm -qa | grep "open-vm-tools")
Stopping VMware Tools services in the virtual machine:
Guest operating system daemon: done
Virtual Printing daemon: done
Unmounting HGFS shares: done
Guest filesystem driver: done
Guest memory manager: done
VM communication interface socket family: done
VM communication interface: done
warning: /etc/vmware-tools/tools.conf saved as /etc/vmware-tools/tools.conf.rpmsave

You will need to either copy the linux.iso containing the latest version of VMware Tools from your ESXi 5 host or use the vSphere Client to install the tools. I will demonstrate how to do so from the command line using the linux.iso. You will need to copy the linux.iso over to your vMA host using the following command:

vi-admin@primp-dhcp-235:~> scp *protected email*:/vmimages/tools-isoimages/linux.iso .

Now you will mount the linux.iso to extract the VMware Tools package

vi-admin@primp-dhcp-235:~> sudo mount -o loop linux.iso /mnt/

Next we will extract the contents to /tmp

vi-admin@primp-dhcp-235:~> tar -zxvf /mnt/VMwareTools-8.5.1-380278.tar.gz -C /tmp

Then we will umount linux.iso file

vi-admin@primp-dhcp-235:~> sudo umount /mnt

We now will change into the extracted directory under /tmp/vmware-tools-distrib and perform the installation of VMware Tools

vi-admin@primp-dhcp-235:~> cd /tmp/vmware-tools-distrib
vi-admin@primp-dhcp-235:~> sudo ./vmware-install.pl

You can accept all the defaults and when it prompts you for "gcc", you can ignore that option as gcc is not available by default on vMA and after that you will see that your VMware Tools have been updated from the vSphere Client.

4. Previous version of vMA, if you are familiar with Redhat/CentOS/Fedora, you know that you can use YUM as a way to install packages from a package repository. You can do the same on SUSE, but you will need to leverage a different tool called zypper which is a command line package manage just like YUM. You can also use another tool called YaST which also uses libzypp which is zypper package management engine. In the following example I will demonstrate how to configure a repository using zypper and search and installing a package.

To get a list of repositories based on the version of SUSE, you can take a look at the following link.

To add a repository, you will use the "ar" (Add Reposistory) option specified by the URL and alias:

vi-admin@primp-dhcp-235:~> sudo zypper --gpg-auto-import-keys ar http://download.opensuse.org/distribution/11.1/repo/oss/ 11.1
Adding repository '11.1' [done]
Repository '11.1' successfully added
Enabled: Yes
Autorefresh: No
URI: http://download.opensuse.org/distribution/11.1/repo/oss/

You can add multiple repository and you can reference them by either the alias or the number assigned to the given repository

vi-admin@primp-dhcp-235:~> sudo zypper --gpg-auto-import-keys ar http://download.opensuse.org/update/11.1/ Update-11.1
Adding repository 'Update-11.1' [done]
Repository 'Update-11.1' successfully added
Enabled: Yes
Autorefresh: No
URI: http://download.opensuse.org/update/11.1/

Once you have successfully added your repository, you can view them by running the "lr" (List Repository) option

vi-admin@primp-dhcp-235:~> zypper lr
# | Alias | Name | Enabled | Refresh
--+-------------+-------------+---------+--------
1 | OS-11.1 | OS-11.1 | Yes | No
2 | Update-11.1 | Update-11.1 | Yes | No

Before you search or install packages using zypper, you will need to first refresh the repository and build the cache. To so do, you will just run the "refresh" operation

vi-admin@primp-dhcp-235:~> sudo zypper refresh
Retrieving repository '11.1' metadata [|]
New repository or package signing key received:
Key ID: B88B2FD43DBDC284
Key Name: openSUSE Project Signing Key
Key Fingerprint: 22C07BA534178CD02EFE22AAB88B2FD43DBDC284
Repository: 11.1
Do you want to reject the key, trust temporarily, or trust always? [r/t/a/?] (r): t
Retrieving repository '11.1' metadata [done]
Building repository '11.1' cache [done]
Retrieving repository 'Update-11.1' metadata [-]
New repository or package signing key received:
Key ID: B88B2FD43DBDC284
Key Name: openSUSE Project Signing Key
Key Fingerprint: 22C07BA534178CD02EFE22AAB88B2FD43DBDC284
Repository: Update-11.1
Do you want to reject the key, trust temporarily, or trust always? [r/t/a/?] (r): t
Retrieving repository 'Update-11.1' metadata [done]
Building repository 'Update-11.1' cache [done]
All repositories have been refreshed.
@opensuse.org>@opensuse.org>

Now we can search for a package using the "se" (Search) option

vi-admin@primp-dhcp-235:~> zypper se ruby

Let's say we have located ruby as the package to install, you can then run "in" (Install) operation

vi-admin@primp-dhcp-235:~> sudo zypper in ruby

You could have also done this using yast by running yast -i ruby which will then launch a graphical UI or just by running yast by itself and navigating through the UI for packages.

5. vi-logger in vMA 5 has been deprecated and removed, for a free syslog alternative take a look at this blog article: Free Linux & Windows Syslog Alternatives to depercated vi-logger in vMA 5

6. How to Change the Splash Screen In vMA

Categories // Uncategorized Tags // ESXi 5.0, vMA5, vSphere 5.0

  • « Previous Page
  • 1
  • …
  • 514
  • 515
  • 516
  • 517
  • 518
  • …
  • 560
  • Next Page »

Search

Thank Author

Author

William is Distinguished Platform Engineering Architect in the VMware Cloud Foundation (VCF) Division at Broadcom. His primary focus is helping customers and partners build, run and operate a modern Private Cloud using the VMware Cloud Foundation (VCF) platform.

Connect

  • Bluesky
  • Email
  • GitHub
  • LinkedIn
  • Mastodon
  • Reddit
  • RSS
  • Twitter
  • Vimeo

Recent

  • Programmatically accessing the Broadcom Compatibility Guide (BCG) 05/06/2025
  • Quick Tip - Validating Broadcom Download Token  05/01/2025
  • Supported chipsets for the USB Network Native Driver for ESXi Fling 04/23/2025
  • vCenter Identity Federation with Authelia 04/16/2025
  • vCenter Server Identity Federation with Kanidm 04/10/2025

Advertisment

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy

Copyright WilliamLam.com © 2025