Provisioning Lightbits Block Volumes to Your AWS Applications

Connecting the Client to Lightbits

To connect the client to Lightbits, do the following:

  1. Ping to data_ip from the client to the target to confirm connectivity.
  2. To use NVMe/TCP, load the NVMe host modules:
Bash
Copy

The output should look like the snippet below:

Bash
Copy

Gather the cluster NQN and IPs for reaching the NVMe/TCP connection between Lightbits and the client node.

On the target node, enter the lbcli get cluster command on the Lightbits storage server to identify the subsystem NQN.

Bash
Copy

This returns a list of nodes in the cluster, and information on each node. NVMe endpoint will be used as the target IP address and port when connecting from the client.

Bash
Copy
Bash
Copy

This returns the Subsystem NQN for the cluster, which is used in the nvme-connect command to establish a connection.

With the NVMe endpoint IP, subsystem NQN, and ACL values of the volume, you can execute the nvme-connect command to connect to all of the nodes in the cluster from your client.

Sample NVMe Connect Commands

Bash
Copy

To check which clients are connected to the Lightbits cluster, run this on one of the Lightbits nodes:

Bash
Copy

The output should look like the snippet below:

Bash
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard