Installation of Oracle Enterprise Manager Cloud Control 12c

Source: Internet
Author: User
Tags scp command

Here, I am introducing the installation of the cloud Control 12c. The previous version is called Grid Control, which is also known as 11g. When I write this blog, the Cloud Control 13c has come out, this version follow me to introduce.

  Before installing, let's take a look at the overall architecture.   First, it needs a database (that is, repository) to hold the configuration information for the cloud control. A server is required to install cloud Control. We then use the browser to access the console of the cloud control (also called EM) and then the agent for the database server to be monitored. This will enable us to monitor.   Below, let me introduce my current environment and describe the specific installation steps again. Database (Repository): Ip:172.168.19.2hostname:djp01por:1521service Name:ora11 and ensures that the current database can be accessed, and SYS users can connect remotely. [[email protected] ~]$ sqlplus/nolog sql*plus:release 11.2.0.4.0 Production on Sun Dec 15:30:31 2015 c Opyright (c) 1982, Oracle.  all Rights reserved. sql> Conn [email protected] as Sysdbaenter password: connected.sql>  SQL> Select Name,open_mode from v$database  2  / name      open_mode------------ -----------------ORA11     READ Write sql> cloud control has some parameters for its repository recommendations, are as follows: processes: At least greater than 500. Open_cursor: At least greater than 350. SGA: At least greater than 2G. PGA: At least greater than 1G. LogFile: At least greater than 320M. The above information is now almost always available in the database environment. At the same time, it is required that no EM is configured on the repository library and, if configured, deleted using Emca-deconfig dbcontrol db-repos drop. if The repository library uses 12c, and you need to set the parameter db_securefile to permitted.  cloud control server: Ip:172.168.20.20hostname:oem12cos version:oracle Linux 6.6  Let's look at the specific installation process. One, you need to prepare a database server and install Oracle, and then configure the requirements as described above. I will not introduce the specific process here.   Second, configure the cloud control server. 1, create the user and user groups, create the installation directory, and empower. Groupadd-g oinstalluseradd-u 2000-g oinstall oemmkdir-p/oracle/em12cchown-r oem:oinstall/oracle/em12c 2,/ The configuration of the etc/security/limits.conf. Add the following to the file, OEM     soft nofile 4096oem     Hard Nofile 4096 3, RPM package installation. make-3.81binutils-2.17.50.0.6gcc-4.1.1libaio-0.3.106glibc-common-2.3.4libstdc++- 4.1.1sysstat-5.0.5glibc-devel-2.12-1.7-i686glibc-devel-2.5-49-x86_64glibc-2.12-1.47.0.2-x86_64 need to install the RPM package above. In addition, you will need to install the following two packages, yum-y install xorg-x11-xauthyum-y install libxextyum-y install libxtstyum-y install  LIBXP is required when executing runinstanller. In addition, it is necessary to install openssh-clients this RPM package for subsequent agent releases (the principle is the SSH protocol, execute the SCP command).  4, configure/etc/hosts. Add the following to the file [[email protected] ~]$ cat/etc/hosts127.0.0.1   localhost localhost. localdomain localhost4 localhost4.localdomain4::1         localhost localhost.localdomain Localhost6 localhost6.localdomain6 172.168.20.20   oem12c 172.168.19.2    djp01[[email  protected] ~]$  above that IP and hostname is the IP information of the current server, the following is its repository library of IP information. Once configured, we check to ensure that it is unblocked. [[email protected] ~]$ telnet djp01 1521Trying 172.168.19.2...Connected to DJP01. Escape character is ' ^] '.  ^cconnection closed by foreign host. [[email protected] ~]$  description is pass, the network is not a problem.  5, upload and unzip the Cloud control installation package, unzip it, and execute the Runinstaller script. Here, I'm using Em12104_linux64_disk1.zip,em12104_linux64_disk2.zip,em12104_linux64_disk3.zip. After uploading these three files to the same directory, unzip them directly. Execute Runinstaller script will enter the following interface,  click Next.   can choose Skip, then click Next.   Enter the directory for the installation list and click Next.   Here are some checks that are best to pass. The above is because my physical memory is low (at least 3G).   Select Advanced, click Next.   Enter a directory for middleware Home,agent base, and then enter hostname.   Here, keep it by default.   Enter the password and the installation directory for OMS Instance base respectively.   Enter the connection information for the repository library it corresponds to.   Enter the password for Sysman and agent registration. This sysman is createdIn the database user of the repository library, the following is the directory where the spatial counterpart data files are created on the repository library. After the installation is complete, we can see this information on the repository library. :sql> Select username,account_status  2  from dba_users  3  where username like ' sysman% '   4  /
USERNAME                       Account_status---------------------- ----------------------------------------Sysman                     &NBS P   OPENSYSMAN_OPSS                    OPENSYSMAN_MDS     & nbsp               OPENSYSMAN_APM                 &N Bsp   Opensysman_ro                      expired & locked&nbsp ; Sql> Select name,ts#  2  from v$tablespace  3  where name like ' mgmt% '   4  / name &N Bsp                                ts#-------- --------------------------------mgmt_ecm_depot_ts                     & nbsp; 8mgmt_tablespace                         9MGMT_AD4J_TS                           10 sql> select name from V$dat Afile where ts# in (8,9,10)   2  /  NAME--------------------------------------------------------------------------------/u01/app/oracle/oradata/ Ora11/mgmt_ecm_depot1.dbf/u01/app/oracle/oradata/ora11/mgmt.dbf/u01/app/oracle/oradata/ora11/mgmt_deepdive.dbf  SQL>   Here is information on some of its ports. In this step, the installation begins. After the installation is complete, use the root user to execute the above script, as prompted.    the last step, it gives the address of the visit. Click Close to complete the installation.  6, configure start and stop scripts. [[email protected] ~]$ cat. Bash_profile | grep alias# Get The aliases and Functionsalias staroms= "/oracle/em12c/middleware_home/oms/bin/emctl start OMS" Alias stopoms= "/oracle/em12c/middleware_home/oms/bin/emctl Stop Oms-all" Alias startagent= "/oracle/em12c/agent_base/core /12.1.0.4.0/bin/emctl start Agent "Alias Stopagent="/oracle/em12c/agent_baSe/core/12.1.0.4.0/bin/emctl Stop Agent "[[email protected] ~]$ 
Access em: You can log in with Sysman users. zhuan:http://blog.163.com/donfang_jianping/blog/static/1364739512015112002247679/

Installation of Oracle Enterprise Manager Cloud Control 12c

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.