Solved

iSCSI initiator on VM?

Posted on 2010-08-28
8
923 Views
Last Modified: 2012-05-10
EE,
I'm having an issue initiating iSCSI on a virtual machine so I can connect to the shared storage.

Usually we do this on physical servers connected to the switch and it works no problem because we are able to ping those private IPs using the servers second NIC. But within the Virtual Machine, we can't ping those IPs therefore, cannot connect to the iSCSI shared storage.

When I add a new NIC in the VM and give it an IP Address of 192.168.x.x (same as iSCSI network) it does not ping.

What do I have to do to virtually connect to the iSCSI network so I can use the iSCSI initiator?

Thanks guys/gals :)
0
Comment
Question by:snyderkv
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
8 Comments
 
LVL 28

Expert Comment

by:bgoering
ID: 33550301
You have to make sure the 2nd NIC is in a vSwitch that is on the same network as your storage. What are you using? ESX? ESXi? VMware Workstation or Server?
0
 

Author Comment

by:snyderkv
ID: 33550432
ESX
I have iSCSI network and the server is on the public server network as you see it on the configuration tab | Networking

I'm going to try and create a port group but don't know if it should be VMKernal or Virtual Machine.

Once I do this for the iSCSI VSwitch, the virtual machine NIC2 should have the new port group drop down for iSCSI?
0
 

Author Comment

by:snyderkv
ID: 33550462
Ok I used Virtual Machine for the new Port Group under the iSCSI network.

But my next question is, should I use Virtual Machine or VMKernal instead?

Thanks again :)
0
Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

 
LVL 28

Expert Comment

by:bgoering
ID: 33551108
It sounded to me like you are wanting to run the iSCSI initiater within the VM guest. If that is the case it will be a Virtual Machine network - not VMkernal.

Create the virtual machine network on the storage subnet
Add another NIC to the VM and place on the new vm network
configure the iSCSI initiator in the virtual machine same as you would in a physical machine

0
 
LVL 28

Expert Comment

by:bgoering
ID: 33551111
I guess I am assuming you are using software iSCSI initiators in your physical machines... If that isn't the case let me know
0
 

Author Comment

by:snyderkv
ID: 33551894
Bqoering:

Your first comment was correct. I'm using the software iSCSI initiator in the VM to connect to the shared storage MD3000i from the R710 where the VMs are located.

I did like you said, Created a port group on the iSCSI vSwitch in VSphere using Virtual Machine network.
I added another NIC to the VM and on the drop down, selected the new port group.
It immediately started to ping the private iSCSI IPs.

If this isn't the best method let me know. Otherwise I'm closing the question. Thanks for your help and time.
:)
0
 

Author Comment

by:snyderkv
ID: 33551936
Oh and just to point out incase anyone else read this. If your clustered, you need to create the same port group with the same name and everything on the second ESX host. That way when a VM with shared storage failsover dur to power outage or whatever, your storage fails over too.

But I haven't tested that theory yet so don't take my word for it. :)
0
 
LVL 28

Accepted Solution

by:
bgoering earned 500 total points
ID: 33552205
In your situation it sounds like it may be the best solution. Best practice would be, if you have a free NIC on the ESX hosts, plug that free NIC into the storage network and create your virtual machine port group on the seperate NIC.

Whenever possible seperate virtual machine traffic (which your software iSCSI  network traffic would be considered virtual machine traffic) from your VMkenel traffic. It will However work just fine if the vm port group is created on the same vSwitch as a VMkernel port. It is after all how ESX(i) looks immediately after installation -- there is a vSwitch0 bound to a vmnic that has a Virtual Machien Port Group called "VM Network" and a VMkernel Port for the Management Network service console.

Whenever the host is installed into a cluster you will need to create identically named Virtual Machine Port Groups on all of the ESX hosts before vMotion will work properly.

Glad you got it going
0

Featured Post

Industry Leaders: 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

Suggested Solutions

Title # Comments Views Activity
VMware SRM - Datastore not showing in Array Replication 11 127
VMware Fault Tolerance between remote sites 2 56
Cannot enter maintenance mode 2 36
VMWare vSAN 5 25
This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
Teach the user how to use vSphere Update Manager to update the VMware Tools and virtual machine hardware version Open vSphere Client: Review manual processes for updating VMware Tools and virtual hardware versions: Create a new baseline group in vSp…
This video shows you how to use a vSphere client to connect to your ESX host as the root user. Demonstrates the basic connection of bypassing certification set up. Demonstrates how to access the traditional view to begin managing your virtual mac…

726 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