A Confused Programmer's Blog

This blog is dedicated to C# and Java programming that I happen to do for living – with accent on curious cases and with sincere intent to make the world of coding a slightly better place as a result

Archive for the ‘VmWare’ Category

Bypassing EULA step for Virtual Appliances

We are working on automated testing of virtual appliance. This appliance has a EULA which blocks all services from starting before accepted at first. There are separate ways to solve or workaround this obstacle: Edit OVF and MF files to erase the EULA section and to update the signature. Redirect console output and input to the SSH session and to accept it with SSH client. Use 3rd party products, like OvfTool which can deploy appliance from command line with EULA acceptance. Implement  [ Read More ]


How I got rid of “Access to resource settings restricted…” error when deploying OVF

OVF is a VMware virtual appliance format which allows you to deploy VMs with custom settings and state. This solution replaces stand alone installation packages and becomes increasingly popular. I had to create support for automatically deploying one of such OVFs. Actually, I managed to get my hands on OVA and converted it into OVF, but I am not sure if this fact has too much relevance to the story. However, when I tried to deploy this OVF using both  [ Read More ]


Connection to VIM API fails with ‘Insufficient permissions for setting the configuration’ error

I rarely post about the issues I am experiencing in this blog. This is mostly because most of the solutions are already there in the web. So, what pushed me to publish this post, is extremely rare scenario, that as I suspect might not be covered somewhere else. In our testing automation framework we make extensive use of virtual machines. Most of control messages are passed using vSphere API (VIM API). To my dismay, I discovered that some of previously  [ Read More ]


Configuring and debugging vCenter server appliance proxy settings

As a part of one of the projects I am currently working on, I was required to set up a new Vmware vCenter server instance. Until recently, I has been installing vCenter manually from scratch on Windows server machines. This time I was advised to try a vCenter server appliance (vCSA). The deployment of the new vCenter server instance is indeed quicker and smoother, but the fact that the operating system is Linux presents several little less documented challenges. For  [ Read More ]


Preventing TCP packets from growing in size

Recently I was setting up environment with WAN emulation on ESX VMs. The basic setup contained Windows XP/7 VM connected to Windows server VM with WAN emulator in the middle (Ubuntu VM). Traffic sent from XP machine utilized the bandwidth set by the WAN emulator; however, traffic sent from Windows 7/2008 was really struggling to rise above 15KB/sec. After looking at sniffer’s traces I discovered that while XP client was continuously sending packets of 1514 bytes length: VMs with more  [ Read More ]


Enable ‘system standby’ capability of your XP virtual machine

In my recent attempts to set automatic power management of virtual machines I ran into a problem of few virtual machines running XP operating system not supporting standby option: C:\Documents and Settings\Administrator>powercfg /a The following sleep states are not available on this system: Standby (S1) Standby (S2) Standby (S3) Hibernate I solved this issue by updating vmware tools on vm (by the way, we are talking about VMware ESXi 4.1.0). And this is how power capabilities look after vmware tools  [ Read More ]


Subscribe to email feed

  • RSS
  • Delicious
  • Digg
  • Facebook
  • Twitter
  • Linkedin
  • Youtube

REST Assured and une

If you stumbled onto this article, it is safe to ...

Getting rid of Error

Since I upgraded my Windows 8 to Windows 10, I ...

Bypassing EULA step

We are working on automated testing of virtual appliance. This appliance ...

How I got rid of "Ac

OVF is a VMware virtual appliance format which allows you ...

My use-case of Perfo

In my blog I am set on a mission to ...

Twitter updates

RSS not configured