Red Hat Training
A Red Hat training course is available for Red Hat JBoss Enterprise Application Platform
2.3. Start and Stop Servers
2.3.1. Start and Stop Servers Using the Management CLI
Prerequisites
Standalone Servers, started either by a script or manually at a shell prompt, can be shut down from the Management CLI using the shutdown
command.
Example 2.5. Stop a Standalone Server instance via the Management CLI
[standalone@localhost:9999 /] shutdown
The Management Console can selectively start or stop specific servers in a domain. This includes server groups across the whole of a domain as well as specific server instances on a host.
Example 2.6. Stop a Server Host in a Managed Domain via the Management CLI
shutdown
command is used to shut down a declared Managed Domain host. This example stops a server host named master by declaring the instance name before calling the shutdown operation.
[domain@localhost:9999 /] shutdown --host=master
Example 2.7. Start and Stop a Server Group in a Managed Domain via the Management CLI
main-server-group
by declaring the group before calling the start
and stop
operations.
[domain@localhost:9999 /] /server-group=main-server-group:start-servers
[domain@localhost:9999 /] /server-group=main-server-group:stop-servers
Example 2.8. Start and Stop a Server Instance in a Managed Domain via the Management CLI
server-one
on the master
host by declaring the host and server configuration before calling the start
and stop
operations.
[domain@localhost:9999 /] /host=master/server-config=server-one:start
[domain@localhost:9999 /] /host=master/server-config=server-one:stop
Note
2.3.2. Start a Server Using the Management Console
Prerequisites
Procedure 2.11. Start the Server for a Managed Domain
- Select the Domain tab at the top of the console and then, select the TOPOLOGY tab. In the left navigation bar, under Domain, select Overview.
- From the list of Server Instances, select the server you want to start. Servers that are running are indicated by a check mark.Hover the cursor over an instance in this list to show options in blue text below the server's details.
- To start the instance, click on the Start Server text when it appears. A confirmation dialogue box will open. Click Confirm to start the server.
The selected server is started and running.
2.3.3. Stop a Server Using the Management Console
Prerequisites
Procedure 2.12. Stop a Server in a Managed Domain Using the Management Console
- Select the Domain tab at the top of the console and then, select the TOPOLOGY tab. In the left navigation bar, under Domain, select Overview.
- A list of available Server Instances is displayed on the Hosts, groups and server instances table. Servers that are running are indicated by a check mark.
- Hover the cursor over the chosen server. Click on the Stop Server text that appears. A confirmation dialogue window will appear.
- Click Confirm to stop the server.
The selected server is stopped.