embed-server --server-config=standalone-full-ha.xml batch if (outcome == success) of /interface=management:read-resource echo "updateing management interface" /interface=management/:write-attribute(name=inet-address,value=${jboss.bind.address.management:0.0.0.0}) end-if if (outcome == success) of /interface=public:read-resource echo "updateing public interface" /interface=public/:write-attribute(name=inet-address,value=${jboss.bind.address:0.0.0.0}) end-if if (outcome == success) of /interface=private:read-resource echo "updateing private interface" /interface=private/:write-attribute(name=inet-address,value=${jboss.bind.address.private:0.0.0.0}) end-if if (outcome == success) of /interface=unsecure:read-resource echo "updateing unsecure interface" /interface=unsecure/:write-attribute(name=inet-address,value=${jboss.bind.address.unsecure:0.0.0.0}) end-if if (outcome == success) of /subsystem=messaging-activemq/server=default:read-resource echo "updateing activeMQ cluster pwd" /subsystem=messaging-activemq/server=default:write-attribute(name=cluster-password, value=${jboss.bind.amq.cluster:pwd}) end-if /socket-binding-group=standard-sockets/socket-binding=http:write-attribute(name=client-mappings,value=[{ "destination-address" => "0.0.0.0", "destination-port" => "8080" }]) /subsystem=transactions/:write-attribute(name=node-identifier,value=${jboss.tx.node.id}) /subsystem=webservices:write-attribute(name=wsdl-host,value=0.0.0.0) if (outcome == success) of /subsystem=jgroups:read-resource echo "adding azure_ping discovery" /subsystem=jgroups/channel=ee:write-attribute(name=stack,value=tcp) /subsystem=jgroups/stack=tcp:remove /subsystem=jgroups/stack=tcp:add() /subsystem=jgroups/stack=tcp/transport=TCP:add(socket-binding=jgroups-tcp) /subsystem=jgroups/stack=tcp/protocol=azure.AZURE_PING:add(properties={storage_account_name="${jboss.jgroups.azure_ping.storage_account_name}", storage_access_key="${jboss.jgroups.azure_ping.storage_access_key}", container="${jboss.jgroups.azure_ping.container}"}) /subsystem=jgroups/stack=tcp/protocol=MERGE3:add /subsystem=jgroups/stack=tcp/protocol=FD_SOCK:add(socket-binding=jgroups-tcp-fd) /subsystem=jgroups/stack=tcp/protocol=FD:add /subsystem=jgroups/stack=tcp/protocol=VERIFY_SUSPECT:add /subsystem=jgroups/stack=tcp/protocol=pbcast.NAKACK2:add(properties={use_mcast_xmit=false,use_mcast_xmit_req=false}) /subsystem=jgroups/stack=tcp/protocol=UNICAST3:add /subsystem=jgroups/stack=tcp/protocol=pbcast.STABLE:add /subsystem=jgroups/stack=tcp/protocol=pbcast.GMS:add /subsystem=jgroups/stack=tcp/protocol=UFC:add /subsystem=jgroups/stack=tcp/protocol=FRAG2:add end-if run-batch reload stop-embedded-server