Configures global MongoDB timers.
Command Mode
Exec > Global Configuration
Syntax
global-settings timers { catchup-timeout-millis catchup_timeout | election-timeout-millis election_timeout | heartbeat-interval-millis heartbeat_interval }
catchup-timeout-millis
catchup_timeout
Exec > Global Configuration
Specify the global catchup timeout period, in milliseconds.
Must be an integer.
Default Value: 2000.
Exec > Global Configuration
connect-timeout-millis
MongoClient driver wait time for a connection to open before timing out.
Must be an integer.
Default Value: 2000.
election-timeout-millis
election_timeout
Command Mode
Exec > Global Configuration
Specify the global election timeout period, in milliseconds.
Must be an integer.
Default Value: 2000.
heartbeat-interval-millis
heartbeat_interval
Command Mode
Exec > Global Configuration
Specify the global heartbeat interval period, in milliseconds.
Must be an integer.
Default Value: 300.
Usage Guidelines
Use this command to configure the global MongoDB timers.
server-selection-timeout-millis
Command Mode
Exec > Global Configuration
MongoClient driver wait time for server selection to succeed, before throwing an exception.
Must be an integer.
Default Value: 2000.
Command Mode
Exec > Global Configuration
MongoClient driver wait time to send or receive a request before timing out.
Must be an integer.
Default Value: 2000.
db global-settings volume-storage-class
Command Mode
Exec > Global Configuration
volume-storage-class:
Volume storage class if use-volume-claims is enabled.
Values can be default or local.
Default value is default.
db scdb replica-name
Command Mode
Exec > Global Configuration
Sample configuration
db scdb replica-name sdb-subscriber1
port 65001
interface vlan 2400
storage 5
resource cpu limit 6000
resource memory limit 112000
replica-set-label key smi.cisco.com/node-type
replica-set-label value oam
member-configuration member sdb-rs1-arbiter
host 10.192.1.24
arbiter true
site local
exit
member-configuration member sdb-rs1-s1-m1
host 10.192.1.22
arbiter false
priority 102
site local
exit
member-configuration member sdb-rs1-s1-m2 host 10.192.1.23 arbiter false priority 101 site local
exit
exit
replica-name
Specify the name of the replica-set.
Must be a string.
Port
Specify the port for replica set. Must be an integer. Default Value: 27720.
db-path
Specify the data path for the replica set.
Must be a String. Default Value: /data/db.
Interface
Specify the Interface for Mongo.
Must be a String.
resource cpu limit
Specify the CPU resource limit in millicores.
Must be an integer.
Input range value: 100 to 1000000.
resource cpu request
Specify the CPU resource request in millicores.
Must be an integer.
Input range value: 100 to 1000000.
resource memory limit
Specify the CPU resource limit in megabytes.
Must be an integer.
Input range value: 100 to 200000.
db scdb replica-name <replica-name> storage <integer-value>This value specifies the storage size allocated to the replica set.
resource memory request
Specify the CPU resource request in megabytes.
Must be an integer.
Input range value: 100 to 200000.
replica-set-label key KEY_NAME value value
Specify the replica set pod node affinity label key value.
member-configuration member member_name
host
Mongo host (Enter IP Address).
Must be a String.
arbiterIf role of member is arbiter, value shall be set to true.
Default Value: false.
prioritySpecify the member priority for this replica-set.
Must be an integer.
siteMember in local or remote cluster.
Default value: local
db scdb replica-name <replica-name> storage <integer-value>
db scdb execute backup-data
Syntax Description
db scdb execute backup-data
Initiate backup.
db scdb execute restore-data
Syntax Description
db scdb execute restore-data
Restore data from backup.
db scdb execute password encrypt-password
Syntax Description
password encrypt-password plain-text <PlainTextPassword>
Encrypts a plain text password.
db scdb execute password decrypt-password
Syntax Description
password decrypt-password encrypted-text <EncryptedPassword>
Decrypts an encrypted password.
Syntax Description
show running-config
Display the current configuration.
Syntax Description
show system status
Display status of the system.
show db scdb replica-set-status
Syntax Description
show db scdb replica-set-status
Show replica set status.
Syntax Description
show helm charts
Display helm release details.
Show replica set status.
Syntax Description
nacm rule-list <rule-name> group <group-name> cmdrule <cmdrule-name> command <command to restrict> access-operations exec action deny
Specifies access restrictions for a user group.
Syntax Description
nacm rule-list <rule-name> group <group-name> cmdrule <cmdrule-name> command <command to restrict> access-operations exec action deny
Specifies access restrictions for a user group.