Configuring UCS Monitoring and Maintenance
One UCS node must be dedicated to monitoring/maintenance activity. This node will open JMX connections. It must have connections to the applications that you want to monitor. It must not be part of the UCS cluster, but it must have the same [cassandra-keyspace] section configured in options.
To configure monitoring and maintenance:
- Activate a JMX port on all nodes that need to be monitored or where the maintenance task will be run:
- For Cassandra nodes, change either cassandra.in.bat or cassandra.in.sh to include the following options:
- See https://wiki.apache.org/cassandra/JmxSecurity for password configuration.
- On each Cassandra node, set the environment variable LOCAL_JMX to value no.
- In Cassandra Resource Accesss Points (RAPs) add a JMX port corresponding to what you already configured previously (that is, 7199 in the example above).
- For UCS nodes, add a JMX port in the application (server tab) and use jmx as the protocol.
- In Configuration Server:
- Enable UCS monitoring/maintenance node by adding a [monitor] section with the option enabled set to true.
- Create a JMX user by adding jmx-user-name with the value previously configured in the jmxremote.password file, and set its password.
- Add connections to Cassandra RAPs and UCS applications. Note that configuration is dynamic.