Problems Building a cluster in latest CE

145 views
Skip to first unread message

Karl Bystrak

unread,
Sep 6, 2023, 6:48:01 PM9/6/23
to skudonet-ce-users
Emilio,

Today i downloaded the latest distribution of the SKUDONET ISOs and setup to test VMs to try and build a cluster.   It seems as though something may be wrong with the new version.

Here is the transcript of my effort:

root@CORE-LB1:~# apt-cache search skudonet-ce-cluster
skudonet-ce-cluster - Skudonet Load Balancer Community Edition Cluster Service
root@CORE-LB1:~# apt-cache show skudonet-ce-cluster
Package: skudonet-ce-cluster
Version: 2.0
Maintainer: Skudonet SL <skudonet...@skudonet.com>
Architecture: amd64
Depends: skudonet (>=7.0.0), liblinux-inotify2-perl, rsync, libpcap0.8-dev
Priority: optional
Section: admin
Filename: pool/main/s/skudonet-ce-cluster/skudonet-ce-cluster_2.0_amd64.deb
Size: 49176
SHA256: 19f12efad613fdcbe789e3ff35cf5bda2e948137f11587bd213e515e5b962c52
SHA1: 97a74c9e9ccfaa5185edd457a431890b7d913356
MD5sum: 64b4b87cf6d8c6288ddb1ad6bd46243f
Description: Skudonet Load Balancer Community Edition Cluster Service
 Cluster service for Skudonet CE, based in ucarp for vrrp implementation and skdinotify for configuration replication. VRRP through UDP is supported in this version.
Description-md5: a23a19cc5a6e72e8d31eaa01f977a454

root@CORE-LB1:~# apt-get install skudonet-ce-cluster
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 skudonet-ce-cluster : Depends: liblinux-inotify2-perl but it is not installable
                       Depends: rsync but it is not installable
                       Depends: libpcap0.8-dev but it is not installable
E: Unable to correct problems, you have held broken packages.

Any suggestions?

Antonio Rendón Ruiz

unread,
Sep 7, 2023, 1:45:56 AM9/7/23
to Karl Bystrak, skudonet-ce-users
Good day dear Karl,

It seems these packages are not found.

Did you check the /etc/apt/sources.list content?
The official Debian Bookworm repositories have to be added.
Skudonet Community repository only has the Skudonet packages.

Here are the official Debian Bookworm repositories:

deb http://deb.debian.org/debian bookworm main non-free-firmware
deb-src http://deb.debian.org/debian bookworm main non-free-firmware
deb http://deb.debian.org/debian-security/ bookworm-security main non-free-firmware
deb-src http://deb.debian.org/debian-security/ bookworm-security main non-free-firmware
deb-src http://deb.debian.org/debian bookworm-updates main non-free-firmware

Regards.

--
Welcome to SKUDONET Community Edition Support, please use this group for sharing information related to SKUDONET only, in other case the message will be deleted.
 
Thanks.
---
You received this message because you are subscribed to the Google Groups "skudonet-ce-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to skudonet-ce-us...@skudonet.com.
To view this discussion on the web visit https://groups.google.com/a/skudonet.com/d/msgid/skudonet-ce-users/71889371-f4b5-42ae-9012-cfe49db01841n%40skudonet.com.


--

Antonio Rendon Ruiz

SKUDONET Team
www.skudonet.com


DISCLAIMER: This message contains confidential information and is intended only for the

individuals named. If you are not the named addressee please notify the sender immediately

by email if you have received it by mistake and delete it from your system, you should not

disseminate, distribute or copy this email in whole or in part.

Karl Bystrak

unread,
Sep 7, 2023, 3:20:34 PM9/7/23
to Antonio Rendón Ruiz, skudonet-ce-users
I guess I thought the prebuilt installer ISO came with the repositories pre-configured.  I seem to recall they were pre-configured in the Zevenet ISOs.

Checking my /etc/apt/sources.list file i only have the following:

deb cdrom:[Skudonet Community Edition 7.0.0 - Official amd64 20230904-12:29]/ bookworm main non-free-firmware


On the topic of repositories,   Is there an updated version of this article coming soon?  https://www.skudonet.com/knowledge-base/howtos/configure-apt-repository-zevenet-community-edition/  this one still lists the Zevent Repos.


I will add the official Debian repositories to my file also.  For the record, i think you made some typos there.  The URLs are wrong for the security updates.   This is what the official debian 12 ISO has:

