SA Agent Installation fails on Windows Server 2016

  • KM03091011
  • 08-Feb-2018
  • 09-Apr-2021

Summary

When attempting to install a agent on a windows 2016 server and make it part of a Server Automation environment, the error "Agent Binary staging failure" is seen.

Question

While attempting to install an agent on a Windows 2016 server from the Server Automation (SA) ngui, the following error is seen:


The full log of the installation as shown in HPSA NGUI is shown below:
Mon Jan 22 13:17:55 2018: Successfully connected to target machine
Mon Jan 22 13:17:55 2018: Installing/Starting ADTSVC
Mon Jan 22 13:17:55 2018: Successfully connected to target machine
Mon Jan 22 13:17:55 2018: Copying Get platform executable
Mon Jan 22 13:17:55 2018: Get platform executable copied
Mon Jan 22 13:17:55 2018: Succeeded getting platform
Mon Jan 22 13:17:55 2018: Copying Prerequisite check executable
Mon Jan 22 13:17:58 2018: Prerequisite check executable copied
Mon Jan 22 13:17:58 2018: Starting Prerequisite check
Mon Jan 22 13:17:58 2018: Platform check passed
Mon Jan 22 13:17:58 2018: Disk space check passed
Mon Jan 22 13:17:58 2018: Gateway reachability check passed
Mon Jan 22 13:17:58 2018: Local port 1002 is available for the agents use
Mon Jan 22 13:18:01 2018: The machine passed the prerequisite test
Mon Jan 22 13:18:01 2018: Copying agent binary
Mon Jan 22 13:18:01 2018: Agent Binary staging failure
Mon Jan 22 13:18:01 2018: Agent Binary staging failure

Answer

The error was caused by the Platform installer for Windows 2016 not being installed completely on the SA core.  Make sure to pull down the latest platform installer for the version of SA being used from the MarketPlace website, install it using the command

/opt/opsware/bin/apxtool import <Platform_installer_zip_file>

Follow this up by logging into the SA ngui as a user with Administrative privileges, going into Administration->Platform Support, locating the OS being installed (2016 in this case), right clicking and selecting "Run".  After the installation completes, reattempt the agent installation.

For more information on this process, refer to the Administration manual for the appropriate SA version (search for the phrase "apxtool import" to locate the instructions).