Create a Fleet

A fleet is the primary collection with which you interact when using JMS. It contains Managed Instances or hosts that are monitored and managed as a group. You can create a fleet using the Java Management Service user interface.

  1. In the Oracle Cloud Console, open the navigation menu, click Observability & Management, and then click Fleets under Java Management.
  2. Select the compartment Fleet_Compartment that you created earlier.
  3. Click Create fleet.
  4. In the Create fleet dialog box, enter a name for the Fleet name and provide a description in the Fleet description..
    For example, your fleet name might be my-fleet-1.
  5. Do not select the advanced features option.
    You can enable advanced features later, once you familiarize yourself with JMS.
  6. Click Next.
    You are prompted to review the information.
  7. Click Create.
    This creates a new fleet and its configuration. A green check is marked for each of the steps that is successful.

    Note:

    If an error occurs in the creation process, then an error message is displayed. Resolve the error and restart the fleet creation process.
  8. Click Done once the fleet is set up.
  9. After JMS is linked to the management instance, it will collect information about your Java runtimes. The JMS agent scans the instance periodically. The following are the default configuration values:
    1. Java runtime usage in minutes: The frequency at which the agent must report Java usage to JMS. The values must be between 5 and 90 minutes. The default value is 60 minutes.
    2. Agent polling interval: The frequency at which the agent must check the work requests. For example, if the value specified is 10 minutes, the agent checks the work requests every 10 minutes and executes them. The values must be between 10 minutes and 12 hours. The default value is 10 minutes.
    3. Java runtime discovery: The frequency at which the agent should scan their hosts for Java runtime installations. The values must be between 3 hours to 28 days. The default value is 24 hours.
    To change the defaults, click on the fleet. In More Actions, click Configure agent settings. Change the Java Runtime Usage, Agent Polling Interval, Work Request Validity and Java Runtime Discovery values, as needed. Click Save changes to save the new setting.

    Note:

    The update of agent settings will take at least the current agent polling interval to complete. The new settings are applied after the polling interval completes.