-
1. Re: Fuse Fabric zookeeper bind address
pcootey Sep 23, 2014 9:52 AM (in response to rafaelcba)1 of 1 people found this helpfulThis is default behavior.
"The IP address and hostname associated with the Fabric Servers in the Fabric ensemble are of critical importance to the fabric. Because these IP addresses and hostnames are used for configuration and service discovery (through the Zookeeper registry), they must not change during the lifetime of the fabric."
-
2. Re: Fuse Fabric zookeeper bind address
rafaelcba Sep 23, 2014 1:25 PM (in response to pcootey)Hi pcootey!
Thanks for you reply.
I saw that note in the Fuse Docs. But It does not say how to (or if is possible) deal with IP changes in a Fabric environment.
-
3. Re: Fuse Fabric zookeeper bind address
davsclaus Sep 25, 2014 5:06 AM (in response to rafaelcba)1 of 1 people found this helpfulYeah I think if an IP needs to be changed, you can use fabric:ensemble-leave to leave and then do the IP change, and then add/ join afterwards.
-
4. Re: Fuse Fabric zookeeper bind address
mike.hepburn Sep 28, 2014 6:48 PM (in response to rafaelcba)i've found editing instances/instance.properties (including all container instance.properties) with the new hostname/ip.address as well as correctly setting hostname (in either linux or windows) will do the trick ...
fabric:ensemble-leave is only available if/when zookeeper starts ! so, if you reconfigure networking, or copy-n-past fuse - you may have better luck leaving the ensemble *first*
HTH
-
5. Re: Fuse Fabric zookeeper bind address
rafaelcba Mar 17, 2015 10:20 AM (in response to rafaelcba)I think the best way to avoid IP addr changes in a multi-homed host (or in a local env) is creating the fabric with manualip resolver:
JBossFuse:karaf@root> fabric:create --resolver manualip --manual-ip CustomIPAddress --zookeeper-password admin --wait-for-provisioning
By default Fuse creates the fabric with the localhostname resolver, which can change dynamically.
See https://access.redhat.com/documentation/en-US/Red_Hat_JBoss_Fuse/6.1/html-single/Configuring_and_Running_Red_Hat_JBoss_F… for more details.