You can use the edb_icache_server_enable()
function to take the Infinite Cache server offline for maintenance or other planned downtime. The syntax is:
specifies the host that you want to disable. The host name may be specified by name or numeric address.
specifies the port number that the Infinite Cache server is listening on.
specifies the state of the Infinite Cache server. The value of online must be true or false.
The state of a server taken offline with the edb_icache_server_enable()
function is MANUAL OFFLINE
. Advanced Server will not automatically reconnect to an Infinite Cache server that you have taken offline with edb_icache_server_enable(..., false)
; you must bring the server back online by calling edb_icache_server_enable(..., true)