I just ran a quick test to see whether re-running admin:save-configuration-without-restart() with the results of admin:get-config() would give you that list, but it doesn't. I think your options are to write the list of servers that need restart into the database or handle it at the client level (have your calls return the list and output or track that).
-- Dave Cassel Developer Community Manager MarkLogic Corporation<http://www.marklogic.com/> Cell: +1-484-798-8720 From: <Whitby>, Rob <[email protected]<mailto:[email protected]>> Reply-To: MarkLogic Developer Discussion <[email protected]<mailto:[email protected]>> Date: Thursday, October 23, 2014 at 10:44 AM To: MarkLogic Developer Discussion <[email protected]<mailto:[email protected]>> Subject: [MarkLogic Dev General] How to tell if restart required? Hi, I¹m using admin:save-configuration-without-restart() in setup scripts, I know it returns a list of hosts that require a restart, but would like to get that information independently, so I can run a bunch of scripts and then check what needs restarting. Something like admin:get-hosts-requiring-restart(). I was hoping it would be in xdmp:host-status() but seems not. Thanks Rob _______________________________________________ General mailing list [email protected]<mailto:[email protected]> http://developer.marklogic.com/mailman/listinfo/general
_______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
