EM12c监控页面非活动时登录失效

从EM11g升级到EM12c(Oracle Enterprise Manager Cloud Control 12c)后,发现em12c监控页面过一段时间后要重新刷新登录,这给性能监控带来了不便,如下图

 

按Oracle说法,它是 EM12c console一个新的安全特性

To prevent unauthorized accessto the Cloud Control console, Enterprise Manager will automatically log you outof the Cloud Control console when there is no activity for a predefined periodof time. For example, if you leave your browser open and leave your office,this default behavior prevents unauthorized users from using your EnterpriseManager administrator account.

 

当然,为监控方便可以把这个功能禁用,方法如下:

 

1.进入OMS目录

exportOMS_HOME=/u01/app/em12c/oms12cR4/oms

cd $OMS_HOME/bin

 

2.更改非活动超时设置

禁用这个功能设置值为1(默认值是null,null为45min),或是增加减少这个值

 

# 查看非活动超时时间

[oracle@newcc bin]$ ./emctl get property -name oracle.sysman.eml.maxInactiveTime

Oracle Enterprise Manager CloudControl 12c Release 4 

Copyright (c) 1996, 2014 OracleCorporation.  All rights reserved.

SYSMAN password:

Value for propertyoracle.sysman.eml.maxInactiveTime for oms All Management Servers is null

 

# 禁用此安全特性

./emctl setproperty -name oracle.sysman.eml.maxInactiveTime -value -1 -sysman_pwdsysman_password

Oracle Enterprise Manager CloudControl 12c Release 4 

Copyright (c) 1996, 2014 OracleCorporation.  All rights reserved.

Propertyoracle.sysman.eml.maxInactiveTime has been set to value -1 for all ManagementServers

OMS restart is required toreflect the new property value

 

# 也可增加非活动超时时间

./emctl set property-name oracle.sysman.eml.maxInactiveTime -value 90

 

3.重启OMS使之生效

./emctl stop oms

./emctl start oms

 

 

#其实在EM10g就有这个功能了

http://web.stanford.edu/dept/itss/docs/oracle/10gR2/em.102/b40002/addnl_tasks.htm#i1025313

 

参考:

http://www.snapdba.com/2012/07/how-to-prevent-the-page-expired-message-from-appearing-in-em12c/

http://www.fuadarshad.com/2013/02/changing-enterprise-manager-12c-default.html

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值