xdmp.shutdown( hostIDs as (Number|String)[], reason as String, [failover as Boolean] ) as null
Shutdown servers on hosts.
http://marklogic.com/xdmp/privileges/xdmp-shutdown
xdmp.shutdown(null, "for software upgrade", true);
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.