Issue


After enabling autoscaling on virtual servers with 64x OS, the autoscale agent does not start automatically and the transaction fails.


Environment


OnApp version - 4.2-6.0

Virtual servers with 64x OSs

Zabbix deployed in Control Panel


Resolution


To resolve the issue, you need to install the latest version of the Zabbix agent from the sources:

  1. Download and install the prerequisites:

    # yum install gcc 
    # yum install glibc-static 
    # yum install pcre-static
    CODE
  2. Go to the Zabbix download page to download the latest stable version archive.
  3. Once downloaded, extract the sources:

    tar xzvf zabbix-4.0.6.tar.gz
    cd zabbix-4.0.6
    CODE

    Enter the correct Zabbix version in the command. It must match the name of the downloaded archive.

  4. To configure the sources, run:

    ./configure --disable-server --disable-proxy --enable-agent --prefix=/onapp/autoscale/ --enable-ipv6 --enable-static
    CODE
  5. Compile the Zabbix agent with the following command:

    make
    CODE
  6. Use prepared binaries to update the Zabbix agent:
     Inside virtual servers

    cp src/zabbix_agent/zabbix_agentd /onapp/autoscale/
    CODE

    • In Control Panel

    cp src/zabbix_agent/zabbix_agentd /onapp/interface/lib/zabbix_agent/binaries/linux/x64/
    CODE

Cause


Outdated Zabbix version that is not compatible with the VSs running 64x OSs.