Reading Time: 4 minutes
Quobyte Linux Client - Manual Installation
-
First, ssh into the machine you want to install the Quobyte Linux client on.
-
Then access the root directory by running the following command:
sudo bash
-
Next, cd into the "yum.repos.d" directory:
cd /etc/yum.repos.d/
-
Now, download the Quobyte repo for Centos 7 with wget:
wget https://packages.quobyte.com/repo/v3/rpm/CentOS_7/quobyte.repo
-
If you do not have wget in your machine, you can run the following command to install it:
yum -y install wget
-
Now, we are going to install the Quobyte client:
- And answer the next two questions with “y."
yum install quobyte-client
-
Once the installation is completed, we need to create the "quobyte" directory:
mkdir /quobyte
-
Next, we need to edit the "client-service.cfg" file, and we can do so with vi:
vi /etc/quobyte/client-service.cfg
-
Now, 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
- Next, go to your Quobyte web console, and click on the information icon.
-
Now, start the Quobyte client:
systemctl start quobyte-client
-
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.
-
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.
-
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
-
After you install Quobyte, the installer gives you the information on how to add servers and clients:
-
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
-
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
-
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 9 from the previous section if you need help retrieving this value.
-
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.