![]() ![]() If you are running Edge on multiple nodes, run the command on all nodes, specifying the same The following example uses a configuration file rather than command line options: /opt/apigee/apigee-service/bin/apigee-service edge-management-server Line options: /opt/apigee/apigee-service/bin/apigee-service edge-management-server The following example enables JMX authentication for the Management Server using the command You do not specify both a set of options and a configuration You can either use the command line options or the configuration file to define the username, JMX_PASSWORD= password (if not set or not passed in with.config_file specifies the location of a configuration file in which you define.Nodes: /opt/apigee/apigee-service/bin/apigee-service component_name change_jmx_auth To enable JMX authentication, execute the following change_jmx_auth action on all To enable JMXĮnable JMX authentication for Cassandra. You can enable JMX authentication for allĬomponents, as described in Enable JMX authentication. Restart the component with the restart command.įor example, to restart the Management Server, execute the following command: /opt/apigee/apigee-service/bin/apigee-service edge-management-server restartĪuthentication for JMX is not enabled by default.The edited line in the configuration file looks like the following: exec $JAVA -classpath "$classpath" -Xms$min_mem -Xmx$max_mem $xx_opts .config=$conf_path/nfig -Dinstallation.dir=$install_dir $sys_props -Dconf.dir=$conf_path -Ddata.dir=$data_dir .port=1099 .local.only=false .authenticate=false .ssl=false $* $debug_options This example specifies port 1099 for the Management Server. Readability in practice, you cannot have individual commands span multiple lines in the The formatting in the examples above is for $* $debug_options NOTEDo not add carriage returns/newlines Dinstallation.dir=$install_dir $sys_props -Dconf.dir=$conf_path \ Server's configuration file: exec $JAVA -classpath "$classpath" -Xms$min_mem -Xmx$max_mem $xx_opts \ ![]() Port number, see JMX and Management API monitoring ports.įor example, to enable JMX on the Management Server, add the following to the Management Where port_number is the JMX port for the service. Add the following options to the exec.opt/apigee/edge-management-server/bin/start. Router: /opt/apigee/edge-router/bin/startįor example, the Management Server's configuration file on its server is at.Qpid: /opt/apigee/edge-qpid-server/bin/start.Postgres: /opt/apigee/edge-postgres-server/bin/start.Message Processor: /opt/apigee/edge-message-processor/bin/start.Management Server: /opt/apigee/edge-management-server/bin/start.In productionĮnvironments, these configuration files will be on different machines.Ĭhoose from the following file locations on each server: Opt/apigee/edge- component_name/bin/start. Edit the component's configuration file.This file does not persist between patch upgrades and will need to be restored from backup. opt/apigee/ /bin/start file after configuring JMX. This section describes how to enable JMX for the other Edge components. ![]() JMX is enabled by default only for Cassandra, and disabled by default for all other EdgeĬomponents. For Cassandra, use the instructions inĮnable JMX authentication for Cassandra. You can enable JMX authentication for allĬomponents. JMX authentication is not enabled by default. You must therefore enable JMX individually for each component before you However, JMX is enabled by default only for Cassandra, and disabled by default for all The monitoring processes for the Management Server, Message Processor, Qpid, and Postgres all JMX ports should be closed from external access. ![]() Theįollowing table lists the JMX and Management API ports for each type of server: Warning: Apigee reccomends that JMX ports be openįor internal servers only. For more information, see Self healing withĮach component supports JMX and Management API monitoring calls on different ports. ** The apigee-monit service checks if a component is up and will attempt to * Before you can use JMX, you must enable it, as The following table lists the types of checks you can perform on each eligible This document describes the monitoring techniques of components supported by an on-premiseĮdge supports several ways for getting details about services as well as checking their ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |