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.

10 lines
403 B

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