Wondering why OnApp autoscale agent fails? We can help you.
As part of our Server Virtualization Technologies and Services, we assist our customers with several OnApp queries.
Today, let us see how we can fix this error in OnApp.
OnApp autoscale agent fails
After enabling autoscaling on VSs with 64x OS, the autoscale agent does not start automatically and the transaction fails.
This generally happens for OnApp version – 4.2-6.0 with Zabbix deployed on Control Panel.
It causes due to Outdated Zabbix version that is not compatible with the VSs running 64x OSs.
How to resolve it?
Today, let us see the steps followed by our Support Techs in order to resolve it.
To resolve the issue, you need to install the latest version of Zabbix agent from the sources.
1.Firstly, download and install the prerequisites:
# yum install gcc # yum install glibc-static # yum install pcre-static
2.Go to Zabbix download page to download the latest stable version archive.
3.Once downloaded, extract the sources, by running:
#tar xzvf zabbix-4.0.6.tar.gz cd zabbix-4.0.6
Enter the correct Zabbix version in the command. It must match the name of the downloaded archive.
4.To configure the sources, you may run:
./configure --disable-server --disable-proxy --enable-agent --prefix=/onapp/autoscale/ --enable-ipv6 --enable-static
5.Compile Zabbix agent with the following command:
6.Finally, use prepared binaries to update Zabbix agent:
- Inside virtual servers.
cp src/zabbix_agent/zabbix_agentd /onapp/autoscale/
- On Control Panel.
cp src/zabbix_agent/zabbix_agentd /onapp/interface/lib/zabbix_agent/binaries/linux/x64/
[Need help to fix OnApp error? We are here for you]
In short, we saw how our Support Techs resolve when autoscale agent fails on OnApp.