You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In case that VM with EAP 7 is stopped then EAP 7 must be shutdown gracefully not to have unfinished transactions. This is espcially important during scale down in VMSS template as it might leave data in bad state.
Graceful shutdown will cause that EAP 7 will stop all incoming http requests, will not trigger any EJB3 times and MDBs will stop processing messages. It will also wait for all processing requests/transactions to be finished.
As EAP 7 is started as a service and systemctl stop eap7-standalone.service will just stop the service immediately the unit file /etc/systemd/system/multi-user.target.wants/eap7-standalone.service needs to be adjusted by:
This will cause that it will wait 300 seconds for EAP7 to be stopped gracefully. It might be possible to configure it to wait forever which might be wise for VMSS template.
However it's just the first step. Another things is how to tell RHEL 8 to wait until eap7-standalone.service is stopped. Possible solution might be to use: https://www.commandlinux.com/man-page/man1/systemd-inhibit.1.html which would block system shutdown until EAP 7 process is running.
The text was updated successfully, but these errors were encountered:
In case that VM with EAP 7 is stopped then EAP 7 must be shutdown gracefully not to have unfinished transactions. This is espcially important during scale down in VMSS template as it might leave data in bad state.
Graceful shutdown will cause that EAP 7 will stop all incoming http requests, will not trigger any EJB3 times and MDBs will stop processing messages. It will also wait for all processing requests/transactions to be finished.
As EAP 7 is started as a service and
systemctl stop eap7-standalone.service
will just stop the service immediately the unit file/etc/systemd/system/multi-user.target.wants/eap7-standalone.service
needs to be adjusted by:This will cause that it will wait 300 seconds for EAP7 to be stopped gracefully. It might be possible to configure it to wait forever which might be wise for VMSS template.
However it's just the first step. Another things is how to tell RHEL 8 to wait until
eap7-standalone.service
is stopped. Possible solution might be to use: https://www.commandlinux.com/man-page/man1/systemd-inhibit.1.html which would block system shutdown until EAP 7 process is running.The text was updated successfully, but these errors were encountered: