Disambiguate core-identifiers, set correct bind for jgroups
This commit is contained in:
		
							parent
							
								
									f4b60dc764
								
							
						
					
					
						commit
						70f13c4aba
					
				@ -509,6 +509,9 @@
 | 
				
			|||||||
                            PRIMARY KEY (own_addr, cluster_name))
 | 
					                            PRIMARY KEY (own_addr, cluster_name))
 | 
				
			||||||
                            ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin
 | 
					                            ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin
 | 
				
			||||||
                        </property>
 | 
					                        </property>
 | 
				
			||||||
 | 
					                        <property name="insert_single_sql">INSERT INTO JGROUPSPING (own_addr, cluster_name, ping_data) values (?, ?, ?)</property>
 | 
				
			||||||
 | 
					                        <property name="delete_single_sql">DELETE FROM JGROUPSPING WHERE own_addr=? AND cluster_name=?</property>
 | 
				
			||||||
 | 
					                        <property name="select_all_pingdata_sql">SELECT ping_data FROM JGROUPSPING WHERE cluster_name=?</property>
 | 
				
			||||||
                    </protocol>
 | 
					                    </protocol>
 | 
				
			||||||
                    <protocol type="MERGE3"/>
 | 
					                    <protocol type="MERGE3"/>
 | 
				
			||||||
                    <protocol type="FD_SOCK"/>
 | 
					                    <protocol type="FD_SOCK"/>
 | 
				
			||||||
@ -675,7 +678,7 @@
 | 
				
			|||||||
            </deployment-permissions>
 | 
					            </deployment-permissions>
 | 
				
			||||||
        </subsystem>
 | 
					        </subsystem>
 | 
				
			||||||
        <subsystem xmlns="urn:jboss:domain:transactions:6.0">
 | 
					        <subsystem xmlns="urn:jboss:domain:transactions:6.0">
 | 
				
			||||||
            <core-environment node-identifier="${jboss.tx.node.id:1}">
 | 
					            <core-environment node-identifier="{{ inventory_hostname | default('${jboss.tx.node.id:1}') }}">
 | 
				
			||||||
                <process-id>
 | 
					                <process-id>
 | 
				
			||||||
                    <uuid/>
 | 
					                    <uuid/>
 | 
				
			||||||
                </process-id>
 | 
					                </process-id>
 | 
				
			||||||
@ -715,7 +718,7 @@
 | 
				
			|||||||
            <inet-address value="${jboss.bind.address.management:127.0.0.1}"/>
 | 
					            <inet-address value="${jboss.bind.address.management:127.0.0.1}"/>
 | 
				
			||||||
        </interface>
 | 
					        </interface>
 | 
				
			||||||
        <interface name="jgroups">
 | 
					        <interface name="jgroups">
 | 
				
			||||||
            <subnet-match value="{{ (ansible_default_ipv4.address + '/' + ansible_default_ipv4.netmask) | ipaddr('prefix') }}"/>
 | 
					            <subnet-match value="{{ (ansible_default_ipv4.network + '/' + ansible_default_ipv4.netmask) | ipaddr('net') }}"/>
 | 
				
			||||||
        </interface>
 | 
					        </interface>
 | 
				
			||||||
        <interface name="public">
 | 
					        <interface name="public">
 | 
				
			||||||
            <inet-address value="${jboss.bind.address:127.0.0.1}"/>
 | 
					            <inet-address value="${jboss.bind.address:127.0.0.1}"/>
 | 
				
			||||||
 | 
				
			|||||||
@ -509,6 +509,9 @@
 | 
				
			|||||||
                            PRIMARY KEY (own_addr, cluster_name))
 | 
					                            PRIMARY KEY (own_addr, cluster_name))
 | 
				
			||||||
                            ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin
 | 
					                            ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin
 | 
				
			||||||
                        </property>
 | 
					                        </property>
 | 
				
			||||||
 | 
					                        <property name="insert_single_sql">INSERT INTO JGROUPSPING (own_addr, cluster_name, ping_data) values (?, ?, ?)</property>
 | 
				
			||||||
 | 
					                        <property name="delete_single_sql">DELETE FROM JGROUPSPING WHERE own_addr=? AND cluster_name=?</property>
 | 
				
			||||||
 | 
					                        <property name="select_all_pingdata_sql">SELECT ping_data FROM JGROUPSPING WHERE cluster_name=?</property>
 | 
				
			||||||
                    </protocol>
 | 
					                    </protocol>
 | 
				
			||||||
                    <protocol type="MERGE3"/>
 | 
					                    <protocol type="MERGE3"/>
 | 
				
			||||||
                    <protocol type="FD_SOCK"/>
 | 
					                    <protocol type="FD_SOCK"/>
 | 
				
			||||||
@ -675,7 +678,7 @@
 | 
				
			|||||||
            </deployment-permissions>
 | 
					            </deployment-permissions>
 | 
				
			||||||
        </subsystem>
 | 
					        </subsystem>
 | 
				
			||||||
        <subsystem xmlns="urn:jboss:domain:transactions:6.0">
 | 
					        <subsystem xmlns="urn:jboss:domain:transactions:6.0">
 | 
				
			||||||
            <core-environment node-identifier="${jboss.tx.node.id:1}">
 | 
					            <core-environment node-identifier="{{ inventory_hostname | default('${jboss.tx.node.id:1}') }}">
 | 
				
			||||||
                <process-id>
 | 
					                <process-id>
 | 
				
			||||||
                    <uuid/>
 | 
					                    <uuid/>
 | 
				
			||||||
                </process-id>
 | 
					                </process-id>
 | 
				
			||||||
@ -715,7 +718,7 @@
 | 
				
			|||||||
            <inet-address value="${jboss.bind.address.management:127.0.0.1}"/>
 | 
					            <inet-address value="${jboss.bind.address.management:127.0.0.1}"/>
 | 
				
			||||||
        </interface>
 | 
					        </interface>
 | 
				
			||||||
        <interface name="jgroups">
 | 
					        <interface name="jgroups">
 | 
				
			||||||
            <subnet-match value="{{ (ansible_default_ipv4.address + '/' + ansible_default_ipv4.netmask) | ipaddr('prefix') }}"/>
 | 
					            <subnet-match value="{{ (ansible_default_ipv4.network + '/' + ansible_default_ipv4.netmask) | ipaddr('net') }}"/>
 | 
				
			||||||
        </interface>
 | 
					        </interface>
 | 
				
			||||||
        <interface name="public">
 | 
					        <interface name="public">
 | 
				
			||||||
            <inet-address value="${jboss.bind.address:127.0.0.1}"/>
 | 
					            <inet-address value="${jboss.bind.address:127.0.0.1}"/>
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user