Alarm, based on the State of the virtual machine

Hello

I just started to evaluate the vFoglight to monitor our infrastructure VMware and so far, I really like the product, but there are a lot of things to take.

Y at - it a predefined alarm that will enhance and alert and send me an email if a virtual machine crashes or goes offline? The default rule "VMW Virtual Machine power status change" will do that?  I feel that this will tell me if the virtual computer is shut down or restarted, but could not workout if it marked the top if a virtual machine has frozen or crashed.

In the past I did using the base "no heartbeat Mike" in vsphere.

Any help would be appreciated

Thank you

Dan

Hi Dan,.

The Virtual Machine VMW power state change will do as below:

Goal
This rule triggers an alarm if a virtual machine has been suspended or powered down recently.

The rule definition
Conditions                                                                                           State   Action
The virtual machine was not suspended or updates turned off recently.     Normal no
The virtual machine has been suspended recently.                               No warning
The virtual machine has been powered down recently.                                Reviews email VMware admin

Maybe you can add, action of e-mail to the severity of the warning from the rule.

Tags: Dell Tech

Similar Questions

  • Alarms / opinion on the use of the virtual machine JAVA Perm Gen

    Hi team,

    I need to configure alarms / Notification each time that the use of the virtual machine JAVA Perm Gen is greater than a threshold value. I don't see all the default rules / corresponding to Perm Gen registry variables.

    Could you please enlighten us in how I can achieve... ?

    A screenshot is attached for your reference.

    Kind regards

    Arun

    I tested it after the previous message which was released indicating that you have an error, the nice thing about Foglight is that it allows to see the measures that exist (as you noted the names are a bit different in this case as the example of the JVM) and it also gives you a test button to validate the expression) , don't forget to make sure that she only appliese to the things that have names like Perm if you want it calculated only for generations of perm.

    Can you please define this thread as answered.

    Thank you

    Golan

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

  • ESXi host goes to the State and the virtual machine does not restart on other host does not

    Hi all

    I'm looking for a solution, in which case the host goes to the State and the virtual machine on it does not restart on a different host (they'll just gray) does not not what could be the problem here and how to fix it

    later when the failed host returns upward machines either go to motor off the coast of the State, or they show that under tension

    While the host is down or not responding do not I am able to ping the host ESXi (5.5) and able to ping the default gateway and the DNS servers of the host itself

    Yes AF, the answer to all these questions is Yes, it is a HA and DRS cluster active, I tried restarting mgmt service, we use a shared storage (storage iSCSI HP 3PAR and left hand)

  • Assign a static IP address via DHCP based on the Mac address of the virtual machine

    Hi all

    It is especially a feature request, as I'm sure that it is not currently possible to do what I want to do...

    I would like to be able to assign static IP addresses to VM without having to manually configure the network settings of the virtual machine directly. I want to be able to do it from the DHCP settings in the virtual network Editor.

    Most of the routers DHCP allow this. They give an IP address through DHCP based on the MAC address of the client. This means that the customer is concerned that he receives a regular IP DHCP address, but it is never change.

    DHCP is the default option for all OS this makes things much easier to manage, as IP addresses is assigned in the same way, in one place for all DHCP clients, regardless of the client operating system, and without having to manually keep track of which the IP is assigned to which customers etc..

    Also AFAIK at least for Ubuntu, you cannot assign a static IP address without having to also statically assign to the DNS server. It is only the IP address I need to be static, so I prefer not to have to worry about manually assign the DNS server.

    I can just kind of fudge making the really long DHCP lease duration, but the maximum is 99 days only, so finally addresses are going to change, that would mean a whole bunch of reconfiguration for VM services, etc..

    Does anyone know if the workstation 9 has this ability? I am currently on version 8, but I would probably upgrade this function only if she can do it.

    If there is no way to do what I want to directly through the virtual network Editor, can anyone recommend a way to do this, perhaps using Guest only network and then, by running a kind of services to the 3rd party NAT and DHCP on the host?

    Thank you

    Eugene

    There is no GUI option to get what you are looking for, but you can do it manually. Please take a look at Re: assign a static IP to guest with network adapter NAT Virt? where I posted an example.

    André

  • State of the virtual machine after the host failure

    Hello

    If a virtual machine is running on a host and that host suddenly powers off dirty, like a power failure or a remote access card power the server due to a fault, overtemp etc., what happens to the virtual machine?

    My guess is the virtual machine is actually difficult, dirty off too and if HA is configured, etc it is going to do a full power on sequence. Or is it restart on a new server and be automatically in the same power state with the same States of memory and cpu until the host has dropped dead? So if I got a connection of the DRC in a vm of windows server and the host dies suddenly and it restarts, reconnect to the session even State immediately before the breaking of the host?

    Thank you

    When ESX\ESXi fails due to power failure:

    No configured HA:

    1. all virtual machines is also faces off against the sudden stop. SMV will lose data runtime and all communications (including the RDP connection) will be interrupted.

    Configured HA:

    1 VMs will be powered - on on a different host. However, its the same as a reset of the virtual machine, we will lose any unsaved data.

    VMware FT:

    We ensure 100% uptime for a virtual machine using VMware Fault Tolerance. In case of failure of the host, next time school resumes VM in FT. More details on IP are available at the following link.

    http://www.VMware.com/products/fault-tolerance/overview.html

  • Cannot use 'lab1' host because the host CPU is not compatible with the judgment of the virtual machine suspend state.

    I see that this error was mailed here, but can't seem to find a position with a resolution.

    We use Lab Manager 4.0.4 and just upgraded the hosts in our laboratory.  Before updating to ESXi 4.1 ESX 4.0 u1, we cancelled all VMs in all configurations.  There is none who were suspended, they were all turned off.  We have improved vcenter 4.0 to 4.1 as well.  We moved from a dell poweredge 1950 with two quad core intel L5410 to a r610 with two quad core intel processor E5506.

    When I try to turn on some of the lab configurations (our VM models all work fine), I get this error:

    • Cannot use 'lab1' host because the host CPU is not compatible with the judgment of the virtual machine suspend state.

    I threw the State for the lab configuration (even if it was turned off and cancelled) and still get this message.  I guess the processor architecture of these chips is quite similar, and both are Intel.

    If I go into this directory of Manager of laboratory inside the data store for one of these virtual machines that does not light and add to the inventory, he turned and starts fine on my server esxi 4.1.  So how do Lab Manager to get account it's well deploy and start it?

    Hey billk.

    Although not supported completely, you can solve it by going to the SQL of Lab Manager database.  Make sure that you back up your database before you do anything like that.

    Open the table "fsdir" and corresponds to the dir_id with the id Lab Manager VM.  Once you find the relevant line, change suspend_proctype_id to null (Zero-Ctrl).  You can do this while Lab Manager is still running.

    The results can be unstable (i.e. Windows can crash if it was a drastic change of CPU), but at least you look at a hard reset.  The bat reset certainly not being able to return to the previous state.

    Also note that while Lab Manager does not include CVS, if you activated, your virtual machines still work in CVS mode.  If you have a mixture of heterogenious of hosts in a cluster for Lab Manager, you can see this question pop up a lot.  There is absolutely nothing wrong with take back the virtual machine because of the VCA, but Lab Manager thinks otherwise and prevents it.

  • Generate the CSV file to the virtual machine by using get-stat statistics

    Hi all

    I put my VC for taking samples every 5 minutes for 3 days.

    I would create a PowerCLI script that I can then run on an ad hoc basis to connect to my VC and to get the details for ALL of the virtual machines that are managed by this CR and fill in a CSV (c:\foo.csv):

    • Name of the virtual machine

    • The ESX VM host is currently sitting

    • total number of virtual processors assigned to VM

    • total memory allocated to the VM

    • memory active average used by the virtual machine in the 3 days using samples of 5 minutes

    • average mhz CPU used by VM spent 3 days using samples of 5 minutes

    I have attached a sample file XLS of CSV output should look like.

    If anyone can give me a code to achieve or get on well on my way, I would appreciate it a lot.

    Kind regards

    Alex

    OK, so what you want is something like this then?

    Get-VM | Where {$_.PowerState -eq "PoweredOn"} |
     Select Name, Host, NumCpu, MemoryMB,
               @{N="Cpu.UsageMhz.Average";E={[Math]::Round((($_ | Get-Stat -Stat cpu.usagemhz.average -Start (Get-Date).AddHours(-72) -IntervalMins 5 -MaxSamples (12) | Measure-Object Value -Average).Average),2)}},
               @{N="Mem.Usage.Average";E={[Math]::Round((($_ | Get-Stat -Stat mem.usage.average -Start (Get-Date).AddHours(-72) -IntervalMins 5 -MaxSamples (12) | Measure-Object Value -Average).Average),2)}}
    

    I think that the issue that you have with the missing stat might be to do with your logging levels in VC, if these are not set correctly it will not save these stats for this period of time.

    What do you get if you do a simple:

    get-vm "SingleVM" | Get-Stat -Stat cpu.usagemhz.average
    

    If you found this information useful, please consider the allocation of points for correct or helpful.

    Alan Renouf

    http://Virtu-al.NET

  • Crash when the instant withdrawal: State of the virtual machine is 'unknown (invalid) '.

    Hi all

    Currently, I'm in the middle of a nightmare: a few moments I tried to delete a snapshot that has been there for a while on one of my virtual machines. Of course, it can take a loy of time for this kind of operation to achieve, so I waited patiently so that it reaches its end.

    But in the middle of it my host had a kernel panic (I'll have to diagnose this one).

    When I got to new host, the virtual machine was not the webui, try saving it shows the machine as being "unknow (invalid)"...

    I scoured Suur intrenet for a while, but everything I have read until knowledge is quiet frightneging.

    Currently, the directory that stores all the files of the virtual machine is looking as follows:

    drwxrwxrwx 2 root root 4096 12 October 2008 564d583c-363e-0c7a-96e0-cd07d5b1a8e1.vmem.lck

    -rw - 1 root root 2147221504 2 May 20:31 colossus2_2new - f001.vmdk

    -rw - 1 root root 2147221504 19 Dec 13:04 colossus2_2new - f002.vmdk

    -rw - 1 root root 1074266112 Jan 11 22:27 colossus2_2new - f003.vmdk

    -rw - 1 root root 528 2 May 20:31 colossus2_2new.vmdk

    -rw - 1 root root 2147221504 2 May 20:32 colossus2_3new - f001.vmdk

    -rw - 1 root root 2147221504 2 May 20:32 colossus2_3new - f002.vmdk

    -rw - 1 root root 2147221504 2 May 20:32 colossus2_3new - f003.vmdk

    -rw - 1 root root 2147221504 19 Dec 13:04 colossus2_3new - f004.vmdk

    -rw - 1 root root 2147221504 Jan 11 22:35 colossus2_3new - f005.vmdk

    -rw - 1 root root 1310720 Jan 11 22:35 colossus2_3new - f006.vmdk

    -rw - 1 root root 661 2 May 20:32 colossus2_3new.vmdk

    -rw - 1 root root 2147221504 2 May 20:32 colossus2_4new - f001.vmdk

    -rw - 1 root root 2147221504 2 May 20:33 colossus2_4new - f002.vmdk

    -rw - 1 root root 2147221504 2 May 20:33 colossus2_4new - f003.vmdk

    -rw - 1 root root 2147221504 2 May 20:34 colossus2_4new - f004.vmdk

    -rw - 1 root root 2147221504 2 May 20:35 colossus2_4new - f005.vmdk

    -rw - 1 root root 1310720 Jan 11 22:42 colossus2_4new - f006.vmdk

    -rw - 1 root root 661 2 May 20:35 colossus2_4new.vmdk

    -rw - 1 root root 1868365824 2 May 22:13 colossus2_5new-000001 - s001.vmdk

    -rw - 1 root root 1637482496 2 May 22:13 colossus2_5new-000001 - s002.vmdk

    -rw - 1 root root 2114256896 2 May 22:13 colossus2_5new-000001 - s003.vmdk

    -rw - 1 root root 2114256896 2 May 22:13 colossus2_5new-000001 - s004.vmdk

    -rw - 1 root root 2114256896 2 May 22:13 colossus2_5new-000001 - s005.vmdk

    -rw - 1 root root 2114256896 2 May 22:13 colossus2_5new-000001 - s006.vmdk

    -rw - 1 root root 2096824320 2 May 22:13 colossus2_5new-000001 - s007.vmdk

    -rw - 1 root root 554369024 2 May 22:13 colossus2_5new-000001 - s008.vmdk

    -rw - 1 root root 1728839680 2 May 22:13 colossus2_5new-000001 - s009.vmdk

    -rw - 1 root root 2114191360 2 May 22:13 colossus2_5new-000001 - s010.vmdk

    -rw - 1 root root 1659371520 2 May 22:13 colossus2_5new-000001 - s011.vmdk

    -rw - 1 root root 1527775232 2 May 22:13 colossus2_5new-000001 - s012.vmdk

    -rw - 1 root root 1578958848 2 May 22:13 colossus2_5new-000001 - s013.vmdk

    -rw - 1 root root 1611792384 2 May 22:13 colossus2_5new-000001 - s014.vmdk

    -rw - 1 root root 1602945024 2 May 22:13 colossus2_5new-000001 - s015.vmdk

    -rw - 1 root root 2114256896 2 May 22:13 colossus2_5new-000001 - s016.vmdk

    -rw - 1 root root 2085617664 2 May 22:13 colossus2_5new-000001 - s017.vmdk

    -rw - 1 root root 2114256896 2 May 22:13 colossus2_5new-000001 - s018.vmdk

    -rw - 1 root root 2114256896 2 May 22:13 colossus2_5new-000001 - s019.vmdk

    -rw - 1 root root 2114256896 2 May 22:13 colossus2_5new-000001 - s020.vmdk

    -rw - 1 root root 2114256896 2 May 22:13 colossus2_5new-000001 - s021.vmdk

    -rw - 1 root root 2114256896 2 May 22:13 colossus2_5new-000001 - s022.vmdk

    -rw - 1 root root 2114256896 2 May 22:13 colossus2_5new-000001 - s023.vmdk

    -rw - 1 root root 132055040 2 May 22:13 colossus2_5new-000001 - s024.vmdk

    -rw - 1 root root 327680 2 May 22:13 colossus2_5new-000001 - s025.vmdk

    -rw - 1 root root 65536 2 May 22:13 colossus2_5new-000001 - s026.vmdk

    -rw - 1 root root 1582 Mar 8 17:53 colossus2_5new - 000001.vmdk

    drwxrwxrwx 3 root root 4096 2 May 22:14 colossus2_5new - 000001.vmdk.lck

    -rw - 1 root root 2147221504 2 May 20:36 colossus2_5new - f001.vmdk

    -rw - 1 root root 2147221504 2 May 20:36 colossus2_5new - f002.vmdk

    -rw - 1 root root 2147221504 2 May 20:37 colossus2_5new - f003.vmdk

    -rw - 1 root root 2147221504 2 May 20:38 colossus2_5new - f004.vmdk

    -rw - 1 root root 2147221504 2 May 20:39 colossus2_5new - f005.vmdk

    -rw - 1 root root 2147221504 2 May 20:41 colossus2_5new - f006.vmdk

    -rw - 1 root root 2147221504 2 May 20:42 colossus2_5new - f007.vmdk

    -rw - 1 root root 2147221504 2 May 20:42 colossus2_5new - f008.vmdk

    -rw - 1 root root 2147221504 2 May 20:43 colossus2_5new - f009.vmdk

    -rw - 1 root root 2147221504 2 May 20:45 colossus2_5new - f010.vmdk

    -rw - 1 root root 2147221504 2 May 20:46 colossus2_5new - f011.vmdk

    -rw - 1 root root 2147221504 2 May 20:46 colossus2_5new - f012.vmdk

    -rw - 1 root root 2147221504 2 May 20:47 colossus2_5new - f013.vmdk

    -rw - 1 root root 2147221504 2 May 20:47 colossus2_5new - f014.vmdk

    -rw - 1 root root 2147221504 2 May 20:48 colossus2_5new - f015.vmdk

    -rw - 1 root root 2147221504 Feb 11 13:19 colossus2_5new - f016.vmdk

    -rw - 1 root root 2147221504 8 Mar 17:17 colossus2_5new - f017.vmdk

    -rw - 1 root root 2147221504 Jan 11 23:02 colossus2_5new - f018.vmdk

    -rw - 1 root root 2147221504 Jan 11 23:03 colossus2_5new - f019.vmdk

    -rw - 1 root root 2147221504 Jan 11 23:03 colossus2_5new - f020.vmdk

    -rw - 1 root root 2147221504 Jan 11 23:03 colossus2_5new - f021.vmdk

    -rw - 1 root root 2147221504 19 Dec 13:04 colossus2_5new - f022.vmdk

    -rw - 1 root root 2147221504 Jan 11 23:04 colossus2_5new - f023.vmdk

    -rw - 1 root root 2147221504 Jan 11 23:05 colossus2_5new - f024.vmdk

    -rw - 1 root root 2147221504 Jan 11 23:05 colossus2_5new - f025.vmdk

    -rw - 1 root root by 6553600 Jan 11 23:05 colossus2_5new - f026.vmdk

    -rw - 1 root root 1562 2 May 20:35 colossus2_5new.vmdk

    -rw - 1 root root 2147221504 2 May 20:31 colossus2 - f001.vmdk

    -rw - 1 root root 2147221504 2 May 20:31 colossus2 - f002.vmdk

    -rw - 1 root root 2147221504 2 May 20:31 colossus2 - f003.vmdk

    -rw - 1 root root 2147221504 2 May 20:31 colossus2 - f004.vmdk

    -rw - 1 root root 2147221504 2 May 20:31 colossus2 - f005.vmdk

    -rw - 1 root root 2147221504 2 May 20:31 colossus2 - f006.vmdk

    -rw - 1 root root 2147221504 2 May 20:31 colossus2 - f007.vmdk

    -rw - 1 root root 1075576832 2 May 20:31 colossus2 - f008.vmdk

    -rw - 1 root root 8684 2 May 20:19 colossus2.nvram

    -rw - 1 root root 714 2 May 20:31 colossus2.vmdk

    -rw - 1 root root 821 2 May 20:31 colossus2.vmsd

    drwxrwxrwx 2 root root 4096 2 May 22:13 colossus2.vmsd.lck

    -rwxr-xr-x 1 root root 2680 may 2 21:35 colossus2.vmx

    -rw - 1 root root 264 Jan 11 22:25 colossus2.vmxf

    -rw - rr 1 root root 98347008 1 October 2008 gparted-live - 0.3.9 - 4.ISO

    -rw - rr 1 root root 1581428 Jan 13 11:53 0.log - vmware

    -rw - rr 1 root root 771239 19 Dec 12:59 vmware - 1.log

    -rw - rr 1 root root 76388 Jan 11 23:21 vmware - 2.log

    -rw - rr 1 root root 10161063 2 May 20:18 vmware.log

    The vmx file contains the following:

    #! / usr/bin/vmware

    . Encoding = 'UTF-8 '.

    config.version = '8 '.

    virtualHW.version = "7".

    floppy0. Present = "FALSE".

    MKS. Enable3D = 'TRUE '.

    pciBridge0.present = 'TRUE '.

    pciBridge4.present = 'TRUE '.

    pciBridge4.virtualDev = "pcieRootPort"

    pciBridge4.functions = '8 '.

    pciBridge5.present = 'TRUE '.

    pciBridge5.virtualDev = "pcieRootPort"

    pciBridge5.functions = '8 '.

    pciBridge6.present = 'TRUE '.

    pciBridge6.virtualDev = "pcieRootPort"

    pciBridge6.functions = '8 '.

    pciBridge7.present = 'TRUE '.

    pciBridge7.virtualDev = "pcieRootPort"

    pciBridge7.functions = '8 '.

    vmci0. Present = 'TRUE '.

    NVRAM = "colossus2.nvram."

    virtualHW.productCompatibility = "hosted".

    FT.secondary0.enabled = 'TRUE '.

    Tools.Upgrade.Policy = "useGlobal".

    powerType.powerOff = 'soft '.

    powerType.powerOn = "hard."

    powerType.suspend = "hard."

    powerType.reset = 'soft '.

    displayName = "colossus2."

    extendedConfigFile = "colossus2.vmxf".

    scsi0. Present = 'TRUE '.

    scsi0.sharedBus = 'none '.

    scsi0.virtualDev = "free".

    memsize = "4096".

    scsi0:0. Present = 'TRUE '.

    scsi0:0. FileName = "colossus2.vmdk".

    IDE1:0. Present = "FALSE".

    IDE1:0. FileName = ' / vmachines/colossus2/gparted-live-0.3.9-4.iso '.

    IDE1:0. DeviceType = "cdrom-image".

    IDE1:0.allowGuestConnectionControl = "FALSE".

    ethernet0. Present = 'TRUE '.

    ethernet0.allowGuestConnectionControl = "FALSE".

    ethernet0. Features = "1".

    ethernet0.wakeOnPcktRcv = "FALSE".

    ethernet0.networkName = "Bridged".

    ethernet0. AddressType = 'generated '.

    guestOS = "rhel3.

    UUID. Location = "56 4 d 58 36 3 c 3F 0c 7 a - 96 cd 07 d5 b1 a8 e1 e0.

    UUID. BIOS = "56 4 d 58 36 3 c 3F 0c 7 a - 96 cd 07 d5 b1 a8 e1 e0.

    VC. UUID = "52 88 6f 19 b2 66 ae 20-28 5 c 6 b 8 b 96 a1 15 6 d.

    scsi0:1.present = 'TRUE '.

    scsi0:1.filename = "colossus2_2new.vmdk".

    scsi0:1.writeThrough = 'TRUE '.

    scsi0:2.present = 'TRUE '.

    scsi0:2.filename = "colossus2_3new.vmdk".

    scsi0:2.writeThrough = 'TRUE '.

    scsi0:3.present = 'TRUE '.

    scsi0:3.filename = "colossus2_4new.vmdk".

    scsi0:3.writeThrough = 'TRUE '.

    scsi0:4.present = 'TRUE '.

    scsi0:4.filename = "colossus2_5new - 000001.vmdk".

    scsi0:4.writeThrough = 'TRUE '.

    IDE1:0.startConnected = 'TRUE '.

    IDE1:0.clientDevice = "FALSE".

    ethernet0.generatedAddress = "00: 0C: 29:b1:a8:e1.

    tools.syncTime = "TRUE".

    scsi0:0. Redo = «»

    scsi0:1.redo = «»

    scsi0:2.redo = «»

    scsi0:3.redo = «»

    scsi0:4.redo = «»

    vmotion.checkpointFBSize = "16777216.

    pciBridge0.pciSlotNumber = "17".

    pciBridge4.pciSlotNumber = "21".

    pciBridge5.pciSlotNumber = "22".

    pciBridge6.pciSlotNumber = "23".

    pciBridge7.pciSlotNumber = "24".

    scsi0.pciSlotNumber = "16".

    ethernet0.pciSlotNumber = "32".

    vmci0.pciSlotNumber = "33".

    ethernet0.generatedAddressOffset = '0 '.

    vmci0.ID = "-709777183".

    sched.mem.pshare.Enable = "FALSE".

    mainMem.useNamedFile = "FALSE".

    MemTrimRate = '0 '.

    MemAllowAutoScaleDown = "FALSE".

    Could someone point me to a solution if there is? I have Saturday night here and I would not spend my Sunday to rebuild the server from scratch and have to explain Monday morning I lost 2 months of work for users little by relying on this virtual machine.

    Thank you very much in advance!

    bugjargal,

    In the past if I had a VM that is displayed as invalid when you try to add it to the inventory, I usually just created a new virtual machine based on the original settings & attached the existing VMDK.  Not sure how that will work with a virtual machine that has snapshots, but can be worth (nothing to lose)?

    Doug.

  • Check the State of the virtual machine remotely

    Hi all

    I want to check the status of my virtual machines remotely (start, stop, reset, suspend, resume). Is there a simple way to do this?

    In fact, I am using the remote built into VMware workstation's screen but if I stop the virtual machine, I am not able to restart and go on the host computer. Is there a solution for workstation as the Web management or something else?

    Thanks for help

    See vmrun.exe in the VIX\ \Program Files\VMware\VMware directory.

    You can script a whole bunch of things quite easily.

    Mike

  • Windows XP Home Edition (Version 2002) include SP1 is the Virtual Machine for Java (MSJVM) installed on this and future Service Packs Microsoft remove it?

    While the installation of Microsoft DirectX 9.0 c on my Windows XP Home Edition (Version 2002) operating system (not sure if the 2002 version in it's original state included SP1), EULA (EULA) provided the contract included a paragraph stating that "ONLY in regards to THE VIRTUAL MACHINE MICROSOFT FOR JAVA, YOU ARE ONLY ALLOWED to INSTALL THIS OS COMPONENT ON A MACHINE THAT CONTAINS A ALREADY the VERSION OF THE MICROSOFT JAVA VIRTUAL MACHINE". Assuming that the MSJVM was included with Windows XP Home Edition (Version 2002), I advanced and accepted the EULA. I then downloaded and installed Windows XP SP2 and SP3, but wasn't sure whether SP2 and SP3 removed the MSJVM in any point. However, research on the question, I discovered the site "FAQ of Transition MSJVM" (updated May 7, 2004), who answered the question: ' if I install Windows XP SP1a or later, it will remove my current MSJVM? " with "No, the operating system upgrade will not remove a MSJVM existing on the computer" (http://www.microsoft.com/about/legal/en/us/interoperability/java/faq.aspx). However, I can't find any instance of it on my computer.

    So my questions are:

    1. Windows XP Home (Version 2002) Edition include SP1?
    2. The MSJVM is installed on this version?
    3. SP2 or SP3 removes the MSJVM in any point to?

    Hi Chris,

    Your Windows XP question is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the IT Pro TechNet public. Please post your question in the forum TechNet for assistance:

    http://social.technet.Microsoft.com/forums/en/itproxpsp/threads

    Hope the helps of information.

  • 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?  :)

  • Restore the Virtual Machine from Windows 7

    I had set up a virtual computer on another partition on my drive (D:\VM) and my computer crashed and the computer scientist did a restore of the C: drive and I am not currently able to do the old VM to work. I have the following files listed under D:\VM

    License.NLF

    Windows XP Mode.vhd

    Windows XP Mode.vsv

    Windows XP Mode.vmc

    Windows XP Mode.vmc.vpcbackup

    Looks like the latest state of the virtual machine is on hypernation. How can I make my old VM to work? Need help!

    Hello

    The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the TechNet Forums.
    http://social.technet.Microsoft.com/forums/en-us/w7itprovirt/threads

    Hope this information helps.

  • Customization of the comments for the virtual machines deployed from model has stopped working

    Hi all

    (Environment: vCenter and ESXi 10 5.1 hosts running Build #3070626)

    We have a model 2012R2 and a file specification of customization that allows us to deploy the VMs 2012R2 server. It worked well for a while. After the Christmas break, it seems more work correctly and we havn't knowingly changed anything to cause this. We have fixed our ESXi hosts Build #3070626 October 6, but have deployed VMs of model since, without problem.

    We have all staged for the VM in advance (IE AD entry of objects and DNS). And then powered the deployed virtual computer, sysprep runs, but does not seem to apply settings in the customization file (IE rename the virtual computer, set the Admin password, join the domain etc.). If feed us the cycle of the VM, sysprep is running again, but even once, does nothing.

    I have attached the contents of my file guestcust.log of a computer deployed virtual (see below), but I do not see the clues about the problem. I thought initially the error on the first line was important, until I've found it is also present on the virtual machines that have been successfully deployed from this template in the past, so it's maybe a Kipper.

    Does anyone have advice for troubleshooting this?

    TIA

    Mark

    ==========

    guestcust.log

    ==========

    Could not query value reported in the registry (the system cannot find the file specified.)

    Sysprep from Windows Respecialize operating detected.

    Copy the files from C:\Windows\TEMP\vmw7DEB.tmp to C:\Windows\TEMP\vmw8A3E.tmp.

    Rescheduling of customization of the guest operating system.

    "Executing command C:\Windows\system32\schtasks.exe / create /sc ONSTART $ more HIGH/np/z v1 /ru SYSTEM /tr" C:\Windows\TEMP\vmw8A3E.tmp\guestcustutil.exe customize - sealparam \"/quiet/generalize/oobe /reboot\ ' NIC - 4000 - schedulenativeunobfusc ' /tn"VMware Guest OS task of customization.

    At the request of guest OS customization task invoked.

    Remove scheduled task of customization of the guest operating system.

    Execution of command C:\Windows\system32\schtasks.exe, /f/delete /tn "VMware Guest OS task of customization"

    Personalization current 2016 to 1 - Feb - 11 18:32:42

    RPCI: Send request = 'deployPkg.update.state 4 C:\Windows\TEMP\vmware-imc\guestcust.log 0'

    RPCI: Envoy = 'deployPkg.update.state 4 C:\Windows\TEMP\vmware-imc\guestcust.log 0' request, response = ", len = 0, status = 1

    Key successfully open SYSTEM\CurrentControlSet\Control\Session Manager\

    Size of 27 reg_multi_sz.

    Read the multi_sz registry autocheck autochk/q/v value *, size 27.

    value chain of registry autocheck autochk/q/v *.

    1 items back

    Obtained the session mgr BootExecute.

    Native App sysprepDecrypter.exe, arguments "

    Copied file sysprepDecrypter.exe to C:\Windows\system32\sysprepDecrypter.exe

    Update boot run value.

    Created / opened key \Guest Customization\ SOFTWARE\VMware, Inc. successfully.

    New shoe, run:

    autocheck autochk/q/v *.

    sysprepDecrypter.exe

    System drive: C:

    Move the folder "sysprep" to "C:".

    Select * from win32_networkadapter where manufacturer! "Microsoft" and ServiceName =! = "VMnetAdapter" and the manufacturer is not null and MACAddress is not null

    1 objects found. Pointer f049a8. return code 0(0x0)

    "" "0 items found." " Pointer to 0. return code 1(0x1)

    00:50:56:B0:70:46 the value for the property return system

    Setting dhcp for nic # 0

    Return value \\VMT-W2K12R2\ROOT\CIMV2:Win32_NetworkAdapter.DeviceID="10' for the system property

    ASSOCIATORS OF {\\VMT-W2K12R2\ROOT\CIMV2:Win32_NetworkAdapter.DeviceID="10"} where ResultClass = Win32_NetworkAdapterConfiguration

    1 objects found. Pointer eee290. return code 0(0x0)

    "" "0 items found." " Pointer to 0. return code 1(0x1)

    Clear the gateway ip addresses.

    Enabling DHCP on the computer

    Returns the value for the system property \\VMT-W2K12R2\ROOT\CIMV2:Win32_NetworkAdapterConfiguration.Index=10

    DNS server IP configuration

    Execution of command C:\windows\system32\sysprep\sysprep.exe/quiet/generalize/oobe/reboot /unattend:C:\sysprep\sysprep.xml

    Successfully executed the command C:\windows\system32\sysprep\sysprep.exe/quiet/generalize/oobe/reboot /unattend:C:\sysprep\sysprep.xml

    Try to connect network interfaces, try 1

    RPCI: Send request = 'deployPkg.update.state 4 103 C:\Windows\TEMP\vmware-imc\guestcust.log@4000'

    RPCI: Envoy = 'deployPkg.update.state 4 103 C:\Windows\TEMP\vmware-imc\guestcust.log@4000' request, response is "queryNicsSupported", len = 18, State = 1

    Got answer VMX 'queryNicsSupported '.

    RPCI: Send request = 'deployPkg.update.state 4 104 C:\Windows\TEMP\vmware-imc\guestcust.log@4000'

    RPCI: Envoy = 'deployPkg.update.state 4 104 C:\Windows\TEMP\vmware-imc\guestcust.log@4000' request, response = 'connected', len = 9, State = 1

    Got VMX response "connected."

    Network interfaces are connected to 0 seconds

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

    OK, I myself fixed the end.

    I created a new customization file with exactly the same settings as the old file, and it worked. I can only assume that the old customization file has been altered somehow.

  • Stop the virtual machine

    I'm looking for a script to stop vm...

    Script works fine, but I have a few Questions or details

    $csv = import-csv C:\xxx.csv

    Foreach ($line in $csv)

    {

    Write-Host “====================================================================”

    Write-Host "$line treatment".

    $vminfo = get-view-Id ($line.vm) USER.USER

    Write-Host "checking the VMware Tools on $line... »

    # If we have the VMware tools installed

    If ($vminfo.config.Tools.ToolsVersion - eq 0)

    {

    Write-Host "($line.vm) don't have vmware tools installed, strong power this one.

    # Hard power off.

    Stop-VM ($line.vm)-confirm: $false

    }

    on the other

    {

    write-host "I'll try to stop $vm.

    # Turn off with elegance

    Get - VM ($line.vm) | Stop-VMGuest-confirm: $false | Out-Null

    }

    }

    1. my code below what I'm missing / or hurt?

    $vminfo = get-view-Id ($line.vm) USER.USER

    Write-Host "checking the VMware Tools on $line... »

    2. Tools a lot of combination

    Tools installed - but not running

    tools not install

    Are that both will have to stop-vm?

    3.

    I got a simple code, it will cover the tools stuff?

    $vm = Get-VM
    $vm | where {$_. Comments . State -eq "Running"} | Shutdown-VMGuest -confirm:$false
    $vm | where {$_. Comments . State -eq "NotRunning"} | Stop-VM -Confirm:$false


    4. I want to stop 50 virtual machines simultaneously, how the


    Your script seems to be ok.

    When the VMware tools are installed you can do a gracefull shutdown (Stop-VMGuest) within the guest where OS the obligation for the VMware tools.

    The next option is to stop the virtual machine (VM-Stop), with what would be the power button on a physical computer.

    No phasing out of the BONES and a potential risk on the corruption of the OS.

    With switch RunAsync that the cmdlet returns immediately, it will not wait until the underlying vSphere method is complete.

    The method will continue, but in the background.

    You should check these tasks to background (Get-task), to monitor the successful completion.

    To manage VMS in batches of 25 and wait 60 seconds between batches, you could do something like that

    $vms = get - VM

    $step = 25

    $start = 0

    for ($loop = 0; $loop - the ([math]: ceiling ($vms.)) Step Count / $)-1); $loop ++) {}

    $vms [$start... ($Start+$Step-1)] | where {$_.} Guest.State - eq "Running"} | Stop-VMGuest-confirm: $false - RunAsync

    $vms [$start... ($Start+$Step-1)] | where {$_.} Guest.State - eq "Keep"} | Stop-VM-confirm: $false - RunAsync

    sleep 60

    $start += $step

    }

Maybe you are looking for