I am trying to add the child containers to an ensemble. I am having a single fabric server(one root
container and three child container-as explained in red hat ensemble docs). I have successfully added
all the child containers to the fabric ensemble but after stopping child container i couldn't see any fabric
available. It seems like while stopping child it removed the fabric also.
Following are the steps to reproduce above scenario:-
1> Extract jboss-fuse-full-6.1.0.redhat-379
2> go to karaf_home/etc>users.properties
3> karaf_home/bin> fuse.bat
4> Create Fabric by running following command
JBossFuse:karaf@root>fabric:create --zookeeper-password admin
5> create three child container
JBossFuse:karaf@root>fabric:container-create-child root child 3
6> check if all container are running
after running this command check if connected status is true for all containers
7> Add all three child container into ensemble as follows
JBossFuse:karaf@root>fabric:ensemble-add child1 child2 child3
8> Once ensemble success check the status of each server it will show the ensemble name in profile column
Here ensemble is successfully created.
9> Now stop all container one by one. Since containers are part of ensemble we need to use -f argument to stop
JBossFuse:karaf@root>fabric:container-stop -f child1
JBossFuse:karaf@root>fabric:container-stop -f child2
JBossFuse:karaf@root>fabric:container-stop -f child3
10> After stop all the container run any command with fabric i.e.
This will say Command not found
Now i again need to create the fabric, since previously created fabric is no more available.
following are my queries:-
1> Isn't is not possible to add child container to ensemble ?
2> If is it than why after stopping the container(root/child) server do not identify
installed fabric ?
3> Is there any step i have missed or not in docs. How i can add child containers to ensemble ?