Connecting the Client to Lightbits

To connect the client to Lightbits, make sure to do the following:

  • Ping to data_ip from the client to the target.
  • To use NVMe/TCP, load the NVMe host modules.
Bash
Copy

The output is similar to the following example:

Bash
Copy

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

Bash
Copy

Sample Output

Bash
Copy

Enter the lbcli list nodes command to identify the NIC IP address and TCP port. With the IP, port, subsystem NQN, and ACL values for the volume, you can execute the nvme connect command to connect to all of the nodes in the cluster.

Bash
Copy

Sample Output

Bash
Copy
Connect To Each Controller One By One
Connect To All Controllers

Use NVMe Connect

This command connects to a single controller in the Lightbits cluster. You will have to connect to every controller in the cluster.

Bash
Copy

Sample NVMe Connect Commands

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

For persisting the NVMe connections across client reboots, use the Lightbits open source discovery-client tool.

Check Connection

To check which clients are connected to the Lightbits cluster, run:

Bash
Copy

Sample Output

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