IO emits virtual machines in a host

Hi guys

I have a 2 Server ESXi cluster build 1065491 for a month of monitoring reported some problems with virtual machines - ping has disappeared.

After that, I found that VMs statement of losers pings were accommodated in the same server ESXi. Today, a problem has been reported with the vCenter apparatus which did not... do more research I found that all of the virtual machines that are hosted in this particular host appeared this message Windows - Linux

Source: LSI_SAS

Event ID: 129

\Device\RaidPort0, restore the device, has been published.

Source: disk

Event ID: 153

The operation of e/s to 142f8d address logical block to Disk 0 has been retried.

kernel: mptscsih [40114.926402]: ioc0: quit the task! (sc = ffff8802116c3d80)

kernel: [40114.926410] sd 0:0:0:0: [sda] CBD: Read (10): 28 00 00 05 57 80 00 00 40 00

kernel: mptscsih [40115.055129]: ioc0: abandonment of the task: SUCCESS (rv = 2002) (sc = ffff8802116c3d80) (sn = 529576)

any idea what could cause this problem? or how to fix it?

Important that I moved a Windows 2012 VM without ESXi server to the problem and messages LSI_SAS and disc problems began to appear

Thanks a lot guys

Hello

I do not understand the LSI SAS and mptscsi messages are coming inside the guests who are having a controller LSI. I agree to a point that the vmhba0 of LSI in the server maybe nothing to do with errors inside the guests because you do not have virtual machines in the local data store but CF.

So, let's take a look at the usual suspects:

1. as Memmad has pointed out, in the vmkernel journal, we can see if the FC lun is seen no problem and is reported.

2 the ESX does very slowly during the execution of commands like esxcfg-scsidevs - m or esxcfg-rescan vmhbaX [X your CF Adapter]

3 - is the lun configured for multi path in the face of questions, CF once again, it can be newspapers vmkernel. ?

4. I'm sure that the paging file will be generated when the FC lun, but they have a check if the last file to update the directory of the virtual machine swap at the present time. This is to eliminate any delay in the swap file in writing of the customer due to CF issues.

5. There was questions previous similar to yours as VM lose pings, decline in performance, but they were in iscsi and 4.1 KB here

It seems that the guests are abandoned or their scsi reset commands that seems to be the issue here.

Tags: VMware

