no (database-policy-config-mode)

Removes or reverts the database policy settings to default values

Supported in the following platforms:

Syntax

no [authentication|replica-set|shutdown]
no authentication {username <USER-NAME>}
no replica-set member [<IP>|<FQDN>]
no shutdown

Parameters

no <PARAMETERS>
no <PARAMETERS> Removes a member from the database replica set, or brings up a database server that is down. Also disables database authentication and removes user

Examples

The following example shows a three-member replica set:

nx9500-6C8809(config-database-policy-test)#show context
database-policy test
 replica-set member 192.168.13.12 priority 2
 replica-set member 192.168.13.14 arbiter
 replica-set member 192.168.13.16 priority 1
nx9500-6C8809(config-database-policy-test)#

In the following example the arbiter is being removed, leaving the replica set with only two members:

nx9500-6C8809(config-database-policy-test)#no replica-set member 192.168.13.14
nx9500-6C8809(config-database-policy-test)#show context
database-policy test
 replica-set member 192.168.13.12 priority 2
 replica-set member 192.168.13.16 priority 1
nx9500-6C8809(config-database-policy-test)#

Since a replica set must have at least three members, another member must be added to this replica set. This member may or may not be an arbiter.

nx9500-6C8809(config-database-policy-test)#replica-set member 192.168.13.8 priority 3
nx9500-6C8809(config-database-policy-test)#show context
database-policy test
 replica-set member 192.168.13.12 priority 2
 replica-set member 192.168.13.16 priority 1
 replica-set member 192.168.13.8 priority 3
nx9500-6C8809(config-database-policy-test)#