hello.
I have been setting up the TCPPING cluster with CLI command until WF26 version. However, the command is not working in the WF29 version. but, If the TCPPING settings were tested by copying the xml tag, it seems to work well.
I looked it up a little bit, and I think something has changed since the WF27 version (I don't know exactly
)
Can you give me a guide on how to set it up through CLI command as below?
command result
[disconnected /] batch
[disconnected / #] embed-host-controller --host-config=host-primary.xml
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.wildfly.extension.elytron.SSLDefinitions (jar:file:/SW/wildfly2901/core/modules/system/layers/base/org/wildfly/extension/elytron/main/wildfly-elytron-integration-21.1.1.Final.jar!/) to method com.sun.net.ssl.internal.ssl.Provider.isFIPS()
WARNING: Please consider reporting this to the maintainers of org.wildfly.extension.elytron.SSLDefinitions
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[domain@embedded / #] /profile=ha/subsystem="jgroups"/stack="tcpping":add()
[domain@embedded / #] /profile=ha/subsystem="jgroups"/stack="tcpping":add-protocol(type="TCPPING")
[domain@embedded / #] /profile=ha/subsystem="jgroups"/stack="tcpping"/transport="TRANSPORT":add(socket-binding="jgroups-tcp",type="TCP")
")omain@embedded / #] /profile=ha/subsystem="jgroups"/stack="tcpping"/protocol="TCPPING"/property="initial_hosts":add(value="172.21.70.2[7600],172.21.70.2[7700]
[domain@embedded / #] /profile=ha/subsystem="jgroups"/stack="tcpping"/protocol="TCPPING"/property="port_range":add(value="10")
[domain@embedded / #] /profile=ha/subsystem="jgroups"/stack="tcpping":add-protocol(type="MERGE2")
[domain@embedded / #] /profile=ha/subsystem="jgroups"/stack="tcpping":add-protocol(socket-binding="jgroups-tcp-fd",type="FD_SOCK")
[domain@embedded / #] /profile=ha/subsystem="jgroups"/stack="tcpping":add-protocol(type="FD")
[domain@embedded / #] /profile=ha/subsystem="jgroups"/stack="tcpping":add-protocol(type="VERIFY_SUSPECT")
[domain@embedded / #] /profile=ha/subsystem="jgroups"/stack="tcpping":add-protocol(type="BARRIER")
[domain@embedded / #] /profile=ha/subsystem="jgroups"/stack="tcpping":add-protocol(type="pbcast.NAKACK")
[domain@embedded / #] /profile=ha/subsystem="jgroups"/stack="tcpping":add-protocol(type="UNICAST2")
[domain@embedded / #] /profile=ha/subsystem="jgroups"/stack="tcpping":add-protocol(type="pbcast.STABLE")
[domain@embedded / #] /profile=ha/subsystem="jgroups"/stack="tcpping":add-protocol(type="pbcast.GMS")
[domain@embedded / #] /profile=ha/subsystem="jgroups"/stack="tcpping":add-protocol(type="UFC")
[domain@embedded / #] /profile=ha/subsystem="jgroups"/stack="tcpping":add-protocol(type="MFC")
[domain@embedded / #] /profile=ha/subsystem="jgroups"/stack="tcpping":add-protocol(type="FRAG2")
[domain@embedded / #] /profile=ha/subsystem="jgroups"/stack="tcpping":add-protocol(type="RSVP")
[domain@embedded / #] /profile=ha/subsystem=jgroups/channel=ee:write-attribute(name=stack,value=tcpping)
[domain@embedded / #] run-batch
org.jboss.as.cli.CommandFormatException: Failed to get the list of the operation properties: "WFLYCTL0162: There is no operation add-protocol registered at address [
("profile" => "ha"),
("subsystem" => "jgroups"),
("stack" => "tcpping")
]": Failed to get the list of the operation properties: "WFLYCTL0162: There is no operation add-protocol registered at address [
("profile" => "ha"),
("subsystem" => "jgroups"),
("stack" => "tcpping")
]"
[domain@embedded /] quit
Tap Results
[domain@embedded /] /profile=ha/subsystem="jgroups"/stack="tcpping":
add list-remove map-remove read-attribute-group-names read-operation-description remove
list-add map-clear query read-children-names read-operation-names undefine-attribute
list-clear map-get read-attribute read-children-resources read-resource whoami
list-get map-put read-attribute-group read-children-types read-resource-description write-attribute
thank you