The object has already been deleted or has not been completely created

Reading Time: 1 minute

Problem

When trying to Power On an old VM I was greeted with this message:

I checked the Datastore and everything seemed to be present and correct. I tried to migrate the VM to a different Host, but again I was shown this error. A quick Google didn't show up anything useful so I decided to check the logs.

running the command  tail /var/log/vmware/hostd.log -f whist trying to Power On the VM flagged these error messages:

  • [2010-03-24 12:11:10.547 'BaseLibs' 129907632 info] readlink /var/run/vmware/7f0f49adb5092b09694cdf456a488d6c: No such file or directory
  • [2010-03-24 12:11:10.547 'BaseLibs' 129907632 info] readlink /var/run/vmware/%2fvmfs%2fvolumes%2f4ad45c8d%2ddb2eadd5%2d411f%2d00237d3c8b86%2fTEST%2dVWB01%2fTEST%2dVWB01%2evmx: No such file or directory

Solution

Read the rest of this entry »

Using ESXTOP With VMware ESXi

Reading Time: 2 minutes

Just a quick post about using ESXTOP with VMware ESXi. Obviously in ESXi there is no Service Console so we have to use the vMA (vSphere Management Assistant) to help us. If you haven't installed the vMA on your infrastructure yet, you can download it here: http://www.vmware.com/support/developer/vima/

Once install and configured, login and run the following command: resxtop –server <server name>

You will be prompted to login, use the root user/pass of the Host you want to run ESXTOP on (Note: Logging in as root will not work if the Host is in "Lockdown Mode".). You should then be presented with ESXTOP, I believe it has all of the same function as it did in the Service Console

Here you can see all avaliable options when connecting to a Host using RESXTOP

usage: resxtop [-h] [-v] [-b] [-s] [-a] [-c config file] [-d delay] [-n iterations]
               [--server server-name [--vihost host-name]] [--portnumber socket-port] [--username user-name]
              -h prints this help menu.
              -v prints version.
              -b enables batch mode.
              -s enables secure mode.
              -a show all statistics.
              -c sets the esxtop configuration file, which by default is .esxtop4rc
              -d sets the delay between updates in seconds.
              -n runs resxtop for only n iterations.
              --server      remote server name.
              --vihost      esx host name, if --server specifies vc server.
              --portnumber  socket port, default is 443.
              --username    user name on the remote server.
       for more information on interactive and batch modes
       please see man page for resxtop.

	

PowerCLI: Reconfiguring NTP Servers on ESX Hosts

Reading Time: 1 minute

Just lately I’ve been creating a lot of PowerCLI scripts to help configure various aspects of out ESX environment. We’ve just implemented a new NTP Server to our network. So I was given the job to update all of our ESX Hosts. I didn’t fancy spending all morning manually changing them, so I set to work in creating a PowerCLI script to do the business. Here is the result.

$Cluster = "<cluster name>" 
$Hosts = Get-Cluster $Cluster | Get-VMHost 
ForEach ($Host in $Hosts) 
{ 
Remove-VmHostNtpServer -NtpServer "<old ntp server>" -VMHost $Host | Out-Null  
Add-VmHostNtpServer -NtpServer "<new ntp server>" -VMHost $Host | Out-Null 
Get-VmHostService -VMHost $Host | Where-Object {$_.key -eq "ntpd"} | Restart-VMHostService -Confirm:$false | Out-Null 
write "NTP Server was changed on $Host" 
}

Is It A Bird? Is It A Plane? No, It’s….The Cloud!

Reading Time: 3 minutes
 

Cloud

Why, oh why, oh why, has every man and his dog started calling everything Cloud? Cloud Hosting, Cloud Apps, Cloud Services? Is it me, or was it only 6 months ago that these were called Virtual Hosting, Web Apps, Web Services? What's changed? In my eyes, nothing! I hadn't really noticed this until the other day when I was attending a "Cloud" seminar.

Cloud Hosting: What makes it Cloud? It's just Hosting on a Virtualization platform. Cloud Apps: Why are they Cloud Apps? They are just applications hosted over the Web, no? If we follow this trend we'll soon be calling WebMail, CloudMail!

Read the rest of this entry »

A Simple VMware ESXi Rapid Deployment System – Part 3 of 3

Reading Time: 3 minutes
 

Introduction and Requirements– Part 1
Testing and Exporting to vSphere – Part 2

Customising the ESXi Rapid Deployment Server

I couldn't just stop there could I? I decided to make a few alterations to make it a little prettier and hopefully quicker.

