xdmp:shutdown( $hostIDs as xs:unsignedLong*, $reason as xs:string, [$failover as xs:boolean] ) as empty-sequence()
Shutdown servers on hosts.
http://marklogic.com/xdmp/privileges/xdmp-shutdown
xdmp:shutdown((), "for software upgrade", fn:true())
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.