An Oracle White Paper May, Deploying a Highly Available Enterprise Manager 12c Cloud Control - PDF

Please download to get full document.

View again

of 38
All materials on our website are shared by users. If you have any questions about copyright issues, please report us to resolve them. We are always happy to assist you.
Information Report

Graphic Art


Views: 19 | Pages: 38

Extension: PDF | Download: 0

Related documents
An Oracle White Paper May, 2012 Deploying a Highly Available Enterprise Manager 12c Cloud Control Product Overview... 2 Introduction... 2 Cloud Control Architecture... 3 Implementation of a Level 3 MAA
An Oracle White Paper May, 2012 Deploying a Highly Available Enterprise Manager 12c Cloud Control Product Overview... 2 Introduction... 2 Cloud Control Architecture... 3 Implementation of a Level 3 MAA Setup... 4 Cloud Control Infrastructure... 6 Preparing for Cloud Control Installation... 7 Step 1: Install Cloud Control on primary OMS server... 9 Step 2: Configure the Server Load Balancer (SLB) Step 3: Add Repository Database Targets to Cloud Control Step 4: Configure Software Library Step 5: Add Second OMS Step 6: Add Standby Database Step 7: Convert Standby Database to RAC Conclusion... 39 Product Overview Oracle Enterprise Manager is Oracle s integrated enterprise IT management product line and provides the industry s first complete cloud lifecycle managment solution. Oracle Enterprise Manager s Business-Driven IT Management capabilities allow you to quickly set up, manage and support enterprise clouds and traditional Oracle IT environments from applications to disk. Enterprise Manager allows customers to achieve: Best service levels for traditional and cloud applications through management from a business perspective including Oracle Fusion Applications Maximum return on IT management investment through the best solutions for intelligent management of the Oracle stack and engineered systems Unmatched customer support experience through real-time integration of Oracle s knowledgebase with each customer environment Introduction With Enterprise Manager Cloud Control, Oracle has taken a unique approach to systems management, allowing organizations to deploy a single tool with a tightly integrated set of features to manage all tiers in the datacenter as well as the entire lifecycle of applications. By using Cloud Control, organizations are able to lower the cost of managing applications while at the same time dramatically improving quality of service. Because of this unique approach to systems management, Cloud Control is far more critical in the data center than the other management tools that are typically found. As such, High Availability has become a key requirement for many Cloud Control deployments as the impact of a Cloud Control outage is much more significant when compared to loss of a point-solution tool. Without access to Cloud Control, administrators are left unaware of the health of their business critical applications and are also unable to undertake many of their day-to-day tasks. A Cloud Control deployment includes a wide variety of components, and in a highly-available installation each must be considered. This presents a number of possibilities for the overall deployment architecture for a highly available implementation. This whitepaper will detail the steps required to setup a highly available Cloud Control in a Maximum Availability Architecture (MAA) Level 3 configuration. The configuration outlined ensures that performance and availability are maintained, while keeping costs contained. The steps include a number of best practice recommendations and are sequenced in such a way that the overall number of deployment steps and reconfigurations while building the configuration are kept to a minimum. The setup steps also make 2 use of automated processes where possible, thus further reducing the time taken to setup Cloud Control and minimizing the risk of human error. Cloud Control Architecture Cloud Control provides a central point for monitoring and administration in the data center. To achieve this, it collects information from a variety of distributed components and consolidates it in a centralized repository. These components must all work in harmony for the Cloud Control system to operate correctly. The components and information flows involved in collecting, processing and presenting this information are as follows: Oracle Management Agents (Agents) The Oracle Management Agent is a software component that is installed on every monitored host in the enterprise. Agents collect information from the targets running on the host and send this information to the Oracle Management Service (OMS). Agents also perform operations against the targets on behalf of Cloud Control users. There are many different types of targets that Cloud Control can manage. Examples include Host, Database, Listener, ASM, WebLogic Server, Service Bus and Fusion Applications components Oracle Management Service (OMS) The Oracle Management Service is the central component in Cloud Control. It is the component with which all other components interact (see Figure 1). The OMS is deployed on WebLogic Server and must be available in order for the agents to upload data and for administrators to access the Cloud Control console. Oracle Management Repository (Repository) The Oracle Management Repository is used as a persistent data store. Examples of the information stored in the repository include user information, job definitions, monitoring and alerting settings and all configuration and monitoring data related to targets. The OMS depends on the repository being available, and as such Cloud Control cannot run if the repository is unavailable. Oracle Software Library The Software Library is a filesystem repository that stores software entities such as software patches, virtual appliance images, reference gold images, application software, and their associated directive scripts. The software library is accessed by the OMS and is used extensively by the Cloud Control framework for features such as self-update and agent-push. Console The Console is a browser-based web application that is the main user interface for Cloud Control. This console allows the administrator to monitor, manage and report on the Cloud Control targets that have been setup. Enterprise Manager Command Line Interface (EMCLI) EMCLI allows users to access Cloud Control functionality either interactively from a command line, or as part of a script. This allows Cloud Control operations to be integrated with complex business processes without user interaction. 3 Figure 1: Cloud Control Key Components Implementation of a Level 3 MAA Setup There are many different configuration options available and these will determine the availability provided by the Cloud Control system. When architecting a highly available Cloud Control implementation, consideration should be given to each tier as all tiers need to be available and work in concert for the system to function as a whole. To simplify the design of highly available Cloud Control implementations, 4 basic configuration levels are described in the Cloud Control documentation. These 4 configurations start at Level 1 and progresses through to Level 4, with each level providing increased availability over the previous one. Level 1 provides the least protection against planned or unplanned outages as there is just a single OMS and a single database, and no redundant components are configured. As such, failure of either the OMS or the Repository would result in the system being unavailable until such a time that the component could be recovered. In contrast to this, Level 4 provides a significantly higher level of protection which is made possible with the use of redundant components installed across multiple physical locations. The levels of availability are briefly summarized in the table below: Level Sites Description Load Balancer Requirements 1 Single Site OMS and Repository hosts configured on a single site. Each resides on their own host with no failover. 2 Single Site Pair of OMSs installed in active/passive mode on shared storage with VIP based failover. None None Repository hosts configured with Local Physical Standby Database. 3 Single Site Multiple OMSs deployed in Active/Active configuration with a Server Local Load 4 Load Balancer (SLB) Balancer RAC primary database RAC Physical Standby Database on same site as primary database 4 Multi Site Active components deployed at primary site. Primary OMS in Active/Active configuration with a Server Load Balancer (SLB) RAC Primary Database All standby components are deployed on standby site in passive mode. Components on standby site are only activated after switchover/failover. Required: Local Load Balancer for each site Optional: Global Load Balancer Multiple standby OMSs configured with a Server Load Balancer (SLB) RAC Physical Standby Database This document will describe the implementation of a Level 3 MAA setup. This offers a very high level of protection within a single site. The following diagram outlines a Level 3 configuration. As illustrated, this configuration comprises multiple Management Services accessed through a local server load-balancer (SLB) and a Repository database that uses Oracle Real Application Clusters. Oracle recommends that the Repository and any active OMSs are located in close proximity to one another as increased latency between the OMS and Repository tiers will impact the overall performance of Cloud Control. As a Level 3 configuration has multiple active OMS and Repository servers it provides continuous availability when either a database host or OMS host fails. Furthermore, a Level 3 configuration utilizes a Data Guard standby database. The standby database offers protection for the database tier in the event that the database storage should fail. It should be noted that a Level 3 configuration does not protect against site failure. If protection against site failure is required a Level 4 setup should be considered. 5 Figure 2: Cloud Control Level 3 MAA Deployment For more information regarding the various levels of availability refer to the Enterprise Manager Cloud Control documentation. Cloud Control Infrastructure The hardware used to setup this Cloud Control installation is as follows: 2 node Linux Cluster for Primary repository DB 2 node Linux Cluster for Standby repository DB 2 Linux servers for OMS F5 SLB NFS storage server for Software Library 6 The steps for building the above configuration are outlined in the following flowchart: Prepare for Installation Install Primary OMS Configure SLB Add Repository Targets Configure Software Library Add Second OMS Create Standby Database Convert Standby Database to RAC Preparing for Cloud Control Installation Prior to implementation, some prerequisite steps must be done on the OMS and Repository nodes. These steps are outlined below. Prepare Database Clusters The first step that should be taken prior to a Level 3 Cloud Control implementation is the configuration of the Primary and Standby database clusters. The instructions in this document assume that primary and standby clusters have already been configured. A Level 3 setup provisions a standby cluster on the same site as the primary cluster. The standby cluster provides protection against failure of the entire primary database cluster. By configuring the standby database environment on identical hardware to the primary environment, it is possible to run Cloud Control at full capacity in the event of a failover to the standby. We configured 2 clusters as follows: Primary and Standby clusters both running Oracle Enterprise Linux 5.6 (x86-64) Oracle Clusterware 11g Release 2 (11.2) binaries installed and configured on primary and standby clusters Oracle Database 11g Release 2 (11.2) binaries installed on primary and standby clusters 7 SCAN listeners configured on Primary and Standby clusters Primary system names of emrep1 and emrep2 forming cluster emrep-cl Standby system names of emreps1 and emreps2 forming cluster emreps-cl As per Oracle Best Practice, the Primary and Standby clusters were each configured with ASM disks for shared database storage. DATA (Data) and FRA (Fast Recovery Area) ASM Diskgroups were configured and available on the Primary and Standby clusters. As per Oracle Best Practice, these were configured with EXTERNAL redundancy as the underlying storage hardware supports redundancy. Oracle database 11gR2 was used as it allows for the use of the Single Client Access Name (SCAN) for client connections. If possible, it is recommended to use a SCAN address as it allows for the addition and removal of database cluster nodes without reconfiguration of the OMS database connections. For more information on Single Client Access Name refer to the Oracle Database 11g Release 2 Real Application Clusters Administration and Deployment Guide. Prepare Repository Database During the installation of Cloud Control the installer will prompt the user to specify a database to be used as the Cloud Control repository. If your planned configuration uses a RAC database as a repository, it is recommended to create your RAC database prior to the installation of Cloud Control. This approach - as opposed to installing using a single instance database and then converting to RAC - helps to reduce the overall steps and time taken to complete the configuration. We created a database to be used as the primary Cloud Control repository on the primary database cluster with the name emrep. This database consisted of the emrep1 and emrep2 instances. The datafiles, redologs and controlfiles were placed on the DATA shared ASM diskgroup. In addition to meeting the requirements specified in the Enterprise Manager Cloud Control Basic Installation Guide, we configured the database in ARCHIVELOG mode and enabled Flashback Database. It is recommended that these options are enabled when the database is created as by doing so it is possible to avoid having to reconfigure the database when creating and managing the Standby Database later on. For further information and recommendations on the prerequisites for creating the repository database on RAC refer to the following documentation: Clusterware Administration and Deployment Guide Real Application Clusters Administration and Deployment Guide Automatic Storage Management Administrator s Guide Enterprise Manager Cloud Control Basic Installation Guide Oracle Enterprise Manager Cloud Control 12c Sizing Guidelines 8 Prepare OMS Nodes The final step that we needed to complete prior to installing the Cloud Control software was to prepare the OMS nodes. When creating a highly available OMS tier, more than one management service must be configured. We had a pair of Linux servers that would be used as OMS servers. These were configured as follows: Both servers running Oracle Enterprise Linux 5.6 (x86-64) System names were oms1 and oms2 An NFS location accessible from both servers was configured and mounted as /cc12_swlib For full details of the requirements for the OMS see the Enterprise Manager Cloud Control Basic Installation Guide Following the successful preparation of the database clusters and OMS nodes, the installation of Cloud Control could be started using the Oracle Installer. Step 1: Install Cloud Control on primary OMS server The Cloud Control installation should be started from the first node that will be configured as an OMS server. In our example, we staged the installation media and started the installer on the host named oms1. We chose to create a new Enterprise Manager System using Advanced installation. The Middleware Home was specified as /u01/middleware which was an empty directory on the OMS host: In Step 5 in the installer, we chose not to install any additional plug-ins at this time. In Step 6 we specified passwords for the WebLogic Domain and Node Manager 9 In Step 7 we provided the login credentials for the repository database that we created. We specified one of the database hosts and specified the service/sid as emrep. Tip: Entering a cluster database instance in Step 7 will prompt for the modification of the database connect string. If using Oracle Database 11gR2, it is recommended to specify a connect string that uses the SCAN address when prompted. By using the SCAN address to connect to the database it is possible for nodes to be added and removed from the RAC cluster without having to subsequently change the connect string that the OMSs use. As we are using a cluster database on Oracle Database 11g Release 2, we modified the connect string to specify the SCAN address as follows: (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = = 1521)) (CONNECT_DATA = )) (SERVER = DEDICATED) (SERVICE_NAME = emrep) For the repository configuration details in Step 9, we specified the previously created ASM diskgroups as the location for the Management Tablespace, Configuration Data Tablespace and JVM Diagnostics Data Tablespace. 10 When prompted to specify the ports for this OMS, it is recommended to specify ports that are also free on other servers that will be used as OMS hosts. This helps to simplify the load balancer setup later on. In Step 10, we configured ports as follows during the installation process: Of these ports, the following are relevant for the SLB configuration later on: Enterprise Manager Upload HTTP Port: 4889 Enterprise Manager Upload HTTP SSL Port: 4900 Enterprise Manager Central Console HTTP Port: 7788 Enterprise Manager Central Console HTTP SSL Port: 7799 Upon successfully completing the installation a summary screen describing how to access the Cloud Control installation is presented. The information presented on this screen should be noted. 11 Immediately following the installation the initial OMS configuration should be verified to determine the configuration details such as security setup, ports used and load balancer setup. This can be done by issuing the emctl status oms details command from the OMS server: $./emctl status oms -details Oracle Enterprise Manager Cloud Control 12c Release Copyright (c) 1996, 2011 Oracle Corporation. All rights reserved. Enter Enterprise Manager Root (SYSMAN) Password : Console Server Host : HTTP Console Port : 7788 HTTPS Console Port : 7799 HTTP Upload Port : 4889 HTTPS Upload Port : 4900 OMS is not configured with SLB or virtual hostname Agent Upload is locked. OMS Console is locked. Active CA ID: 1 Console URL: Upload URL: WLS Domain Information Domain Name : GCDomain Admin Server Host: oms1 Managed Server Information Managed Server Instance Name: EMGC_OMS1 Managed Server Instance Host: The OMS application traffic includes browser-oms traffic (ie. the browser traffic created by users accessing Cloud Control) and agent-oms traffic (ie. the traffic created by the agents uploading their data to the OMS). Both browser-oms traffic and agent-oms traffic can be configured to use either HTTP or HTTPS. To ensure secure communication between Cloud Control components, it is recommended to use HTTPS for all agent-oms and browser-oms traffic. The output above shows that Agent Upload and OMS console ports are already locked, and therefore using HTTPS. As this is the case no further action needs to be taken here. It also shows that the OMS is not currently configured with an SLB or virtual hostname. The Console and Upload URLs indicate that the application is accessed directly through the physical host that the OMS was installed on (oms1). It is recommended that the repository connect string that is used by the OMS to connect to the database server is checked using the emctl config oms list_repos_details command: $./emctl config oms -list_repos_details Oracle Enterprise Manager Cloud Control 12c Release Copyright (c) 1996, 2011 Oracle Corporation. All rights reserved. 12 Repository Connect Descriptor : (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)( Repository User : SYSMAN The above output shows that the SCAN address specified during the initial OMS install is being used. Final verification that the OMS is operating correctly can be done by logging in to Cloud Control. In our case we used the following URL: After Step 1, the Cloud Control topology is as follows: Figure 3: Cloud Control Topology After Installation of
View more...
We Need Your Support
Thank you for visiting our website and your interest in our free products and services. We are nonprofit website to share and download documents. To the running of this website, we need your help to support us.

Thanks to everyone for your continued support.

No, Thanks

We need your sign to support Project to invent "SMART AND CONTROLLABLE REFLECTIVE BALLOONS" to cover the Sun and Save Our Earth.

More details...

Sign Now!

We are very appreciated for your Prompt Action!