+ All Categories
Home > Documents > Enterprise managerclodcontrolinstallconfiguration emc12c

Enterprise managerclodcontrolinstallconfiguration emc12c

Date post: 11-May-2015
Category:
Upload: rakesh-gujjarlapudi
View: 1,287 times
Download: 1 times
Share this document with a friend
Description:
Document describes 1. EMC 12C Installation & Configuration 2. EMC 12C Agent Installation & Configuration 3. JVMD Manager & Agent Installation & Configuration EMC 12C R3 is a very powerfull monitoring tool to monitor Enterprise Application & Hardwares
Popular Tags:
37
1. Install Oracle Enterprise Manager Cloud Control 12C Server Prerequisites oracle-validated, kernel-headers, sysstat, setarch, rng-utils Database Prerequisites Oracle Database 11.2.0.2 + Enterprise Edition Make sure database is deconfigured emca -deconfig dbcontrol db -repos drop -SYS_PWD sep1407 -SYSMAN_PWD sep1407 Database Parameters EXEC dbms_auto_task_admin.disable('auto optimizer stats collection',null,null);
Transcript
Page 1: Enterprise managerclodcontrolinstallconfiguration emc12c

1. Install Oracle Enterprise Manager Cloud Control 12C

Server Prerequisites oracle-validated, kernel-headers, sysstat, setarch, rng-utils Database Prerequisites Oracle Database 11.2.0.2 + Enterprise Edition Make sure database is deconfigured emca -deconfig dbcontrol db -repos drop -SYS_PWD sep1407 -SYSMAN_PWD sep1407 Database Parameters EXEC dbms_auto_task_admin.disable('auto optimizer stats collection',null,null);

Page 2: Enterprise managerclodcontrolinstallconfiguration emc12c

./runInstaller -jreLoc /u02/oracle/jdk_64bit/jdk1.7.0_09/ -invPtrLoc /u02/oracle/oraInventory/oraInst.loc My Oracle Support Details Unselect I wish to receive security updates via My Oracle Support Click Next Note: This can be configured later

Software Updates Select Skip Click Next

Prerequisites check screen All the prerequisites should be met on the host server where the EMC 12C will be installed Click Next

Page 3: Enterprise managerclodcontrolinstallconfiguration emc12c

Installation Type Select Advanced Click Next

Installation Details Middleware Home Location - /u02/oracle/Middleware Agent Base Directory - /u02/oracle/agent Host Name – <hostname> Click Next

Plug-in Deployment Select any additional plugins are required, else leave it to default Click - Next

Page 4: Enterprise managerclodcontrolinstallconfiguration emc12c

WebLogic Server Configuration Enter passwords as required Click Next Please note the OMS Instance Base Location /u02/oracle/Middleware/gc_inst

Database Connection Details Enter database connection details Select Deployment size as needed. Click Next

Database Connection Details Click Yes

Page 5: Enterprise managerclodcontrolinstallconfiguration emc12c

Database Connection Details Click OK. These parameters will be updated later Click Next

Repository Configuration Details Enter the passwords as required Enter table space location as required Click Next

Port Configuration Details Any port configuration can be updated here Click Next

Page 6: Enterprise managerclodcontrolinstallconfiguration emc12c

Review Please review the installation Click Install

Installation Progress Details At 0%

Installation Progress Details At 47%

Page 7: Enterprise managerclodcontrolinstallconfiguration emc12c

Installation Progress Details Run the allroot.sh as root user and click ok

Output of allroot.sh [root@<hostname>]# pwd /u02/oracle/Middleware/oms [root@<hostname>]# sh allroot.sh Starting to execute allroot.sh ......... Starting to execute /u02/oracle/Middleware/oms/root.sh ...... Running Oracle 11g root.sh script... The following environment variables are set as: ORACLE_OWNER= aoracle ORACLE_HOME= /u02/oracle/Middleware/oms Enter the full pathname of the local bin directory: [/usr/local/bin]: /u02/oracle/local Creating /u02/oracle/local directory... Copying dbhome to /u02/oracle/local ... Copying oraenv to /u02/oracle/local ... Copying coraenv to /u02/oracle/local ... Entries will be added to the /etc/oratab file as needed by Database Configuration Assistant when a database is created Finished running generic part of root.sh script. Now product-specific root actions will be performed. /etc exist /u02/oracle/Middleware/oms Finished execution of /u02/oracle/Middleware/oms/root.sh ...... Starting to execute /u02/oracle/agent/core/12.1.0.2.0/root.sh ...... Finished product-specific root actions. /etc exist Finished execution of /u02/oracle/agent/core/12.1.0.2.0/root.sh ...... [root@<hostname>]#

Page 8: Enterprise managerclodcontrolinstallconfiguration emc12c

Finish Installation Click Close

Important Information Use the following URL to access: 1. Enterprise Manager Cloud Control URL: https://<hostname>:7799/em 2. Admin Server URL: https:// <hostname>:7101/console The following details need to be provided during the additional OMS install: 1. Admin Server Hostname: <hostname> 2. Admin Server Port: 7101 NOTE: An encryption key has been generated to encrypt sensitive data in the Management Repository. If this key is lost, all encrypted data in the Repository becomes unusable. Please run following command to backup the Management Service configuration including the emkey and keep the backup on another system: emctl exportconfig oms -dir <backup location>

Page 9: Enterprise managerclodcontrolinstallconfiguration emc12c

Status of the OMS [aoracle@<hostname> ~]$ cd $OMS_HOME/bin [aoracle@<hostname>]$ pwd /u02/oracle/Middleware/oms/bin [aoracle@<hostname> bin]$ ./emctl status oms -details Oracle Enterprise Manager Cloud Control 12c Release 2 Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved. Enter Enterprise Manager Root (SYSMAN) Password : <Dec 4, 2012 1:37:19 PM CST> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true> Console Server Host : <hostname> HTTP Console Port : 7788 HTTPS Console Port : 7799 HTTP Upload Port : 4889 HTTPS Upload Port : 4900 EM Instance Home : /u02/oracle/Middleware/gc_inst/em/EMGC_OMS1 OMS Log Directory Location : /u02/oracle/Middleware/gc_inst/em/EMGC_OMS1/sysman/log OMS is not configured with SLB or virtual hostname Agent Upload is locked. OMS Console is locked. Active CA ID: 1 Console URL: https:// <hostname>:7799/em Upload URL: https:// <hostname>:4900/empbs/upload WLS Domain Information Domain Name : GCDomain Admin Server Host: <hostname> Managed Server Information Managed Server Instance Name: EMGC_OMS1 Managed Server Instance Host: <hostname> WebTier is Up Oracle Management Server is Up [aoracle@<hostname> bin]$ Status of the Agent [aoracle@<hostname> bin]$ cd $AGENT_HOME/bin [aoracle@<hostname>]$ pwd /u02/oracle/agent/agent_inst/bin [aoracle@<hostname>bin]$ ./emctl status agent Oracle Enterprise Manager Cloud Control 12c Release 2 Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved. --------------------------------------------------------------- Agent Version : 12.1.0.2.0 OMS Version : 12.1.0.2.0 Protocol Version : 12.1.0.1.0 Agent Home : /u02/oracle/agent/agent_inst Agent Binaries : /u02/oracle/agent/core/12.1.0.2.0 Agent Process ID : 28630 Parent Process ID : 28580 Agent URL : https://pwesoem:3872/emd/main/ Repository URL : https://pwesoem:4900/empbs/upload Started at : 2012-12-04 13:25:48 Started by user : aoracle Last Reload : (none) Last successful upload : 2012-12-04 13:26:00 Last attempted upload : 2012-12-04 13:26:00 Total Megabytes of XML files uploaded so far : 0 Number of XML files pending upload : 0 Size of XML files pending upload(MB) : 0 Available disk space on upload filesystem : 89.04%

Page 10: Enterprise managerclodcontrolinstallconfiguration emc12c

Collection Status : Collections enabled Heartbeat Status : Ok Last attempted heartbeat to OMS : 2012-12-04 13:37:56 Last successful heartbeat to OMS : 2012-12-04 13:37:56 Next scheduled heartbeat to OMS : 2012-12-04 13:38:56 --------------------------------------------------------------- Agent is Running and Ready

Disable HTTPS(Peer not authenticated error) Step 1 – Stop agent on the host [aoracle@<hostname>bin]$ pwd /u02/oracle/agent/agent_inst/bin [aoracle@<hostname>bin]$ ./emctl stop agent Oracle Enterprise Manager Cloud Control 12c Release 2 Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved. Stopping agent ...... stopped.

Step 2 – Update the end.properties /u02/oracle/agent/agent_inst/sysman/config/emd.properties # # EMD main servlet URL # #EMD_URL=https://pwesoem:3872/emd/main/ EMD_URL=http://pwesoem:3872/emd/main/ # # OMS Upload URL # # if there is no receiving OMS or if you wish to disable the UploadManager # please set this value to empty or comment out below line # #REPOSITORY_URL=https://pwesoem:4900/empbs/upload REPOSITORY_URL=http://pwesoem:4889/empbs/upload # Make changes to the files as per the highlighted in red

Step 3 – Unlock OMS [aoracle@<hostname>bin]$ cd $OMS_HOME/bin [aoracle@<hostname>bin]$ ./emctl secure unlock Oracle Enterprise Manager Cloud Control 12c Release 2 Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved. Enter Enterprise Manager Root (SYSMAN) Password : <Dec 4, 2012 1:49:19 PM CST> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true> OMS Console is unlocked. HTTP ports too can be used to access console. Agent Upload is unlocked. Unsecure Agents may upload over HTTP. Restart OMS.

Step 4 – Restart OMS [aoracle@<hostname>bin]$ ./emctl stop oms -all Oracle Enterprise Manager Cloud Control 12c Release 2 Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved.

Page 11: Enterprise managerclodcontrolinstallconfiguration emc12c

Stopping WebTier... WebTier Successfully Stopped Stopping Oracle Management Server... Oracle Management Server Successfully Stopped AdminServer Successfully Stopped Oracle Management Server is Down [aoracle@<hostname>bin]$ ./emctl start oms Oracle Enterprise Manager Cloud Control 12c Release 2 Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved. Starting Oracle Management Server... Starting WebTier... WebTier Successfully Started Oracle Management Server Successfully Started Oracle Management Server is Up [aoracle@<hostname>bin]$ ./emctl status oms -details Oracle Enterprise Manager Cloud Control 12c Release 2 Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved. Enter Enterprise Manager Root (SYSMAN) Password : <Dec 4, 2012 2:02:16 PM CST> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true> Console Server Host : <hostname> HTTP Console Port : 7788 HTTPS Console Port : 7799 HTTP Upload Port : 4889 HTTPS Upload Port : 4900 EM Instance Home : /u02/oracle/Middleware/gc_inst/em/EMGC_OMS1 OMS Log Directory Location : /u02/oracle/Middleware/gc_inst/em/EMGC_OMS1/sysman/log OMS is not configured with SLB or virtual hostname Agent Upload is unlocked. OMS Console is unlocked. Active CA ID: 1 Console URL: https:// <hostname>:7799/em Upload URL: https:// <hostname>:4900/empbs/upload WLS Domain Information Domain Name : GCDomain Admin Server Host: <hostname> Managed Server Information Managed Server Instance Name: EMGC_OMS1 Managed Server Instance Host: <hostname> WebTier is Up Oracle Management Server is Up [aoracle@<hostname>bin]$

