Oracle Enterprise manager cloud control 13c 修改登录语言

EM Cloud Console UI 的语言设置依赖于浏览器的语言设置,不依赖于OMS服务器或者 repository DB的语言设置。

如在edge浏览器中,目前为中文显示:

为改变显示语言,进入edge语言设置

如改为英语显示,点击“英语”后的“...”,点击"以这种语言显示microsoft edge",重启浏览器,再次登录,菜单显示为英文。

此时查看上次手动添加目标的处理结果,错误信息提示中仍有中文显示,见下图:

以相同输入信息重新添加目标后,显示改为英文,见下图

在不改变OMS JAVA语言的情况下,仅修改发送内容提示信息的语言,可以作如下设置。通过配置OMS的参数进行设置,包括 Email / SNMP / OS Command / Pl/SQL traps, 具体修改过程如下:

Notification methodParameter
E-Mail or Pageoracle.sysman.core.notification.locale.email
OS Commandoracle.sysman.core.notification.locale.oscmd
SNMP Traporacle.sysman.core.notification.locale.snmp
PL/SQLoracle.sysman.core.notification.locale.plsql


The parameters override the default Locale set at the java level used by the OMS.

1. To set the parameters, execute the below commands based on the type of notification for which the language needs to be changed:

cd <OMS_HOME>/bin
emctl set property -name oracle.sysman.core.notification.locale.email -value '<new value>'
emctl set property -name oracle.sysman.core.notification.locale.snmp -value '<new value>'
emctl set property -name oracle.sysman.core.notification.locale.plsql -value '<new value>'
emctl set property -name oracle.sysman.core.notification.locale.oscmd -value '<new value>'

For example:

emctl set property -name oracle.sysman.core.notification.locale.email -value 'de'

to set the language in the email notifications to German.
 
- Stop and Re-start the OMS after this:

emctl stop oms
emctl start oms

Reference: Oracle® Enterprise Manager Cloud Control Administrator's Guide 12c Release 2 (12.1.0.2), Chapter 4 - Notifications, Topic : 4.10 Notification Reference

2. To remove the property and use the default OMS language, use:

emctl delete property -name <name of the parameter>

For example:

 emctl delete property -name oracle.sysman.core.notification.locale.email

 Stop and Re-start the OMS:

emctl stop oms
emctl start oms

 

To modify the language at the Java level used by the OMS, follow these steps

Below steps can be used if the language needs to be set to a value which is not yet supported by the 'emctl' command option:

1. Stop the OMS:

cd <OMS_HOME>/bin
emctl stop oms -all

2. Take a backup of <gc_inst>\user_projects\domains\GCDomain\bin\startEMserver.sh file.

3. Edit the file and add -Duser.language=<language> at the end of JAVA_OPTIONS in this file

For example, to set the Java Locale to English - en, modify:

JAVA_OPTIONS="${JAVA_OPTIONS} -Djbo.ampool.minavailablesize=1 -Djbo.ampool.timetolive=-1 -Djbo.load.components.lazily=true -Djbo.max.cursors=5 -Djbo.recyclethreshold=50 -Djbo.ampool.maxavailablesize=50 "

to

JAVA_OPTIONS="${JAVA_OPTIONS} -Djbo.ampool.minavailablesize=1 -Djbo.ampool.timetolive=-1 -Djbo.load.components.lazily=true -Djbo.max.cursors=5 -Djbo.recyclethreshold=50 -Djbo.ampool.maxavailablesize=50 -Duser.language=en"

4. Save the changes in the file.

5. Re-start the OMS:

cd <OMS_HOME>/bin
emctl start oms

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值