Skip to content

JCliff in a JBoss (EAP6) Domain Environment #64

Open

Description

@naefhe

In a running JBoss Domain environment (as opposed to a Standalone environment), configuration changes and deployments are done on the one and only Host Controller (HC) designated as the Domain Controller (DC). When using the JBoss CLI to perform a configuration change on a specific host, I have to talk to the DC and specify /host= in front of e. g. /subsystem=. Similarly, to deploy content onto a particular group of servers, I have to specify /server-group= in front of /deployment=, etc.

How can I tell JCliff to which HC (/host=) or to which Server Group (/server-group=) to address a change or deployment, respectively? These two nodes are currently not accepted by JCliff in Input files and I couldn't find them in any rules either. Are there other mechanisms to achieve this?

Cheers,
Heinz

Activity

  1. bserdar commented on Dec 9, 2015

    @bserdar
    Owner

    Domain mode is not supported yet. I can make the necessary changes, and
    you can give it a try, but it'll take a few days.

    On Wed, Dec 9, 2015 at 8:18 AM, naefhe notifications@github.com wrote:

    In a running JBoss Domain environment (as opposed to a Standalone
    environment), configuration changes and deployments are done on the one and
    only Host Controller (HC) designated as the Domain Controller (DC). When
    using the JBoss CLI to perform a configuration change on a specific host, I
    have to talk to the DC and specify /host= in front of e. g. /subsystem=.
    Similarly, to deploy content onto a particular group of servers, I have to
    specify /server-group= in front of /deployment=, etc.

    How can I tell JCliff to which HC (/host=) or to which Server Group
    (/server-group=) to address a change or deployment, respectively? These two
    nodes are currently not accepted by JCliff in Input files and I couldn't
    find them in any rules either. Are there other mechanisms to achieve this?

    Cheers,
    Heinz

    —
    Reply to this email directly or view it on GitHub
    #64.

  2. naefhe commented on Dec 9, 2015

    @naefhe
    Author

    That sounds very good, thanks a lot!

  3. bserdar commented on Dec 22, 2015

    @bserdar
    Owner

    Added --pre= support. You can now add --pre=/host=someHost that will prepend /host=someHost to all commands. It should make it work for domain mode.

    This will still need some puppet code changes, and I'll do those later, once we get this part working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions