Bug 1102753 - [GSS] (6.2.x) deployed applications are not distributed to host controller(s)
Summary: [GSS] (6.2.x) deployed applications are not distributed to host controller(s)
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Domain Management
Version: 6.2.3
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: CR1
: EAP 6.2.4
Assignee: Ivo Studensky
QA Contact: Petr Kremensky
Russell Dickenson
URL:
Whiteboard:
Depends On: 1102752
Blocks: eap62-cp04-blockers
TreeView+ depends on / blocked
 
Reported: 2014-05-29 13:42 UTC by Tom Fonteyne
Modified: 2018-12-06 16:39 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
In previous versions of JBoss EAP 6, deployments were only copied to host controllers as needed. Host contollers started with the `--backup` switch did not have all deployments available, so could not be promoted to a domain controller in a failover. In this release all content is copied to the host controller when started with `--backup` allowing for promotion in a failover.
Clone Of: 1102752
Environment:
Last Closed: 2014-08-07 12:12:45 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker WFLY-3418 0 Major Resolved deployed applications are not distributed to host controller(s) 2017-10-23 01:02:32 UTC

Description Tom Fonteyne 2014-05-29 13:42:52 UTC
+++ This bug was initially created as a clone of Bug #1102752 +++

https://issues.jboss.org/browse/WFLY-3418

Above cloned here aiming for 6.2 CP04


    Install node 1
    remove all local servers
    start it in domain mode, so it runs as the DC
    use the CLI to deploy an application

=> the application will end up in the domain/data/content folder as expected.

    Install node 2 on another machine
    remove all local servers
    point it to the DC on node 1
    start in domain mode, so it runs as a HC
    wait a little...
    stop the node 2, and inspect the local domain/data/content
    => empty

    start node 2 again
    on node 1, with the CLI, deploy a second application
    inspect node 2 local domain/data/content
    => the new / 2nd application will have been copied but the original first is still not copied.

Whether you start node 2 with or without "--backup" makes no difference.

Problem:
due to the HC not receiving a full copy of the "content" folder, it is not possible to promote the HC to a DC (when the original DC is down)

Comment 1 Tom Fonteyne 2014-05-29 13:53:37 UTC
workaround:
Do not promote an HC. Instead have a backup of the DC and restore when needed.

Comment 2 Tom Fonteyne 2014-05-29 15:18:12 UTC
workaround2:
use rsync or similar to keep the "content" directory of an HC synced with the DC

Comment 3 Ivo Studensky 2014-06-03 05:57:26 UTC
PR sent:
https://github.com/jbossas/jboss-eap/pull/1403

Comment 4 Petr Kremensky 2014-06-18 07:41:51 UTC
Verified on EAP 6.2.4.CP.CR1

Comment 6 dereed 2014-06-19 20:38:20 UTC
Added draft doc text with my understanding of the issue.

Tom or Brian please confirm that it's correct?

Comment 7 Tom Fonteyne 2014-06-24 11:05:22 UTC
doc text sounds good - tx


Note You need to log in before you can comment on or make changes to this bug.