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

  1. 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 the PD_CONF_DIR environment variable. See Change the Location of pepperdata-site.xml for details.

  2. Add the pepperdata.supervisor.rpc.server.debugPageEnabled property, with a value of false.

    <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.
  3. Save your changes and close the file.

  4. Restart the PepAgent.

    You can use either the service (if provided by your OS) or systemctl command:

    • sudo service pepagentd restart
    • sudo systemctl restart pepagentd
  5. 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.

  6. Restart the cluster’s ResourceManager.

  7. Restart every NodeManager in the cluster.