Solved

VMware Sharing Same SAB Storage Among VMs.

Posted on 2012-03-21
21
458 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
[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
  • 11
  • 10
21 Comments
 
LVL 121
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
Free NetCrunch network monitor licenses!

Only on Experts-Exchange: Sign-up for a free-trial and we'll send you your permanent license!

Here is what you get: 30 Nodes | Unlimited Sensors | No Time Restrictions | Absolutely FREE!

Act now. This offer ends July 14, 2017.

 
LVL 121
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 121
ID: 37754982
you have two VMs, and want to share the same data?
0
 
LVL 121
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 121
ID: 37754995
so copy the VM to Production.
0
 
LVL 121
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 121
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 121
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 121

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 121
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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

Will try to explain how to use the VMware feature TAGs in the VMs and create Veeam Backup Jobs using TAGs. Since this article is too long, I will create second article for the Veeam tasks.
Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
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 install and configure the vCenter Orchestrator virtual appliance Open vSphere Web Client: Deploy vCenter Orchestrator virtual appliance OVA file: Verify vCenter Orchestrator virtual appliance boots successfully: Connect to the …

696 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