My Oracle Support Banner

WLST Migration Of SingletonServices Targeted To Cluster (Doc ID 2358978.1)

Last updated on FEBRUARY 13, 2018

Applies to:

Oracle WebLogic Server - Version 12.2.1.3.0 and later
Information in this document applies to any platform.

Goal

We have singleton services which implement weblogic.cluster.singleton.SingletonService targeted to a cluster.

When the cluster is shutdown these services will automatically migrate to a managed server.


From the WebLogic console we are able to manually migrate the services (Start Edit -> Cluster -> Control -> Migration - Migrate).


In WLST and the MBean Reference the method setHostingServer is readOnly and any attempt to set this value throws an exception.
What is the equivalent WLST script. In other words we would like to script this behavior.
 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.