Create an Admin Process on a Storage Node
The admin CLI is currently connected to the Storage Node node01. You can use the commanddeploy-admin to deploy an Admin process on that Storage Node (node01). The Admin process manages the data store's administrative operations.
The deploy-admin command creates an Admin process in the same zone that the Storage Node is in.
You can create an Admin process in a primary zone or secondary zone. Admin processes in primary zones actively process the administrative commands , whereas Admin processes in secondary zones are mainly to support failover.
The command below creates an Admin process on the Storage Node (node 01). This command requires the Storage Node ID (which you can obtain using the show topology command) and an optional plan name.
deploy-admin command is as follows:plan deploy-admin -sn <id> [-plan-name <name>] [-wait] [-noexecute] [-force]kv-> show topologystore=mystore numPartitions=0 sequence=2
zn: id=zn1 name=Boston repFactor=1 type=PRIMARY allowArbiters=false masterAffinity=false sn=[sn1] zn:[id=zn1 name=Boston] <hostname>:5000 capacity=1 RUNNING numShards=0sn1.kv-> plan deploy-admin -sn sn1 -wait
Executed plan 3, waiting for completion...
Plan 3 ended successfullyIf you have deployed more than one Storage Node, you can add additional Admin processes. For more details, see Create Additional Admin Processes.