在執行例如修補DSC、升級AEM表單或套用服務套件等工作時,維護模式很有用。
避免在伺服器處於維護模式時調用任何進程。 如果在伺服器處於維護模式時調用進程,則會發生這種情況:
將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]
瀏覽器視窗中會顯示「現在正在執行」訊息。