Skip to main content

First Host Policy Apply

Use this path when you want the host foundation in place before deploying or retiering local VMs.

Before You Start

Review Prerequisites and confirm the active inventory works:

ansible-inventory -i inventory/hosts.yml --graph

The host policy uses:

LayerSource
CPU pools and performance domainsvars/global/host_resource_management.yml
zram, THP, and KSM policyvars/global/host_memory_oversubscription.yml

Apply

Run the CPU foundation first:

./scripts/host-resource-management.sh host-resource-management-apply

Apply the memory policy second:

./scripts/host-resource-management.sh host-memory-oversubscription-apply

Verify

The status commands inspect live host state directly and do not run Ansible:

./scripts/host-resource-management.sh host-resource-management-status
./scripts/host-resource-management.sh host-memory-oversubscription-status

Expected default CPU policy:

SettingValue
Host reserve0-1
Guest execution pool2-11
Emulator CPUs0-1
Gold CPUWeight512
Silver CPUWeight333
Bronze CPUWeight167

Next Step

After the host foundation is active, deploy the worker VMs or confirm they already exist before applying live shared execution-pool policy:

./scripts/host-resource-management.sh shared-execution-pool-apply
./scripts/host-resource-management.sh shared-execution-pool-status

For the full model and rollback order, see Shared Execution Pool With Weighted Performance Domains.