Solved

VMware Sharing Same SAB Storage Among VMs.

Posted on 2012-03-21
21
453 Views
Last Modified: 2012-08-13
I have an ESXi connected via iSCSI directly to a SAN.  I have one VM on the ESXi.  That VM is connected to an iSCSI SAN.  

What's the best way to go about making another VM just like the first one that uses the same data on the SAN?
0
Comment
Question by:Drafter421
  • 11
  • 10
21 Comments
 
LVL 119
ID: 37749451
Clone the VM using vCenter if available.

or use this method in my article


HOW TO: Clone or Copy a virtual machine in VMware vSphere Hypervisor ESX/ESXi 4.x or ESXi 5.0
0
 

Author Comment

by:Drafter421
ID: 37754949
When I do this I get an error that says insufficient disk space.  I'm not sure how to check what is insufficient.
0
 

Author Comment

by:Drafter421
ID: 37754966
So now I'm very confused.  I have a VM that is using the SAN storage but the whole iSCSI initiator thing I did yesterday isn't even turned on.
0
Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

 
LVL 119
ID: 37754970
check the datastore storage space
0
 

Author Comment

by:Drafter421
ID: 37754977
The summary for the VM shows 2 datastores.  datastore1 and Production. 527 GB Provisioned, 527 GB Used.
0
 

Author Comment

by:Drafter421
ID: 37754980
I want the VMs to share the same data.
0
 
LVL 119
ID: 37754982
you have two VMs, and want to share the same data?
0
 
LVL 119
ID: 37754986
That is the reason for lack of storage space......

datastore is full.
0
 

Author Comment

by:Drafter421
ID: 37754988
I have one VM right now.  I want to make several that can access the same volume data  on the SAN.
0
 

Author Comment

by:Drafter421
ID: 37754990
I think datastore1 is on the physical hard drive on the machine.  I don't even want to use that.
0
 

Author Comment

by:Drafter421
ID: 37754992
I would like everything to reside on the SAN.
0
 
LVL 119
ID: 37754995
so copy the VM to Production.
0
 
LVL 119
ID: 37755001
or Create a New VM and select the SAN datstore, is the SAN datastore Production?
0
 

Author Comment

by:Drafter421
ID: 37755003
Yes, SAN datastore is production
0
 
LVL 119
ID: 37755007
do you want to store the VM on the SAN, or have the OS in the VM access the SAN via iSCSI?

how does this existing VM access the SAN?
0
 
LVL 119
ID: 37755010
okay so VMs stored on the SAN?
0
 

Author Comment

by:Drafter421
ID: 37755015
I want to have the OS on the VM access SAN via iSCSI.  Can I make all my VMs access the same volume on the SAN?

Yesterday I made a VM that accessed the SAN via iSCSI.  I tried coping that VM and it broke the first VM.  Now the copied VM accesses the proper volume but the Windows iSCSI initiator isn'teven running.
0
 
LVL 119

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 37755021
In answer to your first question No.

Multiple VMs cannot access the same iSCSI volume or LUN, concurrently, if you do this the LUN or volume will become corrupted.

if you want VMs accessing the same data you need to use Windows Shares or NFS.
0
 

Author Comment

by:Drafter421
ID: 37755081
I'm starting over.  I'm making a VM that uses the majority of Production datastore as a file server and all my other VMs will access that server for data.  Am I on the right road now?
0
 
LVL 119
ID: 37755087
Correct, thats the way to do it. with Windows File Shares
0
 

Author Closing Comment

by:Drafter421
ID: 37755093
Thanks once again for your sharing your knowledge and for your fabulous help.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

In this article, I show you step by step with screenshots to assist you - HOW TO: Deploy and Install the VMware vCenter Server Appliance 6.5 (VCSA 6.5), with some helpful tips along the way.
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
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 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ā€¦

777 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