維護模式在執行修補DSC、升級AEM表單或套用Service Pack等工作時很有用。
避免在伺服器處於維護模式時調用任何進程。 如果在伺服器處於維護模式時調用進程,則會發生以下情況:
將AEM表單置於維護模式
在網頁瀏覽器中,輸入:
https://[hostname]:[port]/dsc/servlet/DSCStartupServlet?maintenanceMode=pause&user=[administrator username]&password=[password]
瀏覽器視窗中會顯示「現已暫停」訊息。
如果在伺服器處於維護模式時關閉伺服器,則重新啟動時伺服器仍處於維護模式。 完成維護任務後,必須關閉維護模式。
檢查AEM表單是否在維護模式中執行
在網頁瀏覽器中,輸入:
https://[hostname]:[port]/dsc/servlet/DSCStartupServlet?maintenanceMode=isPaused&user=[administrator username]&password=[password]
狀態會顯示在瀏覽器視窗中。 狀態為「true」表示伺服器正在維護模式下運行,而「false」表示伺服器未處於維護模式。
關閉維護模式
在網頁瀏覽器中,輸入:
https://[hostname]:[port]/dsc/servlet/DSCStartupServlet?maintenanceMode=resume&user=[administrator username]&password=[password]
瀏覽器視窗中會顯示「現在執行中」訊息。