trigger maintenance mode on node with remote action / script

Started by Goriem, February 13, 2016, 06:34:54 PM

Previous topic - Next topic

Goriem

Hi thanks for a great product, and Thank you for the new maintenance mode! its great!
one question, is there anyway to trigger maintenance mode for a node remotely with script, i was thinking along the lines of monitor event log on node and on server reboot (if its related to server patch) then i would trigger a 15 minute maintenance window. is this do able?

regards!

Tatjana Dubrovica

For now it is possible only using nxshell.
Something like:
session.setObjectMaintenance(1714, True); //setObjectMaintenance(long objectId, boolean maintenance)

But it is still not possible to do it from nxsl scripts. Created change request:
https://dev.raden.solutions/issues/1166

IgorE

Hello, is it possible to update javadoc?
Currently there is no information about maintenance and possible nsxshell commands