• 79man 10 years ago + 1 comment

    For three VMs:
    vm1,1,50
    vm2,4,20
    vm3,1,80
    and 2 hosts:
    host1,5,100
    host2,2,50


    I think all three can be placed, as shown below:-
    1. vm1 ON : place it on host2
      remaining resources are:-
      host1,5,100
      host2,1,0
    2. vm3 ON : place it on host 1
      remaining resources are:-
      host1,4,20
      host2,1,0
    3. vm2 ON : place it on host 1
      remaining resources are:-
      host1,0,0
      host2,1,0

    Isn't this right? What am I missing?
    I mean is there a rule that one host can only run one VM at a time?

    Add Reply Preview cancel

    Sorry, you do not have a permission to answer to this question.

    • DeadCereal 10 years ago + 1 comment

      You are correct, however for Problem 1, VMotion is set to off. So Each VM will be placed into the first Host that can fit it. VM1 will go on host 1, VM 3 won't be able to find anywhere to fit so it won't be placed, then VM 2 will be placed on host 2. For the other 2 scenarios, VMotion is turned on, so the cluster should load balance and all VMs should be placed.

      Add Reply Preview cancel

      Sorry, you do not have a permission to answer to this question.

      • kostadis 10 years ago + 1 comment

        DeadCereal you got it right!

        Add Reply Preview cancel

        Sorry, you do not have a permission to answer to this question.

        • val 10 years ago + 1 comment

          Could author update Problem text so everything will be clear without reading all comments in Discussions? Thanks

          Add Reply Preview cancel

          Sorry, you do not have a permission to answer to this question.

          • kostadis 10 years ago + 0 comments

            problem has beeen updated.

            Add Reply Preview cancel

            Sorry, you do not have a permission to answer to this question.

    1. Challenge Walkthrough
      Let's walk through this sample challenge and explore the features of the code editor.1 of 6
    2. Review the problem statement
      Each challenge has a problem statement that includes sample inputs and outputs. Some challenges include additional information to help you out.2 of 6
    3. Choose a language
      Select the language you wish to use to solve this challenge.3 of 6
    4. Enter your code
      Code your solution in our custom editor or code in your own environment and upload your solution as a file.4 of 6
    5. Test your code
      You can compile your code and test it for errors and accuracy before submitting.5 of 6
    6. Submit to see results
      When you're ready, submit your solution! Remember, you can go back and refine your code anytime.6 of 6
    1. Check your score