27 Deinstalling JVMD Agents

This chapter describes how you can deinstall Java Virtual Machine Diagnostics (JVMD) Agents in the Enterprise Manager Cloud Control environment.

Deinstalling JVMD Agents

This section describes the methods to remove JVMD Agents. It consists of the following:

Removing JVMD Agents Using Engines And Agents Page

To remove the JVMD Agents (that are deployed on monitored WebLogic domains) using the Engines And Agents page, perform the following steps:

  1. From the Setup menu, select Middleware Management, then select Engines And Agents.
  2. On the Engines And Agents page, click Manage JVMD Agents.

    Note:

    If no active JVMD Engines are present and no JVMD Agents are deployed, the Manage JVMD Agents button is disabled.

  3. For Operation, select Remove.

    If you select Expand All from the View menu, you can view the target name, target type, target host, target status, and so on of all the Managed Servers on which JVMD Agents are deployed.

    Select the JVMD Agents you want to remove. Click Next.

  4. On the Target Credentials page, for each WebLogic domain, specify a value for Oracle EMAgent Target Host Credentials and Oracle WebLogic Domain Credentials (corresponding to the Admin server target), and then click Apply.

    Note:

    In case host and domain preferred credentials are already set for the Admin server target, they are automatically applied to the domain, and it is not required to click Apply.

    Oracle EMAgent Target Host Credentials are the login credentials for the host on which the Management Agent, that is used to discover the WebLogic domain's Admin Server, is running. Oracle WebLogic Domain Credentials are the credentials for the Administration Server of the selected WebLogic domain.

    To set the preferred credentials for a WebLogic domain's Admin server (that is, the preferred EMAgent target host credentials and the preferred Oracle WebLogic Domain credentials), from the Setup menu, select Security, then select Preferred Credentials. Select the Oracle Admin Server target type, then click Manage Preferred Credentials. In the Target Preferred Credentials section, set the preferred host credentials and the preferred WebLogic administrator credentials for the required WebLogic Admin server.

    Click Next.

  5. On the JVMD Agents Configurations page, specify values for the WebLogic Home and Middleware Home fields.

    These fields are displayed only if their values could not be obtained internally. Also, if the WebLogic Administration Server is behind a firewall or on a virtual host, the application may not be able to connect to it using the default information. In this case, you may need to provide additional information in the Advanced Domain Configuration section. For example, if the WebLogic Administration Server is on a virtual host, and the application cannot connect to it using the default host value, you must provide the virtual host IP address for Administration server host.

    Click Next.

  6. On the Review page, review all the information, and then click Remove.

Note:

To deploy an agent after you have removed it, you must restart JVM before deploying the agent.

Removing JVMD Agents Manually

To manually remove the JVMD Agent deployed to a target, perform the following steps:

  1. Log in to the Administration Console of the target server.
  2. On the Home Page, click Deployments.
  3. Select the relevant JVMD Agent application (javadiagnosticagent).

    Note:

    The JVMD agent can be deployed in 2 ways:
    • Using bulk deployment job on Weblogic domain manager servers. In this case, the application is referred as javadiagnosticagent.

    • Manually downloading agent and deploying to a server. In this case, the application is referred as jamagent.

  4. From the Stop menu, select Force Stop Now.
  5. After the applications are stopped, select the same applications, then click Delete.
  6. Log in to Enterprise Manager Cloud Control.
  7. In Cloud Control, from the Targets menu, select Middleware.
  8. On the Middleware page, in the Search table, search for targets of type Java Virtual Machine, select the target corresponding to the server, then click Remove.

Note:

To deploy an agent after you have removed it, you must restart JVM before deploying the agent.