Tags

,

OEM 12c Release 4 has several new EM CLI verbs, including manage_agent_partnership.

From the on-line help:

“A partner agent is an agent that, in addition to its other functions, is assigned to another agent as its ‘partner’ in order to remotely monitor the availability of that agent and its host.”

Today I noticed that a totally unrelated agent was listed as the partner agent for one of my hosts.  Since partner agents pick up metric collection when the agent on its partner is unavailable, it was something that needed fixing.

The sequence is straightforward:

  1. Log into EM CLI and run emcli sync (like you always do, right?)
  2. Remove the old partnership
  3. Add a new partnership
  4. Verify on the Agent’s console page

> emcli manage_agent_partnership

  -add_agent_partnership

-monitored_agent=rudolph03b.edu:3872

-partner_agent=rudolph03a.edu:3872

> rudolph03b.edu:3872 is already partnered with blitzen01a.edu:3872

> emcli manage_agent_partnership

remove_agent_partnership

-monitored_agent=rudolph03b.edu:3872

> Manage Agent Partnership operation completed successfully

> emcli manage_agent_partnership

  -add_agent_partnership

-monitored_agent=rudolph03b.edu:3872

-partner_agent=rudolph03a.edu:3872

> Manage Agent Partnership operation completed successfully