Memory Requirement leads to Lab Url not set error

Locked Memory Requirement leads to Lab Url not set error

  • jueves, 21 de junio de 2012 18:10
     
     

    Thank you for your help in advance!! 

    Creating a new test environment using Lab Management I recieved this error:

    TF259115: Team Foundation Server could not find any suitable host to deploy the virtual machine: <machinename>.

    Contact your administrator to fix the issues on the hosts below. (Hosts are listed in brackets)

    Memory requirement of the virtual machine(s) exceeds the available host resources. The placement policy for this host group is set to be conservative and hence virtual machines that are in stopped state are also accounted as consuming host resources. Your administrator can change this policy by running the TfsLabConfig tool.   I found this site:  http://bartwullems.blogspot.com/2010/11/change-placement-policy-of-your-system.html  and did as instructed there.....

    TfsConfig.exe lab /settings /collectionName:defaultCollection /hostGroup /edit /name:"All hosts" /labenvironmentplacementpolicy:aggressive

    That got me another error:

    The lab URL is not set;  Using the application-tier settings instead.

    I looked in TFS Administrative Console --> Lab Management --> Reconfigure Lab Management.  The Lab Url is set.  it's the same Url as the Notification Url.


    laurie l clos

Todas las respuestas

  • jueves, 21 de junio de 2012 20:38
     
     Respondida

    Fixed it.... In the command window, I had a letter in lower case that needed to be in upper case.  doh....

    http://msdn.microsoft.com/en-us/library/dd547199(VS.100).aspx

    Typed in command window:

    TfsConfig.exe Lab /hostgroup /CollectionName:<name> /edit /name:<nmae> /LabEnvironmentPlacementPolicy:Aggressive


    laurie l clos

    • Marcado como respuesta closl jueves, 21 de junio de 2012 20:38
    •  
  • viernes, 22 de junio de 2012 3:01
    Moderador
     
     

    Hi closl,

    Glad to hear you have had your issue resolved. And thanks for sharing us solution here.

    Have a nice day.


    Vicky Song [MSFT]
    MSDN Community Support | Feedback to us