- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2024 05:19 PM
I'm not sure if it will work for you on the M1, but I have just managed to install a MID server on a Raspberry Pi 4, which is also an ARM architecture.
I have combined the Tanuki wrapper from https://download.tanukisoftware.com/wrapper/3.5.51/ into the MID service folder and added the Amazon Coretto 17 Java run-time to the MID service folder, have updated the configuration files to point to these new pieces, and it kinda' works.
The updated files were "wrapper-jvm.conf":
set.JAVA_HOME=/srv/snmid/agent/jdk-17.0.12
set.SNC_JVM_ARCH=arm-64
and "wrapper-override.conf":
wrapper.name=snmid_agent_001
# REQUIRED: Display name of the service
wrapper.displayname=ServiceNow MID Server (agent_001)
...
wrapper.java.command=%JAVA_HOME%/bin/java
The last parameter makes it use the Amazon Coretto 17 run-time.
The differences between the downloaded and final MID service package are that folder "bin" contains the extra file "wrapper-linux-arm-64" and folder "lib" contains extra (sub) folder "arm-64" and extra files "libwrapper-linux-arm-64.so" and "wrapper.jar" - all from the Tanuki download.
I have seen that the Tanuki download also contains Mac Arm files, but I can't say if any will work on the M1.