deb http://deb.debian.org/debian/ bookworm main non-free-firmware
deb-src http: //deb.debian.org/debian/ bookworm main non-free-firmware

deb http://security.debian.org/debian-security bookworm-security main non-free-firmware
deb-src http://security.debian.org/debian-security bookworm-security main non-free-firmware

# bookworm-updates, to get updates before a point release is made;
# see https://www.debian.org/doc/manua1s/debian-reference/chø2.en.html#_updates_and_backports
deb http://deb.debian.org/debian/ bookworm-updates main non-free-firmware
deb-src http://deb.debian.org/debian/ bookworm-updates main non-free-firmware

I would suggest that in future releases, you include these in the prebuilt ISO.

Thanks for you assistance.

Karl



From: Antonio Rendón Ruiz <antonio...@skudonet.com>
Sent: Thursday, September 7, 2023 1:45 AM
To: Karl Bystrak <ka...@bystrak.com>
Cc: skudonet-ce-users <skudonet...@skudonet.com>
Subject: Re: Problems Building a cluster in latest CE
 

Emilio Campos Martín

unread,
Sep 7, 2023, 3:48:02 PM9/7/23
to Karl Bystrak, skudonet-ce-users
Hi Karl, you re right, they are still pointing to ZEVENET old brand, we will change this article in our kb and let you know and we will point the apt conf to the Debian repos by default.

Please if you guys find some old articles let us know and we will update them as soon as possible.

On the other hand we are preparing vhd disk ready to be used on supervisors in order to allow further options to deploy the open source ADC SKUDONET appliances easily, not only using the ISO. 

For any feedback please let us know 

Thanks for your support and reporting



Karl Bystrak

unread,
Sep 7, 2023, 4:02:22 PM9/7/23
to Emilio Campos Martín, skudonet-ce-users
I think i made things worse.

After updating the /etc/apt/sources.list with the official debian repositories i decided to go ahead and check for updates using the apt-get update and apt-get dist-upgrades.

As part of the process i noticed this in the console:


From: Emilio Campos Martín <emilio...@skudonet.com>
Sent: Thursday, September 7, 2023 3:47 PM

Karl Bystrak

unread,
Sep 7, 2023, 4:11:06 PM9/7/23
to Emilio Campos Martín, skudonet-ce-users

Apologies, i hit send before pasting the rest of my message.    

Here is the full email i intended to send:
 
I think i made things worse.

After updating the /etc/apt/sources.list with the official Debian repositories i decided to go ahead and check for updates using the apt-get update and apt-get dist-upgrades.

As part of the process i noticed this in the console:

root@CORE-LB2:~# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  libestr0 libfastjson4 liblognorm5 rsyslog
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  skudonet skudonet-gui-core
The following NEW packages will be installed:
  libnftables1 linux-headers-6.1.0-11-amd64 linux-headers-6.1.0-11-common
  linux-image-6.1.0-11-amd64
The following packages will be upgraded:
  curl intel-microcode libcurl3-gnutls libcurl4 libldb2 libsmbclient
  libwbclient0 linux-compiler-gcc-12-x86 linux-headers-amd64 linux-image-amd64
  linux-kbuild-6.1 linux-libc-dev nftables ntpdate ntpsec-ntpdate
  ntpsec-ntpdig python3-ldb python3-ntp python3-samba samba-common
  samba-common-bin samba-dsdb-modules samba-libs smbclient
24 upgraded, 4 newly installed, 2 to remove and 0 not upgraded.
Need to get 102 MB of archives.
After this operation, 468 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
 
Of course i should have hit N but i was curious and took a snapshot before hitting Y.

After a reboot the VM no longer has a network connection.   The eth0 interface now shows down.    I suspect this is an incompatibility between the VMWARE network driver and my vSphere server and the latest build of Debain 12.   

However, it is also probably not good that it uninstalled skudonet and skudonet-gui-core.        In the past with Zevenet, this is how I kept my Debian up-to-date.  I would do the apt-get dist-upgrades every few months.   It never removed the Zevenet during the updates.

Karl



From: Karl Bystrak <ka...@bystrak.com>
Sent: Thursday, September 7, 2023 4:02 PM
To: Emilio Campos Martín <emilio...@skudonet.com>

Emilio Campos

unread,
Sep 7, 2023, 4:13:55 PM9/7/23
to Karl Bystrak, skudonet-ce-users
At the moment you run the dist-upgrade the system discard packages out of debian repo.

The apt pointing to debian should be used to install additional packages not for the upgrade.

Thanks 


Karl Bystrak

unread,
Sep 7, 2023, 4:18:53 PM9/7/23
to Emilio Campos, skudonet-ce-users
Do you have any suggestions on how to keep the Debian up-to-date in the future without using the dist-upgrade commands?    I am not a big linux user so i tend to stick with commands i am familiar with.   This always worked with Zevenet in the past.



From: Emilio Campos <emilio.cam...@gmail.com>
Sent: Thursday, September 7, 2023 4:13 PM

Emilio Campos Martín

unread,
Sep 7, 2023, 4:29:44 PM9/7/23
to Karl Bystrak, Emilio Campos, skudonet-ce-users
Let us have a thought, maybe marking SKUDONET package as not removable with apt-mark, we have to do some tests, keep you posted.

Thanks

Karl Bystrak

unread,
Sep 7, 2023, 5:09:42 PM9/7/23
to Emilio Campos Martín, Emilio Campos, skudonet-ce-users
It appears that adding the official debian repositories to the /etc/apt/sources.list does not correct my origional problem of not being able to install the clustering service:

Linux CORE-LB2 6.1.0-10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.38-1 (2023-07-14) x86_64
  _____ _  ___    _ _____   ____  _   _ ______ _______
 / ____| |/ / |  | |  __ \ / __ \| \ | |  ____|__   __|
