cluster feature enable

Allows features to be enabled. Used after upgrading.

NOTE Run the cluster feature list command to retrieve the list of features that can be enabled.

Syntax

CLI
maprcli cluster feature enable
  [ -name <feature name>]
  [ -force <true|false>]
  [ -all ]      
REST
Request Type POST
Request URL
http[s]://<host>:<port>/rest/cluster/feature/enable?<parameters>

Parameters

Parameter Description

name

(Conditionally required) Enable only the specified feature. Mandatorily pass either this parameter or the all parameter to enable either the specified feature or all features.

force

(Optional) Set it to true to enable all dependent features for every enabled feature.

all

(Conditionally required) Enable all features. Mandatorily pass either this parameter or the name parameter to enable all features or the specified feature.

NOTE Once you enable a feature, you cannot disable it.

Examples

To enable all features, use the cluster feature enable -all command.

maprcli cluster feature enable -all

REST

curl -X POST -u <username> https://abc.sj.us:8443/rest/cluster/feature/enable?all

To enable a specific feature, use the cluster feature enable -name command.

For example:

To enable auditing on a fabric, run the following command.

REST

curl -X POST -u <username> https://abc.sj.us:8443/rest/cluster/feature/enable?name=mfs.feature.audit.support

-->