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 servers.


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, expand Environment > Clusters.
  3. Select the cluster in which you want to define the new singleton service.
  4. Select Singleton Services and click New.
  5. Enter information for the following required fields: Singleton Service Name and Class Name and click Next.
  6. Select a server in the User Preferred Server field.

    This is the server where the singleton service will initially be started.

  7. Click Finish.
  8. 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).

Result

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