Host
A Host is a physical machine that you supply to Private Cloud Director as a hypervisor. Once authorized and configured, virtual machines can be deployed on top of the host.
Once you have your Cluster Blueprint configured, Private Cloud Director has the information it needs to configure hosts that will be added to the cluster.
Host Agent
The Platform9 host agent is the first component you will install on each host. The host agent enables you to add hosts and configure their roles in your virtualized cluster. Based on each hosts' assigned role(s), the agent will download and configure the required software and integrate it with the Private Cloud Director management plane.
The host agent is also used for ongoing health monitoring of the host, including failure and error detection. It also helps Platform9 orchestrate an upgrade for the host when you choose to upgrade your Private Cloud Director deployment to a newer version.
Roles
As part of host authorization process, you can configure hosts to perform specific functions by assigning them one or more roles. Following are the supported roles:
Hypervisor Role
The Hypervisor role enables the Host to function as a KVM based Hypervisor in your Virtualized Cluster, using the OpenStack Nova data-plane.
Typically, all hosts in your cluster will be assigned this role; unless you are experiencing performance bottlenecks and want to avoid running VM workloads on select hosts that are assigned other roles such as image library role or storage role.
VM Image Library Role
Every cluster needs to have at least one 'Image Library', which will host the cluster copy of Virtual Machine source images from which new VMs can be provisioned. Read more about Configuring Image Library Role here.
Block Storage Node Role
One or more hosts in your cluster will typically be configured as a 'Block Storage Node'. Read more about how to Configure Block Storage Role here.
Enable Advanced Remote Support
For certain troubleshooting situations, Platform9 support teams may request access to automatically gather detailed telemetry from a host that is experiencing some problems. Enabling Advanced Remote Support enables this mode. By default, this should be disabled and should only be enabled when requested by Platform9 support.
Add a Host (SaaS Deployment)
Ensure that the host that you are trying to add meets the pre-requisites.
Once you have the required pre-requisites confirmed, add hosts by navigating to Infrastructure > Cluster Hosts, and click "Add New Hosts". Follow the instructions as shown. You will enter the administrative user's password when prompted.
You will now see the two simple steps in the UI that you need to run on each of your hosts. Remember to ensure you have sudo privileges.
These commands download cloud-ctl CLI and invoke the prep-node command on cloud-ctl. The command will ask you for a number of inputs; the values for all of these specific to your environment are provided in your Private Cloud Director UI for ease of use.
It will typically take 2-3 minutes to download and install the Platform9 host agent and other necessary Platform9 software components, which will then allow you to proceed to the next step to assign role.
Add a Host (Self-Hosted & Community Edition Deployment)
Community Edition Note: Hypervisor hosts deployed as virtual machines must have virtualization support available inside the VM. Virtual machines on ARM CPUs are currently untested.
If you want to verify that nested virtualization is working in a VM, you can check for virtualization support inside the VM by running:
To add (onboard) a hypervisor host to a self-hosted or Community Edition deployment of Private Cloud Director, login to the host and follow the following steps as a root user.
Add DNS entries
Note
An FQDN is a fully-qualified domain name for your Private Cloud Director installation. For Community Edition, the FQDN for the workload region (and where you'll login to the user interface) is pcd-community.pf9.io. The FQDN for the infrastructure region is pcd.pf9.io.
As a root user, add DNS entries on each hypervisor host for both the infrastructure & workload region FQDNs using the /etc/hosts file.
Trust Management Plane SSL Certificate
As a root user, the self-signed management plane/workload region SSL certificate must be trusted on each target hypervisor host before beginning the host onboarding process.
An example output is shown below:
Prepare Host
Info
Before preparing a hypervisor host, ensure that a cluster blueprint has been saved in the Private Cloud Director user interface first.
In the Private Cloud Director user interface, navigate to Infrastructure > Cluster Hosts, and click "Add New Hosts". Follow the instructions as shown. You will enter the administrative user's password when prompted.

Assign Roles
Now that your host is added, it will show up Infrastructure > Cluster Hosts with an "unauthorized" status, which means it is awaiting cluster role assignment. Select the host and click "Edit Roles". Configure these host roles as you desire for your cluster architecture.

Based on your desired cluster role assignment, the Private Cloud Director management plane will work with the Platform9 agent to configure the required software on your host. This will typically take 3-5 minutes to complete. During this time, you will see the host status as converging in the Private Cloud Director UI.
Monitor Host Addition Status
While a host is in converging state, you can monitor the status of this activity by looking at the hostagent log. See Log Files for location of the hostagent log files. Tail the log file to monitor the status of host addition:
Success
Once the role assignments have taken effect, your host is ready to use!
Host Aggregates
A host aggregate is a group of hosts within your virtualized cluster that share common characteristics. Read Host Aggregate for more information and how to configure them.
Decommissioning a Host
Before decommissioning, ensure that the host is not running any critical workloads.
Warning
Always back up important data and configurations from the host before decommissioning.
Use the cloud-ctl to decommission a host by running the following command:
Once the command executes successfully, the host will be removed from the list of active hosts in the Private Cloud Director UI. If you encounter errors during decommissioning, check the logs for details and ensure the host is reachable.
Potential Impact
Resource Availability: Decommissioning a host reduces the available resources (CPU, memory, storage) in the cluster.
Service Disruption: If workloads are not properly migrated, it may lead to service downtime.
Cluster Rebalancing: The cluster may take time to rebalance workloads across remaining hosts.
Log Files
Important log files for debugging:
Log files for all services - Each host stores all its log files for the various components running on it at
/var/log/pf9. Here you will find logs for compute, image library, storage, networking and other services, depending on the roles assigned to that host.Image library service log - The log file for the Image library service is located at
/var/log/pf9/glance-api.logon host(s) with image library role assigned.Compute service log - The log file for the compute service is located at
/var/log/pf9/ostackhost.logon all hosts with hypervisor role assigned. Useful for debugging issues with Virtual Machine creation or updates.Storage service log - The log file that corresponds to all block storage attach / detach operations is located at
/var/log/pf9/cindervolume-base.log. Use this file when debugging any issues with respect to block storage volume attachment or detachment to virtual machines. (Also look at the compute service log fileostackhost.logfile for further details when debugging any volume attachment issues.)
Host agent log - The log file for the Platform9 host agent that is installed on each hypervisor host is located at
/var/log/pf9/hostagent.log. This is helpful for debugging issues with host agent install or connectivity with Private Cloud Director management plane.Communication agent log - Located at
/var/log/pf9/comms/comms.log. Log file for Platform9 communications agent that is responsible for ensuring the health and uptime of host agent. Helpful for debugging issues regarding connectivity.Libvirt logs - Located at
/var/log/libvirt/qemu/<vm-id>where should be the UUID of the VM and at/var/log/libvirt/libvirtd.log. Libvirt logs help with debugging any resource allocation or other issues with virtual machine instances.
Last updated
Was this helpful?
