Host Agent Package Extraction and Install
## This article describes how to extract RPM and Debian packages from the Platform9 host agent install script, and, optionally, manually install those packages.
Extract Packages From the Platform9 Installer
On the terminal, run the installer for the platform of your choice with the --extract
option. In the case of CentOS/RedHat/Scientific Linux:
sudo bash platform9-install-redhat.sh --extract
Switch to the Extraction Directory and Copy Packages from the Extracted Archive
On the terminal, locate a temporary directory with path /tmp/pf9-install-XXXXX
where XXXXX is a randomly generated set of characters, and then copy the RPM or Deb packages from there to your chosen location.
Manual Install of Platform9 Host Agent Packages
Please follow the following manual install steps to ensure the Platform9 host agent is installed and started correctly.
(Optional) Add the Packages to Yum or Apt Repository
Add the packages to your repository and make sure that the repository is accessible to the machine that needs to the install the packages. Consult your operating system’s documentation to find instructions on creating and using repositories.
Install the Packages
Install the packages using your operating system’s package manager or a configuration management tool such as Chef/Puppet/Ansible. In the case of CentOS/RedHat/Scientific Linux:
yum install -y pf9-hostagent
yum install -y pf9-comms
If both packages are registered in a yum repository, installing pf9-comms will automatically install pf9-hostagent
. If installing from local package files instead of a repository, you will need to specify the full file names of the packages, including version and extension.
Start the Services
Starting the services in the correct order below is important. (This is only needed for the initial setup.)
service pf9-comms start
service pf9-hostagent start