​OFED is installed​
​NTP is set up​
For a complete prerequisite list, refer to Prerequisites for Installation section.
We'll consider an example of architecture with 8 identical hosts (named weka01
to weka08
). Each host has more than 20 cores, 6 NVME drives, and a single Mellanox NIC.
Using Mellanox NICs simplifies the installation commands (e.g., only single IP for data is required, no need to expose VFs, identification of the interface netmask, and default routing gateway).
If the architecture is different, the installation commands should be slightly changed accordingly.
For a full command set, refer to Weka System Installation Process Using the CLI section.
Install Weka software on each host:
# deploy the software on all hostspdsh -w weka0[1-8] "curl https://[GET.WEKA.IO-TOKEN]@get.weka.io/dist/v1/install/3.8.0/3.8.0 | sudo sh"​
From one of the servers, form the cluster, set the cluster name, stripe width, and protection scheme, and enable cloud monitoring (DNS is assumed to be set up, otherwise explicit IPs should be used in the cluster create command):
# connect to one of the servers and run the rest of the configuration from theressh weka01​# form the cluster and set basic stuff# using bash, you can provide a compact list of hosts; otherwise, a full list of all hosts should be supplied# weka cluster create weka01 weka02 weka03 weka04 weka05 weka06 weka07 weka08weka cluster create weka0{1..8}weka cluster update --cluster-name=WekaProdweka cloud enable​
Configure the network, drives, and CPUs per host:
# configure network, drives, and cores per host# replace network, drives, and cores configuration with your actual data​for i in {0..7}doweka cluster host dedicate $i on# add network NICs# e.g., weka cluster host net add $i eth1weka cluster host net add $i NETDEV# add the nvme drives; e.g., /dev/nvme0n1, etc.weka cluster drive add $i /dev/nvme0n1 /dev/nvme1n1 /dev/nvme2n1 /dev/nvme3n1 /dev/nvme4n1 /dev/nvme5n1# set host coresweka cluster host cores $i 19 --frontend-dedicated-cores 1 --drives-dedicated-cores 6done​
Check the configuration:
# show hosts info (net, cores, etc.)for i in {0..7}doweka cluster host resources $idone​# show drives infoweka cluster drive​# show configuration statusweka status​
If satisfied, start the cluster:
# initialize the hostsweka cluster host apply --all --force​# start the clusterweka cluster start-io​
Check the status:
# show cluster info and statusweka status​
You would see a similar output to the following example:
WekaIO v3.10.0 (CLI build 3.10.0)​cluster: WekaProd (00569cef-5679-4e1d-afe5-7e82748887de)status: OK (8 backends UP, 48 drives UP)protection: 6+2hot spare: 1 failure domainsdrive storage: 82.94 TiB total, 82.94 TiB unprovisionedcloud: connectedlicense: Unlicensed​io status: STARTED 7 seconds ago (96 io-nodes UP, 750 buckets UP)link layer: Ethernetclients: 0 connectedreads: 0 B/s (0 IO/s)writes: 0 B/s (0 IO/s)operations: 0 ops/salerts: 2 active alerts, use `weka alerts` to list them​
Lastly, install a license, change the default admin password, and make sure there are no other alerts in the system.
The Weka system is now installed. Now let's learn how to view, manage, and operate it using either the CLI or the GUI and perform the first IO to a WekaFS filesystem.