using oracle enterprise manager effectively to become an oracle … · l 7 disaster recovery oms...

28
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Using Oracle Enterprise Manager Effectively to Become an Oracle Enterprise Manager Champion CON9711 Oracle Open World 2015 Courtney Llamas (Oracle) Tyler Sharp (Cerner) Steve Meredith (Boeing) Joseph Kopilash (Epsilon) Eric Siglin (Electric Reliability Council of Texas) October 28, 2015

Upload: others

Post on 04-Sep-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Using Oracle Enterprise Manager Effectively to Become an Oracle … · l 7 Disaster Recovery OMS Setup DR is using storage replication methodology for EM with alias host names back

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

Using Oracle Enterprise Manager Effectively to Become an Oracle Enterprise Manager Champion CON9711 – Oracle Open World 2015

Courtney Llamas (Oracle) Tyler Sharp (Cerner) Steve Meredith (Boeing) Joseph Kopilash (Epsilon) Eric Siglin (Electric Reliability Council of Texas) October 28, 2015

Page 2: Using Oracle Enterprise Manager Effectively to Become an Oracle … · l 7 Disaster Recovery OMS Setup DR is using storage replication methodology for EM with alias host names back

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

Safe Harbor Statement

The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle.

2

Page 3: Using Oracle Enterprise Manager Effectively to Become an Oracle … · l 7 Disaster Recovery OMS Setup DR is using storage replication methodology for EM with alias host names back

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

• Tyler Sharp - Cerner Technology Architect

• 25,000+ Targets

– DB, RAC, HAS, Cluster, ASM, Listener

• Joseph Kopilash - Epsilon Architect and Directory, Database Administration

• 8000+ Targets

– DB, Exadata, Exadata Storage Servers, ZFS, MySQL, WebLogic

• Steve Meredith – Boeing EM Service Manager

• 32,000+ Targets

– DB, RAC, Middleware

• Eric Siglin – Electric Reliability Council of Texas OEM Architect and Admin

• 1600+ targets

– DB, RAC, HAS, Cluster, ASM, Listener

Panel Members

3

Page 4: Using Oracle Enterprise Manager Effectively to Become an Oracle … · l 7 Disaster Recovery OMS Setup DR is using storage replication methodology for EM with alias host names back

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

High Availability

4

Page 5: Using Oracle Enterprise Manager Effectively to Become an Oracle … · l 7 Disaster Recovery OMS Setup DR is using storage replication methodology for EM with alias host names back

©2014 E

psilo

n D

ata

Managem

en

t, LLC

. Priv

ate

& C

onfid

entia

l 5

Page 6: Using Oracle Enterprise Manager Effectively to Become an Oracle … · l 7 Disaster Recovery OMS Setup DR is using storage replication methodology for EM with alias host names back

©2014 E

psilo

n D

ata

Managem

en

t, LLC

. Priv

ate

& C

onfid

entia

l 6

Ha Setup - overview of how it works

Primary Host (oms1)

• Repository DB

• 1st Agent Monitors:

o Host

o DB and related targets

Alias Host Name (oms)

• OMS

• 2nd Agent Monitors:

o OMS

o Weblogic

Standby Host (oms2)

• Standby Repository DB

• 1st Agent Monitors:

o Host

o DB and related targets

Alias Host Name (oms)

• OMS

• 2nd Agent Monitors:

o OMS

o Weblogic

Replicate OMS and 2nd

agent software

Active OMS

Has 2nd agent running

Start OMS

Start 2nd agent

Shutdown OMS and 2nd Agent During

Switchover/Failover

1

2

3

4

Page 7: Using Oracle Enterprise Manager Effectively to Become an Oracle … · l 7 Disaster Recovery OMS Setup DR is using storage replication methodology for EM with alias host names back

©2014 E

psilo

n D

ata

Managem

en

t, LLC

. Priv

ate

& C

onfid

entia

l 7

Disaster Recovery OMS Setup

DR is using storage replication methodology for EM with alias host names back in 12.1.0.2

