Version

Kadalu Storage Pools

Identify a node where Storage manager will be deployed. This node can be one of the storage nodes, or it can be a spare node that is highly available.

Enable and start the kadalu-mgr

[root@server1 ~]# systemctl enable kadalu-mgr
[root@server1 ~]# systemctl start kadalu-mgr
[root@server1 ~]# kadalu pool create DEV
Pool created successfully.
ID: 4e67989e-0c24-44ac-b0a7-81aa5cb4ec6b

Run pool list command to see the list of Pools

[root@server1 ~]# kadalu pool list
                                  ID  Name
4e67989e-0c24-44ac-b0a7-81aa5cb4ec6b  DEV

The pool data and the configurations are stored in /var/lib/kadalu. Since the storage manager is running in a single node, by default it is not highly available. Use kadalu-lite Volume for high availability, or backup the Pool data in regular intervals. Refer "High availability" chapter (Coming soon) for more details.

Since Kadalu Storage manager supports multiple Pools, the manager node is not part of any Pool by default. Optionally invite the Storage manager node to join the Pool, which is similar to inviting other Storage nodes.

[root@server1 ~]# kadalu node add DEV/server1.example.com
Node server1.example.com added to DEV successfully
ID: 3befd57b-1d31-4664-94e9-f87bf7ce90f9

Default node endpoint is http://<nodename>:3000. If it is different then provide the endpoint using --endpoint=ENDPOINT option.

[root@server1 ~]# kadalu node add DEV/server1.example.com --endpoint=http://server1.example.com:3001
Node server1.example.com added to DEV successfully
ID: 3befd57b-1d31-4664-94e9-f87bf7ce90f9

Before inviting other nodes to join the Pool, start the kadalu-mgr service.

[root@server2 ~]# systemctl enable kadalu-mgr
[root@server2 ~]# systemctl start kadalu-mgr
[root@server1 ~]# kadalu node add DEV/server2.example.com
Node server2.example.com added to DEV successfully
ID: 34aabcae-1052-4a78-91a5-d71c89458e8d

Run node list to view the list of the nodes and their status.

[root@server1 ~]# kadalu node list DEV
                                                ID                 Name  Endpoint
322b9883-9d00-4b30-b084-953306f0d431  server1.example.com  http://server1.example.com:3000
34aabcae-1052-4a78-91a5-d71c89458e8d  server2.example.com  http://server2.example.com:3000

Include the Status information

[root@server1 ~]# kadalu node list DEV --status
                                                ID   State                    Name  Endpoint
322b9883-9d00-4b30-b084-953306f0d431      Up     server1.example.com  http://server1.example.com:3000
34aabcae-1052-4a78-91a5-d71c89458e8d      Up     server2.example.com  http://server2.example.com:3000

ON THIS PAGE