Skip to main content

DRS simulation

A simulation is a DRS pass over the current cluster state with one substitution, without applying any changes. It shows how many migrations start if the threshold is raised to 4, what changes if a rule is switched off and where the VMs are moved if the node is put into maintenance. A simulation moves nothing, changes no settings and does not put the node into maintenance.

Before you begin​

  • You need the Cluster master role: running a simulation requires the "Apply DRS Recommendations" privilege.
  • A simulation works even with DRS off: it then shows what DRS would do if it were on.

1. Run a simulation​

  1. In the left menu, select Provider Data Center → the cluster name and open the DRS Compute tab.

  2. Click ⋯ on the right of the tab header and select DRS simulation. A panel opens on the right.

  3. Select the Scenario and its parameter:

    ScenarioParameterWhat it shows
    Change migration thresholdMigration threshold — a level from 1 to 5what DRS would do at another threshold. With the current threshold, a trial pass runs
    Disable a placement rulePlacement rule — one of the enabled ruleswhat DRS would do if the rule were off. The scenario is unavailable if there are no enabled rules
    Node maintenanceNodewhere the VMs of the node would be moved when it enters maintenance, and then how DRS would even out the rest of the cluster
  4. Click Run simulation.

2. Read the result​

Above the result is the time: Simulated at <time>. Below are the sections:

  • Migrations — the planned moves: VM, From, To, Reason. The order is the same as in a real pass: first the node entering maintenance, then rule fixes, then load balancing. If there are no moves, No migrations required is shown.
  • Node load — the DRS load of each node before and after all moves: CPU before (DRS), CPU after (DRS), RAM before (DRS), RAM after (DRS). In the Node maintenance scenario, the selected node's load after is 0 %.
  • Node maintenance — only in that scenario: the plan of putting the node into maintenance, as in the precheck — what happens to each VM of the node and where its pools fail over, and above the plan, the refusals and warnings of entering maintenance. For example, if no suitable pool is below the provisioning threshold, the disks are moved to a pool above the threshold, and the plan shows the warning "Pool <name> is above the provisioning threshold. Disks will be moved anyway." If the node cannot enter maintenance, the moves and the load are still calculated — over the rest of the cluster.

If the pass cannot be calculated, the reason is shown instead of the result: "Simulation is not available: fewer than two nodes are online", "Simulation is not available: node states are unavailable" or "Simulation is not available: node data is being updated".

Check the result​

Compare the Node load before and after: if the load is more even after the moves and there are few migrations, the scenario can be applied — change the threshold in DRS settings, switch the rule off on the Rules tab or put the node into maintenance. A simulation reflects the cluster state at the moment it ran: if the load changes, the result of a real pass may differ.

Next​

API method: drs-simulate — in the API reference.