- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
04-16-2024 12:11 PM
I just had our instance migrated to 8.5. during testing we figure out that we could not update our engine using the shell program and need to do a zip deployment. The basic instructions for ZIP does not support multple engines on the same host. Here is our solution
If see problems please comment
xsoar create zip archive "d1_ENGINENAME".zip
Download "d1_ENGINENAME".zip
copy to server
cd /usr/local/demisto/ or mkdir /usr/local/demisto/
-- IF YOU DO NOT HAVE A RUNNING ENGINE --
mkdir /usr/local/demisto/
groupadd demisto
sudo useradd -g demisto -s /bin/false demisto
chown demisto:demisto /usr/local/demisto
-- ONCE /usr/local/demisto/ EXISTS --
cd /usr/local/demisto/
mkdir d1_ENGINENAME
chmod 755 d1_ENGINENAME
unzip PATH_TO_d1_ENGINENAME.zip -d /usr/local/demisto/d1_ENGINENAME
chown -R demisto:demisto d1_ENGINENAME
setcap CAP_NET_BIND_SERVICE=+eip /usr/local/demisto/d1_ENGINENAME/d1_linux_amd64
-- SETUP SYSCTL
cd /etc/systemd/system/
touch .d1_ENGINENAME.service
MODIFY the Services File
systemctl enable d1_ENGINENAME
systemctl start d1_ENGINENAME
--------- SYSCTL FILE i.e. .service. ----------------
[Unit]
Description=Demisto Engine Service
After=network.target
[Service]
WorkingDirectory=/usr/local/demisto/d1_ENGINENAME
Type=simple
User=demisto
Group=demisto
ExecStart=/usr/local/demisto/d1_ENGINENAME/d1_linux_amd64
EnvironmentFile=/etc/environment
Restart=always
[Install]
WantedBy=multi-user.target
-----------------------------------------
04-17-2024 08:14 AM
Hey,
Indeed based on the documentation the only way to support multiple engines is to install the engine using Shell method.
Installing on engine method on Centos 7, is only Zip.
as a result of the above indeed mltuple engine installation on Centos 7 is not supported.
to add this functionality in an official way I suggest submitting a feature request to in https://xsoar.ideas.aha.io/
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!