Archive

Posts Tagged ‘vSphere’

VMDeployer 1.4 Released: Light Weight GUI to Deploy and Backup Your VMs

August 1st, 2017 2 comments

When version 1.2 was released, I had almost finished the work on 1.3. Then, I got a few interesting ideas and quickly implemented them altogether. Instead of releasing 1.3, I’d pull things together for 1.4 release.

Here are a few highlights in this version 1.4:

Free Tiny GUI Tool to Deploy OVA or OVF to All Versions of VMware vSphere: VMDeployer 1.1 Released

June 30th, 2017 2 comments

With the release of version 1.0 of our free GUI tool to deploy virtual machines on all platforms, we’ve successfully solved the issue of deploying our search appliance using the vSphere Web Client. We have a few more happy new customers ever since.

However, it could not deploy the NSX manager because 1.0 does not support OVF properties. To be exact, the deployment goes through, but the deployed NSX Manager VM cannot power on due to the required OVF value is not set for the admin password.

Free Java GUI to Deploy VMs onto vSphere of All Versions – A Solid and Fast Alternative to vSphere Web Client and ovftool

May 8th, 2017 1 comment

Recently we got quite a few complaints about installing vSearch appliance OVA onto vSphere 6.5 using the vSphere Web Client. It does not work. As a quick workaround, we told customers to try the VMware ovftool command line. While it works mostly, we still got questions and issues on the usage. For one thing, it’s not always straight-forward and easy to get the parameters right.

Deploying OVA onto VMware vSphere: Issues and Workarounds

March 31st, 2017 1 comment

Update: this issues are fixed with the VM Deployer tool we just release as described here.

With the increasing adoption of VMware WebClient, we got more support cases from customers who use it for deploying our search engine appliance. In one sentence, it does NOT work and you will get error messages like, “the provided manifest file is invalid OVF.”

Categories: Virtualization Tags: , , ,

No More Spread Sheet or Wiki Page: Better Way to Track IP Addresses

January 19th, 2017 4 comments

IP addresses are important resources and must be carefully managed to avoid duplicated IP issues, which are sometimes very hard to troubleshoot. I still remember that it took a few of us couple of days to root cause a failing new feature, which worked sometimes and did not other times. Because it’s a new feature, we mostly thought it was somehow our bug in code. It turned out not, but caused by the vCenter we were testing actually used a duplicated IP address.

Announcing vijavaNG 6.5 – the smallest, fastest, and most secure Java APIs for VMware vSphere 6.5

November 28th, 2016 4 comments

On November 15, VMware offically announced the long-waited vSphere 6.5, which is a big release after 6.0 release early last year. Along with this vSphere release were a few other products like VMware vSAN 6.5, VMware vRealize Log Insight 4 and VMware vRealize Operations 6.4. According to the blog announcement, the vSphere 6.5 offers these high level features and benefits:

vSearch 2.0 Released: “Super vCenter” is Even Superer

June 21st, 2016 3 comments

After more than 4 months of hard work, we are proud to announce the second major release of the product. On the high level, there are 3 major features besides many smaller improvements over the first release based on the customers’ feedback.

1. VM Actions and Group Actions

Categories: Virtualization Tags: , , ,

Too Early to Say GoodBye VMware vSphere Client?

May 22nd, 2016 4 comments

