Category Archives: VMware

VMware shares about to go down again ?

Apparently confirmation has been recieved from a trusted source of virtualisation.info that VMware co-founder and Chief Scientist Mendel Rosenblum has resigned.

His wife, Diane Greene, that founded the company with him and led it as CEO since 1998 was removed by the board of directors in July for much unclear reasons. After that, the risk that his husband would follow was very high.

VMware told virtualization.info that Rosenblum took a month of vacation immediately after that meeting, and this delayed the decision to leave the company.

Also, maybe fearing an impact on the upcoming VMworld 2008 in Las Vegas, VMware may have requested to postpone the resign until the event registration was almost complete: this year VMworld achieved a ground-breaking record of 14,000 delegates so there’s no more need to wait.

While Diane Green was the keeper of the VMware culture and engineering tradition, Rosenblum was recognized as the company visionary, designing technologies to be implemented in the next few years.
For example, the upcoming security APIs called VMsafe, which has the potential to change the way we secure the data centers, were developed by the scientist in 2002.

virtualization.info was told that Rosenblum will go back to the university where he and his wife started VMware: Stanford.

With him VMware has already lost three key leaders.
The third one is the Executve Vice President of R&D, Richard Sarwal, who left just last week to go back to Oracle. Now it seems clear why.

This departure comes at the worst moment: yesterday Microsoft officially presented its competing product, Hyper-V, and while the hypervisor is still years behind the VMware technology, the entire industry announced support for it.
VMware will need a solid strategy to counter that: cutting-edge technologies rarely wins against marketing war-machines and ubiquitous alliances.

VI PowerScripter

Hal just pointed me to a new VI Client Plugin that integrates powershell into the VI Console, looks neat…

Download here

comasoft® VI PowerScripter (currently beta 1) is the first and absolutely unique VMware VI Client plug-in for a tight integration of user-defined PowerShell scripts into the object repository of VMware Virtual Infrastructure 3.5.

This plug-in delivers some predefined scripts for common admin tasks and is capable of handling hundreds of custom scripts for direct usage from a dynamically generated context menu within VI Client (for connections to VirtualCenter, ESX 3.5 or ESX 3i).

Thanks to its absolute flexibility, this powerful software is a “must” for professional users looking to administrate the virtual infrastructure in compliance with business-aligned functions in a simple and yet most effective manner.

Features

  • Load any VI PowerShell script through a dynamically created context menu (often no change needed)
  • Use of VM or Host based PowerShell scripts
  • Run Scripts against single or multiple chosen objects (also Cluster, DataCenter)
  • Switch between Debug and silent mode
  • Use local scripts or scripts from network shares
  • Enhance the VI Client or VirtualCenter functionality for your demands
  • PowerShell scripts using the correct VirtualCenter access rights
  • all script activities are logged
  • Usage of predefined scripts provided by icomasoft
  • Support for PowerGUI powerpack files

How to enable SSH on ESX 3i

This one has been around for a while but I thought I would document it on my blog as I just used it and there is a growing demand for 3i help due to it now being free !

How to enable SSH on VMware ESX 3i.

After reading the VMTN forum use the following steps to enable SSH

  • From the console press ALT-F1
  • Type unsupported and press ENTER
  • Enter the root password
  • Enter the following command vi /etc/inetd.conf
  • Search for the #SSH settings
  • Remove the # from the SSH row
  • Save the config by using :wq!
  • Type ps | grep inetd on the console
  • Send a hangup signal by using the following command kill -s HUP

You can now use Putty to SSH to your 3i server.

Free VMbook – Business Continuity and Disaster Recovery

This Free VMware VMbook focuses on business continuity and disaster recovery (BCDR) and is intended to guide the reader through the step-by-step process to set-up a multisite VMware Infrastructure that is capable of supporting BCDR services for designated virtual machines at time of test or during an actual event that necessitated the declaration of a disaster, resulting in the activation of services in a designated BCDR site.

Downloadable here

Last minute entry…Its great !

A last minute entry has just come into the VMware PowerShell Comp and its very good….

This script will generate 2 .txt file reports based on your virtual environment.

The first report (report.txt) includes resource utilization across all Clusters including CPU and Memory usage for the cluster as a whole as well as each individual ESX host.
It will also list the VM to Host Ratio for the cluster.

The latter portion of the report includes an overview of total Datastore space allocated to the environment as well as space available and the amount of space used by powered off VMs.

