-
1. Re: JBOSS EAP6.1 CLI script problem
wdfink Jun 11, 2013 11:07 AM (in response to chinni888)This is the wrong CLI syntax.
You need to use
/subsystem=ejb3:write-attribute(name=default-clustered-sfsb-cache, value="clustered")
-
2. Re: JBOSS EAP6.1 CLI script problem
chinni888 Jun 12, 2013 12:45 AM (in response to wdfink)Many thanks Fink...it is working...........
Requesting you to help me validating the below commands also....
iam trying to create jgroups subsystem with these commands.....the commands in bold are not working....
/extension=org.jboss.as.clustering.jgroups:add
/subsystem=jgroups:add(default-stack=udp)
/subsystem=jgroups:add(default-stack=tcp)/subsystem=jgroups/stack=tcp/transport=TRANSPORT:add(transport=[{"type"=>"TCP","socket-binding"=>"jgroups-tcp"}],protocols=["PING","MERGE2","FD_SOCK","FD","VERIFY_SUSPECT","BARRIER","pbcast.NAKACK2","UNICAST2","pbcast.STABLE","pbcast.GMS","UFC","MFC","FRAG2","RSVP"])
/subsystem=jgroups/stack=tcpping:add/transport=TRANSPORT:add(type=TCP,socket-binding=jgroups-tcp):add-protocol(type=TCPPING):add-protocol(type=MERGE2):add-protocol(type=FD_SOCK,socket-binding=jgroups-tcp-fd):add-protocol(type=FD):add-protocol(type=VERIFY_SUSPECT):add-protocol(type=BARRIER):add-protocol(type=pbcast.NAKACK):add-protocol(type=UNICAST2):add-protocol(type=pbcast.STABLE):add-protocol(type=pbcast.GMS):add-protocol(type=UFC):add-protocol(type=MFC):add-protocol(type=FRAG2):add-protocol(type=RSVP)
-
3. Re: JBOSS EAP6.1 CLI script problem
chinni888 Jun 12, 2013 6:29 AM (in response to chinni888)Many thanks Fink...it is working...........
Requesting you to help me validating the below commands also....
iam trying to create jgroups subsystem with these commands.....the commands in bold are not working....
/extension=org.jboss.as.clustering.jgroups:add
/subsystem=jgroups:add(default-stack=udp)
/subsystem=jgroups:add(default-stack=tcp)/subsystem=jgroups/stack=tcp/transport=TRANSPORT:add(transport=[{"type"=>"TCP","socket-binding"=>"jgroups-tcp"}],protocols=["PING","MERGE2","FD_SOCK","FD","VERIFY_SUSPECT","BARRIER","pbcast.NAKACK2","UNICAST2","pbcast.STABLE","pbcast.GMS","UFC","MFC","FRAG2","RSVP"])
/subsystem=jgroups/stack=tcpping:add/transport=TRANSPORT:add(type=TCP,socket-binding=jgroups-tcp):add-protocol(type=TCPPING):add-protocol(type=MERGE2):add-protocol(type=FD_SOCK,socket-binding=jgroups-tcp-fd):add-protocol(type=FD):add-protocol(type=VERIFY_SUSPECT):add-protocol(type=BARRIER):add-protocol(type=pbcast.NAKACK):add-protocol(type=UNICAST2):add-protocol(type=pbcast.STABLE):add-protocol(type=pbcast.GMS):add-protocol(type=UFC):add-protocol(type=MFC):add-protocol(type=FRAG2):add-protocol(type=RSVP)
/subsystem=jgroups/stack=udp:add(transport=[{"type"=>"UDP","socket-binding"=>"jgroups-udp"}],protocols=["PING","MERGE2","FD_SOCK","FD","VERIFY_SUSPECT","BARRIER","pbcast.NAKACK2","UNICAST2","pbcast.STABLE","pbcast.GMS","UFC","MFC","FRAG2","RSVP"])
-
4. Re: JBOSS EAP6.1 CLI script problem
wdfink Jun 18, 2013 5:18 AM (in response to chinni888)1 of 1 people found this helpfulYou can use the following sequence:
/socket-binding-group=standard-sockets/socket-binding=jgroups-udp:add(fixed-port=false,multicast-address="\${jboss.default.multicast.address:230.0.0.4}",multicast-port=45688,port=55200)
/socket-binding-group=standard-sockets/socket-binding=jgroups-udp-fd:add(port=54200)
/extension=org.jboss.as.clustering.jgroups:add
/subsystem=jgroups:add(default-stack=udp)
batch
/subsystem=jgroups/stack=udp:add(transport={"type" => "UDP", "socket-binding" => "jgroups-udp"})
/subsystem=jgroups/stack=udp:add-protocol(type=PING)
/subsystem=jgroups/stack=udp:add-protocol(type=MERGE2)
/subsystem=jgroups/stack=udp:add-protocol(type=FD_SOCK,socket-binding=jgroups-udp-fd)
/subsystem=jgroups/stack=udp:add-protocol(type=FD)
/subsystem=jgroups/stack=udp:add-protocol(type=VERIFY_SUSPECT)
/subsystem=jgroups/stack=udp:add-protocol(type=BARRIER)
/subsystem=jgroups/stack=udp:add-protocol(type=pbcast.NAKACK)
/subsystem=jgroups/stack=udp:add-protocol(type=UNICAST2)
/subsystem=jgroups/stack=udp:add-protocol(type=pbcast.STABLE)
/subsystem=jgroups/stack=udp:add-protocol(type=pbcast.GMS)
/subsystem=jgroups/stack=udp:add-protocol(type=UFC)
/subsystem=jgroups/stack=udp:add-protocol(type=MFC)
/subsystem=jgroups/stack=udp:add-protocol(type=FRAG2)
/subsystem=jgroups/stack=udp:add-protocol(type=RSVP)
run-batch
-
5. Re: JBOSS EAP6.1 CLI script problem
chinni888 Jun 21, 2013 10:04 AM (in response to wdfink)Many thanks. It is working by following the commands you gave.
I also did that using the below commands,
/extension=org.jboss.as.clustering.jgroups:add
/subsystem=jgroups:add(default-stack=udp)
/subsystem=jgroups/stack=udp:add(transport={"type" => "UDP", "socket-binding" => "jgroups-udp"}, protocols=[{"type" => "PING"}, {"type" => "MERGE2"},{"type" => "FD_SOCK","socket-binding" => "jgroups-udp-fd"}, {"type" => "FD"},{"type" => "VERIFY_SUSPECT"}, {"type" => "BARRIER"},{"type" => "pbcast.NAKACK"}, {"type" => "UNICAST2"},{"type" => "pbcast.STABLE"}, {"type" => "pbcast.GMS"},{"type" => "UFC"},{"type" => "MFC"},{"type" => "FRAG2"}, {"type" => "RSVP"}])
/subsystem=jgroups/stack=tcp:add(transport={"type" => "TCP", "socket-binding" => "jgroups-tcp"}, protocols=[{"type" => "MPING","socket-binding" => "jgroups-mping"}, {"type" => "MERGE2"},{"type" => "FD_SOCK","socket-binding" => "jgroups-tcp-fd"}, {"type" => "FD"},{"type" => "VERIFY_SUSPECT"}, {"type" => "BARRIER"},{"type" => "pbcast.NAKACK"}, {"type" => "UNICAST2"},{"type" => "pbcast.STABLE"}, {"type" => "pbcast.GMS"},{"type" => "UFC"},{"type" => "MFC"},{"type" => "FRAG2"}, {"type" => "RSVP"}])