Our own custom setup role based service on primary instance(s) to control OMS start/stop

srvctl add service -d REPOS -s OMS_PRIMARY -r “REPOS1,REPOS2" -P BASIC -l PRIMARY

• We deployed a fan script to automatically start/stop OMS on the primary nodes based on the state of the primary service above.

• We commented out default OMS restart script since we don’t want DR to automatically start

• Only need to run data guard switchover/failover command to perform all operations

Ha Setup continued

Page 8: Using Oracle Enterprise Manager Effectively to Become an Oracle … · l 7 Disaster Recovery OMS Setup DR is using storage replication methodology for EM with alias host names back

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

User Administration

8

Page 9: Using Oracle Enterprise Manager Effectively to Become an Oracle … · l 7 Disaster Recovery OMS Setup DR is using storage replication methodology for EM with alias host names back

10/28/15 9

OEM UI

Each user takes about 15 mouse clicks

Time consuming for large number of users

EMCLI create_user

Generate your user create script

Allows for batch processing of user creation

LDAP-authenticated accounts

Auto-generated accounts ease administration

LDAP groups matching EM roles ease authorization

Methods to Create OEM User Access

Page 10: Using Oracle Enterprise Manager Effectively to Become an Oracle … · l 7 Disaster Recovery OMS Setup DR is using storage replication methodology for EM with alias host names back

10/28/15 10

• Adding new users

• Changing access through job changes

• Removing users for exiting employees

User Management and Security Compliance

Page 11: Using Oracle Enterprise Manager Effectively to Become an Oracle … · l 7 Disaster Recovery OMS Setup DR is using storage replication methodology for EM with alias host names back

10/28/15 11

Configure WebLogic

Use WebLogic Admin Console

Create Active Directory Authentication Provider

Enable OMS External LDAP Authentication

Set OMS Properties

oracle.sysman.core.security.auth.is_external_authentication_enabled

oracle.sysman.emSDK.sec.DirectoryAuthenticationType

Ease User Creation with Auto Provisioning

Use OMS Property:

oracle.sysman.core.security.auth.autoprovisioning

Link OEM with Active Directory

Page 12: Using Oracle Enterprise Manager Effectively to Become an Oracle … · l 7 Disaster Recovery OMS Setup DR is using storage replication methodology for EM with alias host names back

10/28/15 12

Create OEM Global Roles

Page 13: Using Oracle Enterprise Manager Effectively to Become an Oracle … · l 7 Disaster Recovery OMS Setup DR is using storage replication methodology for EM with alias host names back

10/28/15 13

Update User Account

• Create AD group that matches global role name

• Place user in AD group

• Change AD group when job role changes

• Remove AD account when user exits the company

Page 14: Using Oracle Enterprise Manager Effectively to Become an Oracle … · l 7 Disaster Recovery OMS Setup DR is using storage replication methodology for EM with alias host names back

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

Database Patching

14

Page 15: Using Oracle Enterprise Manager Effectively to Become an Oracle … · l 7 Disaster Recovery OMS Setup DR is using storage replication methodology for EM with alias host names back

Copyright © 2015 Boeing. All rights reserved.

Information Technology | Project Name

Patch Automation

Steven Meredith, 12/31/2015 | 15

Patch automation for database consolidation environments

▪ Scope: Consolidation RAC database clusters

▪ PSU patching required quarterly for all consumers

▪ Customers span all business units within Boeing

Challenges

▪ Patch schedule consolidation to maximize scalability

▪ Process design to meet patching requirements for clustered databases

▪ Operational discipline to maintain healthy and accurate target configurations

Page 16: Using Oracle Enterprise Manager Effectively to Become an Oracle … · l 7 Disaster Recovery OMS Setup DR is using storage replication methodology for EM with alias host names back

Copyright © 2015 Boeing. All rights reserved.

Information Technology | Project Name

Patch Plan Screen Shot

Steven Meredith, 12/31/2015 | 16

This plan patched 27 3-node

cluster databases (81 instances)

while leaving 9 cluster db’s on the

previous home

