Recover from split-brain in MySQL and the instance is not part of the majority group

main menu
cluster status split-brain

After a network connectivity problems with one of the member in a group of 3 MySQL InnoDB Cluster servers, the later member instance went out of the replication group with status “MISSING“. It appeared due to connectivity issues two servers were promoted to Primary status and received updates.
The status of the cluster is as follow – OK_NO_TOLERANCE_PARTIAL. The cluster is operational, but with a missing member and it does not have sufficient tolerance for failures (at least two should be in the group to recover without cutting the performance):

[root@db-cluster-1 ~]# mysqlsh
MySQL Shell 8.0.34

Copyright (c) 2016, 2023, Oracle and/or its affiliates.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
Other names may be trademarks of their respective owners.

Type '\help' or '\?' for help; '\quit' to exit.
Creating a Classic session to 'root@localhost'
Fetching schema names for auto-completion... Press ^C to stop.
Your MySQL connection id is 26513453
Server version: 8.0.34 MySQL Community Server - GPL
No default schema selected; type \use <schema> to set one.
 MySQL  localhost  JS > \connect clusteradmin@db-cluster-1
Creating a session to 'clusteradmin@db-cluster-1'
Fetching schema names for auto-completion... Press ^C to stop.
Closing old connection...
Your MySQL connection id is 26513465 (X protocol)
Server version: 8.0.34 MySQL Community Server - GPL
No default schema selected; type \use <schema> to set one.
 MySQL  db-cluster-1:33060+ ssl  JS > var cluster = dba.getCluster()
 MySQL  db-cluster-1:33060+ ssl  JS > cluster.status()
{
    "clusterName": "mycluster1", 
    "defaultReplicaSet": {
        "name": "default", 
        "primary": "db-cluster-1:3306", 
        "ssl": "REQUIRED", 
        "status": "OK_NO_TOLERANCE_PARTIAL", 
        "statusText": "Cluster is NOT tolerant to any failures. 1 member is not active.", 
        "topology": {
            "db-cluster-1:3306": {
                "address": "db-cluster-1:3306", 
                "memberRole": "PRIMARY", 
                "mode": "R/W", 
                "readReplicas": {}, 
                "replicationLag": "applier_queue_applied", 
                "role": "HA", 
                "status": "ONLINE", 
                "version": "8.0.34"
            }, 
            "db-cluster-2:3306": {
                "address": "db-cluster-2:3306", 
                "instanceErrors": [
                    "ERROR: split-brain! Instance is not part of the majority group, but has state ONLINE"
                ], 
                "memberRole": "SECONDARY", 
                "memberState": "ONLINE", 
                "mode": "n/a", 
                "readReplicas": {}, 
                "role": "HA", 
                "status": "(MISSING)", 
                "version": "8.0.34"
            }, 
            "db-cluster-3:3306": {
                "address": "db-cluster-3:3306", 
                "memberRole": "SECONDARY", 
                "mode": "R/O", 
                "readReplicas": {}, 
                "replicationLag": "applier_queue_applied", 
                "role": "HA", 
                "status": "ONLINE", 
                "version": "8.0.34"
            }
        }, 
        "topologyMode": "Single-Primary"
    }, 
    "groupInformationSourceMember": "db-cluster-1:3306"
}
 MySQL  db-cluster-1:33060+ ssl  JS > 
Bye!

Keep on reading!

Review of freshly installed Ubuntu Desktop 24.04 LTS (Gnome GUI)

After the article of Ubuntu Desktop 24.04 LTS installation steps Install Ubuntu Desktop 24.04 LTS on the entire disk with dual boot MS Windows this article is mainly to see what to expect from a freshly installed Ubuntu Desktop 24.04 LTS – the look and feel of the GUI (Gnome – version 46.0).

  • Ubuntu naming – Noble Numbat, short noble
  • Xorg X server – 1.21.1.11
  • GNOME (the GUI) – 46.0
  • Linux kernel – 6.8.0

