How to bulk Enable/Disable Redis Caching Across the Cluster using ApiMachine Tools?

Manage Cluster Redis (WebUI Method)

 

  1. Log into cPFence WebUI on the Main Control Panel server.
  2. Go to Tools & UtilitiesApiMachine Bulk Tools.
  3. Use Run on specific domains only if you want to target a subset; otherwise leave it unchecked to manage the entire cluster.
  4. Select Bulk Enable Redis caching to turn it on or Bulk Disable Redis caching to turn it off.
  5. Confirm the prompt; the UI streams each Enhance API call so you can track success per domain.

Make sure the Enhance API key is set beforehand; ApiMachine won’t run without it.

Command Line (CLI) Method

  1. SSH into the Main Control Panel server.
  2. Enable Redis for all domains 
    cpfence --bulk-enable-redis-cluster
  3. Disable it when troubleshooting:
    cpfence --bulk-disable-redis-cluster

Keep LiteSpeed or application-level caching aligned with the infrastructure setting to avoid mismatched configurations.


Need Further Assistance?

Visit our Knowledgebase or contact our support team for help.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to Bulk Enable Force SSL Using cPFence ApiMachine?

cPFence offers a powerful, browser-based WebUI for managing your Enhance cluster. The WebUI is...

How to Bulk Enable Redis Caching Using cPFence ApiMachine?

cPFence offers a powerful, browser-based WebUI for managing your Enhance cluster. The WebUI is...

How to Bulk Generate Mail SSL Certificates Using cPFence ApiMachine?

cPFence offers a powerful, browser-based WebUI for managing your Enhance cluster. The WebUI is...

How to Bulk Generate SSL Certificates Using cPFence ApiMachine?

cPFence offers a powerful, browser-based WebUI for managing your Enhance cluster. The WebUI is...

How to Generate an API Token for cPFence, and Is It Required?

The cPFence API token must be generated in your Enhance Control Panel. Follow the steps below to...