Guys, we need your feedback. We've created a small...
# general
j
Guys, we need your feedback. We've created a small PoC to provide you the UMH Lite stack as a single docker container. Simply run a
docker run [...] -e AUTH_TOKEN=yyy -e MQTT_BROKER=10.13.37.123:1883 [...]
and you would be able to deploy protocol converter & custom data flow components from the Management Console and send data to MQTT broker (e.g., a full UMH classic instance). Current Resource Usage for a UMH Lite incl. one protocol converter subscribing to ~80 tags is around half a CPU and 1GB RAM, which should make this work on almost all edge devices. It should also work on arm. If this is well liked, then we could also put the "UMH Classic" in there. It would only make sense for PoCs or smaller use-cases. Would you like to see that in action? Give us a thumbs up or down πŸ™‚
d
i would like to test this, i have a very good usecase for this with modbus tcp
@Jermuk maybe we should have another sometimes? I would like to explain my usecase (where I initially wanted to use streampipes I would like to give this a go as well)
j
Yes, that would be great! Maybe not today, so that today I can focus on improving the PoC a little bit πŸ™‚
but monday?
Got it properly working with the env variables πŸ™‚ will try to fix the remaining bugs on monday and tuesday. (ignore the static url and the weird image, that is just because it is still in development)
d
Hi, I want to give this a try as well. I have my container running: and I've set the environment variables. Can you provide a bit more info about how to configure the protocol converter and custom data flow component in the managemetn console?
d
@Denis how did you know what image to pull? is it on dockerhub already?
d
I just pulled jeremytheocharis/rocky-systemd-test:latest from the screenshot, but now that I think of it, maybe it's not the correct one?
j
Copy code
sudo docker run -it --privileged --pull=always -e MGMT_AUTH_TOKEN=<PLEASE_FILL_OUT> -e MGMT_STATIC_URL="https://feat-xxx-umh-in-docker.managementconsole.pages.dev/static" -e SHALL_ENTERPRISE="enterprise-of-kings" -e SHALL_SITE="cologne" ghcr.io/united-manufacturing-hub/umh-in-docker:pr-1374-amd64
this is the current command that I am working with
it is very much work in progress and still not on staging / main. hence also the requirement for the static url and this weird image tag
pr-1374-amd64
want to get it to main today
also just tried it, and the lite instance goes online πŸ™‚
the PR is now on its way to staging through the merge queue πŸ™‚
and I just tested it, and it definitely works on arm πŸ™‚
in the meantime you can already remove the "-amd64" from the tag as it will detect it automatically the architecture
still fixing some issues in there, so that Modbus within UMH Lite within docker works properly.
mostly just integration stuff now (e.g., the sample in the UI had a parameter with a spelling mistake)
FYI: the full UMH runs also in a docker container, might make trying it out much easier
d
is that a production worthy solution?
makes deployment easier as well
j
depends on what you mean with production. I would say that we should test it, and I assume it will be enough for most deployments. for our enterprise customers we would always recommend to install it "properly", but I assume for most people the docker method could be enough
d
for a 99% uptime solution. i can imagen kubernetes deployment being harder to maintain I would use the docker solution in this way: 1. having multiple UMH lite's collecting data on the edge (modbus, opcua,...) from a docker container (lots of support by edge devices) 2. having a factory wide (ubuntu) VM with full UMH (the regular kubenetes install script) 3. (optionally) having a company wide UMH (enterprise version due to higher uptime requirements)
j
That was also exactly our idea! Some small adjustments: - there should be no difference for the maintenance effort for using Kubernetes, as long as you don’t start modifying it yourself, deploying your own workloads, etc. The advantage of a package like UMH is, that we can develop it to be maintenance less for all the common use cases and test it through automated tests. I think on average we install UMH internally 100-150 times per day, automatically through all of our automated tests - Switch out Ubuntu to Rocky Linux (OSS as well, but more stable API as it is based on RHEL) - depending on the requirements also have a High Availability Cluster for the factory level - the ability to add multiple UMH Instances into a single account is going to be an Enterprise feature. Right now we don’t enforce it, but we will in the future. Also, we will never take features out of the Community Edition for existing users, so if it works now it will also work in the future. But I would not count on that for future deployments Also we needed to fix issues with our backend yesterday and therefore the Modbus and UMH Lite are still stuck in our merge queue. Will try to get them out today.
d
I get why you recommend rocky linux but i'm more familiar with Debian based systems (apt-get install,... 😍 ); is it really that much more stable?
ok and i thing having multiple instances to one is a paid feature is fair πŸ™‚ (not super nice for me but it's fair)
if i have an account now that has multiple instances this will remain free then?
j
it is not more stable in the sense it runs better, but more stable in the sense that there are less changes between versions. and if there are changes, they are well documented with clear upgrade paths. this does not matter if you run it for 1-3 years, but they matter if the system needs to run 10+ years
2 Views