PageRenderTime 8ms CodeModel.GetById 2ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 1ms

/hazelcast-documentation/src/main/docbook/manual/content/network/ConfigSpecifyInterfaces.xml

https://bitbucket.org/gabral6_gmailcom/hazelcast
XML | 49 lines | 31 code | 3 blank | 15 comment | 0 complexity | cb338ec4406c452ab2c8037cd28cf739 MD5 | raw file
 1<?xml version='1.0' encoding='UTF-8'?>
 2<!--
 3  ~ Copyright (c) 2008-2013, Hazelcast, Inc. All Rights Reserved.
 4  ~
 5  ~ Licensed under the Apache License, Version 2.0 (the "License");
 6  ~ you may not use this file except in compliance with the License.
 7  ~ You may obtain a copy of the License at
 8  ~
 9  ~ http://www.apache.org/licenses/LICENSE-2.0
10  ~
11  ~ Unless required by applicable law or agreed to in writing, software
12  ~ distributed under the License is distributed on an "AS IS" BASIS,
13  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  ~ See the License for the specific language governing permissions and
15  ~ limitations under the License.
16  -->
17
18<sect2 xml:id="ConfigSpecifyInterfaces" version='5.0' xmlns='http://docbook.org/ns/docbook'
19       xmlns:xi="http://www.w3.org/2001/XInclude"
20       xmlns:xlink="http://www.w3.org/1999/xlink"
21       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22       xsi:schemaLocation="http://docbook.org/ns/docbook http://www.docbook.org/xml/5.0/xsd/docbook.xsd
23       http://www.w3.org/1999/xlink http://www.w3.org/1999/xlink.xsd">
24    <title>Specifying Network Interfaces</title>
25    <para>
26        You can also specify which network interfaces that Hazelcast should use. Servers mostly have more than one
27        network
28        interface so you may want to list the valid IPs. Range characters ('*' and '-') can be used for simplicity. So
29        10.3.10.*, for instance, refers to IPs between 10.3.10.0 and 10.3.10.255. Interface 10.3.10.4-18 refers to IPs
30        between 10.3.10.4 and 10.3.10.18 (4 and 18 included). If network interface configuration is enabled (disabled by
31        default) and if Hazelcast cannot find an matching interface, then it will print a message on console and won't
32        start on that node.
33        <programlisting language="xml"><![CDATA[<hazelcast>
34    ...
35    <network>
36        ....
37        <interfaces enabled="true">
38            <interface>10.3.16.*</interface> 
39            <interface>10.3.10.4-18</interface> 
40            <interface>192.168.1.3</interface>         
41        </interfaces>    
42    </network>
43    ...
44</hazelcast> 
45]]></programlisting>
46
47
48    </para>
49</sect2>