Installing the Quobyte Linux Client

In this quick tutorial, we are going to show you how to manually install the Quobyte Linux Client in your machines. We will also show you how to install it using the Quobyte script.

Quobyte Linux Client - Manual Installation

1

First, ssh into the machine you want to install the Quobyte Linux client on.

2

Then access the root directory by running the following command:
sudo bash

3

Next, cd into the "yum.repos.d" directory:

cd /etc/yum.repos.d/
4

Now, download the Quobyte repo for Centos 7 with wget:

wget https://packages.quobyte.com/repo/v3/rpm/CentOS_7/quobyte.repo
  • Note: if you do not have wget in your machine, you can run the following command to install it:
  • yum -y install wget
5

Now, we are going to install the Quobyte client:
yum install quobyte-client

  • Answer the next two questions with “y.”

6

Once the installation is completed, we need to create the "quobyte" directory:

mkdir /quobyte
7

Next, we need to edit the "client-service.cfg" file, and we can do so with vi:
vi /etc/quobyte/client-service.cfg

  • First, you need to update the registry location. Start by uncommenting the registry, and then delete the location it points to. In this case “localhost:7861”

  • Next, go to your Quobyte web console, and click on the information icon.

  • Then, select “CLI and Endpoints…” and copy the value for the registries.

  • Paste the information in the registry location

  • Next, we declare the mount point. To do so, Uncomment the “mount_point=/quobyte" and save the changes

8

Now, start the Quobyte client:

systemctl start quobyte-client
9

You can check the status of the client with the following command:
systemctl status quobyte-client

  • You should see a message that says that your client is active and that it is running.

10

Now, you can cd into "/quobyte/" and check the content in there:

  • You should be able to see the volumes that you have previously created with your other clients.

11

Lastly, you need to enable the quobyte-client by running the following command:

systemctl enable quobyte-client

Your client is now ready to be used. In the next section, we will show you how to install the Quobyte Linux Client with the Quobyte install script

Quobyte Linux Client - Script Installation

1

After you install Quobyte, the installer gives you the information on how to add servers and clients:


2

However, before you can use the "install add" script provided by Quobyte, you need to change the permissions on the install. We can do it as follow:

chmod +x install
3

Now, you can paste the line of code provided by the installer. You just need to add “./” at the beginning, and remember to change the "@remote-host" to the IP address of your instance:

./install add-client –qns-id 87rhrsu8wju user@remote-host
  • Note: If you are using the line of code provided in this tutorial, you will need to replace the qns-id value with the one from your cluster. You can get this from the “CLI and Endpoints” page. Review step 7 (subpoint 2 and 3) from the previous section if you need help retrieving this value.
4

After running the line of code from above, the linux client will be installed in your machine, and you will be able to cd into "/quobyte/" and then access any existing volume in your cluster.