Description Syntax Example nmStart

3-90 Oracle Fusion Middleware WebLogic Scripting Tool Command Reference

3.10.9.3 Example

The following example displays the status of the server named oamserver, which was started with Node Manager. wls:nmoamdomain nmServerStatusoamserver RUNNING wls:nmoamdomain

3.10.10 nmStart

Command Category: Node Manager Commands Use with WLST: Online or Offline WLST must be connected to Node Manager to run this command.

3.10.10.1 Description

Starts a server in the current WebLogic domain using Node Manager. In the event of an error, the command returns a WLSTException.

3.10.10.2 Syntax

nmStart[serverName], [domainDir], [props], [writer], [serverType]

3.10.10.3 Example

The following example starts the managed1 server in the current WebLogic domain using Node Manager. wls:nmmydomain nmStartmanaged1 Starting server managed1 ... Server managed1 started successfully wls:nmmydomain Note: boot.properties must exist in order to start a server with nmStart. If this is the first time you are starting a server, you must manually create it in order to use nmStart. Alternatively, you can use the nmStartprops argument to provide user credentials after connecting to Node Manager: prps = makePropertiesObjectusername=weblogic, password=welcome1 nmStartAdminServer,props=prps Argument Definition serverName Optional. Name of the server to be started. domainDir Optional. Domain directory of the server to be started. This argument defaults to the directory from which you started WLST. props Optional. System properties to apply to the new server. writer Optional. java.io.Writer object to which the server output is written. This argument defaults to the WLST writer. serverType Optional. The type of server to start. This argument defaults to WebLogic. Another valid option is Coherence. WLST Command and Variable Reference 3-91 The following example starts the Administration Server in the specified WebLogic domain using Node Manager. In this example, the prps variable stores the system property settings and is passed to the command using the props argument. wls:nmmydomain prps = makePropertiesObjectweblogic.ListenPort=8001 wls:nmmydomain nmStartAdminServer,props=prps Starting server AdminServer... Server AdminServer started successfully wls:nmmydomain

3.10.11 nmVersion