Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

How to migrate an existing RHEL 5 server to VMWARE ESXi

Posted on 2009-02-24
11
Medium Priority
?
3,311 Views
Last Modified: 2013-12-06
I want to install VMware ESXi on an existing RHEL 5 server, what procedure should I follow?
I am told that first I have to snapshot the original server - How do I take that snapshot?
then install ESXi
Create a VM
import the snapshot into that VM.   How do I do that?

0
Comment
Question by:howart
  • 6
  • 5
11 Comments
 
LVL 21

Accepted Solution

by:
za_mkh earned 1500 total points
ID: 23719440
If you want to use the physical server that is hosting your RHEL 5 server as an ESX server, but to keep your RHEL server, you will need to do the following first:
1) Use vCenter Converter 4 to convert your physical machine (RHEL) into a VM Server Virtual Machine. Load VM Server 1.0.8 (better than version 2) on a Windows Box to host this RHEL virtual instance. http://www.vmware.com/download/converter/
1.1) Once a machine is P2V'ed, you normally need to do the following to the Virtual Instance
  • Remove any hardware dependent drivers and software e.g. HP insight management drivers
  • You will need to reconfigure your IP addressing, etc
  • Install VMWare Tools.

2) Ensure that your RHEL Server (running as a VM) is working properly. Ensure that both your physical RHEL server and Virtual RHEL server are not connected to the network simultaneously
3) If you are happy that your RHEL server as a VM is running and working properly, you can then install ESXi on your physical Server. NOTE: Take a backup of your RHEL server before you install ESXi.
If you have an esotoric SATA/SCSI controller, the ESXi installer may not have drivers for it.
4) Once ESXi is installed, you can use vCenter Converter to send your RHEL server from the VMWare Server to the ESXi Server.
Before you do any of the following:
1) Ensure that the server running RHEL is on the VMWare HCL. http://www.vmware.com/resources/compatibility/search.php?action=base&deviceCategory=server
2) As I said, ensure you have a backup of your Physical RHEL server before you decide to overwrite it with ESXi
Hope this helps.
0
 
LVL 1

Author Comment

by:howart
ID: 23719574
Where should the P2V converter run? On a different host? windows or Linux?

0
 
LVL 21

Expert Comment

by:za_mkh
ID: 23720140
Yes, you run the P2V converter on a different PC. I've always used it on Windows. Don't know if a Linux variant exists.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Author Comment

by:howart
ID: 23720647
A Linux variant does exist

0
 
LVL 1

Author Comment

by:howart
ID: 23720669
When I use VMware vCenter Converter Standalone

I have to select a destination.

These are the possible destinations:

VMware Infrastructure destination  
Creates a virtual machine that a VMware Infrastructure product manages.  
Supported VMware Infrastructure products:  ESX Server 3.0, 3.5
ESXi 3.5 Embedded
VMware vCenter Server 2.0 or 2.5

Do I have to use VMServer 2.0 instead of 1.8?
0
 
LVL 21

Expert Comment

by:za_mkh
ID: 23720949
Yes, that will work!
0
 
LVL 21

Expert Comment

by:za_mkh
ID: 23720955
But then you will need to use VMWare Server 2 to configure your P2Ved RHEL server to ensure it is working and to sort out the thing I mentioned in my first post above.
0
 
LVL 21

Expert Comment

by:za_mkh
ID: 23725680
If you look at the command, it is acutally multiple commands sent on one line..
for /f tokens=2 delims=: %%i in (vcbvmname -h virtualcenter.rtfm-ed.co.uk -u administrator -p password -s Powerstate:on ^| find name:) do @rd /s /q D:\Backups\All\%%i & vcbmounter -h virtualcenter.rtfm-ed.co.uk -u administrator -p password -a name:%%i -r D:\Backups\All\%%i -t fullvm > D:\Backups\All\%%i.log
 The bold section is the command that deletes the directory to which the previous backups were made and the bold italic section is that command that starts the backups again recreating the destination that was removed previously.
Hope this makes sense.
0
 
LVL 1

Author Comment

by:howart
ID: 23734183
VMware vCenter Converter Standalone does not work with VMware server 2
you need VMware vCenter Server 2.0 or 2.5  and these are not free.


0
 
LVL 1

Author Comment

by:howart
ID: 23734258
za_mkh:  your last remark is probably not intended for me
0
 
LVL 21

Expert Comment

by:za_mkh
ID: 23738142
Howart sorry for the last remark. I thought I posted another message after that apologising for posting it in the wrong thread. Looks like that comment was deleted.
But back on to topic ..
Are you sure you reading the same docs I am reading ... I haven't used vCenter Converter 4.0 as yet but check this page where it states that it supports VMware Server 1 and  2!
http://www.vmware.com/support/converter/doc/releasenotes_conv40.html#interop
 
 
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

HOW TO: Upload an ISO image to a VMware datastore for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere Host Client, and checking its MD5 checksum signature is correct.  It's a good idea to compare checksums, because many installat…
In this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
Teach the user how to edit .vmx files to add advanced configuration options Open vSphere Web Client: Edit Settings for a VM: Choose VM Options -> Advanced: Add Configuration Parameters:
Teach the user how to configure vSphere clusters to support the VMware FT feature Open vSphere Web Client: Verify vSphere HA is enabled: Verify netowrking for vMotion and FT Logging is in place or create it: Turn On FT for a virtual machine: Verify …
Suggested Courses

572 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question