Detail
Can we combine multiple configurations into one asinfo command? For example:
Admin+> asinfo -v "set-config:context=xdr;namespace=namespaceName;remote-namespace=bar;ignore-set=setName1;action=add;rewind=all"
Answer
Unfortunately, this isn’t possible at the moment. Adding any combination of dynamic configurations or even simple actions like “action=add” to your asinfo command outside of what the example allows could cause it to silently fail or execute incorrectly. Although asadm will likely tell you that the command you just ran is “ok”, it would likely have only executed part of the command or no part of it at all.
For example, the remote-namespace configuration doesn’t include “action=add” at the end. If we append it, the remote-namespace would not be set.
In the original example above, we can also see that ignore-set, rewind=all, and remote-namespace=bar are included in the command. This would not configure the list of sets to ignore or set the remote-namespace; it would only do the rewind.