Administration Console Online Help

Previous Next Open TOC in new window
Content starts here

Define a new singleton service

Before you begin

Singleton services can only be migrated automatically within a cluster. Ensure that you have created and configured a cluster and its member server instances.

A singleton service is a service running on a Managed Server that is available on only one member of a cluster at a time. WebLogic Server lets you automatically monitor and migrate singleton services from one server to another.

To define a new singleton service:

  1. If you have not already done so, in the Change Center of the Administration Console, click Lock & Edit (see Use the Change Center).
  2. In the left pane of the Console, select Environment > Clusters.

    The Summary of Clusters table displays all the clusters defined in the domain.

  3. In the Clusters table, select the cluster in which you want to define the new singleton service.
  4. Select Configuration > Singleton Services.
  5. Click New.
  6. On the Create a New Singleton Service page:
    1. In Singleton Service Name, enter a unique name for the singleton service.
    2. In Class Name, specify the class that will implement this service.
  7. Click Next.
  8. On the Singleton Service Properties page, in User Preferred Server, select the server instance on which this singleton service will initially be started.
  9. Click Finish.
  10. To activate these changes, in the Change Center of the Administration Console, click Activate Changes.
    Not all changes take effect immediately—some require a restart (see Use the Change Center).


The new singleton service appears in the list of defined singleton services. The Class Name and Preferred Server are listed.

After you finish

The singleton service created using these procedures uses the default behavior for determining the list of candidate servers for migration. The default is to iterate through all of the servers in the cluster. To configure the list of candidate servers and other aspects of automatic server migration, see Configure a singleton service.

Back to Top