
上QQ阅读APP看书,第一时间看更新
Creating server groups
Create the dev01, dev02, and dev03 server groups for the money transfer web application; use the ha profiles and the associated ha-sockets binding group:
[domain@127.0.0.1:9999 /] /server-group=dev01:add(profile=ha,socket-binding-group=ha-sockets)
{
"outcome" => "success",
"result" => undefined,"server-groups" => undefined
}
[domain@127.0.0.1:9999 /] /server-group=dev02:add(profile=ha,socket-binding-group=ha-sockets)
[domain@127.0.0.1:9999 /] /server-group=dev03:add(profile=ha,socket-binding-group=ha-sockets)
[domain@127.0.0.1:9990 /] /server-group=dev04:add(profile=ha,socket-binding-group=ha-sockets)
The JBoss CLI supports autocompletion; just press the Tab key while writing your commands, and you will see the available options depending on your current position.