| (___ | ' /| |  | | |  | | |  | |  \| | |__     | |
 \___ \|  < | |  | | |  | | |  | | . ` |  __|    | |
 ____) | . \| |__| | |__| | |__| | |\  | |____   | |
|_____/|_|\_\\____/|_____/ \____/|_| \_|______|  |_|

SKUDONET Community Edition
Software developed by Skudonet SL

If you want community support contact

or if need professional support open a ticket at

Get information about our support services visiting

Last login: Thu Sep  7 16:51:40 2023 from 10.20.153.170
root@CORE-LB2:~# apt-get install skudonet-ce-cluster
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 skudonet-ce-cluster : Depends: liblinux-inotify2-perl but it is not installable
                       Depends: rsync but it is not installable
                       Depends: libpcap0.8-dev but it is not installable
E: Unable to correct problems, you have held broken packages.
root@CORE-LB2:~# cat /etc/apt/sources.list
deb cdrom:[Skudonet Community Edition 7.0.0 - Official amd64 20230904-12:29]/ bookworm main non-free-firmware

deb http://deb.debian.org/debian/ bookworm main non-free-firmware
deb-src http://deb.debian.org/debian/ bookworm main non-free-firmware

deb http://security.debian.org/debian-security bookworm-security main non-free-firmware
deb-src http://security.debian.org/debian-security bookworm-security main non-free-firmware

# bookworm-updates, to get updates before a point release is made;
# see https://www.debian.org/doc/manua1s/debian-reference/chø2.en.html#_updates_and_backports
deb http://deb.debian.org/debian/ bookworm-updates main non-free-firmware
deb-src http://deb.debian.org/debian/ bookworm-updates main non-free-firmware


I am following this article https://www.skudonet.com/knowledge-base/howtos/how-to-configure-a-cluster-in-zevenet-community-edition-v-5-0/   but replacing  Zevenet with skudonet in the commands.

Have you tried clustering this new Skudonet CE yet?



From: Emilio Campos Martín <emilio...@skudonet.com>
Sent: Thursday, September 7, 2023 4:29 PM
To: Karl Bystrak <ka...@bystrak.com>
Cc: Emilio Campos <emilio.cam...@gmail.com>; skudonet-ce-users <skudonet...@skudonet.com>

Emilio Campos Martín

unread,
Sep 8, 2023, 11:24:57 AM9/8/23
to skudonet-ce-users
Hi Karl, I will try to solve your doubts in the following lines: 

SKUDONET supports adding Debian packages in order to install additional packages but not to do a dist-upgrade, Please see differences between:

apt-get upgrade

and 

apt-get distr-upgrade

We will never recommend "dist-upgrade" as a Kernel upgrade can be taken into consideration. 

In order to install the skudonet-ce-cluster, please ensure you can request APT commands to our repo, I have updated this how-to:

Maybe the gpg key isn't properly installed, can you check the procedure and let me know if after this you can find skudonet-ce-cluster package?

Here output of my lab:
root@sku7ce:~# apt-cache search skudonet-ce-cluster

skudonet-ce-cluster - Skudonet Load Balancer Community Edition Cluster Service

Thanks!
--

Emilio Campos

SKUDONET Team
www.skudonet.com

Karl Bystrak

unread,
Sep 8, 2023, 11:44:36 AM9/8/23
to Emilio Campos Martín, skudonet-ce-users
Emilio,   i followed your instructions in the article and it still does not work:

root@CORE-LB2:~# wget -O - http://repo.skudonet.com/ce/skudonet.com.gpg.key | apt-key add -
Resolving repo.skudonet.com (repo.skudonet.com)... 64.227.7.126
Connecting to repo.skudonet.com (repo.skudonet.com)|64.227.7.126|:80... connected.
HTTP request sent, awaiting response... Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
200 OK
Length: 985 [application/octet-stream]
Saving to: ‘STDOUT’

-                                   100%[=================================================================>]     985  --.-KB/s    in 0s

2023-09-08 11:39:57 (64.4 MB/s) - written to stdout [985/985]

OK
root@CORE-LB2:~# cp /etc/apt/trusted.gpg /etc/apt/trusted.gpg.d/
cp: cannot stat '/etc/apt/trusted.gpg': No such file or directory
root@CORE-LB2:~# cat /etc/apt/sources.list.d/skudonet.list
root@CORE-LB2:~# cat /etc/apt/sources.list
deb cdrom:[Skudonet Community Edition 7.0.0 - Official amd64 20230904-12:29]/ bookworm main non-free-firmware

deb http://deb.debian.org/debian/ bookworm main non-free-firmware
deb-src http://deb.debian.org/debian/ bookworm main non-free-firmware

deb http://security.debian.org/debian-security bookworm-security main non-free-firmware
deb-src http://security.debian.org/debian-security bookworm-security main non-free-firmware

# bookworm-updates, to get updates before a point release is made;
# see https://www.debian.org/doc/manua1s/debian-reference/chø2.en.html#_updates_and_backports
deb http://deb.debian.org/debian/ bookworm-updates main non-free-firmware
deb-src http://deb.debian.org/debian/ bookworm-updates main non-free-firmware

root@CORE-LB2:~# apt update --no-list-cleanup -o Dir::Etc::sourceparts="-" -o Dir::Etc::sourcelist="sources.list.d/skudonet.list"
Hit:1 http://repo.skudonet.com/ce/v7 bookworm InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
root@CORE-LB2:~# apt upgrade --with-new-pkgs  -o Dir::Etc::sourceparts="-" -o Dir::Etc::sourcelist="sources.list.d/skudonet.list"
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@CORE-LB2:~# apt-get install skudonet
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
skudonet is already the newest version (7.0.0).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@CORE-LB2:~# apt-get install skudonet-gui-core
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
skudonet-gui-core is already the newest version (1.2.0-7.0.0).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@CORE-LB2:~# apt-cache search skudonet-ce-cluster
skudonet-ce-cluster - Skudonet Load Balancer Community Edition Cluster Service
root@CORE-LB2:~# apt-get install skudonet-ce-cluster
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 skudonet-ce-cluster : Depends: liblinux-inotify2-perl but it is not installable
                       Depends: rsync but it is not installable
                       Depends: libpcap0.8-dev but it is not installable
E: Unable to correct problems, you have held broken packages.
root@CORE-LB2:~#

Karl



From: Emilio Campos Martín <emilio...@skudonet.com>
Sent: Friday, September 8, 2023 11:24 AM
To: skudonet-ce-users <skudonet...@skudonet.com>

Emilio Campos Martín

unread,
Sep 8, 2023, 11:48:35 AM9/8/23
to Karl Bystrak, skudonet-ce-users
Hi Karl, it seems like the package skudonet-ce-cluster is found but some dependencies need to be installed

can you try to install them with:

apt-get install liblinux-inotify2-perl
apt-get install rsync
 apt-get install libpcap0.8-dev

Let us know if it works.


PD: We will try to make life easier in the next ISO update, sorry 

Karl Bystrak

unread,
Sep 8, 2023, 11:57:50 AM9/8/23
to Emilio Campos Martín, skudonet-ce-users
Emilio,

It doesn't seem to work at all:

root@CORE-LB2:~#
root@CORE-LB2:~# apt-get install liblinux-inotify2-perl
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package liblinux-inotify2-perl is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'liblinux-inotify2-perl' has no installation candidate
root@CORE-LB2:~# apt-get install rsync
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package rsync is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'rsync' has no installation candidate
root@CORE-LB2:~# apt-get install libpcap0.8-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package libpcap0.8-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libpcap0.8-dev' has no installation candidate
root@CORE-LB2:~#

Karl


From: Emilio Campos Martín <emilio...@skudonet.com>
Sent: Friday, September 8, 2023 11:48 AM

Emilio Campos Martín

unread,
Sep 8, 2023, 12:05:43 PM9/8/23
to Karl Bystrak, skudonet-ce-users
Please confirm the /etc/apt/sources.list is properly configured, in your previous pasted content I saw that it was pointing to the CD-ROM.

This is the proper content in both sources list files and not other:

root@skduonetADC#> cat /etc/apt/sources.list
deb https://ftp.debian.org/debian/ bookworm contrib main non-free non-free-firmware
deb https://ftp.debian.org/debian/ bookworm-updates contrib main non-free non-free-firmware
deb https://ftp.debian.org/debian/ bookworm-proposed-updates contrib main non-free non-free-firmware
deb https://ftp.debian.org/debian/ bookworm-backports contrib main non-free non-free-firmware
deb https://security.debian.org/debian-security/ bookworm-security contrib main non-free non-free-firmware

root@skudonetADC#> cat /etc/apt/sources.list.d/skudonet.list
#official SKUDONET repository
Once the configuration file changes you have to run

apt-get update

In order to update the package list. 

I have been testing it before sending you and it works, please confirm. 

Karl Bystrak

unread,
Sep 8, 2023, 12:20:24 PM9/8/23
to Emilio Campos Martín, skudonet-ce-users
Emilio,

running apt-get update seems to have corrected the problem.  I was able to install the cluster service.  Thank you for your help.

So after adding the official debian repositories to the /etc/apt/sources.list i should have then run the apt-get update command.

Possibly in the next ISO release you will already have the /etc/apt/sources.list file pre-filled with the official repositories and maybe therefore this issue will not exist.    However, in the meantime, i suggest you edit the article at How to configure APT repository for SKUDONET Community Edition | SKUDONET to include running the apt-get update command after the steps documenting the addition of the debian repos.      It would also be a good idea to edit the article on cluster creation to add this command before the commands to install the cluster.    I think this would help others.

Karl

From: Emilio Campos Martín <emilio...@skudonet.com>
Sent: Friday, September 8, 2023 12:05 PM

Emilio Campos Martín

unread,
Sep 8, 2023, 12:30:02 PM9/8/23
to Karl Bystrak, skudonet-ce-users
Hi Karl, thank you so much for your confirmation, we will improve the documentation as you suggested. 

I have opened an internal issue to the dev team in order to add all those apt parameters in the next ISO, We will update the file as soon as possible. 

Regarding the how-to for SKUDONET 7 CE cluster, totally agree, as soon as it is updated I will let you know. 

Regards!


Thanks again for your suggestions and reports, they are quite helpful. 

Emilio Campos Martín

unread,
Sep 12, 2023, 12:59:31 PM9/12/23
to Karl Bystrak, skudonet-ce-users
Hi SKUDONET team, I have created a new article for creating a cluster in SKUDONET CE 7, Please refer to this:


If you have any questions or think part of the document is not clear enough please let me know with your proposals and we will change it. 

Thanks!

Karl Bystrak

unread,
Sep 12, 2023, 1:53:56 PM9/12/23
to Emilio Campos Martín, skudonet-ce-users
Emilio,

I have a test cluster up and running now for a few days.  So far it is working well.

From my notes during installation of the cluster:

Install from the ISO.

Name systems correctly and then make sure there is matching DNS entries for them in the DNS zone.

After first boot, connect with SSH and putty.
generate SSH keys: ssh-keygen
      Accept all the default values
copy the SSH keys from one machine to another to allow for login without passwords between machines
      On 1: ssh-copy-id root@LB2
      On 2: ssh-copy-id root@LB1
test SSH no password login from both LB to make sure you can login without credentials
      On 1: ssh root@LB2
      On 2: ssh root@LB1    


Check to see if the official Debian repos are in the /etc/apt/sources.list file:   cat /etc/apt/sources.list
If they are not, edit it to add them: nano /etc/apt/sources.list
----add to sources.list---------------------
deb http://deb.debian.org/debian/ bookworm main non-free-firmware
deb-src http://deb.debian.org/debian/ bookworm main non-free-firmware

deb http://security.debian.org/debian-security bookworm-security main non-free-firmware
deb-src http://security.debian.org/debian-security bookworm-security main non-free-firmware

# bookworm-updates, to get updates before a point release is made;
# see https://www.debian.org/doc/manua1s/debian-reference/chø2.en.html#_updates_and_backports
deb http://deb.debian.org/debian/ bookworm-updates main non-free-firmware
deb-src http://deb.debian.org/debian/ bookworm-updates main non-free-firmware
----add to sources.list---------------------

Update the apt catalog after editing the sources.list file : apt-get update

Install the cluster service:  apt-get install skudonet-ce-cluster

edit the /etc/init.d/skudonet-ce-cluster file with nano on bother servers. Change the line $enable_cluster="fasle"; to true.

edit the /usr/local/skudonet/app/ucarp/etc/skudonet-cluster.conf file with nano on both servers.  Adjust the local_ip, remote_ip, password, cluster_id, and cluster_ip values.

Then on both systems you must setup the cluster service to start at boot:  systemctl enable skudonet-ce-cluster

Created a virtual Cluster interface on LB1 in the GUI:
eth0:Cluster X.X.X.X

Reboot LB1.  Wait for it to come up and login with SSH again.  It should identify as master.
Reboot LB2.   Wait for it to come up and login with SSH again.  It should identify as backup.

Check LB2 GUI to see if the Virtual interface for the cluster is there.  It should be offline.

At this point it would normally be done and working.  However, when i followed these steps Virtual IP for the cluster did not replicate to the backup node.    I checked the /var/log/skdinotify.log and found that rsync was failing to copy the configuration from LB1 to LB2 with the following message:

Running the firs replication...
/usr/bin/rsync -auzv --delete --exclude if_eth0_conf /usr/local/skudonet/config/ ro...@10.10.10.142:/usr/local/skudonet/config/
Host key verification failed.

It appears that the configuration copy is trying to connect to the other LB using it's IP address and not the hostname.   I tried to connect via the ssh ro...@10.10.10.42 and got an error message that i needed to authenticate.   I was able to login using the root password.     

Even though DNS resolution is working and i am able to ping both LB by name correctly, i decided to edit the /etc/hosts file on each LB to add the name/IP of the other LB.   

Reboot the cluster again after these actions corrected the rsync issue and the virtual IP configuration appeared on the backup LB.     From there all changes made to the master LB showed up immediately on the backup LB like intended.

Karl



From: Emilio Campos Martín <emilio...@skudonet.com>
Sent: Tuesday, September 12, 2023 12:59 PM

Emilio Campos Martín

unread,
Sep 13, 2023, 8:48:54 AM9/13/23
to Karl Bystrak, skudonet-ce-users
Hi Karl, thanks for sharing your notes, I have added those steps to the official document, additionally, I guess your previous email will be useful for future references.

Regards!

Christopher Spivey

unread,
Jun 19, 2024, 1:13:17 PM6/19/24
to skudonet-ce-users, Emilio Campos Martín, skudonet-ce-users, Karl Bystrak
I did add Debian Backports repos and the packages were able to install for me but I will test setting up the Skudonet Cluster system and give my feedback

Emilio Campos Martín

unread,
Jun 19, 2024, 1:21:31 PM6/19/24
to Christopher Spivey, skudonet-ce-users, Karl Bystrak
Hi Christopher, thanks for the update regarding the cluster.

Regarding this, Antonio Rendón has updated the entire system today with SKUDONET 7.1.0, many issues have been resolved here regarding the dependencies, we have been working hard to integrate all the SKUDONET packages with the Debian bookworm so any dependency issue should be solved.

On the other hand, and additionally to the changes included, the system is ready to receive source code of features already deployed in the Enterprise Version, that means that in the following releases (we hope to do this this or the next month) we will release the cluster architecture used in the Enterprise, it means that:
-ucarp will not be used anymore, we will use keepalive instead
-web GUI will include the configuration panel for clustering creation.

Anyway I will wait for your feedback but just take this information under consideration.

Thanks for any feedback you can provide, it helps us to create a better product.
--
Emilio Campos

Telephone +34 954 103 502

Email emilio...@skudonet.com

Website www.skudonet.com

Location Industria 1 (Metropol 1)
Floor 4, door 18.
41927 Mairena del Aljarafe
Sevilla, Spain
SKUDONET Visit our Site
 LinkedInTwitterFacebook
Reply all
Reply to author
Forward
0 new messages