Solace Community is getting a facelift!
On March 3rd we will be starting the process of migrating Solace Community to a new platform. As a result, Solace Community will go in to a temporary read-only state. You will still be able to come onto Solace Community and search through posts to find answers, but you won't be able to ask questions, post comments, or react in any way.
We hope to have the migration complete by Wednesday March 5th (or sooner), so please keep an eye out!
Error setting up HA Solace event broker
Hi
I'm having issues setting up HA group on my local docker installation.
I followed the guide:
But whenever i run the docker start command the containers get up and running for 30-45 sec. and then shuts down again.
I have setup the shared key on all docker create commands.
The last lines of logs that is presented is:
2022-04-27T06:19:11.784+00:00 <local0.warning> monitoring appuser[1]: /usr/sw main.cpp:752 (SOLDAEMON - 0x00000000) main(0)@solacedaemon WARN Determining platform type: [ OK ]
2022-04-27T06:19:11.805+00:00 <local0.warning> monitoring appuser[1]: /usr/sw main.cpp:752 (SOLDAEMON - 0x00000000) main(0)@solacedaemon WARN Generating license file: [ OK ]
2022-04-27T06:19:11.883+00:00 <local0.warning> monitoring appuser[1]: /usr/sw main.cpp:752 (SOLDAEMON - 0x00000000) main(0)@solacedaemon WARN Running pre-startup checks: [ OK ]
After that it goes to 100% CPU usage and shuts down.
In my .wslconfig file i have this text:
------------------------------------------------------------------------------------------
# Settings apply across all Linux distros running on WSL 2
[wsl2]
# Limits VM memory to use no more than 6 GB, this can be set as whole numbers using GB or MB
memory=6GB
# Sets amount of swap storage space to 2GB
swap=2GB
# Sets the VM to use four virtual processors
processors=4
---------------------------------------------------------------------------------------------
I also see this error:
Unable to raise event; rc(would block)
I'm using the version 9.13.1.38
Answers
-
Are you running Docker under Windows, or under WSL2 under windows? If you're running under WSL2, you'll need to use Linux instructions. Are you able to get a single broker instance running? I use a single broker instance on WSL2 using podman, which runs fine. Also, are you running rootless?
0 -
HI @jonathanstuhrasferg ,
You are resolving this issue with Solace support, correct? I'm copied in and will add the findings here in this thread for other people to be aware of the possible gotchas.
2 -
Hi
I created a support ticket, but for a different issue. I havent really looked at the issue here more. But from what i can understand the issue could be with the pre shared key as 1234 does not meet requirements.
/Jonathan
0