For servers with multiple IP addresses, clustering between servers might not work properly because an unintended IP address might be used as the server socket when clustering is performed.
Functions which use the server sockets are listed below.
・Resin clustering function
・intra-mart Accel Platform clustering function
・Session management function (only when using the session management function)
For these functions, it is necessary to specify the IP to be used for each server socket.
[Resin Clustering Function]
This setting is considered only when using Resin's clustering function.
Resinhome/conf/resin.properties(All servers)
Please specify the IP address to be used for Resin clustering in app_servers.
(example)
It is a two-unit system.
The server which starts Resin as app-0 has two types of IP addresses: 192.168.0.1 and 192.168.100.1.
The server which starts Resin as app-1 has two types of IP addresses: 192.168.0.2 and 192.168.100.2.
Configure as follows to use 192.168.0.1 and 192.168.0.2 as the IP address for Resin clustering.
# app-tier Triad servers: app-0 app-1 app-2
app_servers : 192.168.0.1:6800
[intra-mart Accel Platform Clustering Function and Session Management Function]
This setting is always considered regardless of the use of Resin's clustering function.
It is necessary to start Resin with the "jgroups.bind_addr" property specified.
-Djgroups.bind_addr={IP address to be used for server socket}
(example)
The server which starts Resin as app-0 has two types of IP addresses: 192.168.0.1 and 192.168.100.1.
Specify as follows to use 192.168.0.1 and 192.168.0.2 as the IP address for intra-mart Accel Platform clustering.
-Djgroups.bind_addr=192.168.0.1
For more information, please refer to the following URL to configure the settings.
For “Console start/stop (Windows)”
https://document.intra-mart.jp/library/iap/public/setup/iap_setup_guide/texts/start_end/start_end_windows.html#ip
For “Register to Windows Service”
https://document.intra-mart.jp/library/iap/public/setup/iap_setup_guide/texts/start_end/windows_service.html#ip
For “Console start/stop (Linux)”
https://document.intra-mart.jp/library/iap/public/setup/iap_setup_guide/texts/start_end/start_end_linux.html#ip
For “Register to Linux Daemon (RHEL6)”
https://document.intra-mart.jp/library/iap/public/setup/iap_setup_guide/texts/start_end/linux-daemon.html#ip
For “Register to Linux Daemon (RHEL7)”
https://document.intra-mart.jp/library/iap/public/setup/iap_setup_guide/texts/start_end/linux-daemon.html#linux-daemon-release-rhel7
Keywords:
IP address, clustering, distributed environment, Resin, session management, server socket, jgroups.bind_addr
-- Target ----------------------------------------------------------------------
iAP/Accel Platform/All Updates
--------------------------------------------------------------------------------
FAQID:1141
What are the precautions for servers with multiple IP addresses?