Page 17: Using Oracle Enterprise Manager Effectively to Become an Oracle … · l 7 Disaster Recovery OMS Setup DR is using storage replication methodology for EM with alias host names back

Copyright © 2015 Boeing. All rights reserved.

Information Technology | Project Name

Patch Automation

Steven Meredith, 12/31/2015 | 17

Benefits

▪ Significant Labor reduction but short of initial goal

– Some customers not able to support unified patch schedules

▪ Enhanced productivity for patching focals

▪ Decreased patch cycle times

▪ Improved validation

▪ Configuration changes consistently deployed and maintained within oracle homes

▪ COTS vendor support for emergent patching changes

▪ Consistent patching process

Page 18: Using Oracle Enterprise Manager Effectively to Become an Oracle … · l 7 Disaster Recovery OMS Setup DR is using storage replication methodology for EM with alias host names back

Copyright © 2015 Boeing. All rights reserved.

Information Technology | Project Name

Patch Automation

Steven Meredith, 12/31/2015 | 18

Key Tips/Take Away’s

▪ Understand the features and limitations of the product

▪ Analyze your environment and determine how automation will fit

– Deployment patterns and standardization are key factors in scalability

– Also evaluate organizational discipline in maintaining EM target health and configuration

▪ Set realistic goals

– Consider phased implementation

▪ Have a backup patching plan

▪ Get continuous and strong management support

▪ Communicate successes, challenges and sometimes failures

Page 19: Using Oracle Enterprise Manager Effectively to Become an Oracle … · l 7 Disaster Recovery OMS Setup DR is using storage replication methodology for EM with alias host names back

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

Extending Enterprise Manager

19

Page 20: Using Oracle Enterprise Manager Effectively to Become an Oracle … · l 7 Disaster Recovery OMS Setup DR is using storage replication methodology for EM with alias host names back

© Cerner Corporation. All rights reserved. This document contains Cerner confidential and/or proprietary information belonging to Cerner Corporation and/or its related affiliates which may not be reproduced or transmitted in any form or by any means without the express written consent of Cerner.

20

DBA Scorecard

Page 21: Using Oracle Enterprise Manager Effectively to Become an Oracle … · l 7 Disaster Recovery OMS Setup DR is using storage replication methodology for EM with alias host names back

© Cerner Corporation. All rights reserved. This document contains Cerner confidential and/or proprietary information belonging to Cerner Corporation and/or its related affiliates which may not be reproduced or transmitted in any form or by any means without the express written consent of Cerner.

21

Incident Reporting

Page 22: Using Oracle Enterprise Manager Effectively to Become an Oracle … · l 7 Disaster Recovery OMS Setup DR is using storage replication methodology for EM with alias host names back

© Cerner Corporation. All rights reserved. This document contains Cerner confidential and/or proprietary information belonging to Cerner Corporation and/or its related affiliates which may not be reproduced or transmitted in any form or by any means without the express written consent of Cerner.

22

Corrective Action Analysis

Page 23: Using Oracle Enterprise Manager Effectively to Become an Oracle … · l 7 Disaster Recovery OMS Setup DR is using storage replication methodology for EM with alias host names back

© Cerner Corporation. All rights reserved. This document contains Cerner confidential and/or proprietary information belonging to Cerner Corporation and/or its related affiliates which may not be reproduced or transmitted in any form or by any means without the express written consent of Cerner.

23

Storage Forecasting

Page 24: Using Oracle Enterprise Manager Effectively to Become an Oracle … · l 7 Disaster Recovery OMS Setup DR is using storage replication methodology for EM with alias host names back

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

Enterprise Manager Sessions – Wednesday October 28th Title Time Location

Oracle Enterprise Manager 12c Cloud Control for Managing Oracle E-Business Suite 12.2 [CON8127]

11:00 AM Moscone West

3022

Using Oracle Enterprise Manager Effectively to Become an Oracle Enterprise Manager Champion [CON9711]

11:00 AM Moscone South 104

Oracle Log Analytics Cloud Service: Real-Time Insight for Middleware Administrators [CON9754]

