Install the WEKA cluster using the WMS with WSA

The WEKA Management Station (WMS) is an install kit similar to an OS install disk that simplifies the installation and configuration of the WEKA cluster in an on-premises environment by deploying the WEKA Software Appliance (WSA) package on bare metal servers. The WMS installs the WEKA OS, drivers, and WEKA software automatically and unattended.

The WMS is also used for installing the monitoring tools: Local WEKA Home (LWH), WEKAmon, and SnapTool (for details, see Deploy monitoring tools using the WEKA Management Station (WMS).

WMS deployment prerequisites

Using the WMS with WSA to install a WEKA cluster requires a physical server (or VM) that meets the following requirements:

  • Boot drives: One or two identical boot drives as an installation target.

    • A system with two identical boot drives has the OS installed on mirrored partitions (LVM).

    • A system with one drive has a simple partition.

  • Minimum boot drive capacity:

    • If not configuring LWH: SSD 125 GiB.

  • Boot type: UEFI boot.

  • Cores and RAM:

    • If not configuring LWH: minimum 4 cores and 16 GiB.

  • Network interface: 1 Gbps.

Prerequisites for the target bare metal servers

  • Target servers must be Dell, HPE, Supermicro, or Lenovo. Other servers are not supported.

  • The RedFish interface must be installed, enabled, and licensed for all target servers. (RedFish is a network standard API for managing servers, networks, storage devices, and more.)

  • The WMS must be able to connect over Ethernet to the servers’ IPMI/iDRAC/iLO interface and the management interface.

  • The bare metal servers must conform to the Prerequisites and compatibility.

  • The bare metal servers must have an OS management network interface for administering the servers using DHCP.

Before you begin

Before deploying the WMS, adhere to the following:

  • Obtain the WMS package. For details, see Obtain the WEKA installation packages.

  • The root password is WekaService

  • The WEKA user password is weka.io123

  • If errors occur during installation and the installation halts (no error messages appear), use the system console to review the logs in /tmp. The primary log is /tmp/ks-pre.log.

  • To get a command prompt from the Installation GUI, do one of the following:

    • On macOS, type ctrl+option+f2

    • On Windows, type ctrl+alt+f2.

WMS deployment workflow

1. Install the WMS

  1. Boot the server from the WMS image. The following are some options to do that:

Copy the WEKA Management Station ISO image to an appropriate location so the server’s BMC (Baseboard Management Controller) can mount it or be served through a PXE (Preboot Execution Environment).

Once you boot the server, the WEKA Management Station installs the WEKA OS (Rocky Linux), drivers, and WEKA software automatically and unattended (no human interaction required).

Depending on network speed, this can take about 10-60 mins (or more) per server.

2. Configure the WMS

Once the WMS installation is complete and rebooted, configure the WMS.

  1. Run the OS using one of the following options:

Run the OS through the BMC’s Console. See the specific manufacturer’s BMC documentation.

  1. Browse to the WMS Admin UI using the following URL: http://<WMS-hostname-or-ip>:8501

  1. Enter username and password (default: admin/admin), and select Login. The Landing Page appears.

3. Add the WSA package to the WMS

  1. Download the latest release of the WSA package from get.weka.io dashboard.

  2. Copy the WSA package to /home/weka . For example: scp <wsa.iso> weka@<wms-server>:

4. Install a WEKA Cluster

  1. Go to the WMS Admin UI (landing page) and select Deploy a WEKA Custer.

The WSA setup page opens.

  1. Open Step 1 - Choose source ISO, select the WSA package (ISO) you intend to deploy, and click Next.

The WSA packages that appear in the list are taken from /home/weka. You can have more than one in the directory. If none are displayed, click Refresh ISO List. If none are displayed after that, copy a WSA package to /home/weka and click Refresh ISO List again. Once you select a WSA ISO, click Next.

  1. In Step 2 - Load values from, select one of the following options:

    • Option 1: Enter environment data: Click Go directly to forms to enter data.

    • Option 2: Import CSV file: If you have the environment data in a CSV file, click Upload a CSV file to pre-populate data. Step 3 - CSV File Upload section opens.

      Drag or click to upload the CSV file, and click Next.

      The WMS skips to Step 9 - Prepare ISO for installation.

CSV template example

You can prepare a CSV file with the columns as specified in the following example:

IPMI_IP,Username,Password,OS_Mgmt_IP,Hostname,OS_Netmask,OS_Gateway,MTU,DNS,Hostname_Pattern,Hostname_Startnum,Server_Count,Data1_IP,Data1_Type,Data1_Netmask,Data1_MTU,Data1_Gateway,Data2_IP,Data2_Type,Data2_Netmask,Data2_MTU,Data2_Gateway
172.29.1.63,ADMIN,ADMIN,10.10.20.11,weka01,24,10.10.20.1,1500,8.8.8.8,weka%02d,1,7,10.100.10.11,Ethernet,16,9000,,10.100.20.11,Ethernet,16,9000,
172.29.1.64,ADMIN,ADMIN,10.10.20.12,weka02,24,10.10.20.1,1500,8.8.8.8,weka%02d,1,7,10.100.10.12,Ethernet,16,9000,,10.100.20.12,Ethernet,16,9000,
172.29.1.65,ADMIN,ADMIN,10.10.20.13,weka03,24,10.10.20.1,1500,8.8.8.8,weka%02d,1,7,10.100.10.13,Ethernet,16,9000,,10.100.20.13,Ethernet,16,9000,
172.29.1.66,ADMIN,ADMIN,10.10.20.14,weka04,24,10.10.20.1,1500,8.8.8.8,weka%02d,1,7,10.100.10.14,Ethernet,16,9000,,10.100.20.14,Ethernet,16,9000,
172.29.1.67,ADMIN,ADMIN,10.10.20.15,weka05,24,10.10.20.1,1500,8.8.8.8,weka%02d,1,7,10.100.10.15,Ethernet,16,9000,,10.100.20.15,Ethernet,16,9000,
172.29.1.68,ADMIN,ADMIN,10.10.20.16,weka06,24,10.10.20.1,1500,8.8.8.8,weka%02d,1,7,10.100.10.16,Ethernet,16,9000,,10.100.20.16,Ethernet,16,9000,
172.29.1.69,ADMIN,ADMIN,10.10.20.17,weka07,24,10.10.20.1,1500,8.8.8.8,weka%02d,1,7,10.100.10.17,Ethernet,16,9000,,10.100.20.17,Ethernet,16,9000,
  1. In Step 4 - Number of servers to display, enter a Server Count (default is 8), and click Next.

  1. In Step 5 - IPMI information, do the following:

    • In the IPMI First IP, enter the IPMI IP address of the first server. It requires a consecutive set of IP addresses for the servers (typical).

    • In the IPMI user and IPMI password, modify the login credentials for the IPMI, iLO, or iDRAC according to your choice.

    • Click Fill IPMI IPs to calculate the IP addresses for the number of servers specified in Step 4.

    • You can edit the IP addresses, Usernames, and Passwords as needed if the servers aren’t consecutive or require different credentials.

    • If you edited the table, click Verify IPMI IPs to verify that the WMS can log into the BMCs and detect the manufacturer (Brand column).

    • Verify that all is correct, and then click Next.

  1. In Step 6 - Operating System network information, do the following:

    • In the OS First IP, enter the IP address of the OS 1 Gbit management interface. It requires a consecutive set of IP addresses for the servers (typical).

    • In the remaining networking fields, fill in the networking details.

    • Click Fill OS Table to populate the table. The WMS automatically generates names and IPs.

    • Verify that the OS IP settings are correct. You can repeatedly click Fill OS Table to make adjustments.

    • Verify that all is correct, and then click Next.

  1. In Step 7 - Dataplane settings, do the following:

    • Set the number of interfaces in the Dataplane Interface Count slider.

    • In the remaining dataplane fields, fill in the details.

    • Click Update Dataplanes. The WMS automatically populates the data.

    • You can repeatedly click Update Dataplanes to make adjustments.

    • Verify that all is correct, and then click Next.

  2. In Step 8 - Save configuration files and inventory, click Save Files to save the configuration files, and then click Next.

  3. In Step 9 - Prepare ISO for installation, click Prepare ISO for install. The WMS updates the kickstart on the ISO to match the WMS deployment data (it takes about 30 seconds).

When the ISO preparation is completed, the output is displayed. Verify that no errors appear. Then, click Next.

  1. In Step 10 - Start Installation, click Install OS on Servers. The WMS loads the WSA on the servers previously defined and starts the installation. The installation can take several minutes and displays output when complete. Verify that no errors appear.

    The installation process takes about 30 minutes, depending on several factors, such as network speed. Verify that the server’s BMC completed the restart.

  2. In Step 11 - Run OS and Dataplane Configuration Scripts, click Run post-install scripts. This action runs scripts to configure the servers with the specified dataplane IPs and perform additional tasks, such as populating /etc/hosts.

Alternative OS and dataplane configuration

These commands only need to be run if you did not follow step 11 above.

  1. Connect to one of the cluster servers to run the post-install scripts. The tools are in the same location: /opt/tools/install on the WSA as they are on the WMS.

ssh root@<wms ip>
  1. When prompted, enter the password WekaService

  2. Change the directory to /opt/ansible-install by running the following command:

cd /opt/ansible-install
# ./install_after_wsa_iso.sh
  1. Run the post-install script:

./install_after_wsa_iso.sh

Example:

$ ssh root@172.29.5.172
root@172.29.5.172's password:
X11 forwarding request failed on channel 0
Welcome to the Weka Management Station!

Web console: <https://WekaMgmtServer:9090/> or <https://172.29.5.172:9090/>

Last login: Sat Jun  3 10:31:28 2023 from ::ffff:10.41.193.86
[root@WekaMgmtServer ~]# cd /opt/ansible-install/
[root@WekaMgmtServer ansible-install]#
# ./install_after_wsa_iso.sh
  1. Ensure the DNS is operational, or copy the /etc/hosts entries from one of the cluster servers to the WMS.

What to do next?

Configure the WEKA cluster using the WEKA Configurator

Last updated