[athirupa@athirupa-ld1 voldemort]$ bin/vadmin.sh meta set --help
NAME
meta set - Set metadata on nodes
SYNOPSIS
meta set <meta-key>=<meta-value>[,<meta-key2>=<meta-value2>] -u <url>
[-n <node-id-list> | --all-nodes] [--confirm]
COMMENTS
To set one metadata, please specify one of the following:
cluster.xml (meta-value is cluster.xml file path)
stores.xml (meta-value is stores.xml file path)
slop.streaming.enabled
partition.streaming.enabled
readonly.fetch.enabled
quota.enforcement.enabled
rebalancing.source.cluster.xml
rebalancing.steal.info.key
offline
To set a pair of metadata values, valid meta keys are:
cluster.xml (meta-value is cluster.xml file path)
stores.xml (meta-value is stores.xml file path)
Option Description
------ -----------
--all-nodes select all nodes
--confirm confirm dangerous operation
-h, --help show help menu
--meta-set [meta-key>=<meta-file] metadata key-file pairs
-n, --node <Integer: node-id-list> node id list
-u, --url <url> bootstrap url
bin/vadmin.sh meta set cluster.xml=<file> will update the cluster.xml
But this just sets the metadata, if you want to add new nodes or remove nodes, you need to complete the operation via other means before updating the metadata.
Thanks,
Arun.