VMware

35K

Solutions

17K

Contributors

VMware is virtual machine software that provides a virtualized set of hardware (a video adapter, a network adapter, and hard disk adapters) to the guest operating system. VMware virtual machines become highly portable between computers, because every host looks nearly identical to the guest. In practice, a system administrator can pause operations on a virtual machine guest, move or copy that guest to another physical computer, and there resume execution exactly at the point of suspension. VMware's enterprise software hypervisors for servers, VMware ESX and VMware ESXi are bare-metal embedded Hypervisors that run directly on server hardware without requiring an additional underlying operating system.

Share tech news, updates, or what's on your mind.

Sign up to Post

A Step by Step Guide

Whether you are a Systems Administrator looking for a way to simulate your current environment for testing or upgrade purposes or a student who is looking to create a lab for study purposes the ability to simulate a network connection over a WAN link is something that used to be thrown into the too hard basket. However with the prevelance of virtual computing and software router solutions such as those available through VMWare and Vyatta this is now a scenario that is easy to implement with minimum cost.

The following tutorial is a step by step guide on how to setup a virtual WAN using VMWare and Vyatta however the steps can be easily modified for other Virtual hosting platforms.

The only prerequisites needed are a server with sufficent hardware specs to run ESX or ESXi version 3i through 4i. and enough storage space to hold the Virtual Machines. This tutorial also assumes you have installed your version of ESX onto the host and are ready to create the Virtual infrastucture.

Scenario

The scenario in this tutorial is a network consisting of a main site and 2 regional sites connected over a WAN. The main site is called London and the 2 regional sites are called Sydney and Tokyo.

Step 1 Virtual Switches

