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.
Beginning with any host, open the
pepperdata-site.xmlfile 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 the
PD_CONF_DIRenvironment variable. See Change the Location of pepperdata-site.xml for details.
pepperdata.supervisor.rpc.server.debugPageEnabledproperty, with a value of
<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 as
xmllint, 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) or
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.