/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
- <?xml version='1.0' encoding='UTF-8'?>
- <!--
- ~ Copyright (c) 2008-2013, Hazelcast, Inc. All Rights Reserved.
- ~
- ~ Licensed under the Apache License, Version 2.0 (the "License");
- ~ you may not use this file except in compliance with the License.
- ~ You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing, software
- ~ distributed under the License is distributed on an "AS IS" BASIS,
- ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- ~ See the License for the specific language governing permissions and
- ~ limitations under the License.
- -->
- <sect2 xml:id="ConfigSpecifyInterfaces" version='5.0' xmlns='http://docbook.org/ns/docbook'
- xmlns:xi="http://www.w3.org/2001/XInclude"
- xmlns:xlink="http://www.w3.org/1999/xlink"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://docbook.org/ns/docbook http://www.docbook.org/xml/5.0/xsd/docbook.xsd
- http://www.w3.org/1999/xlink http://www.w3.org/1999/xlink.xsd">
- <title>Specifying Network Interfaces</title>
- <para>
- You can also specify which network interfaces that Hazelcast should use. Servers mostly have more than one
- network
- interface so you may want to list the valid IPs. Range characters ('*' and '-') can be used for simplicity. So
- 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
- between 10.3.10.4 and 10.3.10.18 (4 and 18 included). If network interface configuration is enabled (disabled by
- default) and if Hazelcast cannot find an matching interface, then it will print a message on console and won't
- start on that node.
- <programlisting language="xml"><![CDATA[<hazelcast>
- ...
- <network>
- ....
- <interfaces enabled="true">
- <interface>10.3.16.*</interface>
- <interface>10.3.10.4-18</interface>
- <interface>192.168.1.3</interface>
- </interfaces>
- </network>
- ...
- </hazelcast>
- ]]></programlisting>
- </para>
- </sect2>