The first report finishes off with a listing of all datastores with details on available space, capacity and % used.The second report is a hotlist (hotlist.txt which includes VM’s that are using, on average, more than 75% of their allocated memory.

It also includes hosts that are using more than 75% of their Memory or CPU.
It continues by listing datastores with less than 10% of their capacity available.
Finally it pulls WARNING messages from each ESX host’s VMKernel log since the beginning of the previous day.

The first report (report.txt) is designed to bring a high level view of the environment for reporting purposes as well as for making decisions on where additional resources may need to be allocated on a cluster level.
It is particularly useful for providing numbers up the chain of command without needing to pore through Virtual Center collecting data.

The second report is useful from a health check standpoint. It automatically identifies vm’s and hosts that are running hot to give an analyst an idea of where they may need to look into problems.

The datastore report is useful for determining ahead of time when additional storage needs to be allocated and where it should be used. Perhaps the most useful part of the report is the ESX logs. It’s a single place for analysts to watch for early signs of issues that may not be apparent when just using Virtual Center.

The script is a perfect item to run at the beginning of the day before heading down the hall to grab a cup of coffee.

Check it out here

Virtualise in Minutes with VMware ESXi

Now its free why not give it a go with help from this new podcast from VMware…

VMware ESXi is the leanest, meanest hypervisor on the market today.

Discover the benefits of VMware virtualisation by learning how to get started in four easy installation steps.

Speakers:
John Gilmartin, Group Product Manager, Product Marketing, VMware Amir Sharif, Sr. Product Manager, Product Marketing, VMware

Listen: Listen or Download MP3 * (7 MB 10:15 mins)

Rescan all hosts for new storage

More of a note for myself really but others may find this useful, to rescan all the hosts (rather than clicking Rescan in the GUI) you can run the following PowerShell command:

For a Specific Cluster:

get-cluster -name “MY CLUSTER” | get-vmhost | Get-VMHostStorage -RescanAllHBA

All Hosts in VC:

get-vmhost | Get-VMHostStorage -RescanAllHBA

VI Toolkit Webinar by Carter Shanklin

For those who haven’t had much exposure to the Powershell Toolkit and what it can do, there is a recording of a webinar presented by the Carter Shanklin at this link. It is pretty basic and intended for those with little or no exposure to the toolkit.

If you’ve ever wondered what it is or why you might want to use it (like disconnecting the CD from 45 or 50 VMs so you can VMotion them without having to deal with the right-click – pick-from-the-pop-up-menu process manually 45-50 times) then you might want to check this out.

More recorded webcasts are available on : http://www.vmware.com/a/webcasts/recorded/

Original Source and great site: here

Exporting Virtual Infrastructure Information to MS Word

The below is a script that will export various information into Microsoft Word using PowerShell and the VI Toolkit, this is completely risk free and does not alter anything, just feed it your VI server name and sit back, it can also be used as a scheduled task and even set to email you a word attachment.

It even throws in a few graphs and pie charts for good measure, almost all information can be sent to the functions for you to expand on the report easily.

Comments are welcome, the good the bad and the ugly !

Usage: report.ps1 YOURVISERVER

See below or download here:

Reporting Script

Getting Started with the VI Toolkit

I have become a big fan of the Virtual Infrastructure (VI) Toolkit over the last month and it has really helped me learn PowerShell which I knew I would have to learn sooner or later but kept putting off.

I would now like to spread the word and help out those of you wondering what the hype is all about by telling you how to get started.

Do I need to install the VI toolkit on the VI server ?

No, Definitely not, this can be installed on your workstation and can be used to hook into the Virtual Infrastructure, nothing additional will need to be loaded onto the VI server.

What you will need

Download the following and install them in order:

  • .Net framework 2.0 (if not already installed)

This is a Next, Next jobbie until completed.

This is also a Next, Next jobbie until completed.

Just to make a change this is a Next Next

That gets the basics but what you also may want to install is the following:

Once these have all been installed you are nearly ready.

From your desktop start the VI toolkit via the newly created shortcut or choose it from the Start Menu if you prefer, once started type the following and press enter:

Set-ExecutionPolicy RemoteSigned

You are now all set to start with PowerShell and the VI toolkit, lets do a simple task just to get you started…

From within the Powershell window now open connect to your Virtual Infrastructure server by using the following command or as you are now using powershell they are know as cmdlets.

Connect-VIServer YourServername

Obviously replace YourServerName with you VI Server.  Once connected you will be able to start issuing commands to the session to retrieve information, try the following simple cmdlet and press enter:

Get-VM

You will now see a list of all Virtual Machines.

And so it begins, this is just a simple cmdlet which will get you hooked from the start, issue the following command to list the other VI Toolkit cmdlets:

Get-VICommand

This should list enough for you to get started, now you can explore PowerShell and the VI Toolkit, for quick examples of what can be done take a look at the VMware examples here:

Managing VMware with PowerShell FAQ

Now there will be no looking back, welcome to the Jedi !