Posts

Showing posts with the label agent

Upgrading EM12c Agents using EMCLI

Note to self on how to upgrade EM Agents using EMCLI Find upgradeable agents: $ emcli get_upgradable_agents Upgradable Agents Agent Installed Version Version After Upgrade Platform Oracle Home ----- ----------------- --------------------- -------- ----------- oradba10t:3872 12.1.0.2.0 12.1.0.3.0 IBM AIX on POWER Systems (64-bit) /u02/oracle/agent12c/core/12.1.0.2.0 oradba11t:3872 12.1.0.2.0 12.1.0.3.0 IBM AIX on POWER Systems (64-bit) /u02/oracle/agent12c/core/12.1.0.2.0 $ vi /tmp/oradba_agents.txt $ cat /tmp/oradba_agents.txt oradba10t:3872 oradba11t:3872 Upgrade agents using an input file  $ emcli upgrade_agents -input_file="agents_file:/tmp/oradba_a...

Oracle Enterprise Manager Cloud Control 12c Shared Agent Install

This post is mostly a reminder to myself on how to install an EM12c shared agent. I found the documentation somewhat lacking, so I hope this will help someone else attempting to perform a shared agent installation. With a shared agent installation, a master agent is installed on a shared filesystem such as NFS and a shared agent is "installed" on remote hosts. The remote hosts should have read-only access to the share. The documentation lists the following pre-requisites for the mount options on the remote host. mount -t nfs -o ro : For example, run the following command: mount -t nfs -o ro abc.oracle.com:/scratch/masterAgent /scratch/sharedAgent Since I use a NAS for serving NFS shares in my environment I replaced the master_agent_host_name with the name of the filer and the exported volume. The shared agent will have its agent instance located on a local file system which contains configuration and host-specific information. When deploying an agent on N...

Installing Oracle EM 12c Agents with EMCLI

Oracle Enterprise Manager Cloud Control 12c introduced several ways to deploy agents to hosts. The Oracle Management Agents are responsible for gathering metrics from targets such as database instances, listeners and the host themselves and sending them to the Oracle Management repository and Server for further processing. It also interacts with targets by executing commands sent via the OMS Console and the EM Command Line Interface (EMCLI). EM12c release 1 introduced four ways of deploying Management Agents Add Target Host Wizard - Agents are mass deployed using the Management Console. AgentPull - Silent install script to automatically download and deploy agents on remote targets using a response file. agentDeploy - Silent install script to deploy agents using a response file after manually downloading a compressed package of the agent using EMCLI and transferring it to remote targets. RPM - Use a .rpm package to deploy to targets that support it (Linux x86-64).  Start...