Hi,
We are in the process of investigating is DataMiner restarted on its own or if a user triggered the restart.
For this, I would like to ask your help to identify into which log does the information from this box go to (username/message)?
Thanks in advance,
Carlos
Gellynck Jens [SLC] Answered question 6th September 2021
Hi,
Some additional info about restarts of a DMA.
I can think of 4 ways how a DataMiner agent could restart:
- Server reboot: this will not be clearly indicated in the log files. The Watchdog log file will simply show that the agent is starting with "Run Count: 1" mentioned. The "Last Bootup Time" parameter of the Microsoft Platform element that monitors the server could show that when the server last started up. A server could reboot due to a power outage or because of the installation of Windows updates or because of a manual request.
- Executing an upgrade/update that contains a restart action: from C:\Skyline DataMiner\Upgrades\update.log.txt will show the logging of the last time an update has been executed.
- Manual user request: see other answers. If you want to restrict a certain user (group) to restart a DMA then this can be done in the System Center, groups-> permissions-> rights -> Modules -> System Configuration-> Agents that contains the rights to "(Re)Start", "Stop", "Shutdown", or "Reboot" an agent. In my personal opinion nobody should have the security right to "Stop" a DMA or "Shutdown" a server in an operational environment enabled all the time, this right should be disabled to avoid clicking on it by accident. If it is really needed then the right can temporary be enabled.
- Crash of one of the processes that triggered an automatic restart: can be seen by going to C:\Skyline DataMiner\Logging\SLWatchdog2_BAK.txt logfile and potential presence of crashdump files under C:\Skyline DataMiner\Logging\CrashDump . The logfile will mention if a process disappearance happened. Do note that restarting an agent again will overwrite this file so it's not possible to investigate older occurrences
Laurens Moutton [SLC] [DevOps Enabler] Answered question 6th September 2021