Description Syntax Example start

WLST Command and Variable Reference 3-79 MServer1---SHUTDOWN MServer2---SHUTDOWN MServer3---SHUTDOWN wls:mydomainserverConfig

3.9.4 start

Command Category: Life Cycle Commands Use with WLST: Online

3.9.4.1 Description

Starts a Managed Server instance or a cluster using Node Manager. WLST must be connected to the Administration Server and Node Manager must be running. For more information about WLST commands used to connect to and use Node Manager, see Section 3.10, Node Manager Commands . In the event of an error, the command returns a WLSTException.

3.9.4.2 Syntax

startname, [type], [url], [block]

3.9.4.3 Example

The following example instructs Node Manager to start a Managed Server instance; the listen address is localhost and listen port is 8801. WLST returns control to the user after issuing this command, as block is set to false. wls:mydomainserverConfig startmyserver, Server, block=false Starting server myserver ... Server with name myserver started successfully. wls:mydomainserverConfig The following example instructs Node Manager to start a cluster. WLST block user interaction until the cluster is started, as block defaults to true. wls:mydomainserverConfig startmycluster, Cluster Starting the following servers in Cluster, mycluster: MS1, MS2, MS3... ...................................................................... Argument Definition name Name of the Managed Server or cluster to start. type Optional. Type, Server or Cluster. This argument defaults to Server. When starting a cluster, you must set this argument explicitly to Cluster, or the command will fail. url Optional. Listen address and listen port of the server instance, specified using the following format: [protocol:]listen-address:listen-port. If not specified, this argument defaults to t3:localhost:7001. block Optional. Boolean value specifying whether WLST should block user interaction until the server or cluster is started. This argument defaults to false, indicating that user interaction is not blocked. In this case, WLST returns control to the user after issuing the command and assigns the task MBean associated with the current task to a variable that you can use to check its status. If you are importing WLST as a Jython module, as described Importing WLST as a Jython Module in Oracle WebLogic Scripting Tool, block is always set to true. 3-80 Oracle Fusion Middleware WebLogic Scripting Tool Command Reference All servers in the cluster mycluster are started successfully. wls:mydomainserverConfig

3.9.5 startServer