VMware Cloud Community
digitalex
Contributor
Contributor
Jump to solution

Question on RDM and VMotion

We currently use VMFS on all Storage Luns,(mainly cause they have multiple VM guests on a particular lun and it requires VMFS, 15 VMs per lun to be exact.)

did not think that RDM was supported with Vmotion/HA. Am I wrong on this? If RDM is supported for Vmotion then If I already have a datastore that was being used by a physical server can I lun mask this to all the esx servers and use it as an existing lun and all the data remain intact? I currently have a file server and database server both with D; volumes on the SAN. I could create 2 new VM guests and add disk to both using RDM?

My current setup for info: Virtual Center 2.1 ESX 3.5 up1 on 3x HP DL460c G1 16gb EVA4100_1 20 Windows 2003 Ent VM's
Reply
0 Kudos
1 Solution

Accepted Solutions
mitchellm3
Enthusiast
Enthusiast
Jump to solution

A RDM is what it is...just a mapping for an individual VM to a LUN. This LUN can be formatted with any filesystem...hopefully one that your VM can read. So, to answer the second question.

1. Shut down your physical servers

2. Remap the two data luns to every ESX server in the farm.

3. With the fileserver VM shut down --> edit settings --> add disk --> RDM (I use virtual mode cause I don't need physical mode) --> select the LUN that was origionally attached to your fileserver.

4. Start up your VM

The VM will see the disk, since it was formatted with NTFS, it will be able to read the file system.

Do the same with the SQL VM.

*I'm assuming that you want the VMs C: drive on an existing VMFS3 datastore...you just want to attach the DATA drive from a physical server to your VM...more or less a cleaner P2V.

View solution in original post

Reply
0 Kudos
9 Replies
gary1012
Expert
Expert
Jump to solution

VMotion works with RDMs. Just tested one in virtual compatibility mode. I'm not sure if I'm following you on the other part...

Community Supported, Community Rewarded - Please consider marking questions answered and awarding points to the correct post. It helps us all.
weinstein5
Immortal
Immortal
Jump to solution

It is supported - but the same rules apply both the RDM and raw LUN muct be seen by both originating and destination host -

If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful
digitalex
Contributor
Contributor
Jump to solution

So it is supported. THen back to my second question. If I already have a lun on a physical windows box and I want to move it to a VM can I just use it as a existing storage unit and RDM so the data stays in tact without having to back it up by tape and restore it?

My current setup for info: Virtual Center 2.1 ESX 3.5 up1 on 3x HP DL460c G1 16gb EVA4100_1 20 Windows 2003 Ent VM's
Reply
0 Kudos
lesnyh
Contributor
Contributor
Jump to solution

Добрый день. Спасибо за ваше письмо. Cейчас нахожусь на обучении и не имею доступа к почте. Буду 24 марта и обязательно отвечу на Ваше письмо. Технические вопросы можете адресовать, на vmware@softline.ru

Reply
0 Kudos
weinstein5
Immortal
Immortal
Jump to solution

The purpose of the RDM is to allow VMs to write to a raw LUNs accessable by the ESX - since the ESX host can access a windows fielsystem you will not be able to use an RDM to access that data

If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful
Reply
0 Kudos
lesnyh
Contributor
Contributor
Jump to solution

Добрый день.

Спасибо за Ваше письмо, к сожалению, я нахожусь в отпуске до 4 августа и мой доступ к почте ограничен. Все Ваши вопросы можно присылать на наш общий почтовый адрес vmware@softline.ru и мои коллеги Вам обязательно ответят.

С уважением, Марат Лесных.

Reply
0 Kudos
digitalex
Contributor
Contributor
Jump to solution

So a RDM is just a LUN without multiple vmdk's. Is the RDM formatted in a particular format that propritary to esx? So the windows NTFS partition is destroyed?

My current setup for info: Virtual Center 2.1 ESX 3.5 up1 on 3x HP DL460c G1 16gb EVA4100_1 20 Windows 2003 Ent VM's
Reply
0 Kudos
mitchellm3
Enthusiast
Enthusiast
Jump to solution

A RDM is what it is...just a mapping for an individual VM to a LUN. This LUN can be formatted with any filesystem...hopefully one that your VM can read. So, to answer the second question.

1. Shut down your physical servers

2. Remap the two data luns to every ESX server in the farm.

3. With the fileserver VM shut down --> edit settings --> add disk --> RDM (I use virtual mode cause I don't need physical mode) --> select the LUN that was origionally attached to your fileserver.

4. Start up your VM

The VM will see the disk, since it was formatted with NTFS, it will be able to read the file system.

Do the same with the SQL VM.

*I'm assuming that you want the VMs C: drive on an existing VMFS3 datastore...you just want to attach the DATA drive from a physical server to your VM...more or less a cleaner P2V.

Reply
0 Kudos
weinstein5
Immortal
Immortal
Jump to solution

More specifically an RDM is actually a special VMDK file - that is why you need to specify a VMFS volume for its storage - that redirects the vmkernel to write to a LUN on the SAN -

If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful
Reply
0 Kudos