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.
# deploy the software on all hostspdsh-wweka0[1-8]"curl https://[GET.WEKA.IO-TOKEN]@get.weka.io/dist/v1/install/3.8.0/3.8.0 | sudo sh"
Configuration
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 theresshweka01# 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 weka08wekaclustercreateweka0{1..8}wekaclusterupdate--cluster-name=WekaProdwekacloudenable
Configure the network, drives, and CPUs per host:
# configure network, drives, and cores per host# replace network, drives, and cores configuration with your actual datafor i in {0..7}dowekaclusterhostdedicate $i on# add network NICs# e.g., weka cluster host net add $i eth1wekaclusterhostnetadd $i NETDEV# add the nvme drives; e.g., /dev/nvme0n1, etc.wekaclusterdriveadd $i /dev/nvme0n1/dev/nvme1n1/dev/nvme2n1/dev/nvme3n1/dev/nvme4n1/dev/nvme5n1# set host coreswekaclusterhostcores $i 19--frontend-dedicated-cores1--drives-dedicated-cores6done
Check the configuration:
# show hosts info (net, cores, etc.)for i in {0..7}dowekaclusterhostresources $idone# show drives infowekaclusterdrive# show configuration statuswekastatus
If satisfied, apply the configuration:
# initialize the hostswekaclusterhostapply--all--force
Set a valid license and start the cluster:
# set a license (classic or payg), as obtained from get.weka.io
weka cluster license set LICENSE_TEXT_OBTAINED_FROM_GET_WEKA_IO
# start the cluster
weka cluster start-io
Check the status:
# show cluster info and statuswekastatus
You would see a similar output to the following example:
Lastly, 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.