The idea of this article is to see what to expect from Ubuntu Desktop 24.04 LTSthe look and feel of the GUI, the default installed programs, and their look and how to do some basic steps with them. Here you’ll find more than 234 screenshots and not so many text we do not want to turn this review of many texts and version information and 3 meaningless screenshots , which you cannot see anything for the user interface, which these days is the primary goal of a Desktop system. You can expect more of this kind of review in the future…In this release, the default installation do not install LibreOffice, so we included several screenshots how to install the office suite.
Real workstations, not virtual environments are used for all installation and review tutorials!

SCREENSHOT 1) Ubuntu is selected by default

Wait for 10 seconds or hit Enter to boot the Ubuntu. The GNU GRUB version is 2.12.

main menu
grub entry boot

Keep on reading!

Install Ubuntu Desktop 24.04 LTS on the entire disk with dual boot MS Windows

This article will show the simple steps of installing the latest version of UbuntuUbuntu Desktop 24.04 LTS on the entire second disk in the system. This is the simplest set up with two operation system with dual boot – one Windows 10 and one the new Ubuntu 24.04. There are two separate disks one NVME and one hard disk device in the system are installed, and the the entire sda disk will be used for the installation of Ubuntu Desktop 24.04 LTS. All disk information in sda disk device will be permanently deleted by the installation wizard! Review of Ubuntu Desktop 24.04 LTS with 100+ screenshots – coming soon.
Ubuntu Desktop 24.04 LTS offers the following software:

  • Xorg X server – 1.21.1.11
  • GNOME (the GUI) – 46.0
  • linux kernel – 6.8.0
  • linux-firmware – 20240318.git3b128b60
  • QT – 5.15.13 and 6.4.2
  • libc – 2.39
  • gnu gcc – 9.5.0, 10.5.0, 11.4.0, 12.3.0, 13.2.0 and 14-20240412
  • coreutils – 9.4
  • python3 (default) – 3.12.3
  • perl – 5.38.2
  • apt – 2.7.14
  • cups – 2.4.7

We used the following ISO for the installation process – Ubuntu 24.04 LTS (Noble Numbat): https://releases.ubuntu.com/noble/ubuntu-24.04-desktop-amd64.iso
It is a LIVE image so you can try it before installing it. The easiest way is just to download the image and burn it to a DVD disk or make a bootable USB flash drive with the Linux dd tool and then follow the installation below.
The USB drive, which will be overwritten by the dd command is /dev/sdb – all data on this device will be lost! Check carefully, which device is the plugged removable USB device, which should host the live Ubuntu Desktop 24.04 LTS installation image.

sudo # dd if=/mnt/media/OS/ubuntu-24.04-desktop-amd64.iso of=/dev/sdb bs=8M status=progress oflag=direct
6056574976 bytes (6.1 GB, 5.6 GiB) copied, 52 s, 116 MB/s6114656256 bytes (6.1 GB, 5.7 GiB) copied, 52.4699 s, 117 MB/s

728+1 records in
728+1 records out
6114656256 bytes (6.1 GB, 5.7 GiB) copied, 52.5094 s, 116 MB/s

It’s worth noting this installation procedure is a little bit different than the last for Ubuntu 22.04. Follow the screenshots below to install Ubuntu Desktop 24.04 LTS:

SCREENSHOT 1) Boot from the UEFI USB flash drive to install the Ubuntu 24.04 LTS.

main menu
UEFI DVD boot install

Keep on reading!

Using Elasticsearch Rest API from Kibana web Dev Console to test ingest-pipeline

When using Elasticsearch with a Kibana instance, the user can take advantage of the Kibana web interface to test or query data from the Elasticsearch indexes really easy and fast with the REST APIs. Developing, testing or experimenting is easy in the Kibana Dev tools Console, where indexes could be created, deleted, populated and many more without the need of anything except a modern browser. The Elasticsearch REST API is here – https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-create-index.html, which points always to the current (latest) version of the Elasticseach version and the versions may be changed, for example, here is the link for the 7.17 branch. Using the Dev Tools Console is simpler even than the curl from the command-line, because the user does not need to add additional (curl or not) arguments and parameters for authentication, headers, metadata for data typing and so on. Just type the API commands and add data if they need. In fact, in the Elasticsearch site most examples use the REST API, so it is just as easy as copy and past in the console text area.

SCREENSHOT 1) Log in the Kibana instance and then navigate to the Dev tools on the left menu and then choose Console.

main menu
Management Dev Tools Console

SCREENSHOT 2) The console shows the last state, which in this case is empty, because it is opened for the first time.

Write the REST API in the left and execute by click over the play button and expect the output in JSON format in the right.

main menu
Dev tools Console overview

Keep on reading!

Review of freshly installed Fedora 39 KDE Plasma Desktop part 2 – System Settings

This is the part 2 of the Fedora 39 KDE Plasma Desktop review – Review of freshly installed Fedora 39 KDE Plasma Desktop (KDE GUI)
In part 2 only the System Settings of KDE Plasma is presented – the central place to configure and tweak the KDE Plasma – the graphical desktop environment with customizable layouts and panels, virtual desktops and sophisticated widgets. Some of the settings require an administrative account and whenever it is necessary the Plasma platform shows an authentication dialog to escalate privileges.
It worth mentioning the KDE Platform versions in Fedora 39:

  • KDE Plasma version: 5.27.8, upgradable to 5.27.10
  • KDE Frameworks version: 5.110.0, upgradable to 5.113.0
  • QT version: 5.15.10, upgradable to 5.15.12

The System Settings reflects the above versions and the functionality they incorporate.
The main components are:

  • Appearance
  • Workspace
    • Workspace Behavior
    • Windows Management
    • Shortcuts
    • Startup and Shutdown
    • Search
  • Personalization
    • Notifications
    • Users
    • Reginal Settings
    • Accessibility
    • Applications
    • KDE Wallet
    • Online Accounts
    • User Feedback
  • Network
    • Connections
    • Settings
  • Hardware
    • Input Devices
    • Display and Monitor
    • Audio
    • Multimedia
    • Power Management
    • Bluetooth
    • Color Management
    • KDE Connect
    • Printers
    • Removable Storage
    • Thunderbolt
  • System Administration
    • About this System
    • Software Update

System Settings may also be started from the console with

myuser@mydesktop ~ $ systemsettings

Here are the System Setting screenshots:

SCREENSHOT 1) Click on System Settings to launch the “System Settings” program.

View and edit KDE and some Linux system settings.

main menu
Main Menu – Favorites

Keep on reading!

Review of freshly installed Fedora 39 KDE Plasma Desktop (KDE GUI)

After the tutorial on how to install Fedora 39 KDE Plasma Desktop this tutorial is mainly to see what to expect from a freshly installed Fedora 39 KDE Plasma Desktop – the look and feel of the new KDE GUI (version 5.27.4 of KDE Plasma). The Fedora 39 KDE Plasma Desktop is part of Fedora spins – https://spins.fedoraproject.org/kde/
Here the user can find how to Install Fedora 39 KDE Plasma Desktop (KDE GUI). Here it worth mentioning the included versions of KDE software for Fedora 39:

  • KDE Plasma version: 5.27.8, upgradable to 5.27.10
  • KDE Frameworks version: 5.110.0, upgradable to 5.113.0
  • QT version: 5.15.10, upgradable to 5.15.12