Please check that the agent and OMS are unlocked Step 4 - Restart the agent and perform check [aoracle@<hostname>bin]$ ./emctl start agent Oracle Enterprise Manager Cloud Control 12c Release 2 Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved. Starting agent ........ started. [aoracle@<hostname>bin]$ ./emctl pingOMS Oracle Enterprise Manager Cloud Control 12c Release 2 Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved. --------------------------------------------------------------- EMD pingOMS completed successfully [aoracle@<hostname>bin]$

Page 12: Enterprise managerclodcontrolinstallconfiguration emc12c

Log into EMC 12C http://<hostname:7799/em

Enter SYSMAN/*******

Click I Accept

Page 13: Enterprise managerclodcontrolinstallconfiguration emc12c

Set Summary as default home page Resynchronize Agents after disabling HTTPS

Page 14: Enterprise managerclodcontrolinstallconfiguration emc12c

Click Continue

Click the JOB ID to check the status of resynchronization

Page 15: Enterprise managerclodcontrolinstallconfiguration emc12c

Note that the resynchronization is succeeded

Make sure all components are up and running

Page 16: Enterprise managerclodcontrolinstallconfiguration emc12c

2. Install agents on SOA Clustered domains

Deploy SOA Agents

Page 17: Enterprise managerclodcontrolinstallconfiguration emc12c

Update fields highlighted and Click Next

Update necessary fields

Page 18: Enterprise managerclodcontrolinstallconfiguration emc12c
Page 19: Enterprise managerclodcontrolinstallconfiguration emc12c

Status of the deployment of agent

Page 20: Enterprise managerclodcontrolinstallconfiguration emc12c

This error is OK, since we have a 11g agent installed from the previous installs

Page 21: Enterprise managerclodcontrolinstallconfiguration emc12c

Run u01/oracle/agent/core/12.1.0.2.0/root.sh Shutdown the agent, Unsecure the agents and resynchronize the agents as mentioned above Please check the status of the agents as up

Page 22: Enterprise managerclodcontrolinstallconfiguration emc12c

Secure targets using preferred credentials

Page 23: Enterprise managerclodcontrolinstallconfiguration emc12c
Page 24: Enterprise managerclodcontrolinstallconfiguration emc12c

Configure Auto Discovery on the SOA agents

Page 25: Enterprise managerclodcontrolinstallconfiguration emc12c

Select Hosts

Page 26: Enterprise managerclodcontrolinstallconfiguration emc12c

Edit Parameters

Enter Middleware home

Page 27: Enterprise managerclodcontrolinstallconfiguration emc12c

Check Auto Discovery Results

Page 28: Enterprise managerclodcontrolinstallconfiguration emc12c

Promote SOA Targets – Unmanaged state to Managed State

Page 29: Enterprise managerclodcontrolinstallconfiguration emc12c
Page 30: Enterprise managerclodcontrolinstallconfiguration emc12c

3. Install JVMD Manager to monitor JVM Step1 Unsecure the agent pwesoem by setting preferred credentials Test the preferred credentials As described above Step 2 Configure Auto Discovery Step 3 Resynchronize the agent and restart the agent from command prompt

Step 4 Select Application Performance Agents

Page 31: Enterprise managerclodcontrolinstallconfiguration emc12c

Update fields as needed. This will create a new managed server where the JVM Diagnostics engine will reside

Page 32: Enterprise managerclodcontrolinstallconfiguration emc12c
Page 33: Enterprise managerclodcontrolinstallconfiguration emc12c
Page 34: Enterprise managerclodcontrolinstallconfiguration emc12c
Page 35: Enterprise managerclodcontrolinstallconfiguration emc12c
Page 36: Enterprise managerclodcontrolinstallconfiguration emc12c
Page 37: Enterprise managerclodcontrolinstallconfiguration emc12c

If you hit the error that ls: /oracle/agent12c/core/12.1.0.1.0/sysman/jlib/wlfullclient.jar: No such file or directory Please do the below: enter <WEBLOGIC_HOME>/server/lib java -jar wljarbuilder.jar --> generate wlfullclient.jarthen copy wlfullclient.jar to /oracle/agent12c/core/12.1.0.1.0/sysman/jlib/


Recommended