Disable Pepperdata Status Views (RPM/DEB)
The Pepperdata Status Views provide near real-time ResourceManager and NodeManager data collected by the PepAgent and Supervisor agents.
These Pepperdata Status via Web Servlets views are enabled by default, but if you do not want this data to be available to all your Pepperdata users, you can disable the views.
When disabled, the pages will show a message such as Debug page is disabled
or Resource not found
if a user tries to access them.
Procedure
-
Beginning with any host, open the
pepperdata-site.xml
file for editing.By default, the Pepperdata site file,
pepperdata-site.xml
, is located in/etc/pepperdata
. If you customized the location, the file is specified by thePD_CONF_DIR
environment variable. See Change the Location of pepperdata-site.xml for details. -
Add the
pepperdata.supervisor.rpc.server.debugPageEnabled
property, with a value offalse
.<property> <name>pepperdata.supervisor.rpc.server.debugPageEnabled</name> <value>false</value> </property>
Malformed XML files can cause operational errors that can be difficult to debug. To prevent such errors, we recommend that you use a linter, such asxmllint
, after you edit any .xml configuration file. -
Save your changes and close the file.
-
Restart the PepAgent.
You can use either the
service
(if provided by your OS) orsystemctl
command:sudo service pepagentd restart
sudo systemctl restart pepagentd
-
Repeat steps 1–4 on every host in your cluster. You can individually edit the Pepperdata site file,
pepperdata-site.xml
, on every host or you can distribute a common file to all hosts.Important: Be sure to repeat steps 1–4 on every host. If you skip the configuration on any given host, the Pepperdata Status Views will remain enabled for that host. -
Restart the cluster’s ResourceManager.
-
Restart every NodeManager in the cluster.