The idea of this article is just to see what to expect from Fedora 39 KDE Plasma – the look and feel of the GUI, the default installed programs and their look and how to do some basic steps with them, it is included also screenshots of the KDE settings program. Here you’ll find more than 250 screenshots and not so many texts we do not want to turn this review of many texts and version information and 3 meaningless screenshots, which you could not see anything for the user interface because these days it is the primary goal of a Desktop system. You can expect more of this kind of review in the future. The big missing is the Kate Advanced Text Editor, which is not installed by default in this release.
This article is the first part of reviewing the Fedora 39 KDE Plasma. The second article contains KDE System Settings screenshots and it is Review of freshly installed Fedora 39 KDE Plasma Desktop part 2 – System Settings.

Some of the interesting screenshots

  • Logging
  • KDE Plasma Overview with Panel Toolbox
  • Fedora KDE main menu
  • Plasma Widgets
  • Activities
  • Install/Update applications with Discover
  • review of multiple installed GUI applications and games.
  • Dolphin – the KDE File Manager
  • KWrite – Text Editor
  • Kontact – manage email, calendar, contacts and other personal data with one application. It includes KMail, KAddressBook, KOrganizer, Akregator, and more.
  • KDE Partition Manager – manage disks and partitions.
  • Konsole – KDE’s Terminal Emulator
  • System Monitor – monitor the system.
  • KFind – Find Files/Folders – advanced files and folder search.
  • KGpg – a simple interface for GnuPG. A powerful encryption utility.
  • Klipper – clipboard manager for the KDE interface.
  • And more!

Fedora 39 KDE Plasma screenshots

SCREENSHOT 1) Fedora (6.5.6-300.fc39.x86_64) 39 (KDE Plasma)

main menu
grub entry boot

Keep on reading!

Install Fedora 39 KDE Plasma Desktop (KDE GUI)

This article will show the simple steps of installing a modern Linux Distribution like Fedora 39 KDE Plasma with KDE for the user graphical interface. First, it is offered the basic steps for installing the Operating system and then there are some screenshots of the installed system and its look and feel of it. Here is another article available with more screenshots of the installed and working Fedora 39 KDE PlasmaReview of freshly installed Fedora 39 KDE Plasma Desktop (KDE GUI). If the user is interested in Gnome as a graphical interface there are two articles on how to install Fedora 39 Workstation Edition, which comes with GNOMEInstall Fedora Workstation 39 (Gnome GUI) and Review of freshly installed Fedora 39 Workstation (Gnome GUI).
This is the simplest setup. One hard disk device in the system is installed, which is detected as sda and the entire disk will be used for the installation of Fedora 39 KDE Plasma. All disk information in sda disk device will be permanently deleted by the installation wizard!

The Fedora 39 KDE Plasma Desktop comes with

  • Xorg X11 server – 1.20.14 and Xorg X11 server XWayland 23.2.2 is used by default
  • linux kernel – 6.5.6
  • KDE Plasma version: 5.27.8
  • KDE Frameworks version: 5.110.0
  • QT version: 5.15.10

For more packages and versions information the user may check out the Fedora 39 server articles – Software and technical details of Fedora Server 39 including cockpit screenshots.

We used the following ISO for the installation process:

https://fedora.ipacct.com/fedora/linux/releases/39/Spins/x86_64/iso/Fedora-KDE-Live-x86_64-39-1.5.iso

It is a LIVE image so you can try it before installing it. The easiest way is just to download the image and burn it to a DVD disk or to flush a USB drive with the ISO. Just use the Linux command dd and a USB flash drive. It’s worth mentioning the dd command will destroy all data on the USB drive and overwrite it with the Fedora KDE Live ISO, so be sure to use a UBS Flash, which data is not important or with no data on it. The dd command uses the ISO as input and the output is the USB drive in Linux device form as /dev/sd?. For the following dd command, the USB drive is /dev/sdd

dd if=/mnt/media/OS/Fedora/Fedora-KDE-Live-x86_64-39-1.5.iso of=/dev/sdd bs=8M status=progress oflag=direct
2399141888 bytes (2.4 GB, 2.2 GiB) copied, 24 s, 99.9 MB/s2481055744 bytes (2.5 GB, 2.3 GiB) copied, 24.8488 s, 99.8 MB/s

