Mobile Policy Infrastructure Commands

db balance

Configures the Balance database.

Privilege Level

Security Administrator, Administrator

Command Mode

Exec > Global Configuration

Syntax

db balance shard-count balance_db_shard_count 

shard-count balance_db_shard_count

Specify the Balance database's shard count.

Must be an integer.

Default Value: 1.

Usage Guidelines

Use this command to configure the Balance database.

Example

The following command configures the Balance database's shard count to 1:
db balance shard-count 1 

db global-settings

Configures global DB settings.

Privilege Level

Security Administrator, Administrator

Command Mode

Exec > Global Configuration

Syntax

global-settings db-replica replica_count 

db-replica replica_count

Specify the global DB replica count.

Must be an integer.

Default Value: 3.

Usage Guidelines

Use this command to configure the global DB settings.

db global-settings timers

Configures global MongoDB timers.

Privilege Level

Security Administrator, Administrator

Command Mode

Exec > Global Configuration

Syntax

db global-settings timers { catchup-timeout-millis catchup_timeout | election-timeout-millis election_timeout | heartbeat-interval-millis heartbeat_interval } 

heartbeat-interval-millis heartbeat_interval

Specify the global heartbeat interval period, in milliseconds.

Must be an integer.

Default Value: 300.

catchup-timeout-millis catchup_timeout

Specify the global catchup timeout period, in milliseconds.

Must be an integer.

Default Value: 2000.

election-timeout-millis election_timeout

Specify the global election timeout period, in milliseconds.

Must be an integer.

Default Value: 2000.

Usage Guidelines

Use this command to configure the global MongoDB timers.

db spr

Configures the SPR database.

Privilege Level

Security Administrator, Administrator

Command Mode

Exec > Global Configuration

Syntax

db spr shard-count shard_count 

shard-count shard_count

Specify the SPR database's shard count.

Must be an integer.

Default Value: 1.

Usage Guidelines

Use this command to configure the SPR database.

Example

The following command configures the SPR database's shard count to 20:
db spr shard-count 20