Oracle WebLogic Server for OCI provides utilities to manage the server processes in your domain.
With these utilities you can stop, start, or restart (stop and then start) the WebLogic Server and Node Manager processes in your domain.
- Identify the IP address of the node in your domain.
The name of the node is
servicenameis the resource name prefix you provided during stack creation. The Administration Server runs on the first node,
- If your domain is on a public subnet, then use the public IP address of the compute instance.
- If your domain is on a private subnet, then use the public IP address of the bastion and the private IP address of the compute instance.
- Open an SSH connection to the node as the
ssh -i <path_to_private_key> opc@<node_public_ip>
ssh -i <path_to_private_key> -o ProxyCommand="ssh -W %h:%p -i <path_to_private_key> opc@<bastion_public_ip>" opc@<node_private_ip>
- Change to the
sudo su - oracle
- Execute the
/opt/scripts/restart_domain.sh -o [start|stop|stopMS|restart]
start- start the Node Manager and all servers on this node
stop- stop the Node Manager and all servers on this node
stopMS- stop only the Managed Server process on this node
restart- stop and then start the Node Manager and all servers on this node
stopoperation, the Administration Server and Node Manager must be running.
To start, stop, or restart all servers in the domain, run the following command:
/opt/scripts/restart_domain.sh -o [start|stop|restart] -servers all
Note:To stop all servers in your domain, the Administration Server must be running, and to start all servers in your domain, the Node Manager in the virtual machine of the Administration server must be running.
If you modified certain settings after creating the domain, like the administrator password or port number, then you must provide additional parameters to
-u- User name for the domain administrator
-p- Password for the domain administrator
--adminhost- Hostname of the administration server
--port- Port number of the administration server
--domain-name- Name of the domain
--domain-home- Home directory for the domain
--admin-servername- Name of the administration server