295+1 records in
295+1 records out
2481055744 bytes (2.5 GB, 2.3 GiB) copied, 24.8797 s, 99.7 MB/s

SCREENSHOT 1) Boot from the UEFI USB Drive Kingston device.

It is the same as the USB CD/DVD-ROM bootable removable drive. Choose the UEFI USB CD/DVD drive and boot the installation live drive.

main menu
UEFI BIOS DVD-ROM boot

Keep on reading!

Govee WiFi Thermometer Hygrometer H5179 cannot connect to the Wi-Fi

Govee WiFi Thermometer Hygrometer (model H5179) uses 3 AA batteries, which may last year or two depending on the period of pushing the data to the severs in the Internet (i.e. using the Wi-Fi module). The device may suddenly to begin losing Wi-Fi connection or even stop connecting to it, which is an indicator that the batteries should be replaced. Despite that the battery indicator in the app is full, the batteries probably supply low voltage to the electronics in the device that’s why the Wi-Fi begins not to work properly! The device may have kept normal Bluetooth operation for several month leaving the user wondering what is going on! In fact, problems with the Wi-Fi module is the first signal for a battery replacement.
There three screenshots of a device, which works perfectly fine without the Wi-Fi. It reports via Bluetooth the temperature and keeps track of it, but cannot connect to the Wi-Fi, despite it says the Wi-Fi settings are successfully saved.

SCREENSHOT 1) In the device settings the Wi-Fi is successfully set and the device immediately tries connecting.

main menu
settings Wi-Fi successfully set

Keep on reading!

Review of freshly installed Fedora 39 Workstation (Gnome GUI)

After Install Fedora Workstation 39 (Gnome GUI) – the look and feel of the GUI (Gnome – version 45.0).

  • Xorg X11 server – 1.20.14 and Xorg X11 server XWayland 23.2.2 is used by default
  • GNOME (the GUI) – 45.0
  • linux kernel – 6.5.6

The idea of this tutorial is just to see what to expect from Fedora 39 Workstation – the look and feel of the GUI, the default installed programs, and their look and how to do some basic steps with them. Here the reader finds more than 259 screenshots and not so much text the main idea is not to distract the user with much text and version information and 3 meaningless screenshots , which the reader cannot see anything for the user interface, but these days the user interface is the primary goal of a Desktop system. Only for comparison there are couple of old versions reviews, too – Review of freshly installed Fedora 38 Workstation (Gnome GUI), Review of freshly installed Fedora 37 Workstation (Gnome GUI), Review of freshly installed Fedora 36 Workstation (Gnome GUI) and more.
For more details about what software version could be installed check out the Software and technical details of Fedora Server 39 including cockpit screenshots. The same software could be installed in Fedora 39 Workstation to build a decent development desktop system.

For all installation and review articles, real workstations are used, not virtual environments!

SCREENSHOT 1) Fedora Linux (6.5.-300.fc39.x86_64) 39 (Workstation Edition)

main menu
grub 2.06 entry boot

Keep on reading!

Install Fedora Workstation 39 (Gnome GUI)

This article will show the simple steps of installing a modern Linux Distribution like Fedora 39 Workstation Edition with Gnome for the graphical user interface. First, it is offered the basic steps for installing the Operating system and then there are some screenshots of the installed system and its look and feel. Soon another article will show more screenshots of the installed and working Fedora 39 (Gnome and KDE plasma) – so the user may decide which of them to try first.
This is the most straightforward setup. One hard disk device in the system is installed, which is detected as sda and the entire disk will be used for the installation of Fedora Workstation 39. All disk information in sda disk device will be permanently deleted by the installation wizard!

The Fedora 39 Workstation comes with

  • Xorg X11 server – 1.20.14 and Xorg X11 server XWayland 23.2.2 is used by default
  • GNOME (the GUI) – 45.0
  • linux kernel – 6.5.6

