Presentation is loading. Please wait.

Presentation is loading. Please wait.

OMS & Repository Management

Similar presentations


Presentation on theme: "OMS & Repository Management"— Presentation transcript:

1 OMS & Repository Management
EM-Season Ep.3

2 Who am I? (Deepak Sharma)
ORACLE DBA for 5 years. Worked on technologies like Oracle 11g Grid Control, Oracle 12c Cloud Control, Oracle Configuration Manager PeopleSoft SQL Server Oracle Certified Professional. Active Speaker of AIOUG-NIC OMS & Repository Management

3 EM12c Series Topics… New Features in 12c cloud control
EM12c Cloud Control Architecture Installation & Configuration OMS & Repository Management EM12c console, S/L, patching & provisioning Best Practices of Monitoring Plug-ins & Metrics Extensions Creating & Managing Jobs in EM12c Incident Management Backup, Recovery & High Availability.

4 Oracle Enterprise Manager Overview
Centralized Monitoring, administration and Lifecycle Management Oracle and Non-Oracle Technologies IBM Websphere MS SQL Server MySQL Etc. Complete IT Infrastructure Oracle Enterprise Manager has been rebranded from Grid Control to Cloud Control OEM 12c Cloud Control New Features

5 Oracle Enterprise Manager Overview
Components Oracle Management Agent Oracle Management Service Oracle Management Plug-ins Enterprise Manager Cloud Console Oracle Database for Management Repository OEM 12c Cloud Control New Features

6 OEM 12c Architecture OEM 12c Cloud Control New Features

7 Contents {Today’s Topic}
Oracle Management Agent Oracle Management Service Oracle Management Repository Troubleshooting OMS & Repository Management

8 Oracle Management Agent
Prior to 12c Oracle Agent had to be managed from Command Line. Either from EMCTL or EMCLI In 12c Oracle Agent can be managed easily from OEM12c Console. OMS & Repository Management

9 Agent Management from Console
Navigation Setup -> Management Cloud Control -> Agent This pages displays status of all the agents configured Status will include “UP”, “DOWN”, “UNDER”, “BLACKOUT”, “UNREACHABLE”. Operations like “Start Up”, “Shut Down”, “Restart” etc can be easily perform by selecting a particular agent. OMS & Repository Management

10 Agent Management from Console
OMS & Repository Management

11 Agent Home Page OMS & Repository Management

12 Agent Upgrade from Console
Key Notes Upgrading OMS does not Upgrade Agents. Agents can be easily upgraded from the console. How? Setup -> Manage Cloud Control -> Upgrade Agent Click “Upgrade Agents” under “Agent Upgrade Tasks” Click Add to add the agents to be upgraded and submit the job. After Upgrade perform “Post Agent Upgrade Task” OMS & Repository Management

13 Agent Upgrade OMS & Repository Management

14 Agent Upgrade OMS & Repository Management

15 Managing Multiple Agent
One of the major enhancements in EM12c. Multiple agents can be managed at one time. This feature saves a lot of time. Eg. We have to change “upload interval” for agent Select multiple Agents you want to modify Click “PROPERTIES” icon This will start “Agent Configuration Operation” Job Select multiple agents Click Parameters Tab. Change Property Value and click Submit. OMS & Repository Management

16 Example OMS & Repository Management

17 Example OMS & Repository Management

18 Example OMS & Repository Management

19 Using Agent’s Homepage
HOW? – Click on the Agent Name. OMS makes connection to the agent and displays variety of information. Like:- Summary Region Monitoring Region Performance & Usage Region Resource Consumption Region Incident Region OMS & Repository Management

20 Example OMS & Repository Management

21 Agent Homepage Navigation to some interesting and useful pages:
Agent Menu Monitoring Diagnostics {Support Workbench} Control {Start/Stop Blackout, etc..} OMS & Repository Management

22 Example OMS & Repository Management

23 EM Agent Browser This GUI which was developed several years ago.
OMS was being built during that period. This feature was disabled in 10g and 11g. Re-introduced back in 12c. URL: OMS & Repository Management

24 Example OMS & Repository Management

25 EM Agent Browser Function
Takes system state dump for the agent. Useful for debugging problems. How to use? Click on “System State Dumps”. Click “Perform System Dump”. XML file is generated. OMS & Repository Management

26 Example OMS & Repository Management

27 Agent Management with Command Line
Command Line Interface types: EMCTL EMCLI EMCTL Utility: Is used to control different modules Can be used from Agent’s Homepage emctl getemhome OMS & Repository Management

28 Some Important Commands
Emctl start agent Emctl stop agent Emctl status agent Emctl clearstate agent Emctl secure agent Emctl pingOMS Emctl getversion agent Emctl listplugins agent OMS & Repository Management

29 Create Blackout Example
>emctl start blackout <blackout_name> [<target_name>[:<target_type>]] … [-d <duration>] (nioug) (/app/oracle/product/agent12c/agent_inst/bin) $ ./emctl start blackout test houtestdb1.test.domain.com:host -d 09:00 Oracle Enterprise Manager Cloud Control 12c Release 2 Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved. Blackout test added successfully EMD reload completed successfully Emctl Logs Directory {emctl.log}: $agent_home/agent_inst/sysman/log OMS & Repository Management

30 Blackout Example OMS & Repository Management
(nioug) (/app/oracle/product/agent12c/agent_inst/bin) $ ./emctl status blackout houtestdb1.test.domain.com:host Oracle Enterprise Manager Cloud Control 12c Release 2 Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved. Blackoutname = test Targets = (houtestdb1.test.domain.com:host,) Time = ({ |08:58:22|540 Min,|} ) Expired = False $ ./emctl stop blackout test Blackout test stopped successfully EMD reload completed successfully $ ./emctl status blackout houtestdb1.test.domain.com:test No Blackout registered. $ OMS & Repository Management

31 EMCLI Enterprise Manager Command Line Utility.
Used for automating commands, to be executed against large number of targets. Saves time, scripting is much faster than using EM Console for each target. OMS & Repository Management

32 EMCLI Example Update life cycle property “CONTACT” for 500 targets.
Group Name: ProdDB >emcli set_target_property_value –property_records= “ProdDB:composite : Contact:dksharma”-propogate_to_members >emcli add_target_property –target_type=”oracle_database” –property=”Environment” This changes CONTACT detail for all targets under ProdDB group to “dksharma”. OMS & Repository Management

33 EMCLI Architecture EMCLI Client OMS Extension {installed within OMS}
Client (request) > OMS Extension OMS Extension (passes) > OMS Can be installed on any system. Setup -> Command Line Interface OMS & Repository Management

34 Agent Log & Trace files AGENT_BASE_DIR :- prompted while installation.
Agent Inst Dir Mgmt Agent Home Home (Installation Files) Agent Related Configuration Files OMS & Repository Management

