暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

OEM13c 数据库负载图拖拽以后丢失 Database Load Map

原创 lizhao01 2023-01-04
330

Reset User Preferences for the problematic EM account:


1. Remove the customizations for the EM User as follows:

$ cd <gc_inst>/user_projects/domains/GCDomain/bin

$ . ./setDomainEnv.sh

(Note: there is a '.' before './' in the above line.

$ export WLST_PROPERTIES="-Dweblogic.security.TrustKeyStore=DemoTrust"


2. Launch the WLST

$ cd <MW_HOME>/oracle_common/common/bin

$ ./wlst.sh


3. Connect to weblogic server:

wls:/offline> connect('weblogic','','t3s://:7102');

Note: Please replace with the actual values in above command.

实际命令:
wls:/offline> connect('weblogic','密码','t3s://ip:7102'); #账号,密码,端口


4. Delete all the settings for any particular EM user (in example replace <USERNAME> with problematic EM user account)

wls:/GCDomain/serverConfig> deleteMetadata(application='emgc',server='EMGC_OMS1',docs='/**',restrictCustTo='user[<USERNAME>]',excludeBaseDocs=true);

实际命令:
wls:/GCDomain/serverConfig/> deleteMetadata(application='emgc',server='EMGC_OMS1',docs='/**',restrictCustTo='user[SYSMAN]',excludeBaseDocs=true);


5. Exit WLST:

wls:/GCDomain/serverConfig> disconnect()
Disconnected from weblogic server: EMGC_ADMINSERVER
wls:/offline> exit()

再次刷新页面恢复

###部分日志:

wls:/GCDomain/serverConfig/> deleteMetadata(application='emgc',server='EMGC_OMS1',docs='/**',restrictCustTo='user[SYSMAN]',excludeBaseDocs=true);

Executing operation: deleteMetadata.

Operation "deleteMetadata" completed. Summary of "deleteMetadata" operation is:
44 documents successfully deleted.
List of documents successfully deleted:

/core/agentupgrade/mdssys/cust/user/SYSMAN/agentupgradeconsole.jspx.xml
/core/discovery/home/mdssys/cust/user/SYSMAN/configureAutoDiscovery.jspx.xml
/core/discovery/unmanagedTargets/mdssys/cust/user/SYSMAN/discoveredUnmanagedTargets.jspx.xml
/core/event/console/mdssys/cust/user/SYSMAN/IncManagerDashboard.jspx.xml
/core/event/console/mdssys/cust/user/SYSMAN/incidentDetails.jsff.xml
/core/event/mdssys/cust/user/SYSMAN/console.jspx.xml
/core/event/rules/mdssys/cust/user/SYSMAN/addOneAct.jspx.xml
/core/event/rules/mdssys/cust/user/SYSMAN/incidentRules.jspx.xml
/core/event/rules/mdssys/cust/user/SYSMAN/repeatNotif.jsff.xml
/core/extensibility/pla/mdssys/cust/user/SYSMAN/pluginDeployment.jspx.xml
/core/groups/mdssys/cust/user/SYSMAN/allGroups.jspx.xml
/core/jobs/fragments/mdssys/cust/user/SYSMAN/executionTable.jspx.xml
/core/jobs/results/region/mdssys/cust/user/SYSMAN/stepDetails.jsff.xml
/core/metrics/mdssys/cust/user/SYSMAN/allMetrics.jspx.xml
/core/mext/mdssys/cust/user/SYSMAN/mextPendingOperations.jspx.xml
/core/mext/mdssys/cust/user/SYSMAN/mextTargetAssocs.jspx.xml
/core/notif/mdssys/cust/user/SYSMAN/mailServerSettings.jsff.xml
/core/security/credstore/mdssys/cust/user/SYSMAN/myCredentials.jspx.xml
/core/security/credstore/mdssys/cust/user/SYSMAN/myTargetPrefCreds.jspx.xml
/core/selfupdate/mdssys/cust/user/SYSMAN/entityInstance.jspx.xml
/core/uifwk/targetSearch/mdssys/cust/user/SYSMAN/targetSearchHome.jspx.xml
/db/dbmachine/mdssys/cust/user/SYSMAN/allDbmachines.jspx.xml
/db/dbmachine/mdssys/cust/user/SYSMAN/home.jspx.xml
/db/discovery/guidedDiscovery/mdssys/cust/user/SYSMAN/db-discovery-guided-results.jspx.xml
/db/discovery/guidedDiscovery/mdssys/cust/user/SYSMAN/db-discovery-guided-search-criteria.jspx.xml
/db/homepage/mdssys/cust/user/SYSMAN/dbLoadMap.jspx.xml
/db/homepage/mdssys/cust/user/SYSMAN/dbhome-perf-region.jsff.xml
/db/list/mdssys/cust/user/SYSMAN/dbList.jspx.xml
/db/mdssys/cust/user/SYSMAN/backupReport.jspx.xml
/db/provisioning/cloud/maintenance/mdssys/cust/user/SYSMAN/maintenance-page.jspx.xml
/mdssys/cust/user/SYSMAN/homepage.jspx.xml
/mos/mos/patch/mdssys/cust/user/SYSMAN/patchHomePage.jspx.xml
/oracle/sysman/mds/files/model/core/regions/ui/ecm/inv/mdssys/cust/user/SYSMAN/InvSummaryViewBean_properties.xml.xml
/oracle/sysman/mds/files/model/mdssys/cust/user/SYSMAN/UserLogin_properties.xml.xml
/oracle/sysman/mds/files/model/mdssys/cust/user/SYSMAN/core-event-console_properties.xml.xml
/oracle/sysman/mds/files/model/mdssys/cust/user/SYSMAN/emAccTable_properties.xml.xml
/oracle/sysman/mds/files/model/mdssys/cust/user/SYSMAN/oracle.sysman.as.fmwhome.view.FMWHomeView_properties.xml.xml
/sdkImpl/core/regions/event/console/mdssys/cust/user/SYSMAN/incidentSummaryList.jsff.xml
/sdkImpl/core/regions/event/console/mdssys/cust/user/SYSMAN/incidentsOverview.jsff.xml
/sdkImpl/core/regions/gccompliance/console/mdssys/cust/user/SYSMAN/complianceSummary.jsff.xml
/sdkImpl/core/regions/security/access/mdssys/cust/user/SYSMAN/accessPage.jsff.xml
/sdkImpl/core/regions/security/userrole/mdssys/cust/user/SYSMAN/userSelector.jspx.xml
/ui/taskflow/patch/search/mdssys/cust/user/SYSMAN/PatchSearch.jsff.xml
/xa/dbmdiscovery/mdssys/cust/user/SYSMAN/prereqsCheck.jspx.xml

wls:/GCDomain/serverConfig/> disconnect()
Disconnected from weblogic server: EMGC_ADMINSERVER
wls:/offline> exit()


Exiting WebLogic Scripting Tool.

「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论