Disable and enable module in production
About this task
Guides you in enabling or disabling modules in your Domino REST API configuration.
Before you begin
- You must have access to the Management console.
Note
- Make sure the Management console is secure. For more information, see Functional Accounts.
- Credentials for the Management console aren't managed by the configured IdP, but are derived from the configuration of functional accounts.
- Check the Configuration parameters to learn more about the configurable parameters to modify the settings.
Procedure
- Log in to the Management console (Port 8889).
- Click Config. The actual configuration settings open.
- Identify and copy the configuration parameter or JSON object of the module in the configuration that you need to enable or disable.
-
Create a JSON file using a text editor and paste the copied configuration parameter or JSON object to the JSON file.
Example:
The following is a JSON object in the configuration related to the Design verticles that's currently not enabled.
{ "verticles": { "Design": { "active": false } } }
-
Change the value of the
active
parameter totrue
orfalse
based on whether you want to enable or disable the module in the configuration.Example:
The following is a JSON object in the configuration related to the Design verticles that has been modified to be enabled by setting the value of the
active
parameter totrue
.{ "verticles": { "Design": { "active": true } } }
-
Save the JSON file in the
keepconfig.d
directory.Naming your JSON file
The config loader processes json files in alphabetical order, so when you have conflicting entries, the last one wins. Use a name that reveals its purpose such as
inactive-design.json
. -
Restart Domino REST API on all servers.