Create a Storage Node Pool

Once you have created your Administration process, you must create a Storage Node Pool. This pool is used to contain all the SNs in your store. A Storage Node pool is used for resource distribution when creating or modifying a store. You use the pool create command to create this pool. Then you join Storage Nodes to the pool using the pool join command.

Remember that we already have a Storage Node created. We did that when we created the Administration process. Therefore, after we add the pool, we can immediately join that first SN to the pool.

The pool create command only requires you to provide the name of the pool.

The pool join command requires the name of the pool to which you want to join the Storage Node, and the Storage Node's ID. You can obtain the Storage Node's ID using the show topology command.

For example:

kv-> pool create -name BostonPool
kv-> show topology
dc=[dc1] name=Boston
 sn=[sn1]  dc=dc1 node1:5000 status=UNREPORTED
kv-> pool join -name BostonPool -sn sn1
Added Storage Node sn1 to pool BostonPool
kv->