Difference between revisions of "Quobyte"
| Line 1: | Line 1: | ||
[[File:Quobyte.png|200px]] | [[File:Quobyte.png|200px]] | ||
| − | == Server Installation == | + | ==Server Installation== |
Before installing Quobyte server software there are some tasks that need to be performed on each server to ensure correct functionality. | Before installing Quobyte server software there are some tasks that need to be performed on each server to ensure correct functionality. | ||
| Line 22: | Line 22: | ||
====Install Quobyte Server package==== | ====Install Quobyte Server package==== | ||
<syntaxhighlight>yum -y install quobyte-server</syntaxhighlight> | <syntaxhighlight>yum -y install quobyte-server</syntaxhighlight> | ||
| + | |||
| + | ==Server Configuration== | ||
| + | |||
| + | Any drives being used by Quobyte need to be formatted and mounted before Quobyte can use them. Currently only ext4 and XFS are supported. | ||
| + | Each server in our testbed has 3 available drives. 2 SSDs (/dev/sdb and /dev/sdc) and 1 HHD (/dev/sdd). To prepare each drive do the following | ||
| + | <syntaxhighlight> | ||
| + | # Create a filesystem on each drive and mount them. | ||
| + | # Note it is recommended to use the full drive and not partitions. | ||
| + | |||
| + | mkfs.xfs /dev/sdX | ||
| + | mount /dev/sdX /some/mount/point | ||
| + | |||
| + | # The testbed was configured as per below, where /dev/sda was the OS drive | ||
| + | [root@q01 ~]# lsblk | ||
| + | NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT | ||
| + | sda 8:0 0 238.5G 0 disk | ||
| + | ├─sda1 8:1 0 1M 0 part | ||
| + | ├─sda2 8:2 0 512M 0 part /boot | ||
| + | ├─sda3 8:3 0 15.6G 0 part | ||
| + | ├─sda4 8:4 0 1K 0 part | ||
| + | └─sda5 8:5 0 222.4G 0 part / | ||
| + | sdb 8:16 0 372.6G 0 disk /mnt/quobyte/metadata0 | ||
| + | sdc 8:32 0 894.3G 0 disk /mnt/quobyte/data0 | ||
| + | sdd 8:48 0 931.5G 0 disk /mnt/quobyte/data1 | ||
| + | |||
| + | # The same procedure was performed on each storage server | ||
| + | </syntaxhighlight> | ||
| + | |||
| + | ====Define Registry Servers==== | ||
| + | Edit /etc/quobyte/host.cfg on each server to state which servers are running the registry servers. In our setup all 4 are so it was updated to read | ||
| + | |||
| + | <code>registry=q01:7861,q02:7861,q03:7861,q04:7861</code> | ||
| + | |||
| + | If name resolution isn't configured on the servers the hostnames can be replaced with IP addresses. | ||
Revision as of 11:22, 1 March 2018
Server Installation
Before installing Quobyte server software there are some tasks that need to be performed on each server to ensure correct functionality.
Configure NTP
Each server needs to have the same time, or some services will not start. Ensure that NTP is configured and running on all servers, and check all clocks are synced.
Disable Swap
Disable swap on each storage server. Running swapoff -a will disable all swap devices found in /proc/swaps and /etc/fstab. Also comment out/remove any swap lines in /etc/fstab to prevent swap being activated if a server is rebooted.
Install dependencies
yum -y install java-1.8.0-openjdk-headless wgetDownload the Quobyte yum repo file
cd /etc/yum.repos.d
wget https://packages.quobyte.com/repo/9/<YOUR_REPO_ID>/rpm/CentOS_7/quobyte.repoInstall Quobyte Server package
yum -y install quobyte-serverServer Configuration
Any drives being used by Quobyte need to be formatted and mounted before Quobyte can use them. Currently only ext4 and XFS are supported. Each server in our testbed has 3 available drives. 2 SSDs (/dev/sdb and /dev/sdc) and 1 HHD (/dev/sdd). To prepare each drive do the following
# Create a filesystem on each drive and mount them.
# Note it is recommended to use the full drive and not partitions.
mkfs.xfs /dev/sdX
mount /dev/sdX /some/mount/point
# The testbed was configured as per below, where /dev/sda was the OS drive
[root@q01 ~]# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 238.5G 0 disk
├─sda1 8:1 0 1M 0 part
├─sda2 8:2 0 512M 0 part /boot
├─sda3 8:3 0 15.6G 0 part
├─sda4 8:4 0 1K 0 part
└─sda5 8:5 0 222.4G 0 part /
sdb 8:16 0 372.6G 0 disk /mnt/quobyte/metadata0
sdc 8:32 0 894.3G 0 disk /mnt/quobyte/data0
sdd 8:48 0 931.5G 0 disk /mnt/quobyte/data1
# The same procedure was performed on each storage serverDefine Registry Servers
Edit /etc/quobyte/host.cfg on each server to state which servers are running the registry servers. In our setup all 4 are so it was updated to read
registry=q01:7861,q02:7861,q03:7861,q04:7861
If name resolution isn't configured on the servers the hostnames can be replaced with IP addresses.