Solved

VMware Sharing Same SAB Storage Among VMs.

Posted on 2012-03-21
21
448 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 117
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
 
LVL 117
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 117
ID: 37754982
you have two VMs, and want to share the same data?
0
 
LVL 117
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
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 

Author Comment

by:Drafter421
ID: 37754992
I would like everything to reside on the SAN.
0
 
LVL 117
ID: 37754995
so copy the VM to Production.
0
 
LVL 117
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 117
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 117
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 117

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) 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 117
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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

When we have a dead host and we lose all connections to the ESXi, and we need to find a way to move all VMs from that dead ESXi host.
HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
Teach the user how to install ESXi 5.5 and configure the management network System Requirements: ESXi Installation:  Management Network Configuration: Management Network Testing:
Teach the user how to install vSphere Update Manager  Console to Windows system:  Install vSphere Update Manager: Configure vSphere Update Manager plug-in in vSphere Client: Verify vSphere Update Manager settings in vSphere Client:

707 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now