> Documentation index for agents: /hcp/3.3/en/llms.txt

# Nodes and vStack OS

A node is a server with vStack OS that is part of a cluster. Each node is at the same time a hypervisor, a part of the storage and a part of the network: it runs virtual machines (VMs), it contains one disk of each pool, and VM traffic goes through its ports. There is no dedicated management node: the nodes elect the cluster manager leader themselves.

vStack OS is a custom FreeBSD build: the kernel, the base system and the controllers that turn a server into a cluster node. It is not Linux, and familiar Linux commands and metrics behave differently on a node. You install it with the installer on every server and set the cluster composition and pool redundancy during installation. Center does not install vStack OS and does not add nodes to the cluster. The installer installs the OS and node components, and an upgrade script on the node upgrades them; the management VM deploys the controller settings to the nodes — [Install the nodes and build the cluster](/hcp/3.3/en/os-install/install-node/index.md), [Update nodes to 3.2.6](/hcp/3.3/en/upgrade/update-nodes/index.md).

## Design rationale

Each pool includes one disk from each node. That is why nodes are built identical, each with as many storage disks as there are pools in the cluster, and you cannot size a node only for VMs or only for storage. A cluster starts from 4 nodes, and 9 are recommended; disks are SSD or NVMe only. How many pool disks can fail for each cluster size — [How vStack HCP is built](/hcp/3.3/en/architecture/index.md), section "How many nodes are in a cluster".

## Node components

| Part | What it does |
| - | - |
| bhyve hypervisor | runs VMs and Edge routers |
| ZFS | builds pools; the node that serves a pool keeps it open and stores VM disks in it |
| Network disk export | the node exports its own disks to neighbors for their pools over iSCSI; SPDK exports VM disks to other nodes over NVMe-oF/TCP |
| Cluster manager, `ccrd` | monitors the nodes and decides which node serves which pool — [Cluster manager](/hcp/3.3/en/architecture/cluster-manager/index.md) |
| VM controller | starts, stops and suspends VMs on the node |
| Storage controller | creates and deletes VM disks and snapshots, deploys images |
| Network controller | configures the networks on the node that VMs are connected to |
| Node controller | hardware, disks, pool state and node metrics |

Controllers receive commands from Center through the message broker in the management VM and reply the same way. While the management VM is unavailable, there are no new commands, but the VMs on the node keep running.

## Node in the cluster

- **Resources.** The CPU and RAM of a node are allocated to VMs; the ZFS cache uses part of the RAM, up to 64 GB. How Center counts node memory — [Resource accounting](/hcp/3.3/en/mechanics/resource-accounting/index.md).
- **Node failure.** The VMs of the node stop, and the pools it served fail over to neighboring nodes. Each pool loses one disk and runs with lower redundancy until the node returns — [Node failure](/hcp/3.3/en/mechanics/node-failure/index.md).
- **Maintenance.** Before maintenance, you put the node into maintenance mode: Center moves VMs, their disks and pools off it, and when the node exits maintenance, it can bring them back. While a node is powered off, each pool is missing one disk — [Put a node into maintenance mode](/hcp/3.3/en/cluster/node-maintenance/index.md).
- **CPU load.** On a node, SPDK constantly occupies several cores, even with no load. High, steady load on these cores is normal, not a failure.

## See also

- [vStack OS](/hcp/3.3/en/os-overview/index.md)
- [Hardware and network requirements](/hcp/3.3/en/os-install/requirements/index.md)
- [View a node: hardware, disks, performance](/hcp/3.3/en/cluster/view-node/index.md)
- [View the cluster state on a node](/hcp/3.3/en/os-cluster/cluster-state/index.md)
