host-slave.xml 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <?xml version='1.0' encoding='UTF-8'?>
  2. <host xmlns="urn:jboss:domain:1.4">
  3. <management>
  4. <security-realms>
  5. <security-realm name="ManagementRealm">
  6. <server-identities>
  7. <!-- Replace this with either a base64 password of your own, or use a vault with a vault expression -->
  8. <secret value="c2xhdmVfdXNlcl9wYXNzd29yZA=="/>
  9. </server-identities>
  10. <authentication>
  11. <local default-user="$local" />
  12. <properties path="mgmt-users.properties" relative-to="jboss.domain.config.dir"/>
  13. </authentication>
  14. </security-realm>
  15. <security-realm name="ApplicationRealm">
  16. <authentication>
  17. <local default-user="$local" allowed-users="*" />
  18. <properties path="application-users.properties" relative-to="jboss.domain.config.dir" />
  19. </authentication>
  20. <authorization>
  21. <properties path="application-roles.properties" relative-to="jboss.domain.config.dir"/>
  22. </authorization>
  23. </security-realm>
  24. </security-realms>
  25. <management-interfaces>
  26. <native-interface security-realm="ManagementRealm">
  27. <socket interface="management" port="${jboss.management.native.port:9999}"/>
  28. </native-interface>
  29. </management-interfaces>
  30. </management>
  31. <domain-controller>
  32. <remote host="${jboss.domain.master.address}" port="${jboss.domain.master.port:9999}" security-realm="ManagementRealm"/>
  33. </domain-controller>
  34. <interfaces>
  35. <interface name="management">
  36. <inet-address value="${jboss.bind.address.management:127.0.0.1}"/>
  37. </interface>
  38. <interface name="public">
  39. <inet-address value="${jboss.bind.address:127.0.0.1}"/>
  40. </interface>
  41. <interface name="unsecure">
  42. <!-- Used for IIOP sockets in the standard configuration.
  43. To secure JacORB you need to setup SSL -->
  44. <inet-address value="${jboss.bind.address.unsecure:127.0.0.1}"/>
  45. </interface>
  46. </interfaces>
  47. <jvms>
  48. <jvm name="default">
  49. <heap size="64m" max-size="256m"/>
  50. <permgen size="256m" max-size="256m"/>
  51. <jvm-options>
  52. <option value="-server"/>
  53. </jvm-options>
  54. </jvm>
  55. </jvms>
  56. <servers>
  57. <server name="server-one" group="main-server-group"/>
  58. <server name="server-two" group="other-server-group">
  59. <!-- server-two avoids port conflicts by incrementing the ports in
  60. the default socket-group declared in the server-group -->
  61. <socket-bindings port-offset="150"/>
  62. </server>
  63. </servers>
  64. </host>