Databases Reference
In-Depth Information
2. Connect to the Administration Server using
wlsadmin
as the user,
<pwd>
as the
password, and
t3://prod01.domain.local:7001
as the server URL:
wls:/offline>connect("wlsadmin","<pwd>","t3://prod01.domain.
local:7001")
3. Run the following WLST command to start
PROD_Server01
:
start('PROD_Server01','Server')
4. To stop the Managed Server, type the following command:
shutdown('PROD_Server01','Server')
The WLST method works the same way as the Administration Console. The Administration
Console and WLST are both clients accessing the Node Manager, and both invoke start/stop
operations on it.
Starting/stopping with the provided shell script
You can use the
startManagedWebLogic.sh
and
stopManagedWebLogic.sh
script
located at the
$DOMAIN_HOME/bin
directory:
1. Go to the WebLogic domain's
bin
directory:
[wls@prod01]$ cd $DOMAIN_HOME/bin
2. Start the Managed Server
PROD_Server01
typing:
[wls@prod01]$ ./startManagedWebLogic.sh PROD_Server01 t3://prod01.
domain.local:7001
3. The server will initiate the startup process and ask for a WebLogic administrator
username and password:
Enter username to boot WebLogic server: wlsadmin
Enter password to boot WebLogic server:
4. Type
wlsadmin
as the username and
<password>
you previously specified at the
domain creation as the password.
5. The WebLogic Managed Server will start.
6. To stop the
PROD_Server01
Managed Server, provide the credentials
wlsadmin/<password>
:
[wls@prod01]$ ./stopManagedWebLogic.sh PROD_Server01 t3://prod01.
domain.local:7001
Stopping Weblogic Server...
Initializing WebLogic Scripting Tool (WLST) ...
Welcome to WebLogic Server Administration Scripting Shell
Search WWH ::
Custom Search