The virtual machine migration and maintenance mode

Hello

When I go into maintenance mode, DRS intervenes and begins to migrate my virtual machines.

He made only 2 virtual machines at once.

This number can be increased?

Thanks in advance,

Ronen.

Hi Ronen, take a look at this: http://www.boche.net/blog/index.php/2009/01/05/guest-blog-entry-vmotion-performance/

Saludos/looks

Nicolas Solop

Buenos Aires, Argentina

-

Tags: VMware

Similar Questions

  • What is the interval of time between the virtual machine Linux and ESXi host synchronization?

    I have ESX5.0 with a centos6 installed on this linux virtual machine.

    After the installation of vmware for Linux virtual machine tools, I activated the time synchronization between the virtual machine linux and ESXi host through vmware-toolbox-cmd.

    I wonder what is the interval of time between the virtual machine linux and ESXi host synchronization? If I quickly time OS system, when the OS system time will sync back to the ESXi host?

    According to http://www.vmware.com/files/pdf/techpaper/Timekeeping-In-VirtualMachines.pdf:

    By default, the demon checks the guest only once per minute operating system clock.

    However, depending on whether the guest is behind or in front of the result is different. So, please read the section "periodic synchronization" (at least) in the document mentioned above.

    André

  • Activate the Virtual Machine start and stop

    Hello

    I'm not activate Virtual Machine Startup and shutdown I don't know what is right.

    Untitled.png

    Hello

    This is the VMware KB which provide a workaround to enable this option for VMs on ESXi hosts in cluster HA active.

    VMware KB: Automatic Virtual Machine Startup / Shutdown in ESXi hosts in a cluster VSA is turned off

    Last time (couple of years back), when I was researching on this topic, I found that these settings are applied only when the virtual machine is on the same host ESXi, and once his migrated to another ESXi host for this VM autostart option is lost and needs to be reconfigured again. I don't know if this behavior changed with new versions of vSphere.

    I hope this helps.

    Arun-

    Twitter: https://twitter.com/arunpande

    Blog: http://highoncloud.blogspot.in/

    Virtualization VMware on NetApp

  • The virtual machine failover and restart with vSphere HA time

    Hello

    What factors would affect the time required for vSphere HA to computers failover virtual to a host failed to another active host in the cluster? It would be important how much space drive by using virtual machine is or how big it is? Or who should not matter?

    Thank you

    It should not matter. HA initiates the failover and the powers on the virtual machine regardless of size. Note, however, that there could be a delay in time OS/App.

    Another parameter that can affect the failover time is the number of virtual machines being switched at some point. If you have more healthy hosts in the cluster, then VM failovers happen simultaneously reduce the failover time.

  • Comparing the virtual machine RAM and DataStore FreeSpace

    Hi all

    I'm trying to find out where VM is having more RAM compared to the data store space.

    I wrote the script for the same error below and is. More on is it possible I can print as VM name and name of data store after comparing the values. Please suggest.

    $vm = get - vm

    $vm | Select Name,MemoryMB,@{N='FreeSpaceMB'; E = {(Get-DataStore |)} Where {$_.} Name - eq ($vm. ({ExtensionData.Config.Files.VmPathName). Split('[]') [1]}). FreeSpaceMB}} | WHERE {$VM.memorymb - ge $_.} FreespaceMB}

    PowerCLI C:\ > $vm | Select Name,MemoryMB,@{N='FreeSpaceMB'; E = {(Get-DataStore |)} Where {$_.} Name - eq ($vm. ({ExtensionData.Config.Files.VmPathName). Split('[]') [1]}). FreeSpaceMB}} | WHERE {$VM.memorymb - ge $_.} FreespaceMB}

    Can't compare "4096" to "1621381 1621333". Error: "could not convert the.

    Value "System.Object []" type "System.Object []" type "System.Decimal. »

    At line: 1 char: 168

    {{+... ceMB}} | WHERE {$VM.memorymb - ge $_.} FreespaceMB}

    +                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo: InvalidOperation: (:)) [], RuntimeException)

    + FullyQualifiedErrorId: ComparisonFailure

    Try like this

    Get - VM |

    Select Name, MemoryMB,

    @{N = "FreeSpaceMB"; E = {(Get-Datastore-nom ($_.))} ExtensionData.Config.Files.VmPathName). Split('[]') [1] | Select - 1 first). FreeSpaceMB}} |

    WHERE {$VM.memorymb - ge $_.} FreespaceMB}

  • Stop and restart the virtual machines in the remote server

    I need to close virtual machines running guests 4 1 ESX from a remote server (IBM System i).

    The remote server in fact control the storage used by ESX and VM OS, so I'll have to scripts running on the remote server that:

    Stop the virtual machine

    Performs maintenance

    Reboot the virtual machine

    I tried to understand the big picture of the reading discussions here, but I'm still confused.

    VMA is to provide the best way for the virtual machines of withdrawal from a script running on a remote server?

    Scripts can I use SSH to connect to the vSphere environment to run scripts or issue the command?

    Thank you.

    vCLI (really its vSphere SDK for Perl), PowerCLI, VI Java, etc are all vSphere SDK to correct and they are a of the client-side bindings different scripts and programming languages which bind to the vSphere API. When I say 'API', I mean using one of these SDK is you use the vSphere API to perform the work.

    The SDK is initiated on the remote server, this can be windows, linux, etc as long as it supports one of these boxes to tools. In general, for admins, you will use either vCLI (vSphere SDK for Perl) that supports Linux and Windows, or if you are more windows-oriented, you can use PowerCLI.

    Documentation has been referenced in my first post, please take some time the documents because they provide much more detail on the use cases for each + a lot of examples with orders. Yet once, there no involved SSH if you use the vSphere API. As I told, vMA is a virtual appliance, you can download and start using if you do not want to install vCLI or PowerCLI on a remote system, this is assuming that you are comfortable in a Linux environment. If you're not, then I highly recommend using PowerCLI, who will need a remote server for Windows.

    Here are a few started getting additional resources:

    vSphere SDK for Perl + vMA:

    Getting started with vSphere SDK for Perl

    Introduction to the vMA (tips/tricks)

    PowerCLI:

    http://www.VMware.com/support/developer/windowstoolkit/

    http://www.virtu-al.NET/2009/11/10/PowerCLI-where-do-i-start/

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

    William Lam

    VMware vExpert 2009

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

    Twitter: @lamw

    repository scripts vGhetto

    Introduction to the vMA (tips/tricks)

    Getting started with vSphere SDK for Perl

    VMware Code Central - Scripts/code samples for developers and administrators

    VMware developer community

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

  • Start the Virtual Machine and stop Option

    Hi all

    I would like to know how to change the Virtual Machine start and stop through PowerCLI Options.

    I would like to change the default start time, the default close delay with a script, but I am not able to do...

    Someone knows how to do?

    Thanks for your help!

    Sorry, it's just realized that you wanted to say.

    See the Set-VMHostStartPolicy and Set-VMStartPolicy cmdlets.

    ____________

    Blog: LucD notes

    Twitter: lucd22

  • Could not start the virtual machine after you use vmkfstools to resize - HELP!

    I thought I knew what I was doing, but apparently not...

    I tried to increase the size of a VM over 36 GB drive and now I can not start the server. Here's the change front of directory list:

    -rw - 1 root root 16781312 Sep 20 19:46 PJAEast-DL01-000001 - delta.vmdk

    -rw - 1 root root 325 28 August to 01:52 PJAEast-DL01 - 000001.vmdk

    -rw - 1 root root 4096 9 February 14:55 PJAEast-DL01-000002 - delta.vmdk

    -rw - 1 root root 277 9 February 14:55 PJAEast-DL01 - 000002.vmdk

    -rw - 1 root root 28201 28 August to 01:52 PJAEast-DL01 - Snapshot1.vmsn

    -rw - 1 root root 28267 9 February 14:55 PJAEast-DL01 - Snapshot2.vmsn

    -rw - 1 root root 131604480 26 August at 08:04 PJAEast-DL01 - flat hard

    -rw - 1 root root 8684 25 August at 21:03 PJAEast - DL01.nvram

    -rw - 1 root root 589 25 August at 15:18 PJAEast - DL01.vmdk

    -rw - r - r - 1 root root 1042 28 August to 01:52 PJAEast - DL01.vmsd

    -rwxr-xr-x 1 root root 2779 Feb 9 15:10 PJAEast - DL01.vmx

    -rw - r - r - 1 root root 267 Feb 9 15:10 PJAEast - DL01.vmxf

    -rw - 1 root root 9898631168 9 February 14:54 PJAEast-DL01_1-000001 - delta.vmdk

    -rw - 1 root root 331 28 August to 01:52 PJAEast-DL01_1 - 000001.vmdk

    -rw - 1 root root 73728 9 February 14:55 PJAEast-DL01_1-000002 - delta.vmdk

    -rw - 1 root root 283 9 February 14:55 PJAEast-DL01_1 - 000002.vmdk

    -rw - 1 root root 36322836480 28 August at 01:41 PJAEast-DL01_1 - flat hard

    -rw - 1 root root 597 25 August at 15:18 PJAEast - DL01_1.vmdk

    -rw - r - r - 1 root root 78710 25 August at 16:06 vmware - 1.log

    -rw - r - r - 1 root root 68108 25 August at 20:43 2.log - vmware

    -rw - r - r - 1 root root 122302 28 August at 01:41 vmware - 3.log

    -rw - r - r - 1 root root 90557 Sep 20 19:54 4.log - vmware

    -rw - r - r - 1 root root 69453 9 February 14:54 vmware.log

    Then, I run the command:

    vmkfstools x 256g PJAEast - DL01_1.vmdk

    And now the virtual machine does not start, return an error: "the virtual disk parent has been changed since the child was created."

    The directory listing is now ("BOLD" indicates the change of information post-vmkfstools):

    -rw - 1 root root 16781312 Sep 20 19:46 PJAEast-DL01-000001 - delta.vmdk

    -rw - 1 root root 325 28 August to 01:52 PJAEast-DL01 - 000001.vmdk

    -rw - 1 root root 4096 Feb 9 16:12 PJAEast-DL01-000003 - delta.vmdk

    -rw - 1 root root 277 Feb 9 16:12 PJAEast-DL01 - 000003.vmdk

    -rw - 1 root root 28201 28 August to 01:52 PJAEast-DL01 - Snapshot1.vmsn

    -rw - 1 root root 28267 9 February 14:55 PJAEast-DL01 - Snapshot2.vmsn

    -rw - 1 root root 131604480 26 August at 08:04 PJAEast-DL01 - flat hard

    -rw - 1 root root 8684 Feb 9 16:12 PJAEast - DL01.nvram

    -rw - 1 root root 589 25 August at 15:18 PJAEast - DL01.vmdk

    -rw - r - r - 1 root root 1015 28 August 01:52 PJAEast - DL01.vmsd

    -rwx - 1 root root 2779 Feb 9 16:12 PJAEast - DL01.vmx

    -rw - 1 root root 267 Feb 9 16:12 PJAEast - DL01.vmxf

    -rw - 1 root root 9898631168 9 February 14:54 PJAEast-DL01_1-000001 - delta.vmdk

    -rw - 1 root root 331 28 August to 01:52 PJAEast-DL01_1 - 000001.vmdk

    -rw - 1 root root 73728 Feb 9 16:12 PJAEast-DL01_1-000003 - delta.vmdk

    -rw - 1 root root 283 Feb 9 16:12 PJAEast-DL01_1 - 000003.vmdk

    -rw - 1 root root 274877906944 28 August 01:41 PJAEast-DL01_1 - flat hard

    -rw - 1 root root 599 9 Feb 16:11 PJAEast - DL01_1.vmdk

    -rw - r - r - 1 root root 68108 25 August at 20:43 2.log - vmware

    -rw - r - r - 1 root root 122302 28 August at 01:41 vmware - 3.log

    -rw - r - r - 1 root root 90557 Sep 20 19:54 4.log - vmware

    -rw - r - r - 1 root root 69453 9 February 14:54 5.log - vmware

    -rw - r - r - 1 root root 39510 Feb 9 16:12 6.log - vmware

    -rw - r - r - 1 root root 39411 Feb 9 16:12 vmware - 7.log

    -rw - r - r - 1 root root 39410 Feb 9 16:14 vmware.log

    I can't do anything else until I get comments. Can anyone recommend a way to solve this problem?

    I thought I knew what I was doing, but apparently not...

    I agree

    Two a problem with the new drive.

    1. You get the error message comes from the basic disk with a different size than the disks of the snapshot.
    2. With a size of 256 GB, you will not be able to create snapshots of the disk (on ESXi prior to 5.0 with a block size of 1 MB)

    What you can try to do is to edit the file PJAEast - DL01_1.vmdk :

    • 536870912 VMFS 'PJAEast-DL01_1 - flat hard' RW--> RW 70943040 VMFS 'PJAEast-DL01_1 - flat hard. "
    • DDB. Geometry.Cylinders = "33418'-> ddb.geometry.cylinders = '4416.

    After that, I would recommend to clone the virtual disk to a new one, replace the virtual disk in the virtual machine settings and resize it to a maximum of 254GB (see "calculates the time system required by the snapshot files" at http://kb.vmware.com/kb/1012384)

    • vmkfstools-i PJAEast-DL01_1 - 000003.vmdk PJAEast - DL01_1a.vmdk

    André

  • Restrict the mouse in the virtual machine window

    Hello

    I'm on a Setup dual monitor.  Is it possible to limit the pointer of the mouse in the VMWare window, while I use it?  I read that you can uninstall VMTools to do, but I would rather not go too far.

    Thank you.

    Pat

    Under normal circumstances without VMware Tools installed should click in the view of the Virtual Machine so that it (the Virtual Machine) to capture the keyboard and mouse input and with VMware Tools installed all we need to do is right-click the virtual machine screen and captures automatically entered.  So without VMware Tools installed on must press a combination of keysCtrl + command() () for the Virtual Machine display release (ungrab) the keyboard and the mouse in the virtual machine.

    On my system with 'Always optimize the mouse for games' selected, I have to manually ungrab the mouse and keyboard of the VM to have a control outside of the Virtual Machine (or return on the Mac side).  The value default entry selected (automatic mouse for games) is automatically entered/ungrabbed as the mouse is moved to the edge of the screen of the virtual machine.

    If the behavior that I have just described does not work on your system I not sure why what I have described is not something default behavior which is just supposed to act than anything on my system, however the parameter added to preferences file may or not help but I guess it's worth a try.

    pref.motionUngrab = "FALSE"
    

    With the VM within the guest operating system stop, not suspended and VMware Fusion closed, add the parameter above to the "${USER} / Users / / Library/Preferences/VMware Fusion/preferences ' file.  JSYK this parameter is used in VMware Workstation and can have no effect in VMware Fusion and I mean only that as I have no other suggestions then uninstall VMware Tools.

  • VSphere Client limit "the virtual machine console.

    Hello

    I have done several searches and could not find anything relevant so I thought I'd post the question.

    I have ESXi 4.0 running with the installation of 3 virtual machines. I connect to the ESXi 4.0 via Client.exe vSphere hypervisor in windows.  I have a couple of people using the same account. For this reason, we have noticed that, if one of us is connected to a virtual machine, the other person can open the console of the virtual machine also and mess with what they do.  He warns that many people are watching the same virtual machine with the bar at the top of the screen indicating there are now 2 sessions of active console.

    My question is: is there a way to limit the client to only allow a connection active console both to a virtual machine?  That way if someone is already logged in / virtual console and a view, no one else can.

    I understand that I can create several vSphere client accounts with restrictions on the permission to have each account only have access to a specific virtual machine, but I would like to avoid that if possible. Everyone should have access to each virtual machine... but not at the same time...

    Perhaps there is a configuration file (or the customer's option) to limit connections of the console to one (I guess that there is a limit somewhere?).  I found there is a "VpxClient.exe.config", but it doesn't look like this kind of information can be changed here?  If this is something that is encoded in the software I will drop it, but I thought I don't know if I asked

    Thanks for your time to answer this question,

    Dan

    by default, it is set as 25, but that can be changed.  However, it is on a customer by customer basis, so as far as I know, there is no comprehensive way to do this.

    In your client - mounting - settings of the client

  • Can I download can imagine them in the data store when the Virtual Machine is running

    or do I have to stop the Virtual Machine first and then download?

    Rgds

    Chris

    If you want to have a consistent state, Yes.

    If you just need a consistent state to the accident, you can create a snapshot, download the base vmdk files and then validate once again the snapshot operation.

    You cannot download files in use (except the read-only).

    André

  • Evacuation of the virtual machines before maintenance mode

    When ESX is placed in maintenance mode - it should give you a vmotion option functioning of the virtual machines on the other hosts in the same cluster?  Or it only move down vms to other hosts?

    Thank you

    DRS is your friend here, ensuring that VMS are evacuated.

    If you are unable to vMotion VMs manually from the host, the y is unable to escape during operations in Maintenance mode. The host will therefore go not in maintenance mode before having been involved and sort the vMotion.

    Most often, CD-ROM etc are involved here, but validation of vMotion also includes such things as the availability of resources and port groups (that is, if a group of ports corresponding to that used by the virtual machine is not available on another host in the cluster that has the resources available, the vMotion will not pass validfation and the virtual machine will remain on the host of 'Maintenance Mode').

  • I get an error "the disk hard virtual parent is in a saved state. Discard the saved state or stop the virtual machine and try again. "during the installation of XP mode.

    I have Win7 Pro SP1 x 64.  I downloaded WindowsXPMode_en - us.exe (from Microsoft downloads) and run it.  The installation seems to work OK (I've specified a different location for the parent virtual hard disk file).  Then, installation happening and I provide the information requested (name of user and password for the XP Mode), updates Windows and OK to the issue of sharing.  The installation program then reports the following error:

    The disk hard virtual parent is in a saved state.  Discard the saved state or stop the virtual machine and try again.

    I get the error even if I try manually configure XP Mode (use the Setup Wizard).  I downloaded the installer XPMode (3 times) and reinstalled several times, always with the same result.  If it helps, I can't locate anywhere .vsv file.

    Any idea what's going on?

    Original title: XP Mode Setup error

    Hi smithnr10,

     

     

    You must post your question in the TechNet forums because it caters to an audience of it professionals.

    To do this, you must consult the link-

    http://social.technet.Microsoft.com/forums/en-us/w7itprovirt/threads

     

    Hope this helps!

  • I've set up the virtual machine in win 7 Ultimate and put some data. Now when I try to connect it asks password and does not accept any password.

    Default password Machine virtual XP Mode

    I've set up the virtual machine in win 7 Ultimate and put some data. Now when I try to connect it asks password and does not accept any password. Please giveme the default password

    If you're talking about XP Mode the default password is XPMUser.  In general you can not use Windows without a password in Windows Virtual PC that you can with Virtual PC 2007 and before.  XPMUser is used only with the XP Mode virtual machine.  All other virtual machines requires a user created password.  If you have changed the password in XP Mode and forgotten, then you have to start over.

    Windows Virtual PC is based on virtual server rather than VPC and all virtual machines need a password.  If necessary, uninstall the integration features, start the virtual machine and create a password for the admin user.  Restart the virtual machine, and then reinstall the integration features.  You will not be able to access a virtual machine created by the user that has no password, while the integration features are installed.  Once you have everything right, that a virtual machine will not be asked a password if you are the admin user in Windows 7.

    @george1009,.

    Everything got?  :)

  • whenever I have to connect to the virtual machine asks me to enter login and password I can't save the credentials

    Hi, I used Windows Virtual PC XP mode for awhile and I just do a fresh install, and I'm having a problem that I seem not to be able to solve.

    After you enable the integration features, I got to the Windows Security login screen. I typed in the login and the password, but I accidentally made a mistake and could not connect. I clicked on cancel and was then in the XP login screen, where I entered then the right login and password and it me connected to the virtual machine XP without problem.

    Now, the problem I have is every time I connect to computer virtual it asks me the login and the password on the login screen of XP and I don't have the option to connect using the login Windows Security screen, so it do not give me an option to save my password and login information. So, to make things worse is that moment every time I have to resize the virtual pc it then asks me to log in again.

    Is it possible to return me to the Windows security login screen where can I put my login instead of the XP login screen when it is not an option?

    Hi Richard,

    The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the TechNet Forums.

    TechNet Forum

    http://social.technet.Microsoft.com/forums/en-us/w7itpronetworking/threads

     

    Hope this information helps.

Maybe you are looking for