Introduction
The steps to install the USAS and/or USPS SIF Agent on a Windows server are described in this chapter. It may be necessary to run some of the steps "As Administrator".
The Ohio SOAP USAS and USPS Agents will be shipped as separate zip files. When the files are extracted, they should be placed in a separate folder for each agent and version. It is also recommended that they be extracted into a directory including the version number of the agent. For example: C:\SIFAgents\USPS-SIF-2-0-0
the Agent(s) be installed as a Windows Service.
Upgrading
- If a previous version of the Agent is running, stop the current running Agent prior to completing the installation steps
- If the previous version of the Agent was installed as a Windows Service, uninstall the Service
The service name may be found by double clicking on the Service in "Services" and look at "Service Name"
Code Block language bash sc delete {servicename}
- SSDT recommends you install into a clean directory for each version of the Agent. Installing into a clean directory ensures that obsolete files do not remain from a prior version and allow you to revert to an earlier version if necessary.
...
- Create a directory to contain the new USAS or USPS agent using a pattern such as USxS-SIF-n-n-n. It is common practice to place the version specific agent directory inside a directory name named /SIFAgents. For example:
C:\SIFAgents\usps-sif-2-0-2
- Download the kit from SSDT download web site (as described in the Release page) and place it in the new directory
- Unzip the kit
- If upgrading from a previous version, copy the
agent.cfg
andAgent.ks
file from the previous install directory into the new directory. This will preserve zone and SOAP settings from the earlier configuration. - It is recommended that a shared keystore (Configuring Agent SSL keys) be used. If a shared keystore has not been setup, it will also be necessary to copy the
Trusted.ks
file andagent.ks
files from the previous install directory into the new directory. From a command prompt, launch the agent standalone:
Code Block language bash > cd C:\SIFAgents\{installdirectory} > java -jar RunAgentStandalone.jar
- If the agent starts without error, press CTRL-C to terminate the agent, then follow the instructions for Installing a SOAP Agent as a Windows Service.
Install the agent as a service, type the following in a command line prompt:
Code Block language bash > USPS.exe --install > USAS.exe --install
Running the Agent Console GUI
...