35 Log & Trace files location
Agent Heartbeat History <agent_inst>/sysman/log/gcagent.log Agent & Watch Dog Startup <agent_inst>/sysman/log/emagent.nohup Trace Files <agent_inst>/sysman/log/*.trc Emctl command output <agent_inst>/sysman/log/emctl.log Error while securing Agent <agent_inst>/sysman/log/secure.log OMS & Repository Management

36 Oracle Management Service
Web-based Application Communicate with Agent and OMR to collect & store information about all the targets Can be controlled via both EM12c Console & command line OMS & Repository Management

37 OMS Management from Console
Navigation Setup -> Manage Cloud Control -> Management Services OMS & Repository Management

38 OMS Management from Console
Run time behavior of the OMS can be alter. How? – Setting Properties as needed Click on “Configuration Properties” By default all the “Non-Default” properties are listed. OMS & Repository Management

39 Example OMS & Repository Management

40 Management Services Homepage
Click name of OMS to see more details. OMS & Repository Management

41 OMS Menu OMS & Repository Management

42 Management Services Homepage
Must be wondering ??? Start, Stop is not listed under the main menu. Some Important Pages OMS: Heath Overview Navigation: > Setup -> Manage Cloud Control -> Health Overview Useful Region: Overview Region Number & Status of all targets Upload & Performance Region Loader & Network Problems OMS & Repository Management

43 Health OverView OMS & Repository Management

44 Health Overview Page OMS & Repository Management

45 OMS & Repository Menu To add additional OMS in existing environment.
Navigation: OMS and Repository -> Add OMS This will start “Deployment Procedure Manager” OMS & Repository Management

46 OMS Management from Command Line
OPMNCTL utility was used. However this utility does not exist anymore. This utility has been suppressed by EMCTL. EMCTL utility can be user for many operations against the OMS. OMS & Repository Management

47 EMCTL Examples Change Repository Password Show Repository Details
> emctl config oms –change_repos_pwd [-change_in_db] [-old_pwd] [-new_pwd] [-use_sys_pwd] [-sys_pwd] Show Repository Details > emctl config oms –list_repos_details Dump all Logs > emctl dump logs List all properties from {emoms.properties} > emctl list properties –sysman_pwd “sysman pwd” –module > emctl start oms > emctl stop oms -all OMS & Repository Management

48 OMS Directories OMS is installed into an Middleware Home
Middleware Home may contain Oracle Weblogic Server Oracle Management Agent Instance Base Directory Development Kit [ jdk ] Other Configuration Files Note:- To troubleshoot problem you need to be familiar with Directory Structure. OMS & Repository Management

49 Directories Structure
UserProject Agent jdk module Oracle_BI1 Oracle_WI oms gc_inst logs oracle_common plugin wlserver10.3 bin sysman log em/ EMGC_OMS1 Node Manager emnodemanager Server EMGC_ADMINSERVER WebTier IH1 EMGC_OMS1 OMS & Repository Management

50 OMS Log & Trace Files There are 6 main log and trace files for troubleshooting. emctl.log Output of EMCTL commands emctl.msg Generated when OMS restart because of critical errors emoms.log Log file for console, created when OMS perform any action emoms.trc Contains detailed information emoms_pbs.log Contains warning for back ground modules such as event or job emoms_pbs.trc Contains more detail tracing info to troubleshoot background modules OMS & Repository Management

51 Oracle Management Repository
Oracle Database Store Information collected by Agents. Composed of database users, tablespaces, views, indexes and other database objects. Like Agents & OMS, Repository can also be controlled from both Console and Command line utility. OMS & Repository Management

52 Repository Management from Console
Navigation > Setup -> Manage Cloud Control -> Repository OMS & Repository Management

53 Repository Home Page Important things to checked:
Space Available Backlog of Repository collections if Increasing Oracle Scheduler Status (if Ok) Management Service AQ status (if Ok) OMS & Repository Menu Repository Repository Synchronization {> emctl resync repos –full } Note: - Repository Synchronization can not be done from Console ? OMS & Repository Management

54 Repository Management from Command Line
OMR can be managed neither by EMCTL nor EMCLI.. ANY GUESS.. WHY ? DBA’s Old Friend – SQL*Plus Note:- Some Important Points Stop OMS prior to stopping or restarting repository database. Make sure listener is started before the repository database is started. OMS & Repository Management

55 Important Area for OMR Management
Data Retention Queue Management Optimizer Statistics Repository Views OMS & Repository Management

56 Troubleshooting EMDIAG: utility for troubleshooting across all three stacks. EMDIAG is a collection of scripts & tools designed to help troubleshoot & diagnose problems with EM. Each EM tier has a specific kit. AGTVFY to diagnose Agent problems. OMSVFY to diagnose OMS problems. REPVFY to diagnose Repository Issue. Note: Master Key note for EMDIAG, explains how to download, install & use each kit. OMS & Repository Management

57 Troubleshooting Examples
Each kit is a set of commands: to display information Setup, configuration or to dump objects Levels: varies from 0 to 9 While using each kit one should start from 0 as level parameter. Level 0 to functional Issue Level 6 to Reporting Issue Level Internal Diagnostics $ ./repvfy verify all –level 2 details $ ./repvfy verify all –level 9 details OMS & Repository Management

58 Thank You OMS & Repository Management


Download ppt "OMS & Repository Management"

Similar presentations


Ads by Google