Solved

VMware Sharing Same SAB Storage Among VMs.

Posted on 2012-03-21
21
455 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 120
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
Save the day with this special offer from ATEN!

Save 30% on the CV211 using promo code EXPERTS30 now through April 30th. The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

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

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

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
VM edit 2 62
Migrate VM to other host 12 94
VMware Workstation Pro 12.5: "failed to initiate policy on cpu:" on boot 8 944
VMware Fault Tolerance between remote sites 2 52
In this step by step tutorial with screenshots, we will show you HOW TO: Enable SSH Remote Access on a VMware vSphere Hypervisor 6.5 (ESXi 6.5). This is important if you need to enable SSH remote access for additional troubleshooting of the ESXi hos…
When rebooting a vCenters 6.0 and try to connect using vSphere Client we get this issue "Invalid URL: The hostname could not parsed." When we get this error we need to do some changes in the vCenter advanced settings to fix the issue.
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

680 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