Oracle 12c Agent Install for Linux

Source: Internet
Author: User

Install Agent Agent

In the em11g, agent installation is through the host side of the producer to download Agent agent and installation, on the EM12C version, on the EM12C server, through the "push" way the agent agent in the remote installation to the monitored host side, You can also install agent agents for multiple hosts at the same time.

Official documents:

Http://www.gokhanatil.com/2011/10/how-to-deploy-oracle-management-agent.html

Installation method:

First login em12c

Select: Add targets by setting--Add targets manually

Click: Add Manual target –> Add host

Add host target name and platform

#mkdir/u01/app/agent12c

#chown oracle:oinstall/u01/app/agent12c

#chmod g+w agent12c


Point to create proof of identity


Next

Click "Deploy Agent"



[Email protected]]$ pwd

/u01/app/agent12c/agent_inst/bin

[[Email protected]]$./EMCTL Status Agent

Oracleenterprise Manager Cloud Control 12c Release 3

Copyright (c) 1996, Oracle Corporation. Allrights reserved.

---------------------------------------------------------------

agentversion:12.1.0.3.0

omsversion:12.1.0.3.0

protocolversion:12.1.0.1.0

Agenthome:/u01/app/agent12c/agent_inst

Agentbinaries:/u01/app/agent12c/core/12.1.0.3.0

AgentProcess id:9697

Parentprocess id:9612

agenturl:https://racdb1.localdomain:3872/emd/main/

Repositoryurl:https://newcc.localdomain:4901/empbs/upload

startedat:2014-04-04 21:30:36

Startedby user:oracle

Lastreload: (None)

Lastsuccessful upload:2014-04-04 21:31:51

lastattempted upload:2014-04-04 21:31:51

Totalmegabytes of XML files uploaded so far:0.24

Numberof XML Files Pending upload:0

Sizeof XML files pending upload (MB): 0

Availabledisk space on upload filesystem:97.91%

Collectionstatus:collections enabled

Heartbeatstatus:ok

lastattempted Heartbeat to oms:2014-04-04 21:33:40

Lastsuccessful Heartbeat to oms:2014-04-04 21:33:40

nextscheduled Heartbeat to oms:2014-04-04 21:34:40

---------------------------------------------------------------

Agentis Running and ready





http://blog.csdn.net/sunjiapeng/article/details/11036751

Http://docs.oracle.com/cd/E24628_01/install.121/e24089/install_agent_usng_shrd_hm.htm

[[Email protected]~]$ vi/u01/app/oracle/oms12cr3/oms/sysman/prov/agentpush/agentpush.properties

Oracle.sysman.prov.agentpush.enablepty=true

[Email protected] app]# ll/etc/sudoers

-r--r-----1 root root 3381 2013-01-09/etc/sudoers

Or

Sudoers file is read-only by default

[Email protected]]# chmod 777/etc/sudoers

[[Email protected]]# vi/etc/sudoers

Defaults!requiretty

Defaults VISIBLEPW

Oracle All= (All) all

[Email protected]]# chmod 440/etc/sudoers

[[Email protected]]# ll/etc/sudoers

-r--r-----1 root root 3382 04-04 17:40/etc/sudoers

Or:

If you use the above two settings, or ignore the root script using sudo


After the deployment is complete, log in with the root user on the target side and execute

-r--r-----1 root root 3381 04-16 06:25/etc/sudoers

[[Email protected]]#/u01/app/agent/core/12.1.0.3.0/root.sh

Finishedproduct-specific root actions.

/etcexist

Creating/etc/oragchomelist file ...

Finishedproduct-specific root actions.

Uninstalling Agent Agent

Http://docs.oracle.com/cd/E24628_01/install.121/e24089/deinstall_agent.htm#CBBCADCD

[Email protected]]$ pwd

/u01/app/agent12c/core/12.1.0.4.0/oui/bin

[[Email protected]]$./runinstaller-deinstall oracle_home=/u01/app/agent12c/agent_inst/core/12.1.0.4.0/- Removeallfiles

Select Delete Orahome1-orahome6 First

Then delete the sbin12c1

Finally delete agent12c1

Finally Delete Agent directory contents

[Email protected]]$ ls

Agentimage.properties agent_inst Core Plugins plugins.txt Plugins.txt.status

[Email protected]]$ RM-RF *


Oracle 12c Agent Install for Linux

Related Article

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.