VMware published a blog “Goodbye vSphere Client for Windows (C#) – Hello HTML5” with two announcements: 1. There won’t be the traditional C# based vSphere Client for the next version of vSphere (no one knows the version yet but it’s safe to call it the next version.). 2. The vSphere HTML5 Web Client Fling will be supported soon (no exact timetable is given). My guess is that it will make into next release of vSphere if not earlier.

vSphere Web Client URL Patterns

September 30th, 2014 No comments

Although I don’t think vSphere Web Client is a good choice as main GUI for vSphere administration, it has done one thing right and well – it has a unique URL for almost everything you can browse the vSphere Web Client. The benefit is that you can bookmark a URL and open to the page without many clicks.

Categories: Virtualization Tags: , ,

Why Renaming Datastore Not Working With Command Line and How to Fix it

December 16th, 2013 No comments

I just got into a very interesting problem recently – the vim-cmd does not work as expected when used for renaming a datastore in vSphere.

What is the problem exactly?

The following command, for example, should change the name of a datastore from datastore1 (which is the default datastore name) to doublecloudDS.

# vim-cmd hostsvc/datastore/rename datastore1 doubecloudDS

After the command is executed, there is no error message reported. But the datastore name remains the same as shown in either the vSphere Client or using the following command:

Categories: Virtualization Tags: , ,

Powerful Hacks With ESXi vim-cmd Command, Together With Shell Commands

December 1st, 2013 10 comments

If you have read my previous article on the vim-cmd, you may have realized how handy it is, especially when it comes to manage virtual machines. There is however a pretty challenging problem to use it – for most commands for a virtual machine, it requires vmid which is an integer that uniquely identifies the virtual machine in the context of an ESXi server. It’s like primary key in SQL database to locate a record (virtual machine instance) in a table (virtual machine type). For people who are familiar with vSphere APIs, the vmid is the same as the value of ManagedObjectReference value of a virtual machine in ESXi. Because most administrators who use commands are not necessarily familiar with vSphere API, it doesn’t help much.

Categories: Virtualization Tags: , , ,

vSphere Support Bundle: How to Collect Anything You Want From ESXi, Not Just Logs

November 25th, 2013 No comments

vSphere Client and vSphere Web Client allow administrators to download system logs from different ESXi hosts with choices of predefined groups of information like System, Storage, Network, UserWorld, etc. Under each group, there could be multiple types. For example, under the UserWorld, there are HostAgent and ProcessInformation.

Categories: Virtualization Tags: , , ,

Dummy Virtual Machine For Dummies: How To Create Hundreds of Them with Several Lines of Scripts

November 20th, 2013 No comments

As I introduced in the article on vim-cmd commands, you can use a very simple command as follows to create a new virtual machine. Alternatively, you can ignore the path after the datastore and provide only datastore name (The [ and ] are still needed).

# vim-cmd vmsvc/createdummyvm testVM “[datastore1] testVM/testVM.vmx"

Other than the name and configuration file path in data store, there is no additional information provided such as the size of the disk, memory capacity, etc. Normally, you have to go through a wizard of several pages to create a new virtual machine.

Building Linux Virtual Machine Templates: Tips and Checklist

November 18th, 2013 2 comments

While preparing for my home lab, I have created several virtual machine templates. Here are a few tips I found useful to smoothen the process and make your virtual machine templates easy to be deployed than otherwise.

Install VMware Tools
As you may have known, VMware Tools brings many features to the table, for example,

Significantly faster graphics performance and Windows Aero on operating systems that support Aero
Copying and pasting text, graphics, and files between the virtual machine and the host or client desktop
Improved mouse performance
Synchronization of the clock in the virtual machine with the clock on the host or client desktop
Scripting that helps automate guest operating system operations

Wait, it does not even mention APIs. For Guest APIs in vSphere 5.0 and later to work, you must have VMware Tools installed in your virtual machines.

VMware ESXi vim-cmd Command: A Quick Tutorial

November 11th, 2013 24 comments

Command lines are very important for system administrors when it comes to automation. Although GUIs are more likely (not always as I’ve seen too many bad ones) to be more intuitive and easier to get started with, sooner or later administrators will use command lines more for better productivity. Check out DoubleCloud ICE if you want the best of both GUI and command lines.

Categories: Virtualization Tags: , , ,

Jumbo Frame with ESXi: What I Learned at Home Lab

September 23rd, 2013 2 comments

While building my home lab, I found a bit trouble setting up the jumbo frame of MTU 9000 which is supposedly faster than normal frame of MTU 1500. To set it up, I changed the MTU on both ESXi and the Synology DS1513+. The steps involved are pretty simple and straight-forward.

Angular JavaScript Framework: MVC Simplified in HTML5

September 8th, 2013 3 comments

At VMworld 2013, I bumped into my former colleagues at VMware who work on the new vSphere Web Client. Faster than I thought, the new vSphere Web Client started to support HTML5 partially with Angular JavaScript Framework. I haven’t looked into the details but that is something the community should be excited about.

Libvirt vs vSphere Management Agent: A Quick Comparison

July 10th, 2013 No comments

Libvirt is an open source project for managing almost all hypervisors and containers. It’s implemented in C and can be exposed through different language bindings.

There are both server (a.k.a daemon or agent) and client. If you are familiar with VMware vSphere (I assume you are if you read my blog), the server is very much like the hostd running on the ESXi side. The client is like the VI Java API that can be used for remote management.

Categories: Virtualization Tags: , ,

How to Avoid “127.0.0.1” in SNMP Trap With vCenter Server Virtual Appliance

April 24th, 2013 1 comment

SNMP trap provides a very useful way to monitor vSphere. You can use either GUI or vSphere API to configure up to 4 trap receivers. With that I can use alarm to monitor events or state changes.

If you use vSphere API to add SNMP receivers, you will need the OptionManager managed object. The related options you want to set are: snmp.receiver.1.name, snmp.receiver.1.port, snmp.receiver.1.community, snmp.receiver.1.enabled. There are 3 more sets with similar names but different numbers (2, 3, 4).

Categories: Virtualization Tags: , ,

A Quick Hack to Database Failure in vCenter Appliance

April 14th, 2013 2 comments

After playing with the vCenter appliance simulator feature documented by William, I got into a show stopper that vCenter service (VPXD) could not be started. I don’t think it’s related to the simulator feature at all. My guess is that it’s caused by a sudden power off of the virtual machine but didn’t try to reproduce the problem that way – I care more to fix it than anything else.