Anti-affinite machine virtual-VM and HA


If I have a 2 host cluster and two virtual machines with a rule of DRS Dungeon-apart, what will happens to those virtual machines in the event of a host failure?

Hello

vSphere 5.1 HA will ignore the rule and restart the virtual machine anyway.

vSphere 5.5 has a new advanced parameter called 'das.respectVmVmAntiAffinityRules' which raise rule affinity HA VM - VM. This setting would result in your VM beeing not restarted on the second host.

Concerning

Tim

Tags: VMware

Similar Questions

  • Do I have to stop the machine virtual RAM and CPU?

    I have a virtual machine that has only 1 core and 1 GB of RAM I need to upgrade. Is in the past, I always stop the machine to do this, there a way for both without stopping the machine?

    Welcome to the community - with memory you can do it with the machine. CPU with vSphere 4 you need to close the virtual machine.

  • machine virtual Java and jdk 1.4.2

    page of the Bank not opening not n, it is in error that your browser have not java. your browser is used in Samsung tab 2. with android 4.3

    There is no plugin for Android Java due to disputes between Oracle and Google.

    Since you have 4.3 Android, there is also no Adobe Flash support is not support 4.1 +.

  • My machine works all the microsoft Web sites. I can access the site for a few minutes, after a while, it displays a virtual memory and the next stage i cannot access sites Ms.

    Could not open the MS Sites

    My machine works all the microsoft Web sites. Formatted several times and doing a new installation, I can access the site for a few minutes, after a while, it displays a virtual memory and the next stage i cannot access sites MS. no software or installed applications. cool, but I can not go to Sites Ms. other Web sites, I can access.  Also tried to change the memory... no luck, I've seen other sites asking to change the settings of the modem or dial the ISP, but my 2nd computer work well on the same network, took my computer to the office network and found that the same problem exists... could someone help me please...

    Hello

    Please let me know if:

    1. you are able to access other Web sites, or the question appear with only Microsoft based sites?

    All other websites work well. problem only in trying to gain access to www.microsoft.com

    2. What is the operating system that is installed?

    Windows XP Pro.

    3. are you aware of the physical RAM installed?

    1 GB

    4 and it meets the minimum requirements of the browser you are using?

    For the past 2 years my laptop works fine with the same hardware configuration. It stops working suddenly MS websites. I did not have all the hardware changes.

    Provide answers to the following questions.

    a. also mention the name of the operating system that you use.

    Windows XP Pro

    (b) is there an error message that is displayed when the site no longer works?

    trying to access the page from www.microsoft.com when rises, it is 'Impossible to view the Page.

    c. What is the browser you are using?

    Tried it on IE, mozilla and chrome.

    I tried to change the size of the memory virtual and also changed to the size of the managed system.

    formatted and installed xp pro with sp3 and I also tried formatting and install from different cd with xp and sp2. It works for 3 or 4 minute MS sites and the message immedly appears low virtual memory and it stops working MS sites.

    tried to change the physical memory.

    Tried with different browsers.

    at the top does not a little luck. :(

    Method 1: Please visit the following link to change the size of virtual memory

    Change the size of virtual memory

    http://Windows.Microsoft.com/en-us/Windows-Vista/change-the-size-of-virtual-memory

    Method 2:

    See the following links

    http://support.Microsoft.com/kb/967897

    WARNING: Reset Internet Explorer settings can reset security settings or privacy settings that you have added to the list of Trusted Sites. Reset the Internet Explorer settings can also reset parental control settings. We recommend that you note these sites before you use the reset Internet Explorer settings

    http://support.Microsoft.com/kb/972034

  • Machine virtual Windows 7 - freezes\reverts of the screen when going from Windowed to full screen and vice versa.

    I use a Win7 box with a Machine virtual Win7 on it.  When I started using the VM, it should start and login and work very well.  Shortly after I started having the following problem.  It loads in windowed mode, so I me the welcome greenish\blueish after cutting inside.  If I wait for the Office to load, when I do the full VM screen, it goes full screen then the screen goes to the Welcome screen again, but it's just a static image.  It won't change until I have send a Ctrl-Alt-Del command.  Can I get the normal window with options for logging, start the Task Manager, etc..  If I press ESC or click Cancel, it will show the office and I can work on it without problem.

    If I leave full screen mode windowed after that, the same thing happens, except instead of the Welcome screen, I get the screen of Ctl-Alt-Del as a static picture.  Once again, if I send the Ctrl-Alt-Del command, then cancel, I get the office as usual and it will work until I have try to resize the screen again.

    Can someone help me understand what is happening?

    Thanks in advance,

    Joe

    Hello

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

    Forum TechNet Windows 7

    Hope this information helps.

  • vROPs - you can create a report to show when a virtual machine has changed and what has changed?

    I can't currently developing a report/view that can show me what I'm looking for.  I thought since it's related capabilities vROPs can keep track.  Is there a way to see the when a virtual machine has changed and what has changed?  Looking mainly vdisk, vCPU or vRAM.

    Thanks for help or suggestions.

    Hi newbski1,

    There are few things you can try to help him with this.

    1. the events view shows you changes in resources, it is not terribly detailed, but it will help

    2. depending on your version, you can also view in Configuration Manager that is part of the vRO suite that will show you the changes to configurations.

    See you soon

    @iiToby

  • virtual machine hardware upgrade and tools with a script

    Hello

    I'm looking for the script to upgrade multiple machines virtual vmware tools and upgrading of hardware version in a script after you run the script below.

    Get - VM | Select ' Name,@{N='ToolStatus; E={$_. ExtensionData.Guest.ToolsStatus}} |

    C:\Tools-Report.csv - UseCulture - NoTypeInformation csv export

    Any help on this will be appreciated.

    Thank you

    vm2014

    In fact, that should be enough

    Import-Csv C:\Tools-Report.csv - UseCulture |

    where {$_.} {ToolStatus - don't [VMware.Vim.VirtualMachineToolsStatus]: toolsOk} | %{

    $vm = get - VM $_. Name

    Update-tools - VM $vm - NoReboot

    }

  • TWO OS on a single machine virtual is possible or po?  (OS on a virtual machine of towing isn't possible tro?)  and thank you

    TWO OS on a single machine virtual is possible or po?  (OS on a virtual machine of towing isn't possible tro?)  and thank you

    Voila now I need to create a machine with a characteristic (two processor two NIC etc...) and the more important the two system c which will be disappointed the win XP and Win server 2003 I have a big prob to find how to do this (this is my problem)

  • Random virtual machines after vMotion and Storage vMotion network loss

    Hi all -

    I have a couple of tickets open with VMware and our supplier of SAN, EqualLogic, on this issue.  Since the configuration of our production and DMZ clusters we noticed that the virtual machines will sometimes drop network connectivity after a successful vMotion and Storage vMotion.  Sometimes, although much less frequently, virtual machines also spontaneously lose network overnight.  What happened only a few times.  The strange thing is that the other guests on the VM host are fine - they lose any network.  Actually, I can do no more than 3 computers virtual host to another, and 2 of 3 can switch correctly, so that we lose the network.  The work around?  Simply 'disconnect' from the virtual NETWORK card 'reconnect' and the virtual machine will start the return packets.  I can also switch the VM troubled return to the host State and it will find the network.  I can it reboot and re - win network.  I can re - install the virtual card completely, and she re - win network.

    VMware has seen a lot of mistakes of SAN in our log files in order to update us our SAN firmware to the latest version.  That seems to have fixed that but we still have the issue.  Here are some of the specifications - all environments are virtually identical except for memory:

    Of PowerEdge R810

    NICs Broadcom 5709

    EqualLogic SAN running 5.0.5 F/W

    We use frames.  ESXi is fully patched.  I haven't seen a boss or not, it is only some guest operating system that loses the network, but we are a Windows environment.

    When a virtual machine loses the network, we can not:

    • Ping to it
    • Ping it
    • Ping him at the virtual machines on the same host or vSwitch
    • Ping outside our network
    • resolve DNS, etc..

    I followed some KBs VMware without success, including:

    http://KB.VMware.com/selfservice/microsites/search.do?language=en_US & cmd = displayKC & externalId = 1003839
    http://KB.VMware.com/selfservice/microsites/search.do?cmd=displayKC & externalId = 1002811 (port security is not enabled)

    -All the VMware tools have been updated to the latest version correct and corresponds to the ESXi host
    -Connected to the service ESXi console, I cannot ping the VM problem by name of host or IP address, but I can ping do not affected by the issue of the OTHER virtual machines.  I can also pings the service console.
    -Connected to the troubled virtual machine itself, I cannot ping other virtual machines, I can't resolve host names, I cannot ping by IP.  The machine virtual CAN ping itself by IP, but not hostname.  I cannot ping other virtual computers on the same virtual switch or network by either IP or host name.  I can't ping the vSwitch network management.
    -All vSwitches are configured in the same way and the same.
    -Notify the switches is set to yes
    -There are a lot of available virtual ports
    -We tried the E1000 and VMXNET virtual cards with no difference.
    -All cards are configured to negotiate, but we tried to force individuals speeds as well as with no difference

    I appreciate your help.  I have problems getting anywhere on this issue with the sellers.

    wkucardinal wrote:

    Still having the issue...

    Sometimes, it might be useful to really check that all uplinks VMNIC for all VLAN does work them. Try this is to create a new portgroup on the vSwitch used by your virtual machines on the host of the first, put a test VM on the portgroup, then go into the NIC teaming policy from the new portgroup and select "Override switch command failover."

    Then down vmnic all except one in unused, then only a single VMNIC is active. Then set the portgroup VLAN to a production of VLAN and try to see if we could ping some expected from the different addresses. If it works, then move VMNIC work until unused and move up to another asset. Try again, and this for all the vmnic. If it works, then you have verified that the configuration of VLANS and other settings are correct on the physical switch in the face of this host ports.

    If several VLANs, repeat the process for all other productions VLAN. Then repeat on the other hosts.

    While that may take some time, occurs if everything is properly configured on the physical switches. When occurs a vMotion virtual machine gets a new "Port code" and is assigned to a new outgoing VMNIC. If there is an error of configuration on one or more physical ports that might seem random, but may still happen on VLAN x on y VMNIC. Given that Port ID policy you use indeed spread randomly VMs on the vmnic these problems may be difficult to diagnose. (Make a disconnection of the VM vNIC gives the virtual machine a new port-ID, which it will move to a new outgoing VMNIC, which might seem to solve the problem.)

  • Pre-built virtual machine with OBIEE and APEX

    Hi all

    I searched for a virtual machine with OBIEE and APEX pre-installed, but I can't find it... or information messages on this subject. Does anyone know if y at - it a selection of pre-designed developer programs VM with these two tools?
    I currently have the "database App Development VM' with APEX in there, but I can't understand how to install OBIEE inside.

    Any help will be appreciated.

    Please, if this is not the right category where I should ask the question, let me know and I'll move it.

    Thank you.
    Elena.

    PL see deployment guide in the link above - the model of computer virtual includes version of database 11.2.0.3, which should be the APEX installed by default in it. If this isn't the case, it will be much easier to install the APEX in the VM OBIEE.

    For sharing files between the host and the guest, pl see the Virtualbox documentation - http://www.virtualbox.org/manual/ch04.html#sharedfolders

    HTH
    Srini

  • public network for virtual machines, private storage and the service console?

    Hello

    So far I had a pretty small facility with 2 servers with 4 physical network adapters each running ESX 3.5, a small box of EqualLogic SAN to shared storage and a few virtual machines on our network of regular reinforcement, routed, not on a private.   The network config was really simple.  I just put everything on real IP addresses on our network of building.

    Now I want to move the SAN and the traffic on a private service console network, but I don't know how to do this.

    Right now I use 2 NETWORK cards on each server:

    vmnic0 is configured on vSwitch0 and has the network of the VM on it that all my use of VMS to talk to the outside world, and it also has the Service Console that uses Virtual Center and I use ssh to it.

    vmnic1 is configured on vSwitch1 and a VMKernel Port and also a Service Console Port for iSCSI Software to talk to my SAN.  (never been clear on why both are needed to talk to the SAN, but doctors say they are)

    My plan is to set up a vSwitch2 and bind it to vmnic2 and implemented a VMKernel Port and the Service Console Port for software iSCSI on the 10.x.x.x network, set up my new (larger) SAN box on the 10.x.x.x network and simply use Storage vMotion to move virtual machines to the new storage space.  As soon as I did this, I would like to not use the Service Console on vSwitch2 and not a Console Service at all on vSwitch0.  Is it possible to delete the one on vSwitch0 and just use a new vSwitch2 for Virtual Center and ssh access?

    So my proposed configuration would be:

    vSwitch0: VM network only, used by the VM guests for oriented public access network, no construction of Network Service Console, linked to vmnic0

    vSwitch1: superfluous once I do storage vMotion of everything on my old SAN, will eventually remove and pair vmnic 1 with vmnic0, linked to vmnic1

    vSwitch2: VMKernel and Service Console on the network 10.x.x.x, used to access the new SAN, used by Virtual Center to access the ESX, used to SSH in to ESX on private network, associated vmnic2

    If it works?

    Thank you.

    Hello

    VMkernel ports cannot live on the same subnet. So if you have 3 vmkernel ports say: vMotion, iSCSI and NFS. You really need 3 subnets. 1 for each vmkernel port.

    Otherwise how does he know all send properly?

    Best regards

    Edward L. Haletky VMware communities user moderator, VMware vExpert 2009, url = http://www.virtualizationpractice.comvirtualization practical analyst [url]
    "Now available: url = http://www.astroarch.com/wiki/index.php/VMware_Virtual_Infrastructure_Security' VMware vSphere (TM) and Virtual Infrastructure Security: securing the virtual environment ' [url]
    Also available url = http://www.astroarch.com/wiki/index.php/VMWare_ESX_Server_in_the_Enterprise"VMWare ESX Server in the enterprise" [url]
    [url =http://www.astroarch.com/wiki/index.php/Blog_Roll] SearchVMware Pro [url] | URL = http://www.astroarch.com/blog Blue Gears [url] | URL = http://www.astroarch.com/wiki/index.php/Top_Virtualization_Security_Links Top security virtualization [url] links | URL = http://www.astroarch.com/wiki/index.php/Virtualization_Security_Round_Table_Podcast Virtualization Security Table round Podcast [url]

  • Download machine virtual ESX of ESX1 and copy to ESX2.

    Hello

    I'm trying to copy a VM ESX comments from the server 1 Server 2.  I tried using VMware Converter 3.0.3 to rename the virtual server, and then copy it into ESX2. Then from then on out, change its host name, and then return to the field as a completely separate server.  However, VMware Converter is not let me import or I'm doing this wrong way?

    Scott.

    Thanks for the help discovered their was a problem with the vmware agent and he broke during the clone to the virtual machine. Reinstalled VMware Converter and the problem was solved.

    Thanks for your help.

  • Core i7 - both vmware and hyper V not running any X 64 Machine virtual (X 32 VM Client works on vmware Xp/vista) built on Windows Server 2008 X 64 basic

    The vmware and hyper V not running any X 64 Machine virtual (X 32 VM Client works on vmware Xp/vista) built on Windows Server 2008 X 64 Basic.

    Windows (pre install UI) error code install (0xc000035a) that the processor does not support X 64 Mode

    Any of that with core i7 system any help would be much appreciated, thanks

    -Software VMware Server 2.0.0 122956 - OR - VMware Workstation 6.5.1 126130 - OR- Microsoft Hyper V

    -Tried - BONE at BASE of MATERIAL AND the VM ENVIRONMENT

    X 64 Windows Server 2008 6001 - OR - X 64 Windows Server 2008 6002 - OR - X 64 Server Windows 7 6801

    System - Core i7 920 + X 58 (GA-EX58-UD5) + 6 GB DDR3 + OCZ SSD

    Intel Core i7 920 Webpage - http://www.intel.com/products/processor_number/chart/corei7.htm

    Gigabyte GA-EX58-UD5 - latest version of the Bios F3

    Web page - http://www.gigabyte.com.tw/Products/Motherboard/Products_Spec.aspx?ClassValue=Motherboard & ProductID = 2958 & ProductName = GA-EX58-UD5

    Advanced features of MB Bios CPU - tried Both ON and OFF

    Hyper Threading - Threading 4 AND 8

    Intel Virtualization - ENABLE AND DISABLE

    Looked in the VM Bios as well

    6 GB DDR3 3X2GB 1600

    Please, see troubleshooting problems of Intel VT - x.

    Also note that you can not the role Hyper-V installed in the parent partition, if you want to run the VMware using VT products, as Hyper-V virtualizes the parent partition, but it only virtualizes the VT CPU features.

  • Cannot start area Planner and the server process in the machine virtual App/lot

    Hello

    After the change of /etc/tnsnames.ora in the machine virtual App/Batch:

    [Psadm2@psovmab LOG] $ /etc/tnsnames.ora more
    H91TMPLT =
    (DESCRIPTION =
    (ADDRESS_LIST =
    ((ADDRESS = (PROTOCOL = TCP)(HOST=192.168.1.133) (PORT = 1521)))
    (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = H91TMPLT.corp.peoplesoft.com))
    )

    I can't start Task Scheduler field and the server process:

    NLS:4: Cannot open the message TMADMIN_CAT, the value 1, num 197 catalogue; Check TUXDIR = / opt/oracle/TFTP/appbatch/bea/tuxedo, LANG = fr_FR. UTF-8
    NLS:4: Cannot open the message TMADMIN_CAT, the value 1, num 198 catalogue; Check TUXDIR = / opt/oracle/TFTP/appbatch/bea/tuxedo, LANG = fr_FR. UTF-8
    INFO: Oracle Tuxedo, 10.3.0.0, 64-bit Version, Patch level (none)
    NLS:4: Cannot open the message CMDTUX_CAT, the value 1, num 793 catalogue; Check TUXDIR = / opt/oracle/TFTP/appbatch/bea/tuxedo, LANG = fr_FR. UTF-8
    exec BBL - one:
    NLS:4: Cannot open the message CMDTUX_CAT, the value 1, num 820 catalogue; Check TUXDIR = / opt/oracle/TFTP/appbatch/bea/tuxedo, LANG = fr_FR. UTF-8
    NLS:4: Cannot open the message CMDTUX_CAT, the value 1, num 773 catalogue; Check TUXDIR = / opt/oracle/TFTP/appbatch/bea/tuxedo, LANG = fr_FR. UTF-8
    NLS:4: Cannot open the message TMADMIN_CAT, the value 1, num 495 catalogue; Check TUXDIR = / opt/oracle/TFTP/appbatch/bea/tuxedo, LANG = fr_FR. UTF-8
    Try to start...
    INFO: Oracle Tuxedo, 10.3.0.0, 64-bit Version, Patch level (none)
    NLS:4: Cannot open the message CMDTUX_CAT, the value 1, num 801 catalogue; Check TUXDIR = / opt/oracle/TFTP/appbatch/bea/tuxedo, LANG = fr_FR. UTF-8
    exec PSWATCHSRV o ./LOGS/stdout e ./LOGS/stderr - A - ID - 55021 d APPDOM s PSWATCHSRV:
    NLS:4: Cannot open the message CMDTUX_CAT, the value 1, num 820 catalogue; Check TUXDIR = / opt/oracle/TFTP/appbatch/bea/tuxedo, LANG = fr_FR. UTF-8
    exec PSAPPSRV o EI ./LOGS/stdout. /LOGS/ [email protected] d s PSAPPSRV:
    NLS:4: Cannot open the message CMDTUX_CAT, the value 1, num 820 catalogue; Check TUXDIR = / opt/oracle/TFTP/appbatch/bea/tuxedo, LANG = fr_FR. UTF-8
    exec PSAPPSRV o EI ./LOGS/stdout. /LOGS/ [email protected] d s PSAPPSRV:
    NLS:4: Cannot open the message CMDTUX_CAT, the value 1, num 820 catalogue; Check TUXDIR = / opt/oracle/TFTP/appbatch/bea/tuxedo, LANG = fr_FR. UTF-8
    exec PSQRYSRV o EI ./LOGS/stdout. /LOGS/ [email protected] d s PSQRYSRV:
    NLS:4: Cannot open the message CMDTUX_CAT, the value 1, num 820 catalogue; Check TUXDIR = / opt/oracle/TFTP/appbatch/bea/tuxedo, LANG = fr_FR. UTF-8
    exec PSSAMSRV o ./LOGS/stdout e ./LOGS/stderr - A - APPDOM d s PSSAMSRV:
    NLS:4: Cannot open the message CMDTUX_CAT, the value 1, num 820 catalogue; Check TUXDIR = / opt/oracle/TFTP/appbatch/bea/tuxedo, LANG = fr_FR. UTF-8
    exec PSBRKHND o EI ./LOGS/stderr s PSBRKHND_dflt:BrkProcess - APPDOM d s PSBRKHND_dflt ./LOGS/stdout:
    NLS:4: Cannot open the message CMDTUX_CAT, the value 1, num 820 catalogue; Check TUXDIR = / opt/oracle/TFTP/appbatch/bea/tuxedo, LANG = fr_FR. UTF-8
    exec PSBRKDSP o EI ./LOGS/stderr s PSBRKDSP_dflt:Dispatch - APPDOM d s PSBRKDSP_dflt ./LOGS/stdout:
    NLS:4: Cannot open the message CMDTUX_CAT, the value 1, num 820 catalogue; Check TUXDIR = / opt/oracle/TFTP/appbatch/bea/tuxedo, LANG = fr_FR. UTF-8
    exec PSPUBHND o EI ./LOGS/stderr s PSPUBHND_dflt:PubConProcess - APPDOM d s PSPUBHND_dflt ./LOGS/stdout:
    NLS:4: Cannot open the message CMDTUX_CAT, the value 1, num 820 catalogue; Check TUXDIR = / opt/oracle/TFTP/appbatch/bea/tuxedo, LANG = fr_FR. UTF-8
    exec PSPUBDSP o EI ./LOGS/stderr s PSPUBDSP_dflt:Dispatch - APPDOM d s PSPUBDSP_dflt ./LOGS/stdout:
    NLS:4: Cannot open the message CMDTUX_CAT, the value 1, num 820 catalogue; Check TUXDIR = / opt/oracle/TFTP/appbatch/bea/tuxedo, LANG = fr_FR. UTF-8
    exec PSSUBHND o EI ./LOGS/stderr s PSSUBHND_dflt:SubConProcess - APPDOM d s PSSUBHND_dflt ./LOGS/stdout:
    NLS:4: Cannot open the message CMDTUX_CAT, the value 1, num 820 catalogue; Check TUXDIR = / opt/oracle/TFTP/appbatch/bea/tuxedo, LANG = fr_FR. UTF-8
    exec PSSUBDSP o EI ./LOGS/stderr s PSSUBDSP_dflt:Dispatch - APPDOM d s PSSUBDSP_dflt ./LOGS/stdout:
    NLS:4: Cannot open the message CMDTUX_CAT, the value 1, num 820 catalogue; Check TUXDIR = / opt/oracle/TFTP/appbatch/bea/tuxedo, LANG = fr_FR. UTF-8
    exec PSMONITORSRV o ./LOGS/stdout e ./LOGS/stderr - A - ID - 55021 d APPDOM s PSMONITORSRV:
    NLS:4: Cannot open the message CMDTUX_CAT, the value 1, num 820 catalogue; Check TUXDIR = / opt/oracle/TFTP/appbatch/bea/tuxedo, LANG = fr_FR. UTF-8
    exec JSL o ./LOGS/stdout e ./LOGS/stderr - A - d - m 5 - M 7 - //hrapp.xflash.com:9000 I have 5-j ANY - 40 x 10 - c 1000000 JSH w s:
    NLS:4: Cannot open the message CMDTUX_CAT, the value 1, num 820 catalogue; Check TUXDIR = / opt/oracle/TFTP/appbatch/bea/tuxedo, LANG = fr_FR. UTF-8
    exec JREPSVR o ./LOGS/stdout e ./LOGS/stderr - A - W Pei /home/psadm2/ps/pt/8.50/appserv/APPDOM/jrepository:
    NLS:4: Cannot open the message CMDTUX_CAT, the value 1, num 820 catalogue; Check TUXDIR = / opt/oracle/TFTP/appbatch/bea/tuxedo, LANG = fr_FR. UTF-8
    NLS:4: Cannot open the message CMDTUX_CAT, the value 1, num 774 catalogue; Check TUXDIR = / opt/oracle/TFTP/appbatch/bea/tuxedo, LANG = fr_FR. UTF-8

    Thank you

    Please, once you connect to the application server Peoplesoft VM with psadm2, run the following:

    env|grep LANG
    

    And post the result.

    LANG should be C, if this isn't your side follow these steps:

    export LANG=C
    

    And re-start the Appserver field.
    To keep consistency during the startup of the server, add the line in the psadm2 user .bash_profile.

    Changed the .bash_profile or any other initialization file? Because everything should be fine by default.

    Nicolas.

    Published by: Gasparotto N on December 30, 2009 19:09

  • New-DrsRule - anti-affinite rule Max 2 VM

    Hi all

    I use vSphere PowerCli 4.1 for import and export of objects of vSphere and I was wondering if someone could give me the truth about the rules of the anti-Affinity DRS.

    Specifically, if the number of VM limit is always capped at two.

    The reason why I ask this is that when I try to create a rule anti-XXX for three VM from the command line with the following command:

    New-DrsRule-Cluster (Cluster-Get-name $DRSR.cluster)-name DRSR. Name - Enabled $True - KeepTogether $False - VM (VM - Get $DRSR.vms)

    I get the following error:

    New-DrsRule: 26/07/2011-15:30:24 New-DrsRule you must specify 2 or more VMs if KeepTogether option is set and only 2 virtual machines if KeepTogether option is not set.
    Online: 1 character: 12
    + New-DrsRule < < < <-Cluster (Cluster-Get-name $DRSR.cluster)-name DRSR. Name - Enabled $True - KeepTogether $False - VM (VM - Get $DRSR.vms)
    + CategoryInfo: InvalidArgument: (:)) [new DrsRule], VimException)
    + FullyQualifiedErrorId: Client20_ComputeResourceServiceImpl_TryValidateDrsRuleVMCount_InvalidVmCount, VMware.VimAutomation.ViCore.Cmdlets.Commands.NewDrsRule

    However, I am able to create the rule through vCenter.

    What I'm missing here? Is the rule that I create in vCenter not actually applied?

    Did he able to put me in stright?

    Thank you!

    Thank you.

    You are right, the New-DrsRule cmdlet when it is used for an anti-affinite rule limits the number of guests to 2.

    I suspect that this is for historical reasons.

    In environments of pre-version 4.1, I think it was indeed a limitation, even in the vSphere client.

    So yes, I'm afraid that you have to adapt the script to create anti-affinity rules 2 by 2.

    Fortunately, you can use a simple loop nested to create rules.

    Something like this for example

    $vms = "vm1","vm2","vm3","vm4","vm5","vm6"
    
    $j = 1 1..($vms.Count-1) | %{
        $i = $_    ($i - 1)..0 | %{
            New-DrsRule -Cluster (Get-Cluster -Name MyCluster) `        -Name ("Rule" + $j) `        -KeepTogether $false -VM (Get-VM -Name $vms[$i],$vms[$_])
            $j++    }
    }
    

Maybe you are looking for

  • External hard drive for use with FCPX Thunderbolt

    I got a new iMac, but the SSD in it's tiny, so I need to invest in an external drive at least some of TB.  Should I go Thunderbolt because I think it's faster?  I'm looking at Fantom and Lacie but I'm not sure what would work best for use with FCPX.

  • Adding a new power supply will void the warranty

    Hello I would like to replace the power supply 350w comes with the HP Pavilion p6-2378.  I have a 500w I'd replace it with.  Will this void my warranty?  This is the standard of 1 year.  I do that so that I can put a secondary graphics (AMD Radeon 46

  • How to turn on the two separate LEDS by using one or two outputs digital

    We use NI 9172 cDAQ with an entry and an exit module hung. I have my program in place with 2 input lines and a line out, but I think I need two lines of output, in any case using my Boolean switches and doors logical digital that I wired up to three

  • Setting System Restore Point works only with Win XP SP2

    I use Windows XP Professional SP2.  My System Restore Wizard does not work.  I am not able to set a Point of restoring using the wizard.   A suggested fix was to disable the system restore and then turn it back on.  This has created more problems bec

  • After you install RegClean Pro and Advanced System Protector, security shield throw errors

    I bought RegClean Pro and Advanced System Protector (last week) and now security shield is not allow me any peace as if I've not saved. Told me to disable firewall. How do I do that? Then, they enter my registry key - I didn't. I thought that everyth