The transport.properties file is available on all servers. These instructions apply to all systems except for Windows 2003.
- To verify that IPv6 is enabled, contact the server using ping6.
-
Identify the IPv6 address of the server:
The output includes the information you need as shown in the following example:Option Description Non-Windows Server Type ifconfig. Windows Server Type ipconfig. inet6 addr: fe80::250:56ff:fe86:167e Scope:Link
IP Address............: fe80::250:56ff:fe86:167e
Where fe80::250:56ff:fe86:167e is the IPv6 address. -
Specify the IPv6 addresses in the $EM_HOME/conf/transport.properties file to include the broker URLs for failover.
-
If the brokers are on two different, remote servers, edit the file as follows:
msm.amq.brokerURL = failover:(tcp://[IPv6 Address A]:61616,tcp://[IPv6 Address B]:61616)?randomize=false\&maxReconnectDelay=25\&maxReconnectAttempts=2
Where [IPv6 Address] is the IPv6 address of a remote server. The default port number for the Active MQ service is 61616.For example:msm.amq.brokerURL=failover:(tcp://[fe80::250:56ff:fe86:1c1b]:61616,tcp://[fe80::250:56ff:fe86:40cd]:61616)?randomize=false&maxReconnectDelay=25&maxReconnectAttempts=2
-
If one of the brokers is on the local server, edit the file as follows:
msm.amq.brokerURL = failover:(tcp://[::1]:61616,tcp://[IPv6 Address B]:61616)?randomize=false\&maxReconnectDelay=25\&maxReconnectAttempts=2
Where [::1] is a local server, and [IPv6 Address] is the IPv6 address of a remote server. The default port number for the Active MQ service is 61616.For example:msm.amq.brokerURL=failover:(tcp://[::1]:61616,tcp://[fe80::250:56ff:fe86:40cd]:61616)?randomize=false&maxReconnectDelay=25&maxReconnectAttempts=2
-
If the brokers are on two different, remote servers, edit the file as follows: