Once you have started the command line interface and configured a store name, you can create at least one Zone. It is possible, and even desirable, to create more than one Zone. Multiple Zones are used to improve the availability of your store. These instructions describe the installation using a single Zone. For a complete walk-through of a store deployment with multiple Zones, see Configuring with Multiple Zones.
Once you have added Storage Nodes to a Zone, you cannot remove the Zone from your store.
When you execute the plan deploy-zone
command,
the CLI returns the plan number and whatever additional information it
has about plan status. This command takes the following
arguments:
zone name
A string to identify the name of the Zone.
replication factor
A number specifying the Zone Replication Factor.
For more information on Primary and Secondary Replication Factors, see Configuring with Multiple Zones.
When you execute the plan deploy-zone
command, the CLI returns the plan number. It also returns
instructions on how to check the plan's status, or to wait for
it to complete. For example:
kv-> plan deploy-zone -name "Boston" -rf 3 -wait Executed plan 1, waiting for completion... Plan 1 ended successfully kv->
You can show the plans and their status by using the
show plans
command.
kv-> show plans 1 Deploy Zone (1) SUCCEEDED