The Redis Enterprise Software cluster nodes host a range of services that support the cluster processes. In most deployments, either all of these services are required, or there are enough memory resources on the nodes for the database requirements.

In a deployment with limited memory resources, certain services can be disabled from API endpoint to free system memory or using the rladmin command. Before you disable a service, make sure that your deployment does not depend on that service. After you disable a service, you can re-enable in the same way.

The services that you can disable are:

To disable a service with the rladmin cluster config command, use the services parameter and the name of the service, followed by disabled.

 rladmin cluster config 
        [ services <service_name> <enabled | disabled> ]

To disable a service with the API, use the /v1/cluster/services/configuration endpoint with the name of the service and the operating mode (enabled/disabled) in JSON format.

For example:

  • To disable the RS Admin Console, issue this PUT request:

    curl --request PUT \
    --url https://localhost:9443/v1/cluster/services_configuration \
    --header 'content-type: application/json' \
    --data '{
        "cm_server":{
            "operating_mode":"disabled"
        }
    }'
    
  • To disable the CRDB services and enable the stats_archiver for cluster component statistics, issue this PUT request:

    curl --request PUT \
    --url https://localhost:9443/v1/cluster/services_configuration \
    --header 'content-type: application/json' \
    --data '{
        "crdb_coordinator":{
            "operating_mode":"disabled"
        },
        "crdb_worker":{
            "operating_mode":"disabled"
        },
        "stats_archiver":{
            "operating_mode":"enabled"
        }
    }'