MarkLogic 9 Product Documentation
xdmp:shutdownxdmp:shutdown(
$hostIDs as xs:unsignedLong*,
$reason as xs:string,
[$failover as xs:boolean]
) as empty-sequence()
Summary
Shutdown servers on hosts.
Parameters |
hostIDs |
A sequence of host IDs, or empty sequence for the local host.
|
reason |
Prepositional phrase describing the reason to shutdown.
|
failover |
True if other hosts in the cluster should take over the replica forests. False if not specified.
|
Required Privileges
http://marklogic.com/xdmp/privileges/xdmp-shutdown
Example
xdmp:shutdown((), "for software upgrade", fn:true())
Copyright © 2024 MarkLogic Corporation. MARKLOGIC is a
registered trademark of MarkLogic Corporation.