Question on the affinity of the DRS Host 'should' pronounce

Hello experts,

When using a rule "should work", VMs can run on a host computer to a host no specific DRS group.

I would like to know under what condition VMs running on a host unspecified DRS group.

I checked the following document, but this is not to say about the State:

http://pubs.VMware.com/vSphere-4-ESX-vCenter/topic/com.VMware.vSphere.ResourceManagement.doc_41/using_drs_clusters_to_manage_resources/c_vm_host_drs_rules.html

Kind regards

Kiyo

Welcome to the community,

DRS, DPM, and HA is a complex topic and there are many things that are taken into calculation. (Preferential) rules 'should', can be violated by the DRS if necessary and they could also be violated by HA, because HA is not aware of these rules. If the DRS is defined in the lower priority 2 it will correct these HA based violations if possible.

For very detailed information on this complex (and interesting) topic, I can really recommend "vSphere 5.0 Clustering technique deepdive ' by Duncan Epping and Frank Denneman.

André

Tags: VMware

Similar Questions

  • Updates will not download on the FTP host

    Hello

    I already have a Web site online and I just want to add some updates, but whenever I go to upload to the ftp host, he goes through the process of downloading everything (the box with the blue bar), but when charges website after the download is complete, my updates are not - the site is exactly as it has already been , without the new information.

    What I'm doing wrong and what should I do to get new information to download?

    The domain is hosted by godaddy.com, if that helps.

    Thank you in advance for your help!

    This indicates generally the upload is in the wrong location on the server or files have been modified using an external tool and now built-in FTP download is used and is unaware of these changes.

    You use the built-in file > upload to the FTP host... within the Muse? If so, and if you use one of the more common low cost plans GoDaddy, then the directory 'host' should be 'public_html', if it is not, then the files will be uploaded in the wrong place on the server.

    If you've used one tool other than the built-in download functionality to change what are the files on the server and you are now trying to use the upload integrated, you must set "Upload: all files" in order for Muse to download all your site. After that was done, Muse will come back on only the modified files downloaded.

  • rule of the VM host affinity Vcloud managed cluster.

    Hi all

    I have an automated DRS Cluster in which we want to create a vm host affinity rule. This cluster is added to Vcloud Director. Can we create a rule of VM host affinity on the cluster added to the Vcloud directory?

    Kind regards

    Vikram kumar.

    There is nothing you can do that.  But they only persist as long as this specific VM exists.  for example if you copy this catalogue, the resulting virtual machine will not have the same affinity rule.

    So yes it is possible, but it may be best to use some sort of automation to perform the task for 'remember' If you happen to have more than 1-2.

    I know that people have done that to save on license of operating system/Application fees.  The only downside to know is that pass by the maintenance mode could violate the rule of the DRS.

  • Manual VMotion circumvents the rules of the DRS anti-Affinity

    Hello

    just a really Basic... I know DRS rests on the idea that he leans on the cluster and then resources place virtual machines... BUT, if you configure a rule anti-xxx to say VM1 cannot be kept the same host that VM2 - can I still manually vMotion VM1 to the same host only a VM02 on?

    OK... Let me rephrase that. After having just... I asked myself why I cannot vmotion 2 virtual machines to be on the same host, even if there is an anti-home rule?

    My hypothesis is one of the following:

    1. I have not configured the anti-home rule correctly, or

    2 DRS is a retrospective resource, monitoring tool. so he will ignore my action, but when it checks the environment, it will then search the vm 2 is on the same host and then applies the rule of the anti-xxx.

    Let me know that if you can...

    Thank you

    Aaron

    Welcome to the community - Yes, you can manually vmotion a virtual machine that would violate the rule of the affinity of the DRS but if you DRS in partially or entirely automatice mode it will vmotion virtual machine don't not to violate the anti-home rule.

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

  • Impossible to apply the resource DRS settings on host.the of object has already been completely created this can drastically reduce the effectiveness of the DRS

    Impossible to apply the resource DRS settings on host.the of object has already been completely created this can drastically reduce the effectiveness of the DRS

    host is having above mess on summer please help on this

    I found the correct solution

    ESXi 5.1 U3 is the permanent fix for this issue

    U3 is fix

  • Close VMware ESX 3.5 & 4.0 hosts... What about the DRS?

    Hi experts,

    Here I begin this discussion to know the following:

    Facts:

    Farm with guests VMware ESX in u5 versions 3.5 and 4.0 U2

    DRS configured as entirely not automated, no rules.

    Issues related to the:

    What happens with DRS to deploy new virtual machines with Virtual Hardware 7?

    They will receive only on ESX 4.0u2 hosts?

    Could cause instability on the other virtual machines?

    I raise this because I have no experience in mixed environments, and I expect the DRS feature so smart that moves and power on virtual machines on hosts that are able to manage virtual machines with virtual hardware that is compatible with, I'm so innocent?

    Virtual machines with Virtual Hardware 4 can be moved throughout of these clusters 3.5 or 4.0, but what happens with VM with the newest virtual hardware?

    If they had moved in any case on a host ESX 3.5, what will be the behavior of this virtual machine?

    Last, but not least important, what do guys suggest to bypass this until I have all migrated hosts?
    (Migration of all hosts will take more than a month, support and SLA issues, so I need a workaround solution)

    Thanks in advance for your time and answers this!
    Kind regards
    RaMorn

    Hello

    1. what happens with the DRS to deploy new virtual machines with Virtual Hardware 7?

    2. they will receive only on ESX 4.0u2 hosts?

    3 could cause instability on the other virtual machines?

    1 VM' with HW v7 will be migrated only between vSphere 4.X nodes in a cluster

    2 VM with HW v7 will be only on vSphere 4.x nodes

    3 nope

    1. I raise this because I have no experience in mixed environments, and I expect the DRS feature so smart that moves and power on virtual machines on hosts that are able to manage virtual machines with virtual hardware that is compatible with, I'm so innocent?

    2. the virtual machines with Virtual Hardware 4 can be moved throughout these clusters 3.5 or 4.0, but what happens with VM with the newest virtual hardware?

    3. If they got anyway moved on a host ESX 3.5, what will be the behavior of this virtual machine?

    4. last, but not least important, what do guys suggest to bypass this until I have all migrated hosts?
    (Migration of all hosts will take more than a month, support and SLA issues, so I need a workaround solution)

    1. Yes, the DRS will be

    2. see comments of mu above

    3. nothing will change on the behavior of the virtual machine, only VMware tool will be updated

    4. all depends on how your is configured, how is use, VM how you would deploy during the month?

    See you soon

    Artur

    Visit my blog

    Please, do not forget the points of call of the "useful" or "correct" answers
  • Impossible to apply settings of resource of DRS on host (reason: a general error occurred: failure). This can drastically reduce the effectiveness of the DRS

    We have a group of 10 hosts working ok for months. Last week, we get the error

    Impossible to apply settings of resource of DRS on host (reason: a general error occurred: failure). This can drastically reduce the effectiveness of the DRS

    on one of the hosts.

    looking to restart the hosts but not sure this could cure the problem.

    Have you tried the steps in this KB?

    Application of parameters of DRS to an ESX host generates an error (1004667)

  • Question about the host Username in Ent. Bishop favorite of the credentials

    Good afternoon

    I'll put the credentials in the 'preferences' of MA page.

    I created a user named 'Oracle' with password 'abc123' (without the quotes of course).

    I have connected by using this user name and RDP'ed in the host of another computer using these credentials as well (to be absolutely sure that the username and password are correct). I was a member of the administrators and the ora_dba user on the oracle host.

    When I enter this user name and password in the host user name and the host word of the EM fields and select 'Test', I get the error:
    "Connection to Orahost.john.local as user Oracle failed."
    I tried this, the host and a client, logged in as the user Oracle itself (on the host) and logged on as a different user. I still get the above error.

    Question: Why isn't he accept this name to username/password combination. The user is valid and the password is correct.

    Thank you for your help,

    John.

    OK then please see.

    http://www.lazydba.com/Oracle/0__122689.html

    By the way, what was the operating system?

    Hope that helps.

    Ogan

  • Question ESXi 5.5 with turn a virtual computer: "an error was received from the ESX host turning on VM" '22 (Invalid argument)"'DiskEarly on a power Module failed.'

    Here's what happens when you try to turn it on one of my virtual machines (see also accessories):

    Error stack:

    An error was received from the ESX host turning on VM vzilla-ws2012r2e.

    Unable to start the virtual machine.

    Cannot open disk ' / vmfs/volumes/51286ca4-ef967828-664d-001b2129ad71/vzilla-ws2012r2e/vzilla-ws2012r2e_3.vmdk ' or one of the snapshot disks it depends on.

    22 (invalid argument)

    Power DiskEarly module has failed.

    Cannot open disk ' / vmfs/volumes/51286ca4-ef967828-664d-001b2129ad71/vzilla-ws2012r2e/vzilla-ws2012r2e_4.vmdk ' or one of the snapshot disks it depends on.

    22 (invalid argument)

    This circumstance may be linked to a sata cable issue, with the possibility of temporary loss of connectivity, which could result in data loss/corruption, I realize.  It is a laboratory box.  Especially say that the 2 VMDK he complains (trying to light) is both on the grounds of a single physical disk. Data, read and written to the speaker, since the problem are very good (which indicates the wiring problem was resolved, and the VMFS5 file system seems to be in good health).

    No photos.  No related clones.  Just a 2012 Windows Server based VM, with several drive letters in, with those underlying files VMDK residing on different stores of data VMFS5.  Implemented end (these drives aren't really so huge), but far from running out of physical space for the data either. Everything is working great for months, until today, trying to it turns on again.

    You are looking for:

    "Failure error disk beginning module lit" results in this article:

    error disk on start module failed

    which indicates the .lck files may be present.  It does not exist.

    Then upwards, of a variety of other items:

    Re: Unable to start the virtual machine: invalid argument on *-flat.vmdk

    http://KB.VMware.com/selfservice/microsites/search.do?language=en_US & cmd = displayKC & externalId = 1004232

    https://communities.VMware.com/message/search.jspa?peopleEnabled=true & userid = & ContainerType = & Container = & q = module + DiskEar...

    error disk on start module failed

    but alas, none of them seem to relate directly, or exactly.  My vmware.log file is attached below, as well as some screenshots of to show the structure of the unity of this virtual machine.  Hoping that this post proves fruitful, if anyone has had a similar situation.  The data at stake here are (mostly) redundant, but I would rather understand my way of it, in the case where it happens to me again, or can help others.  Many preferred rather than give up, reformat the VMFS and start again.

    Thank you!

    Good news, the best result I could hope. No data is lost. No corruption of the VMFS or NTFS don't drive in the virtual machine. Nice!  Saved me a few terabytes of data restoration and learned a little more on file system of troubleshooting along the way.

    It took a technician of VMware Service excellent, attentive, methodical remote 2 hours in a WebEx previously to resolve problems with these 2 files vmdk manually, because he found that there is a lock on them. I opened a request of Service (SR) # with VMware by following the instructions here:

    VMware KB: Cannot access certain files on a VMFS datastore

    To resolve this problem, apply for support from VMware Support and note this ID (1012036) Knowledge Base article in the description of the problem. For more information on the filing of a request for support, see How to submit a support request.

    I'll cover this saga and the exact process for collecting and downloading of newspapers, through to my TinkerTry.com, including the ride video.  I even captured much of the technical work that has been done. That said, it is true that little of the magic that was made to resurrect the metadata will remain a mystery, given that this piece is VMware.

    I'm ok with a bit of black box, considering how I'm happy that I got all my data, and time savings that the quick recovery represented.

    By clicking on the button "answer".

  • License question: with the help of two "Standard Edition" licenses for > 8 vCPU by host

    Hi, I've been reading place on it for a few hours and would like to get confirmation here.  I have

    -a physical host: dual processor, 8 cores per processor

    -multiple licenses VSphere 5.0 Standard edition

    -VCenter 5.0 Enterprise Edition

    I want to distribute the VM with 12 vCPU and I expect to consume two licenses Standard Edition - one for each CPU, for a total of 12 vCPU.  When I try to do using VCenter I get error "virtual machine has 12 virtual processors, but the host only supports 8.»  "The number of virtual processors can be limited by the OS selected for the guest virtual computer or licensing for the host."

    I think that it is a license restriction because on the same host, the VSphere evaluation has authorized the deployment of a 12 virtual machine using RHEL 6.3 vCPU.  I checked later vCPU on evaluation copy function and it was 32 channels for it proves that it is not a BONE or a physical problem.  I think I downloaded an evaluation of the 'norm' rather 'Enterprise', but I am not sure.

    I read compare VMware vSphere editions and the 'Standard' column has CPU line: "CPU 1" and line vCPU: '8 - way '.  This makes me think that, for each new license, I should have a CPU with up to 8 cores.  that is by consuming two licenses, I use 2 CPU and up to 16 cores.

    I also read the EULA VMware multi-core pricing and Licensing Policy , and he said:

    Software licenses with six (6) cores per processor

    It does not say "with hearts of six (6) software licenses by host '

    The following excerpt from the EULA is the only evidence that I could find to support the conclusion that for Standard Edition, the maximum number of vCPU for each host is 8 (regardless of the number of licenses consumed);
    Combines VMware licenses on a single host software. Licensing policy allows combining the even on software licenses uniprocessor.

    Someone can confirm the limitation and is there something obvious that I missed to compare VMware vSphere editions.  The difference between host and per processor is huge, I'm surprised that it is ambiguous.

    Thank you

    Diarmuid

    Looking at this picture, it is said that you need 1 VMware Standard license per physical processor that your host has.  Down the chart to the vCPU, who said that a VM can have at most 8 vCPUs (for Standard).  Isn't 8 vCPUs per license, which is 8 vCPUs total.

    The demo version is licensed Enterprise Plus and develops of vCPU 32 on a virtual machine.

  • Questions about the movement of 1 of 3 ESXi4.1-ESXi5 host domain controllers.

    Is this environment that I have 3 2008 R2 domain controllers.

    1 physical

    2 virtual

    I want to turn off a virtual domain controller and move first host (ESXi 4.1) on second host (ESXi 5).

    My concern is that if the NETWORK card in the guest OS is going to get dirty with or it will remain as it is.

    If I remember not the mac address will indeed change (unless I hard coded it in the configuration file), but that shouldn't be a problem.

    I don't know, what if a new NETWORK card will appear in OS making old useless NIC originally invited me to change the network settings.  Something I don't want to have to do.  I know I've seen a similar problem with a VM linux before, but don't remember seen happen in a virtual Windows machine.  Just want to be sure before that I have to try.

    Thanks in advance for your comments.


    Greg

    VM migration between hosts will make any changes to the NIC or MAC address. You must ensure that the required networking is presented with two hosts if you want to move between them seamlessly. If the network tag is not the same between the hosts, then you will need to change the settings of the virtual machine and use the drop down to select the appropriate network before turning on the new host. But this should be easy and quick and without surprise.

    See you soon,.

    Jon

  • Questions on the host memory usage

    I was wondering if someone could give some insight on the following situation. We vSphere host set upwards with 32 GB of RAM. On this, we have 10 VMware View desktops and a couple Server VMs. We have configured each in order to have 2 GB of RAM. The host is showing an alarm for the host memory usage, but if you look at each of the virtual machines Windows XP, memory is granted way superior to the active memory. We have no reserve set and actions are set to normal. I wonder why the system reports a memory constraint when the largest part of the memory is alocating is not active.  In addition, the shared memory is showing 0. So this means that the memory page sharing does not locate? Am I missing something?

    ESX has called fresh General.  A virtual machine has 2 ways to manage memory.  a physical machine has one, physical RAM, and when this physical RAM disappeared, the operating system is left with only one option, Exchange.

    VM works the same way.  A material divides the virtual machine into small sections, only they have hard limits.  So your VM is 2G, the operating system and virtual machine sees only 2 GB of RAM.  When this RAM was gone, the operating system must decide where the extra RAM is come.  Since it is a Vritual machine, the RAM of the machine can ALSO be swapped.

    So, when you create a virtual machine, and you do not have reservations, you say that the Virtual Machine to get the RAM of the host, if this fails, get from a pagefile on the RAM disk.  If not THEN the operating system can use internal swap, but ESX requires a virtual machine to use his 'balloon' driver to lead you to the top of RAM internal and fool the operating system into thinking that he MUST use internal swap. It is probably where you are confused.

    The use of the RAM that you see is the virtual machine, taking all THE RAM of the host.  If the host has say 48GB of RAM, and you have the run of the 10 mV, which is more than 20 GB of RAM in use.  There is a LOT of RAM left other virtual machines, so in this case, the memory of the host is high (use), but not ACTIVE, which means allocated for the virtual machine, but the OS is not really 'use' for the moment.

    When you add multiple virtual machines, you will see this fall.  Keep in mind they can really share the memory too, so among those 20 VM with VM similar (like Windows), they are all windows (suggests) and 30% of that share these 20 VM, so 30% 20 GB is 7 GB, so 13 GB that is actually used, so in a perfect world, ideal conditions your host should be about 15 GB used probably less active 6 GB, but EACH VM shows 2 GB of memory host, right?

    It's normal.  When one approaches the limit of host memory that these figures will change, from OS and need and that the BONE... and to complicate things even more, reservations and VM limits and priority will ALSO skew the numbers.

    Isn't fun ESX?

  • PowerCLi script to check if 2 virtual machines are on the same host

    Hello

    I'm nubby on PowerCLI and I would like to help in the construction of a script.

    The script should check if two virtual machines (named test1 and test2) are running on the same host in a vCenter and send a notification (email), if they do.

    Something similar with affinity / anti-affinite DRS rules (but not through the DRS enabled on vCenter).  My focus is on the affinity. In case this happens, I need vMotion one of them on an another ESXi host(manually or automated).

    What I have done until now is the following:

    Get - VM | Select Name, @{N = 'Cluster'; {E = {Get-Cluster - VM $_}}, '

    @{N = "ESX host"; {E = {Get-VMHost - VM $_}}, '

    @{N = 'vCenter'; E={$_. "(ExtensionData.CLient.ServiceUrl.Split('/') [2]}}, '"

    @{N = "Datastore"; {E = {Get-Datastore - VM $_}} | `

    Export-Csv - NoTypeInformation C:\Scripts\file.csv

    That becomes all the VMS and export a CSV file information:

    NameClusterESX hostvCenterData store
    test2cluster_testESXi_test1vCenter_test1:443datastore1
    Test1cluster_testESXi_test1vCenter_test1:443datastore1
    For1.localcluster_testESXi_test1vCenter_test1:443datastore1
    VM1.localcluster_test2ESXi_test2vCenter_test1:443datastore1
    VM2.localcluster_test3ESXi_test3vCenter_test1:443datastore1
    VM31.localcluster_test3ESXi_test3vCenter_test1:443datastore1

    Thank you.

    Try like this.

    $tgtVM = "test1", "test2".

    Get-VM-name $tgtVM | Group-object - property VMHost | %{

    if($_.) County - gt 1) {}

    $vm = $_. Group | Get-Random

    $esx = $vm. VMHost

    $tgtEsx = get-Cluster - $vm VM | Get-VMHost | where {$_.} Name - not $esx. Name} | Get-Random

    Move-VM - $vm - Destination $tgtEsx VM - confirm: $false

    }

    }

  • Create the DRS group for guests in 2 groups

    Because of the Microsoft SQL license by the basic model, we need to create groups of DRS for our SQL servers. We have 8 guests, but need to run the SQL VMs on host 2

    We are in the process of migrating to ESX 4.0 to ESXi5.5. We already have the server vCenter 5.5

    We do not have the configuration of ESXi 5.5 hosts yet, so we need to create the DRS groups on the host of 4.0. MS will not wait for us to migrate first.

    We have two clusters (2 external data center). Each with 4 servers esx 4.0. Simple question:

    DRS group cannot be created in a cluster? Can I create DRS groups at the level of the data center. Use a host in Cluster1 and a second in cluster2.

    Thank you

    DRS group cannot be created in a cluster? Can I create DRS groups at the level of the data center. Use a host in Cluster1 and a second in cluster2.

    DRS groups cannot be created in a single cluster and not those of clusters. Nothing else would make no sense in any case. DRS groups are to be limited by the DRS and DRS automatic migrations is only a process of entire cluster in the first place. So what would be the point of a single 'group DRS' through consolidation?

    But of course, you can create two distinct groups of DRS 2 separate clusters.

Maybe you are looking for

  • Tip addresses + idea

    Overview of the address bar depends on the history of navigation, so when the log is erased trick doesn't work - it is very inconvenient. It is necessary to make the most visited sites on a single meter. Or make sure that the pages with the most popu

  • Rate of Logic Pro... I think the move to it

    I've been a user of Digital Performer for years, but happened to be so complex, there are bugs and stability problems arise. DP7 used to be excellent, but DP9 introduced a bug in the automation of volume which made a usable and motu is hesitating on

  • C50-A-1QE satellite can't find Nvidia card

    Hello I have a problem of serioussI bought a Toshiba Satellite C50-A-1QE with dual graphics card (intel + nvidia geforce) Use it in the graphic works and games, but I can't find the Nvidia card in device manager (I just find intel hd 4600)I do dxdiag

  • Why can I not use an email from yahoo to create a new apple ID?

    I am trying to create a new ID apple for my wife. When I get his yahoo email, I get a notice I can't use electronic mail of his apple ID. Someone knows why?

  • X 34 monitor LED "MNT STATUS" supposed to show g-sync power?

    Hello I got my X 34 delivered today and very happy with it, everything seems to be working great I don't have that one query, that I was wondering that if somsone could respond, the LED below band has an option for 'STATUS MNT', which I assume means