Start and STOP servers in jboss

2.2. Start and Stop Servers

2.2.1. Start and Stop Servers Using the Management CLI

You can start and stop servers with the Management CLI or the Management Console. Both management tools allow you to control a single Standalone Server instance, or selectively manage multiple servers across a Managed Domain deployment. If you are using the Management Console, please refer to  Section 2.2.2, “Start a Server Using the Management Console” for instructions. If you are using the Management CLI, the process varies between Standalone Server and Managed Domain instances.
Start and Stop a Standalone Server with the Management CLI
A Standalone Server instance can be started by the command line scripts, and shut down from the Management CLI with the  shutdown command. If you require the instance again, run the startup process again as described in  Section 2.1.2, “Start JBoss EAP 6 as a Standalone Server”.

Example 2.6. Stop a Standalone Server instance via the Management CLI

[standalone@localhost:9999 /] shutdown

Start and Stop a Managed Domain with the Management CLI
If you are running a Managed Domain, the Management Console allows you to selectively start or stop specific servers in the domain. This includes server groups across the whole of the domain, as well as specific server instances on a host.

Example 2.7. Stop a Server Host in a Managed Domain via the Management CLI

Similar to Standalone Server instance, the  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. Use the  tab key to assist with string completion and to expose visible variables such as available host values.
[domain@localhost:9999 /] /host=master:shutdown

Example 2.8. Start and Stop a Server Group in a Managed Domain via the Management CLI

This example starts a default server group named  main-server-group by declaring the group before calling the  start and  stop operations. Use the  tab key to assist with string completion and to expose visible variables such as available server group name values.
[domain@localhost:9999 /] /server-group=main-server-group:start-servers
[domain@localhost:9999 /] /server-group=main-server-group:stop-servers

Example 2.9. Start and Stop a Server Instance in a Managed Domain via the Management CLI

This example starts and then stops a server instance named  server-one on the  master host by declaring the host and server configuration before calling the  start and  stop operations. Use the  tab key to assist with string completion and to expose visible variables such as available host and server configuration values.
[domain@localhost:9999 /] /host=master/server-config=server-one:start
[domain@localhost:9999 /] /host=master/server-config=server-one:stop


https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/6.2/html/Administration_and_Configuration_Guide/sect-Start_and_Stop_Servers.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值