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:
asadm -e 'show config'To view the configuration value for a specific context:
asadm -e 'show config CONTEXT_NAME'To view namespace-specific configuration:
asadm -e 'show config namespace for NAMESPACE_NAME'To view the configuration values from a running system:
asinfo -v 'get-config:' -lTo view the configuration value for a specific context:
asinfo -v 'get-config:context=CONTEXT_NAME' -lTo view namespace-specific configuration:
asinfo -v 'get-config:context=namespace;id=NAMESPACE_NAME' -lDynamic configuration
asadm or asinfo
To change the dynamic configuration values on a running system use asadm or asinfo:
asadm -e 'enable; manage config CONTEXT_NAME OPTIONAL_ID param PARAMETER_NAME to PARAMETER_VALUE'asadm -e 'enable; manage config CONTEXT_NAME SUBCONTEXT_NAME param PARAMETER_NAME to PARAMETER_VALUE'asinfo -v 'set-config:context=CONTEXT_NAME;id=OPTIONAL_ID;PARAMETER_NAME=PARAMETER_VALUE' -lasinfo -v 'set-config:context=CONTEXT_NAME;SUBCONTEXT_NAME.PARAMETER_NAME=PARAMETER_VALUE' -lwhere:
set-config: Command used to change any dynamically configurable parameter.context: The component being updated. Allowed values:loggingnamespacesecurityservicenetworkxdr
SUBCONTEXT_NAME: The sub-component being updated. Allowed values:heartbeatfabricfileset- For XDR:
datacenterandnamespace. - The
SUBCONTEXT_NAMEfield is not required for subcontextstorage-engine.
id: This is required only if updating namespace-specific configuration values. Note: thisidis not used with XDRnamespacesyntax. See XDR syntax below.PARAMETER_NAME: This is the configuration name that is being updated.
To set a parameter in the set subcontext
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:
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'To set a parameter in the set subcontext
asinfo -v 'set-config:context=namespace;id=NAMESPACE_NAME;set=someSetName;PARAMETER_NAME=PARAMETER_VALUE' -lOther examples for service, namespace, and network contexts:
asinfo -v 'set-config:context=service;proto-fd-max=100000' -l
asinfo -v 'set-config:context=namespace;id=test;defrag-sleep=500' -l
asinfo -v 'set-config:context=network;heartbeat.protocol=v3' -lXDR syntax
View highest-level XDR-specific configuration values
asadm -e 'show config xdr'asinfo -v 'get-config:context=xdr' -lCreate a new datacenter
asadm -e 'enable; manage config xdr create dc DC_NAME'asinfo -v 'set-config:context=xdr;dc=DC_NAME;action=create' -lDelete a datacenter
asadm -e 'enable; manage config xdr delete dc DC_NAME'asinfo -v 'set-config:context=xdr;dc=DC_NAME;action=delete' -lAdd a new XDR namespace
asadm -e 'enable; manage config xdr dc DC_NAME add namespace NAMESPACE_NAME'asinfo -v 'set-config:context=xdr;dc=DC_NAME;namespace=NAMESPACE_NAME;action=add' -lRemove an XDR namespace
asadm -e 'enable; manage config xdr dc DC_NAME remove namespace NAMESPACE_NAME'asinfo -v 'set-config:context=xdr;dc=DC_NAME;namespace=NAMESPACE_NAME;action=remove' -lSet a specific parameter for an XDR namespace
asadm -e 'enable; manage config xdr dc DC_NAME namespace NAMESPACE_NAME param PARAMETER_NAME to PARAMETER_VALUE'asinfo -v 'set-config:context=xdr;dc=DC_NAME;namespace=NAMESPACE_NAME;PARAMETER_NAME=PARAMETER_VALUE' -lView the configuration values for a specific XDR datacenter
asadm -e 'show config xdr for DC_NAME'asinfo -v 'get-config:context=xdr;dc=DC_NAME' -lView the configuration values for a specific XDR namespace
asadm -e 'show config xdr for DC_NAME for NAMESPACE_NAME'asinfo -v 'get-config:context=xdr;dc=DC_NAME;namespace=NAMESPACE_NAME' -l