Hi Aliosha,

In this set up ESB nodes asset will sync to Governance Registry.  It means
when we have ESB1 and ESB 2 , once ESB 1 will sync with Governance Registry
and on the other time ESB 2 will sync with Governance Registry. Hence ESB1
and ESB2 will not sync among them.

So when you need to sync ESB1 and ESB2 asset you need to use svn Deployment
Synchronizer (*DepSync*)[1]

https://docs.wso2.com/display/CLUSTER420/Introduction+to+Deployment+Synchronizer

Thanks


On Tue, Oct 21, 2014 at 11:32 PM, Aliosha <[email protected]> wrote:

> thanks for answering... really i already tried to mount Greg to both ESB
> instances but i was wondering if it's possible to synchronize assets like
> sequences, proxies etc, withouth the need to mount ESB to Governance
> Registry, as it's said in the documentation.
> I tried just with 1 ESB instances and i see that WSO2 Governance Registry
> runs a separate task internally to periodically check for updates and
> synchronize with WSO2 ESB.
> With 2 ESB there is the error i mentioned in my first email.
> Is it possibile to use more than one ESB withouth mounting the GREG on
> each ESB instances?
> Thanks.
>
> 2014-10-21 13:08 GMT+02:00 Prasanna Dangalla <[email protected]>:
>
>> Hi Aliosha,
>>
>> Have you mounted Greg to Both ESB instances ? If not follow these guides
>> [1], [2] and implement mounting.
>>
>> [1]
>> https://docs.wso2.com/display/Governance460/Remote+Instance+and+Mount+Configuration+Details
>> [2]
>> http://ajithvblogs.blogspot.com/2012/09/create-jdbc-mount-to-wso2-governance.html
>>
>> Thanks
>>
>> On Tue, Oct 21, 2014 at 2:24 PM, Aliosha <[email protected]> wrote:
>>
>>> I'm following the procedure described at this documentation url:
>>>
>>> https://docs.wso2.com/display/Governance460/ESB+Asset+Models
>>>
>>> The configuration works fine trying it with 1 WSO2 ESB 4.8.1 and 1 WSO2
>>> GREG 4.6.0.
>>>
>>> What about the task configuration in the registry.xml, if I have 2 WSO2
>>> ESB connected with the registry (localhost:9443/, localhost:9445/)?
>>>
>>> I tried to replicate the code,
>>>
>>> <task name="MediationTask"
>>> class="org.wso2.carbon.governance.platform.extensions.mediation.MediationArtifactPopulatorTask">
>>>
>>>             <trigger cron="0/10 * * * * ?"/>
>>>
>>>             <property key="userName" value="admin" />
>>>
>>>             <property key="password" value="admin" />
>>>
>>>             <property key="serverUrl" value="
>>> https://localhost:9443/services/"/>
>>>
>>>             <property key="proxyArtifactKey" value="proxy" />
>>>
>>>             <property key="sequenceArtifactKey" value="sequence" />
>>>
>>>             <property key="endpointArtifactKey" value="endpoint" />
>>>
>>>  </task>
>>>
>>>  adding another task (MediationTask1):
>>>
>>> <task name="MediationTask1"
>>> class="org.wso2.carbon.governance.platform.extensions.mediation.MediationArtifactPopulatorTask">
>>>
>>>             <trigger cron="0/9 * * * * ?"/>
>>>
>>>             <property key="userName" value="admin" />
>>>
>>>             <property key="password" value="admin" />
>>>
>>>             <property key="serverUrl" value="
>>> https://localhost:9445/services/"/>
>>>
>>>             <property key="proxyArtifactKey" value="proxy" />
>>>
>>>             <property key="sequenceArtifactKey" value="sequence" />
>>>
>>>             <property key="endpointArtifactKey" value="endpoint" />
>>>
>>>         </task>
>>>
>>> But after rebooting the Greg it seems to be a conflict situation in wich
>>> just one artifact (from ESB1 or ESB2) is uploaded into the registry.
>>>
>>> Thanks
>>>
>>>
>>
>>
>> --
>> Prasanna Dangalla
>> Software Engineer, WSO2, Inc.; http://wso2.com/
>> lean.enterprise.middleware
>>
>> cell: +94 777 55 80 30 | +94 718 11 27 51
>> twitter: @prasa77
>>
>
>


-- 
Prasanna Dangalla
Software Engineer, WSO2, Inc.; http://wso2.com/
lean.enterprise.middleware

cell: +94 777 55 80 30 | +94 718 11 27 51
twitter: @prasa77
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to