WebLogic Server Command Reference
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Migrates a JMS service or a JTA Transaction Recovery service to a targeted server within a server cluster.
For more information about migrating services, refer to "Migration for Pinned Services" in the Using WebLogic Clusters guide.
java [ SSL Arguments ] weblogic.Admin
[-urlURL
]
[ User Credentials Arguments ]
MIGRATE
-migratabletarget"
serverName
(migratable
)"
-destinationserverName
[-sourcedown] [-destinationdown]
java [ SSL Arguments ] weblogic.Admin
[-urlURL
]
[ User Credentials Arguments ]
MIGRATE
-jta -migratabletargetserverName
-destinationserverName
[-sourcedown] [-destinationdown]
Specify the listen address and listen port of the Administration Server. If you specify a secure listen port, you must also specify a secure protocol. If you do not specify a value, the command assumes For more information, refer to the -url entry in Table 1-3 on page 11 and Protocol Support. |
|
Specifies that the migration is a migration of JTA services. If you do not specify this argument, the |
|
Names the server from which the service will migrate. The syntax for the server name varies depending on the type of service you are migrating: |
|
Specifies that the source server is down. This switch should be used very carefully. If the source server is not in fact down, but only unavailable because of network problems, the service will be activated on the destination server without being removed from the source server, resulting in two simultaneous running versions of the same service, which could cause corruption of the transaction log or of JMS messages. |
|
Specifies that the destination server is down. When migrating a JMS service to a non-running server instance, the server instance will activate the JMS service upon the next startup. When migrating the JTA Transaction Recovery Service to a non-running server instance, the target server will assume recovery services when it is started. |
In the following example, a JMS service is migrated from myserver2 to myserver3.
java weblogic.Admin -url AdminHost:7001 -username weblogic
-password weblogic
MIGRATE -migratabletarget "myserver2 (migratable)"
-destination myserver3
In the following example, a JTA Transaction Recovery service is migrated from myserver2 to myserver3.
java weblogic.Admin -url AdminHost:7001 -username weblogic
-password weblogic
MIGRATE -jta -migratabletarget myserver2
-destination myserver3 -sourcedown
![]() ![]() |
![]() |
![]() |