AS7/EAP6 deployment resources for domain mode

Libor Zoubek lzoubek at redhat.com
Tue May 20 16:33:18 UTC 2014


Hello,

bellow BZ is going to be fixed within  
https://bugzilla.redhat.com/show_bug.cgi?id=1069691

This is how above BZ will be implemented:

The only content-based resource will be DomainDeployment under HC resource  
it will provide
  - operation to deploy to particular host-group(s)
  - operation to enable/disable/restart in particular host-group
  - trait or read-only configuration to display where it is currently  
depoyed + what a runtime name is being used.

DomainDeployment under host-group will be completely removed, it's  
functionality will be merged into above DomainDeployment resource.

ManagedDeployment under Managed server will remain more or less the same -  
a resource providing runtime information without any content.

Alternativaly, we can introduce new resource type under DomainDeployment  
called ie. AssignedServerGroup that would handle  
information/configurations and operations for DomainDeployment-ServerGroup  
relation.

Any suggestions or rejections are welcome.

Thanks

Dne Fri, 16 May 2014 14:32:37 +0200 Thomas Segismont <tsegismo at redhat.com>  
napsal(a):

> Hi,
>
> In an effort to improve integration of RHQ with AS7/EAP6 domain mode,  
> I'm looking right now at the different "Deployment" resource types.
>
> In domain mode, deployments appear at three different levels:
> (1) Domain deployments under the host controller resource
> (2) Deployments under server group resources
> (3) Managed deployments under managed server resources
>
> In the plugin descriptor, both resource type (1) and (2) have  
> createDeletePolicy="both" (with creationDataType="content"), while (3)  
> has createDeletePolicy="neither".
>
> This is confusing because when you upgrade the content of a Domain  
> deployment resource, you see a stale history of content in the Server  
> Group Deployment resource (see Bug 889250 [1]).
>
> Unless I missed something, users should only upgrade content of Domain  
> deployment resource, and use the server group deployment resource to  
> execute enable/disable/restart operations (deploy/undeploy/redeploy in  
> AS7/EAP6 terminology).
>
> I'm for creating a new deployment resource type, server group specific  
> and unaware of the content aspects. Is there any major objection before  
> I start the pull request?
>
> Thanks,
> Thomas
>
>
> [1] https://bugzilla.redhat.com/show_bug.cgi?id=889250
>
>
>
> _______________________________________________
> rhq-devel mailing list
> rhq-devel at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/rhq-devel


-- 
Libor Zoubek


More information about the rhq-devel mailing list