Database defaults are cluster-wide policies that determine default settings when creating new databases.

Edit database defaults

To edit default database configuration using the Cluster Manager UI:

  1. On the Databases screen, select Toggle actions button to open a list of additional actions.

  2. Select Database defaults.

  3. Configure database defaults.

  4. Select Save.

Database defaults

Replica high availability

If replica high availability is enabled, the cluster automatically migrates replica shards to an available node if a replica node fails or is promoted after a primary (master) node fails.

To enable or turn off replica high availability by default, use one of the following methods:

Database version

When you upgrade an existing database or create a new one, it uses the default Redis version (Database version) unless you specify the database version explicitly with redis_version in the REST API or rladmin upgrade db.

To configure the Redis database version, use one of the following methods:

S3 URL

The S3 URL is the default S3 host for importing and exporting data.

To configure the default S3 URL, use one of the following methods:

Internode encryption

Enable internode encryption to encrypt data in transit between nodes for new databases by default.

To enable or turn off internode encryption by default, use one of the following methods:

Shard placement

The default shard placement policy determines the distribution of database shards across nodes in the cluster.

To configure default shard placement, use one of the following methods:

Proxy policies

Redis Enterprise Software uses proxies to manage and optimize access to database shards. Each node in the cluster runs a single proxy process, which can be active (receives incoming traffic) or passive (waits for failovers).

Configure the following default proxy policies to determine which nodes' proxies are active and bound to new databases by default.

Non-sharded proxy policy

To configure the default proxy policy for non-sharded databases, use one of the following methods:

  • rladmin tune cluster:

    rladmin tune cluster default_non_sharded_proxy_policy { single | all-master-shards | all-nodes }
    
  • Update cluster policy REST API request:

    PUT /v1/cluster/policy 
    { "default_non_sharded_proxy_policy": "single | all-master-shards | all-nodes" }
    

Sharded proxy policy

To configure the default proxy policy for sharded databases, use one of the following methods:

  • rladmin tune cluster:

    rladmin tune cluster default_sharded_proxy_policy { single | all-master-shards | all-nodes }
    
  • Update cluster policy REST API request:

    PUT /v1/cluster/policy 
    { "default_sharded_proxy_policy": "single | all-master-shards | all-nodes" }