Check out our review article about what GUI software is included in – Review of freshly installed Fedora 39 Workstation (Gnome GUI).

There are previous installations howto articles for the older Fedora 38Install Fedora Workstation 38 (Gnome GUI), Install Fedora Workstation 37 (Gnome GUI), Review of freshly installed Fedora 36 Workstation (Gnome GUI), Install Fedora Workstation 31 (Gnome GUI), Install Fedora Workstation 30 (Gnome GUI).

The following ISO is used for the installation process: https://download.fedoraproject.org/pub/fedora/linux/releases/39/Workstation/x86_64/iso/Fedora-Workstation-Live-x86_64-39-1.5.iso
It is a LIVE image so you can try it before installing. The easiest way is just to download the image and burn it to a DVD disk (or make a bootable USB flash drive) and then follow the installation below.
The simplest way to make a bootable USB drive is to just use the Linux command dd. First, download the ISO file above and then plug the USB drive into the computer and find out the device name, it should be something of /dev/sda or /dev/sdb or /dev/sdc (execute the dmesg command in the console and check the last lines for the USB drive detection and its device name like /dev/sd?). After knowing the USB device name issue the dd command to overwrite it with the ISO. Note, all data will be lost if you use the following command with the device name mentioned in the command line.

myuser@mydesktop ~ # dd if=/mnt/media/OS/Fedora/Fedora-Workstation-Live-x86_64-39-1.5.iso of=/dev/sdc bs=8M status=progress oflag=direct
2013265920 bytes (2.0 GB, 1.9 GiB) copied, 17 s, 118 MB/s2129752064 bytes (2.1 GB, 2.0 GiB) copied, 17.9778 s, 118 MB/s

253+1 records in
253+1 records out
2129752064 bytes (2.1 GB, 2.0 GiB) copied, 18.0187 s, 118 MB/s

The USB flash drive should have at least 4G space. Using dd command will overwrite the data on the USB drive without warning or confirmation!

The user can check what device name the just-plugged USB Drive has with dmesg console command:

myuser@mydesktop ~ # dmesg|tail -n 17
[90470.220142] usb 2-1: new high-speed USB device number 7 using xhci_hcd
[90470.361406] usb 2-1: New USB device found, idVendor=1f75, idProduct=0888, bcdDevice= 0.15
[90470.361411] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[90470.361413] usb 2-1: Product: IS888 USB3.0 to SATA bridge
[90470.361414] usb 2-1: Manufacturer: Innostor Technology
[90470.361415] usb 2-1: SerialNumber: 088810000000
[90470.364298] usb-storage 2-1:1.0: USB Mass Storage device detected
[90470.364427] scsi host5: usb-storage 2-1:1.0
[90471.387214] scsi 5:0:0:0: Direct-Access     KINGSTON  SNV425S2128GB        PQ: 0 ANSI: 0
[90471.387439] sd 5:0:0:0: Attached scsi generic sg2 type 0
[90471.387649] sd 5:0:0:0: [sdc] 250069680 512-byte logical blocks: (128 GB/119 GiB)
[90471.387970] sd 5:0:0:0: [sdc] Write Protect is off
[90471.387974] sd 5:0:0:0: [sdc] Mode Sense: 03 00 00 00
[90471.388288] sd 5:0:0:0: [sdc] No Caching mode page found
[90471.388290] sd 5:0:0:0: [sdc] Assuming drive cache: write through
[90471.395432]  sdc: sdc1 sdc2
[90471.395543] sd 5:0:0:0: [sdc] Attached SCSI disk

The just-plugged USB drive is attached to the system with the device name /dev/sdc.

SCREENSHOT 1) Boot from the UEFI USB device.

It is the same as the CD/DVD removable drive. Choose the UEFI USB drive to boot the live installation.

main menu
UEFI BIOS USB device boot

Keep on reading!