?
Solved

vmWare RDM to Virtual Server setup and config

Posted on 2011-03-02
4
Medium Priority
?
829 Views
Last Modified: 2012-05-11
On my vmWare ESXi host, I am attempting to configure a RDM to an iSCSI target located on my SAN appliance in vcenter. This virtual server (2008 r2) will server as my newtwork file server.

I am unsure how to go about setting this up. I do have a dedicated NIC on my esxi host and I was wondering if I just create a new vswitch, add the NIC, go in to storage and add the new storage, then go to the virtual server and do the RDM settings? Please advise how to set this up. In the end, I want to enable VSS Snapshots and I will also be doing snapshots of the volume on my SAN appliance.
0
Comment
Question by:Trihimbulus
  • 2
  • 2
4 Comments
 

Author Comment

by:Trihimbulus
ID: 35021299
also- how do I go about resizing the volume for future knowledge? Obviously increase size on my SAN appliance- but what next so the virtual server sees the size increase?
0
 
LVL 16

Accepted Solution

by:
Danny McDaniel earned 2000 total points
ID: 35022905
It is advised that if you are going to setup iSCSI on an ESX(i) host, that you have setup a dedicated, private network just for the iSCSI storage device and host(s).  So..., yes, create a new vswitch with the uplink(s) that will be connected to the iSCSI SAN.  You may want to utilize 2 or more nic's for this connection for redundancy purposes, though.

Once you have the vswitch going, then you can add the vmkernel portgroup to it.  After that's done, go to Configuration | Storage Adapters and configure the software iSCSI adapter to connect to your SAN.

On the SAN side, you'll need to have configured a volume/lun that is available for the ESX(i) host to connect to.

Once these parts are working you should see a target listed under the software iSCSI adapter.

Now, if you use this LUN as an RDM, then all you need to do is to go to your VM and add a new disk of type RDM.  If you want to allow multiple guests to access this storage LUN, then you'll need to format with the VMFS file system by adding it as a datastore.  The iSCSI guide at http://www.vmware.com/pdf/vsphere4/r41/vsp_41_iscsi_san_cfg.pdf will give you more detail.

http://kb.vmware.com/kb/1007021 covers how to expand an RDM.  You will need to use diskpart or another utility like that for the OS to expand the partition within the disk/LUN.
0
 

Author Comment

by:Trihimbulus
ID: 35028905
Whasts weird is that the LUN is only showing up under the iSCSI Software adapter
0
 
LVL 16

Expert Comment

by:Danny McDaniel
ID: 35029335
That's what you want if you are going to use it as an RDM.  

Edit Settings on your VM and add a new disk, select RDM and it should see the LUN and allow you to complete the wizard.
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

If your vDisk VHD file gets deleted from the image store accidentally or on purpose, you won't be able to remove the vDisk from the PVS console. There is a known workaround that is solid.
When rebooting a vCenters 6.0 and try to connect using vSphere Client we get this issue "Invalid URL: The hostname could not parsed." When we get this error we need to do some changes in the vCenter advanced settings to fix the issue.
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
This Micro Tutorial walks you through using a remote console to access a server and install ESXi 5.1. This example is showing remote access and installation using a Dell server. The hypervisor is the very first component of your virtual infrastructu…

621 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