12:15 PM Moscone South 303

Way Beyond the Basics: Oracle Enterprise Manager Monitoring Best Practices [CON9721]

12:15 PM Moscone South 300

Oracle Log Analytics Cloud Service: Real-Time Insight for Database Administrators [CON9753]

3:00 PM Moscone South 300

Best Practices for Engineered Systems Management Using Oracle Enterprise Manager [CON9728]

4:15 PM Moscone South 300

Hybrid Cloud—Pivot to the Cloud with Oracle Enterprise Manager Cloud Control [CON9712]

4:15 PM 5th Floor – Hotel

Intercontinental B

24

Page 25: Using Oracle Enterprise Manager Effectively to Become an Oracle … · l 7 Disaster Recovery OMS Setup DR is using storage replication methodology for EM with alias host names back

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

Enterprise Manager Sessions – Thursday October 29th Title Time Location

Case Study: How a Cloud-Based, Service-Oriented Customer Uses Oracle Enterprise Manager [CON2800] 9:30 AM Marriott Marquis

Salon 10/11

Database as a Service: What Is It and How Do You Use It? A Q&A with an Expert Panel [CON3637] 9:30 AM Moscone South 102

Practical Tips for Oracle Enterprise Manager High Availability and Diagnostics [CON9726] 9:30 AM Moscone South 300

Oracle Enterprise Manager for MySQL Database—Latest Features [CON4507] 10:15 AM Moscone South 262

Oracle Management Cloud Best Practices for Mining Oracle Enterprise Manager Data [CON9714] Noon Marriott Marquis

Salon 10/11

Raising the Ante on Security with Oracle Enterprise Manager [CON9719] Noon Moscone South 300

Realizing MWaaS on the Private Cloud Using Oracle Enterprise Manager [CON4627] Noon Moscone South 302

Case Study: Oracle Application Management Suite for Oracle E-Business Suite [CON8126] 1:!5 PM Moscone West 3004

Oracle Enterprise Manager? OpenStack? VSphere? Have It Your Way! [CON8059] 1:15 PM Intercontinental—Sutter

(5th Floor)

Supercharge Your DevOps Automation Using Oracle Enterprise Manager’s CLI and REST APIs [CON9731] 1:15 PM Moscone South 300

25

Page 26: Using Oracle Enterprise Manager Effectively to Become an Oracle … · l 7 Disaster Recovery OMS Setup DR is using storage replication methodology for EM with alias host names back

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

Enterprise Manager Labs

Location: Hotel Nikko—Carmel (3rd Floor) – unless noted Day Time

Oracle Systems and Virtualization Management with Oracle Enterprise Manager [HOL10466]

Monday 11:00 AM

Consolidate and Standardize Database Resources with Lifecycle and Private Cloud Management [HOL10468]

Monday Wednesday

2:00 PM 4:15 PM

Hybrid Cloud Management: Complete Management of On-Premises and Public Services [HOL10465]

Tuesday Wednesday

10:15 AM 11:45 AM

Practical Overview of the Latest Features of Oracle Enterprise Manager for MySQL [HOL4522] **Location: Hotel Nikko—Peninsula (25th Floor)

Tuesday 10:15 AM

Maximizing Oracle Database 12c Performance with Oracle Enterprise Manager [HOL10442]

Tuesday Tuesday

11:45 AM 5:30 PM

Managing Oracle Fusion Middleware with the New Oracle Enterprise Manager [HOL10453]

Wednesday Thursday

10:15 AM 12:30 PM

Consolidate and Standardize Database Resources with Lifecycle and Private Cloud Management [HOL10468]

Monday Wednesday

2:00 PM 4:15 PM

26

Page 27: Using Oracle Enterprise Manager Effectively to Become an Oracle … · l 7 Disaster Recovery OMS Setup DR is using storage replication methodology for EM with alias host names back

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | 27

Page 28: Using Oracle Enterprise Manager Effectively to Become an Oracle … · l 7 Disaster Recovery OMS Setup DR is using storage replication methodology for EM with alias host names back