Thin Client and Virtual Machines Thread, connect VM to iSCSI disk in Technical; Hi peoples,
I'm trying somehow to connect an iSCSI disk to a VM runninng on an ESX server.
But I ...
-
20th January 2009, 10:11 AM #1 connect VM to iSCSI disk
Hi peoples,
I'm trying somehow to connect an iSCSI disk to a VM runninng on an ESX server.
But I can't work it out 
I can add additional virtual adapters, but these only give me a named option of "Public"... Is it possible to get my VM an adapter to sit on the iSCSI network (it pulls its VHD via iSCSI) somehow?
-
-
IDG Tech News
-
20th January 2009, 10:14 AM #2 
Originally Posted by
DrPerceptron
Hi peoples,
I'm trying somehow to connect an iSCSI disk to a VM runninng on an ESX server.
But I can't work it out
I can add additional virtual adapters, but these only give me a named option of "Public"... Is it possible to get my VM an adapter to sit on the iSCSI network (it pulls its VHD via iSCSI) somehow?
I think you still need to use the hosts HDD - but after you have OS installed i.e. Server 2003 you can install the Microsoft iSCSI initiator software which should then allow you to connect to the iSCSI.
Going from memory here (from months ago) so may be wrong.
-
-
20th January 2009, 10:19 AM #3 Without another adapter, wouldn't my iSCSI traffic go over our public VLAN?
-
-
20th January 2009, 10:53 AM #4 with esxi you can add an iscsi target as a datastore and then use that to install your vm's vhd to.
Ben
-
-
20th January 2009, 11:07 AM #5 
Originally Posted by
DrPerceptron
I can add additional virtual adapters, but these only give me a named option of "Public"... Is it possible to get my VM an adapter to sit on the iSCSI network (it pulls its VHD via iSCSI) somehow?
You need to add the VMkernal network card (config/networking/add networking and select vmkernal).
Create a vswitch for it to run on. Give it its own vlan (not on the public vlan!)
You can boot from the VM and dont need the hosts disks, except to install ESXi/Vi3... but you can also run this off inbedded flash.
Last edited by Theblacksheep; 20th January 2009 at 11:09 AM.
-
-
20th January 2009, 06:40 PM #6 Given up with iSCSI....
On to NFS! (from what I've read it works a lot better).
Having trouble with that now =D
I've set up a folder, shared it with NFS, created an NFS group which contains the ESX servers and given them RW and Root-Access.
When I add to vmware infrastructure as a Data Store, it says unable to connect to NFS server (used consoles, port mapper service is started and nfs status's are up)
I can't add it to a linux box either, but I don't think the nfs stuff is on those and apt-get is being stupid, so I couldn't be bothered with that.
-
-
20th January 2009, 07:10 PM #7 
Originally Posted by
DrPerceptron
Given up with iSCSI....
On to NFS! (from what I've read it works a lot better).
Having trouble with that now =D
I've set up a folder, shared it with NFS, created an NFS group which contains the ESX servers and given them RW and Root-Access.
When I add to vmware infrastructure as a Data Store, it says unable to connect to NFS server (used consoles, port mapper service is started and nfs status's are up)
I can't add it to a linux box either, but I don't think the nfs stuff is on those and apt-get is being stupid, so I couldn't be bothered with that.
It's the VMKernel that needs access to the iscsi/nfs shares not the console. If you have authentication when using vmware software iscsi initiator then the vmconsole also needs access to the iscsi target.
You have two options: Connect an existing VM to iscsi within the virtual machine itself (as mentioned above) or connect ESX to the iscsi target so that the VM has no idea about it's existance.
For ESX: Can your ESX console and VMKernel see the iscsi box? (ping and vmkping to find out).
For within VM: Can your virtual machine see the iscsi box using the latest iscsi initiator from MS (if Windows)?
NFS will need to be v4 as ESX will only do nfs over tcp and not udp. Again you will be unable to connect to nfs from ESX unless vmkping indicates the vmkernel can see it.
-
-
21st January 2009, 12:33 PM #8 hmm, why didn't any link or anything I looked at ever mention the VMK.
going well now so far...
1600 and now it's not :/
I "punched" a whole in the firewall for the NFS client.
I started portmap, nfslock and nfs (in that order) and they all run.
I copied the group and passwd files from /etc to the NFS box and told NFS usermaps to use those, mapped nfsuser to root (same password) and administrator to root (diff passwords)
VMIC states cannot open mount /vmfs/volumes/...
If I do mount on the console of the esx, it connects to it, showmount - e <ip> lists the share as /datast (everyone)
If I try and CD into it, I get Permission Denied
Last edited by DrPerceptron; 21st January 2009 at 04:09 PM.
Reason: updated
-
SHARE: 
Similar Threads
-
By johnnyTechy in forum Hardware
Replies: 4
Last Post: 12th January 2009, 05:05 PM
-
Replies: 19
Last Post: 1st October 2008, 10:58 AM
-
By Dos_Box in forum Windows Server 2008
Replies: 4
Last Post: 20th August 2008, 03:24 PM
-
By Chris in forum General Chat
Replies: 0
Last Post: 2nd July 2007, 10:14 AM
-
By robknowles in forum Hardware
Replies: 9
Last Post: 16th April 2007, 02:45 AM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules