Skip to content

Dynamic Runtime Config

For the complete documentation index see: llms.txt

All documentation pages available in markdown.

See asadm or asinfo documentation for more information.

Viewing configuration settings

To view the configuration values from a running system:

Terminal window
asadm -e 'show config'

To view the configuration value for a specific context:

Terminal window
asadm -e 'show config CONTEXT_NAME'

To view namespace-specific configuration:

Terminal window
asadm -e 'show config namespace for NAMESPACE_NAME'

Dynamic configuration

asadm or asinfo

To change the dynamic configuration values on a running system use asadm or asinfo:

Terminal window
asadm -e 'enable; manage config CONTEXT_NAME OPTIONAL_ID param PARAMETER_NAME to PARAMETER_VALUE'
Terminal window
asadm -e 'enable; manage config CONTEXT_NAME SUBCONTEXT_NAME param PARAMETER_NAME to PARAMETER_VALUE'

where:

  • set-config: Command used to change any dynamically configurable parameter.
  • context: The component being updated. Allowed values:
    • logging
    • namespace
    • security
    • service
    • network
    • xdr
  • SUBCONTEXT_NAME: The sub-component being updated. Allowed values:
    • heartbeat
    • fabric
    • file
    • set
    • For XDR: datacenter and namespace.
    • The SUBCONTEXT_NAME field is not required for subcontext storage-engine.
  • id: This is required only if updating namespace-specific configuration values. Note: this id is not used with XDR namespace syntax. See XDR syntax below.
  • PARAMETER_NAME: This is the configuration name that is being updated.

To set a parameter in the set subcontext

Terminal window
asadm -e 'enable; manage config namespace NAMESPACE_NAME set SET_NAME param PARAMETER_NAME to PARAMETER_VALUE'

Other examples for service, namespace, and network contexts:

Terminal window
asadm -e 'enable; manage config service param proto-fd-max to 100000'
asadm -e 'enable; manage config namespace test param defrag-sleep to 500'
asadm -e 'enable; manage config network heartbeat param protocol to v3'

XDR syntax

View highest-level XDR-specific configuration values

Terminal window
asadm -e 'show config xdr'

Create a new datacenter

Terminal window
asadm -e 'enable; manage config xdr create dc DC_NAME'

Delete a datacenter

Terminal window
asadm -e 'enable; manage config xdr delete dc DC_NAME'

Add a new XDR namespace

Terminal window
asadm -e 'enable; manage config xdr dc DC_NAME add namespace NAMESPACE_NAME'

Remove an XDR namespace

Terminal window
asadm -e 'enable; manage config xdr dc DC_NAME remove namespace NAMESPACE_NAME'

Set a specific parameter for an XDR namespace

Terminal window
asadm -e 'enable; manage config xdr dc DC_NAME namespace NAMESPACE_NAME param PARAMETER_NAME to PARAMETER_VALUE'

View the configuration values for a specific XDR datacenter

Terminal window
asadm -e 'show config xdr for DC_NAME'

View the configuration values for a specific XDR namespace

Terminal window
asadm -e 'show config xdr for DC_NAME for NAMESPACE_NAME'