This page describes possible use cases and examples for the Dynamic Workload Placement system.
Scenario 1 - Keep related servers on the same node
A customer has two virtual machines - a web server and a database. They want to keep these on the same node to reduce inter-node traffic.
To do this:
- Manage each virtual machine you want to keep together with related VMs. For information on how to do this, see Managing a Server.
- For each virtual machine, do the following:
- Click on the Keys sub-tab.
- Add a new placement key with the following attributes:
- Name = Group1.
- Type = Placement.
- Value = 1.
- Weight = 100.
Scenario 2 - Keep servers on different nodes
A customer wants to configure their web servers so that in the event of a node failure, there is minimal disruption to the services hosted on the web servers.
To do this:
- Manage each virtual machine you want to keep on a different node. For information on how to do this, see Managing a Server.
- For each virtual machine, do the following:
- Click on the Keys sub-tab.
- Add a new placement key with the following attributes:
- Name = Repel1.
- Type = Placement.
- Value = 1.
- Weight = -100.
Scenario 3 - Premium node service
A master billing entity has a mix of high and average specification nodes. A billing entity wants to use this to their advantage by providing a premium service to certain customers, starting virtual machines for these customers preferentially on the faster nodes when these are available.
To do this:
Manage the cluster containing both the high and average spec nodes. For information on how to do this, see Managing Clusters.
This action can only be performed by the master billing entity.
- Click on the Keys sub-tab.
- Add a new placement key with the following attributes:
- Name = Premium.
- Type = Placement.
- Value = 0.
- Weight = Not applicable.
- Manage each of the high specification nodes. For information on how to do this, see Managing Nodes.
- For each high spec node, do the following:
- Click on the Node Placement Keys sub-tab.
- Change the value of the Premium key to 1.
- Click the Update button.
- Manage the keys for the default customer. For information on how to do this, see Managing Customers.
- Click on the Keys sub-tab.
- Add a new placement key with the following attributes:
- Name = Premium.
- Type = Placement.
- Value = 1.
- Weight = -1000 (for customers who should not be able to use the faster nodes).
- Manage each customer of the billing entity that you want to be premium. For information on how to do this, see Managing Customers. For each such customer, do the following:
- Click on the Keys sub-tab.
- Add a new placement key with the following attributes:
- Name = Premium.
- Type = Placement.
- Value = 1.
- Weight = 100 (for customers to preferentially use the fast nodes)