Sharing the drive between several virtual machines

Hi all

We have a configuration with a SAN (Dell Compellent) and use vSphere 6 to host a number of Windows servers. We now have a giant machine of Windows with a large number of small files for a particular application.

Now, we would like to create a cluster with a LoadBalancer in front of him, so that we can handle more load. To do this, we want to create a disk that is shared between 2 (or more) of windows machines.

One of the problems is that NTFS is not a supported clustered file system. So, I did a lot of research on Google to see what my options are. In my opinion, they are the following:

1. set up a Cluster Shared Volume (CSV) Microsoft (use SMB if I read the documentation)

2. the user Windows shares on a separate file server

3. the user NFS (depreacted under Windows)

4. switch to Linux and use NFS

The problem I have, is that they use all the network traffic. For example, option 2 is ridiculous slow. NFS under Linux is also a way slower than the local drive (managed by VMWare iSCSI) disk access and NFS on windows does not appear to be

support very well.

I know that there are aware filesystems, clustered as VMFS etc. Is there a way to access it directly from my Windows VM or are there devices SAN which is directly accessible from the virtual Windows machine?

Or maybe there are other solutions to set up a shared drive?

I know that there are aware filesystems, clustered as VMFS etc. Is there a way to access it directly from my Windows VM or are there devices SAN which is directly accessible from the virtual Windows machine?

VMFS is a really clustered file system and allow access of multiple virtual machine the same amount of storage (data store) which is different from that to create a virtual disk (hard) and present to multiple virtual machines. You can do this, BUT the guest virtual machine should take care of several accesses to the hard, for Windows, you must turn on the feature... without this clustering with failover data may be corrupted.

I think the best and supported solution for you is to create another cluster with Failover Cluster functionality and create a resource sharing files with files that will access your NLB nodes.

Tags: VMware

