shutdown command for HA-Cluster

This forum is for devlopers to discuss questions about apps/plug-ins/extension modules/API specifically developed for using with Synology DiskStations.
Forum rules
1) This is a user forum for Synology users to share experience/help out each other: if you need direct assistance from the Synology technical support team, please use the following form:

https://account.synology.com/support/su ... p?lang=enu



2) To avoid putting users' DiskStation at risk, please don't paste links to any patches provided by our Support team as we will systematically remove them. Our Support team will provide the correct patch for your DiskStation model.
dognose
Rookie
Rookie
Posts: 30
Joined: Sun Feb 28, 2016 2:03 am

shutdown command for HA-Cluster

Unread post by dognose » Tue Jun 19, 2018 3:31 pm

Currently I'm using a script to perform controlled shutdowns, in case of a grid-failure.
(https://forum.synology.com/enu/viewtopi ... 3&t=133351)


The script works as expected, but when combined with an "HA-Cluster" there is one drawback:

- The script should wait upto 60 minutes, then power off the NAS.

Problem:

- When using "shutdown", the primary node of the HA-cluster shuts down, resulting in a failover to the passive node.
- The passive nodes now tarts again with waiting 60 minutes...

Question:

Is there a dedicated shutdown command for the whole cluster, as it is available through the UI in the High Availability Manager? ("Shut down HA Cluster")

Post Reply

Return to “Developer Discussion Room”