> For the complete documentation index, see [llms.txt](https://docs.verge.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.verge.io/knowledge-base/de/automation-api/determine-node-where-vm-runs.md).

# Einstellungen, die die Auswahl des VM-Knotens beeinflussen

Jedes Mal, wenn eine VM eingeschaltet oder migriert wird, entscheidet das System anhand der vom Benutzer angegebenen VM-Optionen sowie der Lastverteilung über die verfügbaren Knoten, wo die VM ausgeführt wird.

**Bei der Entscheidung über die Knotenauswahl für die Ausführung einer VM verwendete VM-Optionen:**

* **HA-Gruppe**
  * **Knotenaffinität:** (der Wert beginnt mit einem "+", z. B. "+commapp") Das System versucht, VMs mit demselben HA-Gruppenwert auf demselben Knoten auszuführen. Dies dient dazu, anwendungsbezogene Workloads zur Leistungsoptimierung auf einem einzelnen physischen Knoten zusammenzufassen.
  * **Knoten-Antiaffinität:** (der Wert beginnt NICHT mit "+", z. B. "webservers") VMs mit demselben HA-Gruppenwert werden auf getrennten Knoten ausgeführt, um die hohe Verfügbarkeit von Anwendungen oder Diensten zu gewährleisten.
* **Bevorzugter Knoten:** ein bestimmter Knoten wird als erste Wahl ausgewählt
* **Bevorzugter Cluster:** Knoten im angegebenen Cluster werden als erste Wahl verwendet
* **Failover-Cluster:** Knoten im angegebenen Cluster werden als nächste Wahl verwendet, wenn der bevorzugte Cluster nicht verfügbar ist

{% hint style="info" %}
**Weitere Informationen zu diesen und anderen VM-Optionen finden Sie unter:** [**Produktleitfaden - Felder virtueller Maschinen**](/run-the-platform/virtual-machines/vm-field-descriptions.md)
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.verge.io/knowledge-base/de/automation-api/determine-node-where-vm-runs.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