Similar Questions

  • Question about the volume on several virtual machines sharing

    Hey!

    Try to use vmkfstools on Vi remote CLI, but he says that he is not recognized as an internal or external command... Is there an easy way to share data between several virtual machines? If so, how? Also if we are implementing raid 5 are we building our vitrual (windows 2008 Server) with the typical c: or d: drives? That is to say. You put the Windows Server 2008 on a separate virtual C: drive and data on a disk separate from virtual D:? Or is it no more? What about the Windows swap files? Must create us virtual drives, JUST for page files? Sorry I know this is a lot, but any help would be greatly appreciated!

    Thank you!

    1. is there an easy way to share data between several

    virtual machines? If so, how? A CIFSor NFS share would be preferable. Since I got you guess the VMS are mainly Windows you want to go with a CIFS share. You can run a virtual NAS appliance  (http://www.openfiler.com/community/download/)

    Also if we are implementing raid 5 are we building

    our vitrual Server (windows server 2008) with the typical c: or d: drives?

    That is to say. You put the Windows Server 2008 on a separate virtual C: drive

    and the data on a virtual disk from D:? Or does not everything

    more? Yes design you virtual as your physical systems i.e. separate Boot/system information application. just build you VMs how you would with physical systems (especially true of SQL or Exchange).

    What about the Windows swap files? We create virtual drives

    Yet, ONLY for page files? Never did it for physical so no systems

  • What is the difference between a virtual machine cloning and v2v conversion to a virtual machine

    What is the difference between a virtual machine cloning and v2v conversion to a virtual machine

    Cloning process is to duplicate a VM. V2V is deploy vm on vsphere environment to another virtual machine format (example: the workstation, hyper-v).

  • Restore the snapshots on several virtual machines on multiple hosts?

    I seem to have a mental block.  I need to write a script that will allow me to return to the current snapshot for all VMs on a given host.  I really like he must be all hosts in a specific folder, find all the virtual machines on the hosts, then roll them all would support for previous snapshots.

    I took this to the Administrator's guide:

    $vms = get-vm-location (get-file pods)

    foreach ($vm in $vms) {set-VM - vm $vm - snapshot (get-snapshot - vm $vm - name class_start)}

    For some reason I can't wrap my head around it today.  I know that I have all the elements in my head, can't seem to put it together.  Help?

    That's how I'd do.  It seems that the easiest way to understand.

    $vms = get-vm-location (get-file pods)

    foreach ($vm to $vms)

    {

    # Get last snapshot.

    $snapshot = get-Snapshot - $vm VM | Select - 1 last

    # To return to the last snapshot.

    Set-VM - VM $vm - Snapshot $snapshot

    }

    Tell me if you have any questions.

  • Modify the script for multiple virtual machines

    I'm working on the powercli user to change the CPU and the memory of several virtual machines.

    I found the perfect scenario created: http://ict-freak.nl/2010/05/07/powercli-script-to-schedule-memory-and-or-vcpu-updowngrade/comment-page-1/#comment-20336

    But it's only for 1 VM.

    Can someone tell me to change so do several virtual machines.  A text file would be ideal, but I'm ready for anything as this point, nothing I try does not work.

    Thank you.

    You could do

    foreach ($vm in Get-VM-name (Get-Content:\Powercli_scripts\servers.txt))

    I don't know why it's poweroffs randomly.

    You can add the - WhatIf parameter on this line, like that it will only say what he does, without actually running the cmdlet.

  • Plan for the creation of new virtual machine with 3 TB data drive

    We have an old server, we need to virtualize, and one thing that we need is a lot more storage. We have approximately 3.25 TB of available for this machine (250 GB for the OS and 3 to for the data drives), but I'm going in circles trying to find the best approach for this server. It is not possible to separate the data between several players because of the way the files are indexed. I have created a virtual machine with 2 TB of disk space (for the readers of OS and data) and added 1.25 TB of disk space I want to add on the data reader, but it does not seem possible to add 1.25 TB without destroying the data on the first disk of 2 TB. What is the best approach? Create a single disc for my virtual machine that is 250 GB and then add in two separate disks of 1.5 TB for storage and combine them within Windows?

    Thanks for your suggestions.

    Hello

    Unfortunately, the maximum size of virtual disk to a virtual computer is 2 TB - 512 bytes. In you case it should create two or three separate virtual disks and combine them (disks RAID 0 or concatenate). Another way (IMHO besser way) is to create several virtual drives and mount using NTFS mount points.

    An example:

    C:\Data is a folder on one of the virtual disks. Create a second virtual disks and create the C:\Data\Data2 folder. Rather than assign a drive letter for the newly created disk, you can mount it in the Database2 folder. This gives you the ability to move the largest files on separate virtual drives without lose you the structure of folders.

    Kind regards

    Patrick

  • rename several virtual machines based on the State of food & VM name

    I'm looking for a powershell script to rename the virtual machine based on the state name and vm power.  For example, I have several virtual machines with a - temp at the end of the name of the server.  Some are turned on and some are turned off.  I am wanting to rename only those who is off

    Thank you

    tjw82

    Assuming that - temp is part of the name

    Get - vm | where {$_.powerstate - eq "poweredoff"} | foreach {Set-machine virtual - VM $_ - name (($_.name).)} Replace ("temp", "delete"))}

  • Need help updated the VMX file on several Virtual Machine

    All,

    Can anyone help with a problem I'm having?  Here is a brief explanation of what is happening and what we need to solve.

    Recently we found out that we need to add a line in the file VMX of several virtual machines.  In the past, I was able to do this, but would have cold start the virtual machine for the changes to take effect.  Starts cold won't be a problem, because we can program it.

    However, no one knows a way to add this line in the file VMX virtual machines in a cluster.

    Here's the line I need added:

    Devices.hotplug = "false".

    Here is a script that was used earlier (esx 3.0 days) to keep the VM tools updated on reboot.  At this point, if the virtual machine has been turned on, this change could not do through the UI.  However, this script worked to update the .vmx file and then we have cold reboots for the changes to take effect.

    Get-viserver - < Server > - < user > - < password >

    $viview = get-Cluster-name NOMCLUSTER | Get - VM | foreach-object {get-view ($_.ID)}
    $viview | {foreach-object
    $vmConfigSpec = new-Object VMware.Vim.VirtualMachineConfigSpec
    $vmConfigSpec.Tools = new-Object VMware.Vim.ToolsConfigInfo
    $vmConfigSpec.Tools.afterPowerOn = 'True '.
    $vmConfigSpec.Tools.afterResume = 'True '.
    $vmConfigSpec.Tools.beforeGuestStandby = 'True '.
    $vmConfigSpec.Tools.beforeGuestShutdown = 'True '.
    $vmConfigSpec.Tools.ToolsUpgradePolicy = "UpgradeAtPowerCycle".
    $_. ReconfigVM ($vmConfigSpec)
    }

    The exact script can be found in Disable HotPlug

  • How to configure the CD driver on the host for a virtual machine?

    After you create a virture machine and put the CD of driver on host, when powered on the vertual machine, may not start the drive form the CD only from NIC.

    How to configure the CD driver on the host for a virtual machine?

    Right-click on the virtual computer and go to edit settings. Click the Options tab and under the tip list, there should be Boot Options. Enter an amount of milliseconds to wait before your boot, so you can activate the CD-ROM. You can also activate the CD even if it boots to the NETWORK card option, and then reset the virtual machine. Get the focus of this virtual machine on the console session, and then press ctrl-alt-insert. Your CD-ROM will stay connected if you do not want to delay the startup process.

  • Create several virtual machines from the same base image

    Hi all

    Is there any vi api sdk by which I can create several virtual machines form same base vmdk file?

    All create the VM from the base VMDK file will have their own delta vmdk file that will refer to the same base VMDK file. Only changes that are performed on each virtual machine are saved on their respective delta vmdk files.

    Thanks in advance...

    Hello

    What you are referring is called Clones related, in the current VI API, there is no method that supports this feature. You can take a look at CloneVM_Task() http://www.vmware.com/support/developer/vc-sdk/visdk25pubs/ReferenceGuide/vim.VirtualMachine.html#clone if you want to implement a full clone and this will require you to have access to vCenter.

    In the next version of vSphere, vSphere SDK THAT will provide a way to implement the related Clones and it will be a parameter you can specify CloneVM_Task() , more precisely in the VirtualMachineRelocateSpec where you will specify diskMoveType to createNewChildDiskBacking

    You can find more information once vSphere of GA and the new QAnywhere VI documents are released, but if you are looking to implement related Clones today, you can take a look at the product of VMware View 3, which provides support for linked Clones or you can take a look at two scripts that I wrote which creates linked Clones similar to that of the view :

    Clones related to ESX

    CLones related to ESXi

    =========================================================================

    William Lam

    VMware vExpert 2009

    Scripts for VMware ESX/ESXi and resources at: http://engineering.ucsb.edu/~duonglt/vmware/

    repository scripts vGhetto

    http://Twitter.com/lamw

    If you find this information useful, please give points to "correct" or "useful".

  • Several virtual machines attached to port VM group

    Hi all

    So I did research on the internet and on this forum and I have not found a good answer to my question. So I would check that I can create a unique Virtual Machine port group and attach multiple virtual machines and run them simultaneously. I basically want to have each VM attached to this switch, but instead to a separate port group, it seems that I can just attach to the same port group that puts on the vSwitch.

    Is there problems of L2 with MAC address or ARPing or something like that? I realize that I have to ensure that each VM has correctly configured the IP settings. I know there are problems, but I am wanting clarification of the people who have done this before. Are there problems of interface as with a real switch speed or who is not serious in a vSwitch?

    Thank you!

    -GNS

    You can attach multiple virtual machines to the same group of port without problems, this is how normally environment are created. Have a look here for more details: vSphere Standard switches

    The image below shows several virtual machines connected to the same port group:

  • Closing and reopening the workstation with running virtual machines

    I have recently upgraded to 10 Workstation and I am having a strange problem. In preferences, I have checked option which says "continue to VMs run after the closure of workstation. In workplace planned 9 this option worked exactly, but workstation 10 seems that partially works as expected. In Workstation 9 I could close my computer, and then open then in from the tray icon to always see my virtual machines running with the small green icon play on them. However, in the 10 workstation I close the workstation and all my virtual machines continue to run, but when I reopen it workstation all my virtual machines appear in the workstation as if they are off; but they run because I can RDP for them. If I right click on one of them all is grey with the exception of mark it as a favorite and delete. I can't power off, change the settings, see the console, or anything like that. The shows the icon that VMs are being run, but even suspend, stop or suspend tray icon options or background open VMs do not work either. The only way I found actually to get my computer working again is to use the Task Manager to kill the task of vmware - vmx.exe. As soon as the task is killed for each workstation running, they operate again in the workstation.

    If anyone has encountered this problem, or know a fix for this? I have run several virtual machines and never have any idea that vmware - vmx.exe is for what VM when needing to change something on one of them. I make sure that I can kill them all in order to make a change to one of them.

    David Moore

    Ok. I have this problem. However, the fix has been an awareness in desperate need of repair. I ended up uninstalling the VMware Workstation and then remove all references to the registry with REGEDIT. I then restarted the computer and reinstalled VMware Workstation again. After this heavy treatment, it works again the way it should work. It seems that the upgrade to the latest version of Workstation 9 to the latest version of 10 break something somewhere.

    By the way, Dayworker, it was and is version 10.0.3.

  • Undetected after the fresh install ESXi virtual machines

    Hello

    I have to say I really enjoyed working with ESXi, but I run a quick question for the moment.

    I initially installed ESXi 5 on an SD card and created several virtual machines via vSphere Client Windows. Because of the card SD comes off on the reboot (using a Dell R610), I have now decided to install ESXi 5 on a USB key. However, when I open the Windows of vSphere client, I do not see the virtual machines on the host, but I see that they are always present in the VMFS data store that I created earlier. When I boot from the SD card, they appear very well.

    I have to migrate somehow?

    Thank you very much for your help!

    As this is a new installation of ESXi you can save the VMs from the data store as the inventory.xml on the new facility can be empty.

    Measures to save the virtual machine using vmx are available on Ko http://kb.vmware.com/kb/1006160

  • Re install the OS on a virtual machine

    One of our Virtual Machine (Windows 2008) operating system has been altered. So I want to re - install this OS on virtual machine. So by attaching a Win 2008 ISO I plan to re - install the operating system and format the C:\ drive on this virtual machine. So put in shape C:\ drive if it will affect datastore where this VM...

    So put in shape C:\ drive if it will affect datastore where this VM...

    N ° not at all. This will be the file vmdk residing on the data store that's going to change.

  • Workstation - Bat file to run several Virtual Machines

    I am currently using the following .bat file to launch several virtual machines:

    Start "" /b "C:\Users\Abe\Desktop\Virtual machine 1.lnk".

    Start "" /b "C:\Users\Abe\Desktop\Virtual machine 2.lnk".

    My problem is that start each machine's own instance of VMware.  Is it possible to build a script (.bat or other) who will start the virtual machines in a single instance of VMware Workstation.

    Regards and thanks in advance

    k

    You can create a file of commands like this:

    vmrun start "C:\VM\VM1.vmx".

    vmrun start "C:\VM\VM21.vmx".

    This would open up two virtual machines in the same GUI - at least that's the way it works on my Windows 7 host with 9 Workstation.

Maybe you are looking for