預設情況下Oracle Enterprise Manager Cloud Control 13c 資料庫控件的會話逾時為45分鐘。
這意味着,如果HTTP客戶機會話空閑45分鐘或更長時間,它将斷開連接配接。
如果在控制台中執行任何操作,則逾時後将顯示登入頁面。
要更改DB控件的預設逾時,請使用以下步驟。
--檢視指令emctl的位置。
[[email protected] app]$ find . -name "emctl"
./weblogic/sysman/admin/emdrep/sql/core/latest/emctl
./weblogic/sysman/admin/emdrep/sql/core/13.1.0.0/emctl
./weblogic/bin/emctl
./agent/agent_13.3.0.0.0/bin/emctl
./agent/agent_inst/bin/emctl
--檢視非活動逾時時間。
[[email protected] app]$ ./weblogic/bin/emctl get property -name oracle.sysman.eml.maxInactiveTime Oracle Enterprise Manager Cloud Control 13c Release 3
Copyright (c) 1996, 2018 Oracle Corporation. All rights reserved.
SYSMAN password:
Value for property oracle.sysman.eml.maxInactiveTime for oms All Management Servers is null
--禁用這個功能設定值為-1(預設值是null,null為45min)
[[email protected] app]$ ./weblogic/bin/emctl set property -name oracle.sysman.eml.maxInactiveTime -value -1
Oracle Enterprise Manager Cloud Control 13c Release 3
Copyright (c) 1996, 2018 Oracle Corporation. All rights reserved.
SYSMAN password:
Property oracle.sysman.eml.maxInactiveTime has been set to value -1 for all Management Servers
OMS restart is not required to reflect the new property value
--重新開機OMS
[[email protected] app]$ ./weblogic/bin/emctl stop oms
Oracle Enterprise Manager Cloud Control 13c Release 3
Copyright (c) 1996, 2018 Oracle Corporation. All rights reserved.
Stopping Oracle Management Server...
Oracle Management Server Already Stopped
Oracle Management Server is Down
JVMD Engine is Down
[[email protected] app]$ ./weblogic/bin/emctl start oms
Oracle Enterprise Manager Cloud Control 13c Release 3
Copyright (c) 1996, 2018 Oracle Corporation. All rights reserved.
Starting Oracle Management Server...
WebTier Successfully Started
Oracle Management Server Successfully Started
Oracle Management Server is Up
JVMD Engine is Up
Starting BI Publisher Server ...
BI Publisher Server Already Started
BI Publisher Server is Up