Running Applicare Console and Services separately
In environments with high # of agents it is recommended to run Applicare Console and Applicare Services separately.
Applicare Console
1. Stop the Applicare Controller if it is already running.
2. Add -Dapplicare.console=true in the startup Arguments.
Note: -Dserver.name jvm argument must be set as ApplicareAdmin for console server which is default. We should not change it.
Windows
set JAVA_OPTS=%JAVA_OPTS% -Dapplicare.console=true
Linux
JAVA_OPTS="$JAVA_OPTS -Dapplicare.console=true"
3. Start the Controller.
Applicare Services
1. Build the StandaloneAgent.
2. Add -Dapplicare.admin=true and
-Dapplicare.disable.service.availability=true in the startup Arguments.
3. Copy ehcache.xml file from <Applicare_home>\server\webapps\applicare\WEB-INF\classes to <Applicare_Home>\server\webapps\applicare_agent\WEB-INF\classes.
4. Copy all the lib files from server <Applicare_home>\server\webapps\applicare\WEB-INF\lib to service server <Applicare_home>\server\webapps\applicare_agent\WEB-INF\lib.
Windows
set JAVA_OPTS=%JAVA_OPTS% -Dapplicare.admin=true
-Dapplicare.disable.service.availability=true
Linux
JAVA_OPTS="$JAVA_OPTS -Dapplicare.admin=true
-Dapplicare.disable.service.availability=true"
3. Start the StandaloneAgent.
To disable the services in Applicare use the below JVM Arguments
Windows
set JAVA_OPTS=%JAVA_OPTS% -Dapplicare.disable.agent.ping.monitor=true
set JAVA_OPTS=%JAVA_OPTS% -Dapplicare.disable.gc.collector=true
set JAVA_OPTS=%JAVA_OPTS% -Dapplicare.disable.socket.data.collector=true
set JAVA_OPTS=%JAVA_OPTS% -Dapplicare.disable.snmp.monitor=true
set JAVA_OPTS=%JAVA_OPTS% -Dapplicare.disable.collection.monitor=true
set JAVA_OPTS=%JAVA_OPTS% -Dapplicare.disable.ping.monitor=true
set JAVA_OPTS=%JAVA_OPTS% -Dapplicare.disable.avg.data.collector=true
set JAVA_OPTS=%JAVA_OPTS% -Dapplicare.disable.snmp.alerts=true
set JAVA_OPTS=%JAVA_OPTS% -Dapplicare.disable.eum.summary=true
set JAVA_OPTS=%JAVA_OPTS% -Dapplicare.disable.error.context.monitor=true
set JAVA_OPTS=%JAVA_OPTS% -Dapplicare.disable.snaps.service=true
set JAVA_OPTS=%JAVA_OPTS% -Dapplicare.disable.custom.ip.location.update=true
set JAVA_OPTS=%JAVA_OPTS% -Dapplicare.disable.intellicheck.monitor=true
set JAVA_OPTS=%JAVA_OPTS% -Dapplicare.disable.synthetic.txn.executor=true
set JAVA_OPTS=%JAVA_OPTS% -Dapplicare.disable.heap.tracker=true
set JAVA_OPTS=%JAVA_OPTS% -Dapplicare.disable.sql.exception.monitor=true
set JAVA_OPTS=%JAVA_OPTS% -Dapplicare.disable.jdbc.connection.monitor=true
set JAVA_OPTS=%JAVA_OPTS% -Dapplicare.disable.eum.config.update=true
set JAVA_OPTS=%JAVA_OPTS% -Dapplicare.disable.business.txn.count.monitor=true
set JAVA_OPTS=%JAVA_OPTS% -Dapplicare.disable.applicare.monitor=true
set JAVA_OPTS=%JAVA_OPTS% -Dapplicare.disable.socket.data.monitor=true
set JAVA_OPTS=%JAVA_OPTS% -Dapplicare.disable.alert.clearance.monitor=true
set JAVA_OPTS=%JAVA_OPTS% -Dapplicare.disable.alert.monitor=true
set JAVA_OPTS=%JAVA_OPTS% -Dapplicare.disable.alert.notification=true
// For ServerAvailability Alert
set JAVA_OPTS=%JAVA_OPTS% -Dapplicare.disable.service.availability=true
Linux
JAVA_OPTS="$JAVA_OPTS -Dapplicare.disable.agent.ping.monitor=true"
JAVA_OPTS="$JAVA_OPTS -Dapplicare.disable.gc.collector=true"
JAVA_OPTS="$JAVA_OPTS -Dapplicare.disable.socket.data.collector=true"
JAVA_OPTS="$JAVA_OPTS -Dapplicare.disable.snmp.monitor=true"
JAVA_OPTS="$JAVA_OPTS -Dapplicare.disable.collection.monitor=true"
JAVA_OPTS="$JAVA_OPTS -Dapplicare.disable.ping.monitor=true"
JAVA_OPTS="$JAVA_OPTS -Dapplicare.disable.avg.data.collector=true"
JAVA_OPTS="$JAVA_OPTS -Dapplicare.disable.snmp.alerts=true"
JAVA_OPTS="$JAVA_OPTS -Dapplicare.disable.eum.summary=true"
JAVA_OPTS="$JAVA_OPTS -Dapplicare.disable.error.context.monitor=true"
JAVA_OPTS="$JAVA_OPTS -Dapplicare.disable.snaps.service=true"
JAVA_OPTS="$JAVA_OPTS -Dapplicare.disable.custom.ip.location.update=true"
JAVA_OPTS="$JAVA_OPTS -Dapplicare.disable.intellicheck.monitor=true"
JAVA_OPTS="$JAVA_OPTS -Dapplicare.disable.synthetic.txn.executor=true"
JAVA_OPTS="$JAVA_OPTS -Dapplicare.disable.heap.tracker=true"
JAVA_OPTS="$JAVA_OPTS -Dapplicare.disable.sql.exception.monitor=true"
JAVA_OPTS="$JAVA_OPTS -Dapplicare.disable.jdbc.connection.monitor=true"
JAVA_OPTS="$JAVA_OPTS -Dapplicare.disable.eum.config.update=true"
JAVA_OPTS="$JAVA_OPTS -Dapplicare.disable.business.txn.count.monitor=true"
JAVA_OPTS="$JAVA_OPTS -Dapplicare.disable.applicare.monitor=true"
JAVA_OPTS="$JAVA_OPTS -Dapplicare.disable.socket.data.monitor=true"
JAVA_OPTS="$JAVA_OPTS -Dapplicare.disable.alert.clearance.monitor=true"
JAVA_OPTS="$JAVA_OPTS -Dapplicare.disable.alert.monitor=true"
JAVA_OPTS="$JAVA_OPTS -Dapplicare.disable.alert.notification=true"
// For ServerAvailability Alert
JAVA_OPTS="$JAVA_OPTS -Dapplicare.disable.service.availability=true"
Note:
In Applicare services the below JVM argument is mandatory.
Windows:
set JAVA_OPTS=%JAVA_OPTS% -Dapplicare.disable.service.availability=true
Linux:
JAVA_OPTS="$JAVA_OPTS -Dapplicare.disable.service.availability=true"
Please sign in to leave a comment.
Comments
0 comments