Description Syntax Example resume

3-76 Oracle Fusion Middleware WebLogic Scripting Tool Command Reference

3.9.1.3 Example

The following example migrates all JMS and JTA services on server1 to the server server2. The boolean arguments specify that the source server is down and the destination server is running. wls:mydomainedit migrateserver1,server2, true, false, all Migrating all JMS and JTA services from server1 to destination server2 ... wls:mydomainedit The following example migrates all Server services on server1 to the server server2. The boolean arguments specify that the source server is down and the destination server is running. wls:mydomainedit migrateserver1,server2, true, false, Server Migrating singleton server services from server1 to machine server2... wls:mydomainedit

3.9.2 resume

Command Category: Life Cycle Commands Use with WLST: Online

3.9.2.1 Description

Resumes a server instance that is suspended or in ADMIN state. This command moves a server to the RUNNING state. For more information about server states, see destinationName Name of the machine or server to which you want to migrate the services. sourceDown Optional. Boolean value specifying whether the source server is down. This argument defaults to true, indicating that the source server is not running. When migrating JTA services, the sourceDown argument is ignored, if specified, and defaults to true. The source server must be down in order for the migration of JTA services to succeed. destinationDown Optional. Boolean value specifying whether the destination server is down. This argument defaults to false, indicating that the destination server is running. If the destination is not running, and you do not set this argument to true, WLST returns a MigrationException. When migrating JMS-related services to a non-running server instance, the server instance will activate the JMS services upon the next startup. When migrating the JTA Transaction Recovery Service to a non-running server instance, the target server instance will assume recovery services when it is started. migrationType Optional. Type of services that you want to migrate. Valid values include: ■ jms—Migrate JMS-related services JMS server, SAF agent, path service, and the WebLogic persistent store only. ■ jta—Migrate JTA services only. ■ server—Migrate Server services only. ■ all—Migrate all JTA and JMS services. This argument defaults to all. Argument Definition WLST Command and Variable Reference 3-77 Understanding Server Life Cycle in Managing Server Startup and Shutdown for Oracle WebLogic Server. In the event of an error, the command returns a WLSTException.

3.9.2.2 Syntax

resume[sname], [block]

3.9.2.3 Example

The following example resumes a Managed Server instance. wls:mydomainserverConfig resumemanaged1, block=true Server managed1 resumed successfully. wls:mydomainserverConfig

3.9.3 shutdown