You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

11 lines
403 B

# IPADDRESS=$(ifconfig | grep -A 1 'eth0' | tail -1 | awk -F ' ' '{print $2}')
IPADDRESS=$(hostname -i)
MCASTADDRESS=234.0.0.4
/opt/jboss/wildfly/bin/standalone.sh -c standalone-ha.xml \
-u ${MCASTADDRESS} \
-b ${IPADDRESS} \
-Djboss.bind.address=${IPADDRESS} \
-Djboss.bind.address.management=${IPADDRESS} \
-Djboss.bind.address.private=${IPADDRESS} \
-Djboss.node.name=$(hostname) \
-u=${MCASTADDRESS}