# MigratableServiceCoordinatorRuntimeMBean

Overview | Related MBeans | Attributes | Operations

## Overview

Fully Qualified Interface Name | If you use the `getMBeanInfo` operation in MBeanTypeServiceMBean, supply the following value as this MBean's fully qualified interface name: `weblogic.management.runtime.MigratableServiceCoordinatorRuntimeMBean`
Factory Methods | No factory methods. Instances of this MBean are created automatically.
Access Points | You can access this MBean from the following MBean attributes:
DomainRuntimeMBean.MigratableServiceCoordinatorRuntime |

## Attributes

This section describes the following attributes:

Name Parent | Type

### Name

The name of this configuration. WebLogic Server uses an MBean to implement and persist the configuration.

Privileges | Read only
Type | java.lang.String

### Parent

Return the immediate parent for this MBean

Privileges | Read/Write
Type |

### Type

Returns the type of the MBean.

Privileges | Read only
Type | java.lang.String

## Operations

This section describes the following operations:

migrate migrate | migrateJTA

### migrate

Migrates all services deployed to the migratableTarget to the destination server. Use this method if either the source or the destination or both are not running. Precondition: The migratableTarget must contain at least one server. The destination server must be a member of the migratableTarget's list of candidate servers. If automatic migration mode is disabled, the destination server must not be the currently hosting server (i.e. head of candidate list of the migratableTarget). Postcondition: If automatic migration mode is disabled and if the migration succeeded, the head of the candidate server list in the migratableTarget will be the destination server.

Operation Name | `"migrate"`
Parameters | `Object [] { migratableTarget, destination, sourceUp, destinationUp }` where: `migratableTarget` is an object of type `weblogic.management.configuration.MigratableTargetMBean` that specifies: - all services targeted to this target are to be migrated to the destination server. THIS MUST BE A CONFIG MBEAN `destination` is an object of type `weblogic.management.configuration.ServerMBean` that specifies: - the new server where the services deployed to migratableTarget shall be activated `sourceUp` is an object of type `java.lang.Boolean` that specifies: - the currently active server is up and running. If false, the administrator must ensure that the services deployed to migratableTarget are NOT active. `destinationUp` is an object of type `java.lang.Boolean` that specifies: - the destination server is up and running.
Signature | `String [] { "weblogic.management.configuration.MigratableTargetMBean", "weblogic.management.configuration.ServerMBean", "java.lang.Boolean", "java.lang.Boolean" }`
Returns | `void`
Exceptions | `weblogic.management.runtime.MigrationException`

### migrate

Migrates all services deployed to the migratableTarget to the destination server. This method assumes that the source and the destination server are up and running. Precondition: The migratableTarget must contain at least one server. The destination server must be a member of the migratableTarget's list of candidate servers. If automatic migration mode is disabled, the destination server must not be the currently hosting server (i.e. head of candidate list of the migratableTarget). Postcondition: If automatic migration mode is disabled and if the migration succeeded, the head of the candidate server list in the migratableTarget will be the destination server.

Operation Name | `"migrate"`
Parameters | `Object [] { migratableTarget, destination }` where: `migratableTarget` is an object of type `weblogic.management.configuration.MigratableTargetMBean` that specifies: - all services targeted to this target are to be migrated to the destination server. THIS MUST BE A CONFIG MBEAN `destination` is an object of type `weblogic.management.configuration.ServerMBean` that specifies: - the new server where the services deployed to migratableTarget shall be activated
Signature | `String [] { "weblogic.management.configuration.MigratableTargetMBean", "weblogic.management.configuration.ServerMBean" }`
Returns | `void`
Exceptions | `weblogic.management.runtime.MigrationException`

### migrateJTA

Migrates the JTARecoveryManager deployed to a migratableTarget to the destination server.

Operation Name | `"migrateJTA"`
Parameters | `Object [] { migratableTarget, destination, sourceUp, destinationUp }` where: `migratableTarget` is an object of type `weblogic.management.configuration.MigratableTargetMBean` that specifies: migratableTarget `destination` is an object of type `weblogic.management.configuration.ServerMBean` that specifies: destination `sourceUp` is an object of type `java.lang.Boolean` that specifies: sourceUp `destinationUp` is an object of type `java.lang.Boolean` that specifies: destinationUp
Signature | `String [] { "weblogic.management.configuration.MigratableTargetMBean", "weblogic.management.configuration.ServerMBean", "java.lang.Boolean", "java.lang.Boolean" }`
Returns | `void`
Exceptions | `weblogic.management.runtime.MigrationException`