Create a virtual Switch for each site with no bindings to the hosts adapter we will let ESX handle all the networking internally. This is done by doing the following from Virtual Centre Manager (steps may differ …
4

Expert Comment

by:MSS_IT
I'm attempting to use Vyatta to set up an isolated test environment in ESXi 5.1. I still want to allow clients to have http/https traffic through the production environment for updates, etc. Do you have any information on how to configure Vyatta for this setup?
0
There are many out there that are pressured to help reduce the overhead for their VMWare implementation.  ESXi seems to help fulfill this requirement as it's cost is zero, as long as you have the proper hardware to run this hypervisor.

The other issue that is commonly encountered is that there is no budget ever considered or properly allocated for a backup solution.  So, what do you do if you forget to document your ESXi's configuration and it fails?  Well, in many cases, you hope to God that you have a good memory and can remember all of the settings you created.

A utility I happened upon and tested is the VMWare ESXi backup and configurator utility.

With this application, you can:
Backup your ESXi's configuration - Allows backup to a remote machine. This is great in the event of your ESXi host dies, you can quickly recover the configuration from the file you have created.
Restore backup configurations - Restore your ESXi config to your ESXi host.

Other features of this application are:
Update your ESXi Host
View settings of your ESXi host

While most of these features can be provided via the VI client, the ability to backup and restore your ESXi host's settings has value beyond words.

Here is the link to the application.  Check it out for yourself CLICK HERE   …
3

Expert Comment

by:MalibuKen
This utility requires RCLI.  RCLI cannot read/write to a free ESXi installation.
0
This type of situation occurs when you either accidently delete a vmdk and have only a xxxx-flat.vmdk file or if you had a second machine attached to a disk and delete that machine it details the details of the disk. You cannot mount a xxxx-flat.vmdk file to any virtual machine because the machine has no idea how to manage the disk. So you can no longer attach the disk or boot the VM it is attached too. The very first step is to remove the original disk from the machine so there is no way to power on or essentially damage the files. Verify you can still boot the VM successfully but minus the disk (if it was not the primary disk). If you have no disk space to re-create a mirror of this disk (in order to copy the vmdk settings into the problematic file) disk to pull the .vmdk file from and point it to the xxxx-flat.vmdk file so you can create an any size virtual disk on the specified machine and attached it to the xxxx-flat.vmdk and then calculate the the Cylinders, Sectors, and Heads for the original  xxxx-flat.vmdk. I found a excellent website to assist the calculations:

This website will give you the calculations you need.
http://sanbarrow.com/vmdk/diskgeometrietable2.html

This example is of a 510gb disk that was deleted and used a 40gb disk to recreate the xxxx.vmdk I needed. From here I was able to re-create the .VMDK file for the virtual disk as follows (the original):

version=1
CID=ed3d02ab
parentCID=ffffffff
createType= vmfs 
RW 83886080 VMFS 

Open in new window

1

Administrative Comment

by:Articles101
I've asked for another Page Editor to review the article from a technical viewpoint
0
How to install VMware ESX 4 Update 1 trough PXE boot

Installing ESX 4 is an easy task but it could be easier, if you need to install more than 1 server this would be a fast way without making mistakes (you can make during manual installation).

Requirements:
VMware workstation or VMware player
VMware appliance EDA      
VMware ESX ISO file

1. Install EDA.

Step 1. Download the VMware appliance EDA
Link: http://www.vmware.com/appliances/directory/va/89313/download

Step 2. Import the EDA .ovf file in VMware workstation or the VMware player.

Step 3. Add a CD-ROM player to the virtual machine and mount the ESX ISO file to the machine.

Step 4. Start the appliance and follow the on-screen instructions
a. Click on reconfigure to edit the network settings
EDA Screenshot
b. Fill in you information and click on OK to save the settings.
 EDA Screenshot 2
Step 5. Now you can logon to the EDA to configure the boot options
Open Internet explorer and go to they site (your given IP address) in this example this would be http://10.10.100.25
Login with root - root

2. Configure EDA.

Settings for a successful deployment of ESX on multiple serversStep 1. setting up the default settings
a. General ESX Host Settings: you must fill all you settings here, the license server is not necessary for ESX 4, this can be done by the host itself later on of by the vCenter …
0
This article describes how you can connect a USB drive directly to an esx4/esxi4(vSphere) host
As most people know, this is an unsupported method and undocumented by vmware

Refer to KB Article: 1015 http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&externalId=1015&sliceId=2&docTypeID=DT_KB_1_1&dialogID=53350659&stateId=0

Hopefully this will be the first article to discuss about copying files to USB drive under vmware esx/esxi console, as most returned results from Google search are basically for a VM(Virtual Machine) to access USB drive on the vSphere host via VMDirectPath. For short, VMDirectPath requires IOMMU feature enabled in BIOS and allows VM to access an USB drive attached to esx4/esxi4 host directly

Why do you want to connect a USB drive to an esx4/esxi4 host under console?
Quick copy/backup of virtual machine files or other files such as dump, log, txt, conf, etc. at the console without needing a vSphere Client or other machine to download the files

Requirements:
1.      Server hardware with USB controller/port (It may not work for all hardware)
2.      esxi4/esx4 installed (First release, haven't tried on Update 1 yet)
3.      USB drive (any type of USB drive should work but must be formatted correctly, refer steps below)
4.      Yourself physically at the server and a bit of luck with the hardware
5.      Minor unix skills

STEPS FOR VMware ESX 4

1.      Format the USB drive with the classic FAT aka FAT16 or FAT32 filesystem
2.      If you need …
7

Expert Comment

by:ooharris
I have the same problem - I found a post on the vmware website that suggests this has been resolved in update1.
0
LVL 24

Author Comment

by:ryder0707
Can you share the post link?
0
A couple of configurations that I have found to be useful when using VM Server.

For the un-initiated or new comers to virtualization. This is where many of us got started or will get started. Because it's cheap, runs on top of an existing Windows machine and is portable. I take VM Server with me on my laptop and us it to run Specialized appliances such as Nessus, Network Tools and other devices that are specialized for discovering and documenting Enterprise Systems.

I have used VM Server in many organizations as a an example as a test environment for admigration, Sand Box for developers that require instant rollback to a previous configuration (snap shots).
I have several business that were budget constrained. And used VM Server to deploy / redeploy services such as exchange file and print services etc.  (be careful with these they bite)

One thing to consider. With the release of vm4i as a free host os you should consider this platform if you have a server that can be committed to the purpose.

The problem that we run into is that we are operating multiple machines using a Host OS that is already plenty heavy.

So follow the enclosed recommendation's and you should see more performance.

some things that I do that seem to work

1. Kill the antivirus or set exceptions for all of the vm components and the swap file.
2. Create and consolidate the page file.
You can get a page file optimization tool here. …
0
I believe many of you must have thought of trying your hands at the "High Availability" feature of Windows OS - Clustering. Building a usual plain windows cluster could be easily achieved using any virtualization tool like MS Virtual PC or VMware Workstation. But the fact here is "does it actually work the same way as we expect or otherwise have we really been successful to mimic the actual feature of Windows Clustering as in a live environment"?

To answer the above question, let's take a small scenario of building a 2 node server cluster and having a "shared physical disk" as one of the resources hosted on the cluster.

Now to give a brief overview about the working of a "shared physical disk" in the live environment, we all know that if Node1 is in control of the disk, then Node2 would not be able to access it and vice versa. But the most important thing here is the integrity of the data that's been written on the disk i.e. if Node1 writes some bytes on the disk the same should be visible to Node2 when it gains control over it.

In a live environment using SAN and SCSI hardware the above scenario could be easily achieved. But when it comes to virtual environment (or rather a test lab on our home PCs) it doesn't come up easily unless until either using 3rd party software or the tweak explained in this article.

Note:  This article henceforth would be referring to VMware Workstation as the virtualization tool since MS Virtual PC doesn't support a 2 node cluster with …
2
LVL 1

Expert Comment

by:jjoz
thanks for sharing this article man...
0
Problem:

Computers running Windows Vista, that have VMware Workstation or VMware Player installed, have constant "Unidentified Network" adapters, that prevent the operating system from allowing private or domain firewall profiles to be used.

Description:

Windows Vista configures it's firewall based on the least secure network connection detected, as shown in the "Network and Sharing Center".  When VMware products are installed, several virtual "vmnet" adapters are installed.  Vista detects them as "Unidentified Networks".  The result is that Vista always believes it's connected to an unidentified network, and will not allow the firewall to go into "domain mode", thus preventing any local or group policy configurations you've made for on-network firewall behavior from taking effect while the computer is on your internal network.  The end result is that your Vista machine's firewall is always "puckered up".  This can cause several problems with machine management, communication, and configuration.

Solution:

VMware has created a workaround that changes a simple registry value "*NdisDeviceType", thus causing Vista to treat the virtual adapter as an endpoint... which excludes it from the network identification / firewall configuration process.

For more information, see:
http://communities.vmware.com/thread/85154

I wrote a simple script that will search the registry for vmnet adapters, and change the …
0

VMware

35K

Solutions

17K

Contributors

VMware is virtual machine software that provides a virtualized set of hardware (a video adapter, a network adapter, and hard disk adapters) to the guest operating system. VMware virtual machines become highly portable between computers, because every host looks nearly identical to the guest. In practice, a system administrator can pause operations on a virtual machine guest, move or copy that guest to another physical computer, and there resume execution exactly at the point of suspension. VMware's enterprise software hypervisors for servers, VMware ESX and VMware ESXi are bare-metal embedded Hypervisors that run directly on server hardware without requiring an additional underlying operating system.