Guest User

host.xml (Slave)

a guest
Jan 26th, 2016
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 3.34 KB | None | 0 0
  1. <?xml version='1.0' encoding='UTF-8'?>
  2.  
  3. <host name="slave1" xmlns="urn:jboss:domain:1.2">
  4.  
  5.     <management>
  6.         <security-realms>
  7.             <security-realm name="ManagementRealm">
  8.         <server-identities>
  9.             <secret value="cGFzc3dvcmQ="/>
  10.         </server-identities>
  11.                 <authentication>
  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.                     <properties path="application-users.properties" relative-to="jboss.domain.config.dir" />
  18.                 </authentication>
  19.             </security-realm>
  20.         </security-realms>
  21.         <management-interfaces>
  22.             <native-interface security-realm="ManagementRealm">
  23.                 <socket interface="management" port="${jboss.management.native.port:9999}"/>
  24.             </native-interface>
  25.             <http-interface security-realm="ManagementRealm">
  26.                 <socket interface="management" port="${jboss.management.http.port:9990}"/>
  27.             </http-interface>
  28.         </management-interfaces>
  29.     </management>
  30.  
  31.     <domain-controller>
  32.        <remote host="10.0.0.6" port="9999" security-realm="ManagementRealm"/>
  33.        <!-- Alternative remote domain controller configuration with a host and port -->
  34.        <!-- <remote host="${jboss.domain.master.address}" port="${jboss.domain.master.port:9999}"/> -->
  35.     </domain-controller>
  36.  
  37.     <interfaces>
  38.         <interface name="management">
  39.             <inet-address value="${jboss.bind.address.management:10.0.0.7}"/>
  40.         </interface>
  41.         <interface name="public">
  42.            <inet-address value="${jboss.bind.address:10.0.0.7}"/>
  43.         </interface>
  44.         <interface name="unsecure">
  45.             <!-- Used for IIOP sockets in the standard configuration.
  46.                 To secure JacORB you need to setup SSL -->
  47.             <inet-address value="${jboss.bind.address.unsecure:10.0.0.7}"/>
  48.         </interface>
  49.     </interfaces>
  50.  
  51.     <jvms>
  52.        <jvm name="default">
  53.           <heap size="64m" max-size="256m"/>
  54.           <permgen size="256m" max-size="256m"/>
  55.             <jvm-options>
  56.                 <option value="-server"/>
  57.             </jvm-options>
  58.        </jvm>
  59.     </jvms>
  60.  
  61.     <servers>
  62.         <server name="server-one" group="main-server-group">
  63.             <!-- Remote JPDA debugging for a specific server
  64.            <jvm name="default">
  65.              <jvm-options>
  66.                <option value="-Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n"/>
  67.              </jvm-options>
  68.           </jvm>
  69.           -->
  70.         </server>
  71.         <server name="server-two" group="main-server-group" auto-start="true">
  72.             <!-- server-two avoids port conflicts by incrementing the ports in
  73.                 the default socket-group declared in the server-group -->
  74.             <socket-bindings port-offset="150"/>
  75.         </server>
  76.         <server name="server-three-slave" group="other-server-group" auto-start="true">
  77.             <!-- server-three avoids port conflicts by incrementing the ports in
  78.                 the default socket-group declared in the server-group -->
  79.             <socket-bindings port-offset="250"/>
  80.         </server>
  81.     </servers>
  82. </host>
Advertisement
Add Comment
Please, Sign In to add comment