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

Tags: VMware

Similar Questions

  • Question about the size of my Virtual Machine

    I'm on Fusion 3.1 (and Windows XP in Fusion on a MacBookPro Leopard). I put my Windows Virtual Machine to be 40 GB size but I just ran OmniDiskSweeper and it shows that the virtual machine takes 53 GB. I see the same size in the Finder.

    Two questions: first, how is it possible for the virtual machine to limit growth, I gave him? Second, is there a way for me to downsize (safely). I did not quite in the virtual machine (mainly my installation of Windows) and a handful of programs so it's weird that she's so big.

    I have disabled Auto-protect.

    I have two snapshots, one of when I first set up the virtual machine and one of very recently. I once had a bunch of other photos but I deleted them. I mention this because I read in another thread that "orphan" instant can hang out somewhere but I don't know where to look to see if this is the reason for the growth of my virtual machine.

    Thanks a lot for your suggestions.

    Abe Z.

    AMZ1 wrote:

    One thing I didn't get your last answer: if snapshots are not backup, and the creation of a snapshot causes the basic disk that you want to stop growing, which are good for snapshots? Or in other words, your response, it looks like I should stop creating snapshots, Yes?

    In which case I should rely only on periodically manually save the virtual machine by copying in the Finder on an external drive?

    What I said was "Snapshots are not backups in the traditional sense of the word and should not be relied upon as such either." However, using clichés absolutely has merit and value but how to use them effectively and efficiently seems to escape most of the users.  As a general rule, I treat a not different Virtual Machine and a physical Machine, then when it come to back up the user data and the ability to quickly restore the entire construction as well as user data.  I use snapshots mainly for short periods of time, and then either delete them when I don't want to lose changes made along the way, or if I go back to a previous snapshot.  For example, I can run on a given snapshot and say a single snapshot for a week and if all was well I'll delete it and take another or if I need to do something that could end up with bad results I'll take a snapshot to do what I do and if I have a problem just go back to the previous snapshot or the basic disk as appropriate.  The trick is user data constantly backed up out of the Virtual Machine itself, as well as at some point in time I never have to worry about the State of and reason for any data or instant and what action I might have to or want to take.

    There are many other cases workers scenarios about how/when to use snapshots and it was just a bit of food for thought because I don't have time now to get deeper into it but the snapshots are a good thing to use as and when necessary, but do not count on them to replace the traditional methods/methodologies for backup/recovery of data user or any backup/restore system but use then as a another tool in the digital Toolbox.

  • Questions about the archive/delete a virtual machine for later retrieval.

    We run VSphere 4.0 in a 10-node cluster.    We have a VM we want to remove the system, but we want to archive it so that we can restore it later if necessary.

    Initially, I was counting on stop the virtual machine, the navigation data store and copy the files to a local disk using the button 'Download' on the data store.  Then after the copy, by an "out of disk" on the VM on VCenter.

    Then later if we need the machine back, download the files and do a 'add to inventory' on the VMDK file.

    However, when I did the download, I noticed that VMDK files on the downloaded folder had names with "-flat" added to them.  So 'server.vmdk' became 'server - flat hard '.

    If I copy these files with the '-dish "in the name in VMWare later, they will come to OK?

    Or, given that I'm trying to (archive a virtual machine), is there a better way to do this?

    Your comments would be appreciated.

    Mike O'Donnell.

    That is right.  "Every hard disk to a virtual machine consists of a pair of files hard. One is a text file containing descriptive data on the virtual hard disk, and the second is the actual content of this disc. For example, a virtual machine named examplevm has a drive attached to it. This disc consists of a file less than 1 KB examplevm.vmdk descriptor and a 10 GB examplevm - flat hard flat file, that contains the contents of the virtual machine. ' - of Ko 1002511.

  • 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.

  • 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.

  • A question about the count of several lines of table in a PL/SQL block

    Hi all




    I have a problem on counting the rows from several tables in a PL/SQL block, and I would be grateful if you could kindly give me a helping hand. Here's my problem: file in Microsoft Excel (one column) I have a list of several names of tables. For each table, when the number of rows is equal to 10000 I have to call a procedure. Here's how I tried to do:
    DECLARE
         CURSOR tb_cursor IS
              WITH my_table_names AS
                   (
                        SELECT  'table1'  AS tbname  FROM  DUAL  UNION
                        SELECT  'table2'  AS tbname  FROM  DUAL  UNION
                        SELECT  'table3'  AS tbname  FROM  DUAL  UNION
                        SELECT  'table4'  AS tbname  FROM  DUAL  UNION
                        .
                        .  Here I continue writing one line for each table in order
                        .  to have the table names stored in my Excel file as a table 
                           to be queried by SELECT statement
                        .
                   )
              SELECT *
              FROM my_table_names;
    BEGIN
         -- Here I verify that for each table having more than 10000 lines
         -- I call the specified procedure which is needed
         
         FOR I IN tb_cursor LOOP
              DECLARE
                   -- Here I declare a cursor for counting the number of rows
                   CURSOR currentTableRowCounter IS
                        SELECT COUNT(*) AS rowsNum
                        FROM I.tbname;
                        
                   numberOfRows currentTableRowCounter%ROWTYPE;
              BEGIN
                   OPEN currentTableRowCounter;
                   FETCH numberOfRows INTO numberOfRows;
                   CLOSE currentTableRowCounter;
                   
                   IF (numberOfRows.rowsNum > 10000) THEN
                        -- And here I will call the procedure which has to be run
                   END IF;
              END;
         END LOOP;
    END;
    /
    I already checked this code with tables inividual and it works. The only problem is
    . . .
    SELECT COUNT(*) AS rowsNum
    FROM I.tbname;
    . . .
    Indeed, oracle considers "I.tbname" as an unknown table name (although he refers to by its exact name).
    SQL> @script.sql
    
                                    FROM I.tbname;
                                           *
    ERROR at line 99:
    ORA-06550: line 99, column 12:
    PL/SQL: ORA-00942: table or view does not exist
    How can I solve this problem? I mean, how to use a variable (in my example, I.tbname) as the table name in the FROM clause to query a table instead of explicitly write the name of the table?





    Thanks in advance,
    Dariyoosh

    Replace the following code:

              DECLARE
                   -- Here I declare a cursor for counting the number of rows
                   CURSOR currentTableRowCounter IS
                        SELECT COUNT(*) AS rowsNum
                        FROM I.tbname;
    
                   numberOfRows currentTableRowCounter%ROWTYPE;
              BEGIN
                   OPEN currentTableRowCounter;
                   FETCH numberOfRows INTO numberOfRows;
                   CLOSE currentTableRowCounter;
    
                   IF (numberOfRows.rowsNum > 10000) THEN
                        -- And here I will call the procedure which has to be run
                   END IF;
              END;
    

    By the following:

    Declare
      numberOfRows number;
    begin
      EXECUTE IMMEDIATE 'select count(*) from '||I.tbname into numberOfRows;
    
      IF (numberOfRows.rowsNum > 10000) THEN
        -- And here I will call the procedure which has to be run
      END IF;
    end;
    

    Max
    [My Italian blog Oracle | http://oracleitalia.wordpress.com/2010/01/10/crittografia-in-plsql-utilizzando-dbms_crypto/]

    Published by: Massimo Ruocchio, January 12, 2010 15:25
    Added Variable Declaration

  • Question about the use of EM on machine with 2 active instances

    Hello

    As a free workout, I created 2 instances on a single machine. The machine is, server and client. I'm running Windows XP SP2, Oracle 11 GR 2 (as seen in my handful of user) and using IE7 for MS.

    The URL of the first instance is:
    https://Oracle2Day1.john.local:1158/em
    The URL for the second instance is:
    https://Oracle2Day1.john.local:5500/em
    If I connect to one and the same instance, then everything works fine.

    When I log you at first, then in the second instance, and switch back to the tab of the first instance, I find myself back at the page "user name/password / Connect as", even I don't get the page saying that I was disconnected in the first instance.

    Of more, if at this time, I return to the tab of the second instance, I find myself on the page "user name/password / Connect as ' for this instance too.

    Basically, whenever I log in proceedings and switch to tab from one case to another, it brings back me to the log in page for both instances.

    If I connect in one instance and do not try to connect to the second instance then everything works fine.

    Any ideas as to why I can't be connected to two instances at the same time? (I myself can be connected in two cases, simultaneously using SQL * more without any problem) Is there something I can do to fix this or is it "normal"?

    Thank you for your help,

    John.

    Aman... wrote:
    This is the limitation of the database console 'free' John. It can be used only one instance at a time. If you want to have a maintenance single window/console to manage the two databases, you must use the option of paid console grid .

    HTH
    Aman...

    It's a little confusing ;) If he opens the 2 consoles EM in 2 separate browsers, should not this market? ;)

    John: Can you please try that ;)

  • 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.

  • Question about the location of a host of virtual machines

    I work on temporarily to change the behavior of the DRS for a particular VM (in VI Perl), but my question is more general research of the root 'to host' for a particular virtual machine.

    The installation of the infrastructure program:

    + Folder1

    - + Cluster1

    -


    + Esx1

    -


    + VMs

    -


    + Esx2

    -


    + VMs

    .. .etc

    There are several clusters on different servers in this configuration.

    In order to manage the DRS by VM, I find the cluster that hosts the virtual machine.  The $vm_view - & gt; parent returns one 'value' (other than the name of folder) folder.  It seems that the only way to match the virtual machine to the cluster of accommodation is to do a brute force search, open multiple views and retrieve the values of each until I have a match, and then looking through each cluster in the corresponding folder to find the one that contains the virtual machine.

    Am I wrong?  It is an ugly and ineffective way to find the host for a virtual machine.  If I am not mistaken, are there plans for the addition of the hierarchy of the path to the view of the VM?

    A $view - & gt; config - & gt; value of path containing something like: file - & gt; Cluster - & gt; ESX Server - & gt; VM would be useful.  In addition, a function which maps values of resources to names of resources would be very helpful (with a code depend on a 'value' of the 'field-c125"and any other code that depends on a 'name' of"Cluster1"creates a lot of extra work).

    Thank you

    -David

    You can determine the Cluster that host a virtual machine by browsing through the ResourcePool of the virtual machine. Owner of the ResourcePool is the ClusterComputeResource who manages the virtual machine.

    $vm_view-> resourcePool->owner

    Also, to get the HostSystem that contains the Virtual Machine, you can follow the path

    $vm_view-> run-> home

    Regarding your suggestion to have a predefined path to access a managed entities, we have after explanation.  There are different paths through which you can access to the different managed

    entities of your inventory according to its hierarchy. Virtual Infrastructure gives you the flexibility to design your inventory. You can add a folder or host or a Cluster directly to your data center.

    Then it still allows a folder to have three objects as its child entity. If the path for any entity depends on the structure of your inventory. If a path can be set.

    All managed objects are uniquely identified managed objects ID. Name can be dupilcate for few entities in a data center, you can have two Resourcepools with the same name in different groups. Similarly, you can even named so that each entity is mapped using an object ID, and not a property 'name '.

  • A question about the virtual processors in the prompt

    Dear Sir

    I have a general question about the number of virtual processors in the guest system.

    I use VMware ESXi 4.0.

    Say if my physical host has only 2 cups carrots (with or without HT should be the same), then is - it true that I can only attribute 2 virtual processors per virtual machine?

    Is it possible to give 4, 8 virtual processors in virtual machines?

    In my drop down menu I can NOT choose more than 2 virtual processors per virtual machine, I want to just make sure that it is not the problem of license.

    Thank you very much.

    Nanfang

    Hi Nanfang,

    linanfang wrote:

    So the general rule is the number of vcpus don't CAN NEVER exceed the number of physical processors. Is this correct?

    Replace "physical cpu" by "physical cores" and you are right, because a vCPU is mapped to a kernel. For example, you can assign 4 vCPU with a Quad-Core processor.

    If you think about it, it makes perfect sense. If you would be able to map 2 vCPU to the base, the vCPUs had to wait for them all the time because the physical kernel can simply perform an action at a time, why you would decrease the performance of your virtual machine by setting 2 vCPUs.

    It is not changed in vSphere 5.

    Concerning

  • Question about the use of sharing with several pools of resources

    The design of our environment vSphere has several pools of resources at the root, each series 'Normal' value stocks, and if the resources tab shows that each resource pool '% of the shares' value of 3%.

    However, some resource pools have 50 + VM and others have only 1 or 2.

    Is someone can confirm that this is wrong and that should have a pool of resources with more than VM have a proportionately higher value of action?  This assumes of course that all the resource pools are of same priority (be they makes me wonder why we use pools of resources at all... but that's another issue)

    The reason why I ask is that the 'worst deal allocation' is for memory and CPU is much higher on the pools of resources with multiple virtual machines, so it's obviously something in the algorithm of resource allocation that is aware of the total number of virtual machines in the pools. Resource pools are defined as extensible and I'm assuming that this "worst case allocation" would go down considerably as the cluster approached his ability, but I wanted to check before starting to change things...

    Welcome to the Forums - you are right to worry about this situation - check on http://www.yellow-bricks.com/2010/02/22/the-resource-pool-priority-pie-paradox/ for description - but don't worry Duncan also has a solution - http://www.yellow-bricks.com/2010/02/24/custom-shares-on-a-resource-pools-scripted/

    If you find this or any other answer useful please consider awarding points marking the answer correct or useful

  • Re: Several questions about the recovery of the Satellite L750 features

    I have several questions about the recovery of Satellite L750 features available to it. Any help and answers would be useful.

    (1) when I started the laptop first, he asked me to create a recovery CD incase I need to reinstall the operating system. But he also said that he built in the recovery partition, so therefore, I have to make a recovery cd or not?

    (2) will be the recovery CD is exactly the same as the recovery on the system partition?

    (3) is the partion of CD or recovery includes all the integrated software pre-installed with the laptop?

    (4) also in the device manage management it shows watch partion recovery but it is empty, is it true?

    (5) in the second partition (drive D) system, he has a record with what looks like the recovery of files and folders. Is it safe to move/remove it?

    Hello

    I'll try to provide answers:
    1 - to ensure that everything works perfectly you don t need these discs, but if something goes wrong with the HARD drive you will not be able to do anything. When you have the recovery DVDs, you will still be able to install the recovery image and once again the factory settings. So my advice to you is: create these discs as soon as possible. Use only on DVD-R media and buy products of high quality (TDK or Verbatim).
    2 - Yes.
    3 - Yes.
    4 - No. Don t be confused with this.
    5. in a first time create restore DVD, and later you can do what you want. I put t know which files mean you but don t touch anything before that of the recovery disks to be created.

    In the past, many people have been experimenting with the structure of HARD drive and partitions and later was surprised when installing disk recovery HARD has been damaged. Don t make the same mistake.

    If you have any other questions you are welcome.

  • I have a question about the time machine. I recently updated my Quicken 2015 and there was something wrong with the update. Can I go back in just the Quicken file and restore it until I downloaded the update do I have to restore the entire

    I have a question about the time machine. I recently updated my Quicken 2015 and there was something wrong with the update. Can I come back in all the Quicken file and restore from time Machine before I downloaded the update to do, I need to restore the entire computer?

    Yes, you can just restore this file or application. Use Time Machine to back up or restore your Mac - Apple Support

  • 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

Maybe you are looking for

  • Need of the original iPhone sim card

    I'm looking for a sim card for the original iPhone so I can use it like an iPod. Thank you!

  • Satellite L775D-107 - fault GPU or monitor?

    Since yesterday, I have problems with my laptop and do not know what to do. Then the screen shows everything, but changed some colors and allows their flickering pink or green.I got the laptop connected to an external monitor. There, everything works

  • DeskJet 4500 will not scan to PDF

    My Deskjet 4500 G510g-m will not scan to PDF. The Solution Center does not show a scanning pane. Printing HP and Scan Doctor indicates that an update is required for the Cener Solution, however, the update link goes to an update to the Pro 8500 and t

  • Notes on (bases) imaging with Labview

    Hello world Would you recommend any note book or a conference based on the acquisition of images (wink, grab, sequence etc.) with Labview (including how to set a buffer and how do I save images?) I've not found anything particularly interesting onlin

  • Not sure it's good thru: downloaded 'malware (windows xp recovery).

    AS NOTED ABOVE.  MADE A MISTAKE.  SOMEONE ELSE DO THIS ERROR?, AND HOW TO CORRECT YOU.  A REALLY ME BLOCKED UPWARD!  TY