Startup : webstart or script

Navigator can be started in multiple manner depending of your environments :

  • Webstart : navigator are downloaded on end-user computer
  • Local : navigator is already download and is launched with a local script
  • Remote desktop : end-user connect on a remote session that can automatically start the navigator
  • and moreā€¦

Depending of the solution used in your environment the HPA agent can still be configured more or less easily.

Webstart

The easiest way, the HPA portal provide a shortcut to start the navigator with agent. The idea is this :

  1. HPA portal is configured with the Dataserver webstart URL
  2. End user click in the HPA portal Navigator
  3. A HPA webstart is downloaded and executed
  4. The HPA webstart download the HPA agent AND the navigator configured at the first step

This is transparent for the end user.

See HPA portal server configuration for detailed configuration parameters.

Script

This use case cover the others ways, at the end there is always a script that start the navigator in the other ways.

Prepare HPA agent arguments

Select the right profile according to installation, see Agent installation for list of profiles.

  • HPA_PROFILE : navigator

Agent installation

With the script startup, the HPA agent must be installed on the end user environment. The HPA agent installation can be played :

  • by unzipping once the HPA agent archive with preconfigured values
  • by scripting the download and unzip of the archive

A specific archive can be prepared with the previous arguments.

In the navigator.bat file, add the following lines to JAVA_OPTS :

rem HPA start modification
set AGENT_BASEDIR=ex: c:\hpa\uniqueagent
set AGENTNAME=Navigator-AMEA
set AGENTPROFILE=navigator
set EM_HOST=10.0.10.2:5001
set HPA_CALYPSO_ENV=v15-hex1-perf

SET JAVA_OPTS=%JAVA_OPTS% -DagentManager=%EM_HOST%
SET JAVA_OPTS=%JAVA_OPTS% -Dintroscope.agent.agentName=%AGENTNAME%
SET JAVA_OPTS=%JAVA_OPTS% -Dintroscope.agent.customProcessName=%HPA_CALYPSO_ENV%
SET JAVA_OPTS=%JAVA_OPTS% -javaagent:%AGENT_BASEDIR%/Agent.jar
SET JAVA_OPTS=%JAVA_OPTS% -Dintroscope.autoprobe.logfile=../../logs/AutoProbe-%AGENTNAME%.log
SET JAVA_OPTS=%JAVA_OPTS% -Dcom.wily.introscope.agentProfile=%AGENT_BASEDIR%/core/config/IntroscopeAgent_%AGENTPROFILE%.profile
rem HPA end modification

... existing JAVA_OPTS
SET JAVA_OPTS=%JAVA_OPTS% -XX:MaxPermSize=512m -Xmx512m -Dorg.apache.activemq.SERIALIZABLE_PACKAGES=* -Djava.util.Arrays.useLegacyMergeSort=true%USER_HOME%

User the same startup as dataserver and engines with the hpa_agent_common.sh script