Removing some ESXi installation steps which are not required

I'll start off by talking about making some changes to the ESXi installation to help make the deployment a little quicker. I got the idea from Stuart Radnidge's great post; Unattended ESXi Installation. Stu talks about editing one of the Python files that make-up the ESXi installation. Stu has a link to a pre-prepared Install.tgz for you to replace the default Install.tgz that comes in the ESXi ISO. Unfortunately this wouldn't work for me as I was using the ESXi ISO that comes with HP Management Agents so I had to make the changes myself:

Read the rest of this entry »

A Simple VMware ESXi Rapid Deployment System – Part 2 of 3

Reading Time: 2 minutes
 

Introduction and Requirements – Part 1
Customising and Optimising – Part 3

Testing The PXE Boot System

Now that the PXE Server is configured I quickly made a VM in VMware Workstation to deploy ESXi to using the settings in a previous post I wrote.

Here are the steps and settings I used.

  • Create a Virtual Machine, Custom
  • Workstation 6.5-7.0 Hardware Compatibility
  • VMware ESX, ESX Server 4.0
  • Number of processors: 1
  • Memory: 2048
  • Host-Only Networking
  • LSI Logic,
  • New disc, SCSI
  • 30GB, pre-allocated, single file
  • Customise hardware, remove: soundcard, USB, floppy –  Set execution mode to:  IntelVT-x  — Customise hardware, add: 5 x Network Adapter’s (Host-Only Networking)
  • Edit .vmx and add the following
    • ethernet0.virtualDev = “e1000”
    • ethernet1.virtualDev = “e1000”
    • monitor_control.restrict_backdoor = “true”

PXE Booting the ESXi ready VM displayed the default deployment menu that is shipped with the V-PXEServer application.

V-PXEServer

Read the rest of this entry »

A Simple VMware ESXi Rapid Deployment System – Part 1 of 3

Reading Time: 3 minutes
 

Testing and Exporting to vSphere – Part 2
Customising and Optimising – Part 3

Introduction

With VMware ESXi looking to be the future of VMware's Hypervisors, we are seeing the end of our beloved Service Console. Like many others I've been beginning to look into how ESXi will be implemented into a Production environment. One of the main area's of interest for me was around setting up a system which would deploy ESXi Hosts.

In the past, when deploying ESX Hosts, I've had the assistance of EDA (ESX Deployment Application), others have also used UDA (Ultimate Deployment Appliance). But due to the absence of the Service Console, scripted installations using Kickstart scripts are now not possible with ESXi.

When looking for a new deployment system to deploy ESXi I was looking for the following requirements;

  • Simple Setup – I don't have the time to spend days and days on configuring an application to deploy my Hosts
  • Simple Deployment – I want the deployment procedure to be a simple as possible. The deployment of Hosts maybe passed to a team that aren't as accustomed to VMware as I am.
  • Quick – I want the deployment of my ESXi Host to be quick, I don't want to have to wait an hour for a Host.
  • FREE! – We all love free, espically my CEO.

Read the rest of this entry »

Veeam – Something BIG Is Coming

Reading Time: 1 minute

I've just seen this Veeam webpage advertising Surebackup? Something that is going to "Change the way we look at VMware Backup FOREVER…"

Watch this space, if I can find out any information I'll blog about it.

Unable to cast object of type ‘LogicalUnitPolicy’ to type ‘FixedLogicalUnitPolicy’

Reading Time: 1 minute
 

 

 

 

 

When trying to change the Preferred Path on Storage Adapter I was greeted with the following Error message

Unable to cast object of type ‘LogicalUnitPolicy’ to type ‘FixedLogicalUnitPolicy’

I checked my other Storage Adapters and these too gave me the same error.

The Fix

Read the rest of this entry »

Veeam’s VMware vExperts White Paper Series

Reading Time: 2 minutes
 

Veeam have just released some White Papers all written by VMware vExperts. See Veeam's complete series of white papers here or click on our latest additions below.

5 Ways VMware vSphere Improves Backup and Recovery

by Eric Siebert, VMware vExpert, Senior systems administrator at Boston Market

“New VMware vSphere and its vStorage technology improve data protection and disaster recovery. The White Paper explains how organization of all sizes can reduce storage utilization by 30%, increase the full backup speed by 50% and incremental backup speed by 90%, lower the cost of near-CDP by 80% while increasing reliability.”

http://www.veeam.com/go/vmware-vsphere-backup-wp

Read the rest of this entry »

PAGE 19 of 27« FIRST...10...1718192021...LAST »
 
Get Adobe Flash player