Similar Questions

  • Deploy multiple virtual machines on several hosts evenly?

    Hello people!

    I wrote a small script to deploy many virtual machines on several hosts at random.

    But I would rather deploy a virtual machine to each host in a table and then start over again until the number of virtual machines to deploy exhausted.  Distribution of the burden of deployment as evenly as possible.

    Anyone have a suggestion?  Example of nested loops?

    PowerShell beginner, here.

    Thank you

    romatlo

    One way to do this is with the modulo operator (%), something like this

    $numVMs = 11

    $tgtEsx = get-Cluster "Westcreek | Get-VMHost-name z420 *.

    1.. $numVMs | %{

    [New-VM-name 'Test $($_)' $tgtEsx[$_%$tgtEsx.Count - VMHost]

    }

  • No network connection between the virtual machines on different hosts ESXi

    I have several 5.0 ESXi hosts in a cluster managed by vCenter Server 5 and I have network problems:

    1. [Host A] running a virtual machine can ping any other computer virtual running on the [host A] great!
    2. A virtual machine running on host [B] can ping any other virtual machine running on [B] home - very well!
    3. [host A] (from the ESXi console) can ping any virtual machine running on [B] home - even better!
    4. [B] home (from the ESXi console) can ping any virtual machine running [host A] - beautiful set!
    5. A virtual machine running [host A] can not ping any virtual computer running on host [B] and vice versa - bad, very bad!

    So basically the problem is that the virtual machines can communicate on hosts. It is a major problem that I need to fix, for obvious reasons.

    Networking on all hosts is configured exactly the same way: a unique and standard vSwitch with a pair of gigabit network cards grouped, vmkernels configured for the vMotion, NFS and network management and a group of ports configured for the VIRTUAL local area network used by the VMs. (vMotion works fine on hosts, storage vMotion works very well too.) All virtual machines are servers Windows (2003 and 2008).

    Reason #3 and #4 above, my assumption is that #5 must be the result of an ESXi/vCenter configuration issue and not a problem with the switches of material upstream. Is this a reasonable assumption?

    Whatever it is, can anyone offer suggestions on how can I fix? It is quite annoying as I'm pretty sure that these hosts are configured in the same manner as those of our production cluster, which does not at all these problems!

    Thanks in advance for any help you guys can provide.

    To be honest, it looks like a problem with your physical network-

    How is the physical network configured - are NIC connects it to the same physical switches? Are the virtual machines on the same subnet? If this is not the case, they are able to ping the gateway sbnet? Can you piing host IP address from the virtual machines?

    I also moved it to a forum more approiate.

  • Amount of vRAM to virtual machines on a host

    Hello world

    I wanted to know the vRAM assigned for the sum of all the virtual machines on the host via script powercli and output in csv format. Any help on this will be appreciated.

    Thank you

    vmguy

    Take a look at blogpost query vRAM of Luke. I hope that's all you need.

    To write the output to a .csv file, you can redirect the result of the function Get-vRAMInfo of Luke to the Export-Csv cmdlet.

    Best regards, Robert

  • Number of virtual machines on a host

    Hello

    I want to count the VM´s on a host and put the value in a variable (number). Then, I want to let the script write the value as follows:

    $numVM = get-VMHost host1. Select @{N = "NumVM"; E={($_ | Get - VM). County}} | ConvertTo

    If ($numVM - gt 0) {Write-Host "host a" $numVM "Virtual Machines"}
    else {Write-Host "the host has no virtual machine"}

    But PowerCLI says:

    Can't compare ' @{NumVM = 3} "'0' because the objects are not the same type or object ' @{NumVM = 3} ' does not implement 'IComparable '.

    So what I have to do now?

    THX

    Chakoe

    Do it like this

    $numVM = (get-VMHost host1 |) Get - VM). County
    If ($numVM - gt 0) {Write-Host "host a" $numVM "Virtual Machines"}
    else {Write-Host "the host has no virtual machine"}

    A select statement creates an object, and not an int

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

  • How to create disk shared across virtual machines on different hosts

    Hello

    We implement Oracle RAC on two virtual machines, one on each of the two armies for redundancy. For our installation:

    • The two ESXi hosts two SAN access a logical unit number.
    • Two virtual machines on the hosts must have access to a single virtual disk on this LUN (or unit number logic itself) at the same time.

    We tried the following:

    • Creation of a data store associated with the LUN, and then creating a new hard drive on each virtual machine using the same virtual disk on the data store. This operation failed because as soon as a virtual computer runs, the other virtual computer cannot run since the first has a lock on the file from the disk.
    • Creation of a new hard drive on the virtual machine through RDM. This operation failed because only the first virtual machine has this option of disc. Once the ROW has been assigned to the LUN, the other virtual computer cannot create its own RDM for the LUN.

    I'm learning just VMware so I can miss a fundamental method to accomplish this, or perhaps, it is not possible at all. You know a way to create the installer I described?

    Welcome to the community,

    I can not specifically help with the Oracle RAC, however, I would recommend that you take a look at MSCS documentation for how to configure shared disks. There is a difference in the way in which you have installed the VM, for example all VMs on an ESXi host or on different hosts. Please keep in mind that MSCS is a cluster without sharing, which means that only one node at a time has access to a shared virtual disc/RDM.

    André

    PS: I forgot to add the link: http://kb.vmware.com/kb/1004617

  • Shared behavior of the virtual machine on the host system shutdown

    Shared behavior of the virtual machine on the host system shutdown

    Greetings,

    I installed WIn7 - 64 bit host system, WS8 and there seems to be a very nice and high quality configuration. I am very happy.

    There is a shared VM and it's a Setup 64-bit Ubuntu 10.04 Server functioning as a base configuration LAMP for some basic web applications, etc..

    I was unable to find the settings to control the behavior of the VM shared with the system that hosts stop. When I stop the host system, I believe that the common VM is off tension or stop gracefully, I don't know who. What I like best is for the shared VM will not apply instead. The reason is that starting the virtual machine is a bit complicated and requires manual intervention. Whereas, if it is stopped since a State suspended without manual intervention is necessary.

    I found that if there is a loss of power, I can hibernate the host system in time before my battery runs out. Resuming the host hibernate system works correctly and the VM shared within WS8 is back to its previous functional State.

    It would be nice and helpful being able to stop or restart the host system and know that the shared virtual machine has been automatically suspended. So now I have to log on to the user account from the host system and open WS8 and manually suspend the virtual machine before you stop or restart the host system.

    Is there a way to have the shared VM automatically suspended when the host system is stop?

    Thank you for your time and attention.

    You can configure the stop action by editing the following file:

    %ProgramData%\VMware\hostd\vmAutoStart.XML

    If you want to configure the action stop for all virtual machines, find the section of under the section. Change it on hold

    If you want to change the action stop for only this one machine virtual, you must first configure this shared VM to be started automatically (in WS, right-click on the item 'VMs shared' in the library, select "manage computers virtual auto-start '). After doing this, manually change the vmAutoStart.xml. Find the entry for the virtual machine in the section (if you have more than one computer configured to autostart virtual, it will take some more digging to understand what VM to change). Change the entry for this virtual machine to hang.

    Save the file. Reboot the host (not auto-start power actions are only made when the host is restarted). Now when stop you the host, WS should suspend the VM (s)

    As always, manually edit the configuration files is not considered supported its use. Save the file before you edit. Adjust at your own risk.

  • How to move virtual machines from one host to another without full VI and vMotion?

    Hello

    could you help me with a question?

    I have two installed hosts with ESXi 3.5 U5, which are connected to the shared iSCSI (Openfiler) - VMs storage are installed on the storage disk. My requirement is to have a cheap solution of DR - in case of failure of a host, I need to move and start VM on the host of work. How to achieve without going through VMware Infrastructure 3.5 and vMotion?

    I found this article:

    http://www.virtualizetips.com/2010/04/how-to-move-a-VM-without-vCenter-or-storage-VMotion/

    but RCLI needs Infrastructure of VMware ESXi does not have default CLI So, how to move VMs between hosts (of course I mean "cold" move) without byuing any additonal VMware SW? It is generally possible in my situation?

    Thank you.

    ARO

    Danas

    If the virtual machines are running in shared storage (two guests see the same storage iSCSI or NFS) then it's simple. If a host goes down, then look for the data store on the ESXi host work. Navigate through folders for each virtual machine, right-click on the VMX file and add to the inventory. You will then be able to turn on the virtual machine.

    To move a virtual machine from one host to another, as long as both hosts had the same processors, you can pause the VM on the single host, browse and add the virtual machine to the inventory on the second break host and the United Nations.

    If the virtual machines are on local storage, but the two hosts are connected to the same shared storage, clone virtual machines on a daily basis from local storage to shared storage. Use something like ghettoVCB http://communities.vmware.com/docs/DOC-8760 make the clone. In the case of a server failure, you will be able to browse the data store, add to the inventory on the shared storage and switch the cloned machine.

  • Get the number of virtual machines per ESX host

    I am able to get the account with the following script command, but what I want to do is to report a 0 if there is no virtual machines on a host.  Currently it just show nothing if there are no VMs.  Any suggestions?

    Get-VMHost | Sort - the name of the property. Select Name, @{N = "VMCount"; E={($_ | Get - VM). County}}

    You can add an IF in the part of the expression.

    Try it like this

    Get-VMHost | Sort-Object Name | Select Name,@{N="VM";E={if(($_ | Get-VM).Count){($_ | Get-VM).Count} else {0}}}
    

    ____________

    Blog: LucD notes

    Twitter: lucd22

  • The list of all virtual machines to a host group in Virtual Machine port group

    Ladies and gentlemen,

    I would like to create a powershell script to list all my virtual machines to a host, but a group of Machine virtual PortGroup... It is possible...? I see only found Internet see the VirtualPortGroup of the host...

    Thanks in advance & looks

    All your VMS have a mapping single portgroup or it not with multiple NICs on different port groups?

    If they are all the same, then the following should work:

    Get-VM | Select Host, Name, @{N="PortGroup";E={$_.NetworkAdapters[0].NetworkName}} | Sort PortGroup, Name, Host
    

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

    Alan Renouf

    http://Virtu-al.NET

  • Migrate a virtual machine to another host

    Hey all, I have 3 VMs on a host and 1 on the other.  I tried to move one of the virtual machine to the host with one virtual machine, but every time I move the machine moves to the host, it's on.  Any ideas on that?

    Do you have any installation of DRS rules to separate the VM?

  • Slow down the virtual machines on the host of underutilized - unknown reason

    Hello

    What could cause virtual machines running on a host computer with a lot of unused memory, processor power and disk IO sink so slowly that it takes 30 minutes just to open a Windows session on one of them?

    I ran about 5 virtual machines on a host with 16 GB of RAM, but have now upgraded to 32 GB of RAM in the hope to add more virtual machines. At some point, most of the machines is idle, and SysInternals Process Explorer shows less than 20% use by the processors. E/s disk too is usually measured in kb/s - 16 disks systems although RAID is capable of much more of IO.

    As soon as I run about 6 or 7 of virtual machines instead of about 5, I meet considerable slowdowns as mentioned above. I use only about 20 GB of the 32 GB in the system when problems occur.

    Dramatik2

    The aggreggate e/s disc is irrelevant.

    You need to look at the disk queue length, read, write, transfer, etc.

    http://www.computerperformance.co.UK/Healthcheck/Disk_Health.htm

  • Stop several hosts and the virtual machine on the host computers

    Sorry to bother the community again. Right now I have a script that stop or suspend virtual machines on a host in order using an external file to store the order (with the help of lamw). The plan is for the script to reside in a virtual centre with multiple hosts. The script must be able to stop the vm on the host, the closure of the host (to be ordered the same idea with the external file), then jump to the next host and continue the same process. I tried to create nested for loops this task, but it doesn't seem to work. Any help would be appreciated. I have attached the script. Thanks in advance

    I think you try to only syspend or stop each VM and then stop the host.

    This code might help.

  • virtual machine on the host computer has been detected to have a duplicate ip address

    I have seen several threads about this, but they are all either point to one) all resources used or b) firewall issues, and since I have neither, I wanted to see if anyone knows the answer...

    I have 6 servers identical all running the same exact version of ESX Server 3i 3.5.0 build-153875 and 5 of them work perfectly, but the 6th gives the same error as the original poster. It obviously isn't a problem of firewall from the 5 / 6 work very well and I connect to all (and about 15 other servers vmware ESX Server) of my workstation. The server with the question has no installed VMs (don't stay connected long enough to build a) and he passesd all hardware diagnostics I run on it. It has an IP address static, put in place like all other servers and ESX I reinstalled several times.

    Looking at the logs, I see this message: virtual machine on the host has been detected with a duplicate IP address

    How is this possible, is that there is still no VMs on that? Anyone know how to fix this?

    How is this possible, is that there is still no VMs on that? Anyone know how to fix this?

    Not sure why she complains VM, as you didn't tell any virtual machine set up, but define you as static.  Are you sure that you do not use an IP address already in use?

    Disable the ESX host, can you ping the IP?  Something is using this IP address somewhere, so the message can be vague, but something is causing an IP address conflict.

Maybe you are looking for