<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:1493566018;
        mso-list-type:hybrid;
        mso-list-template-ids:-1940205894 134807567 134807577 134807579 134807567 134807577 134807579 134807567 134807577 134807579;}
@list l0:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l1
        {mso-list-id:1793674517;
        mso-list-type:hybrid;
        mso-list-template-ids:848070978 134807567 134807577 134807579 134807567 134807577 134807579 134807567 134807577 134807579;}
@list l1:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l1:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l1:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l1:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l1:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l1:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l1:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l1:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l1:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p style="mso-margin-top-alt:4.0pt;margin-right:0cm;margin-bottom:4.0pt;margin-left:0cm">
I am working in <b>Drools-Guvnor-5.5.0.Final</b> version and have configured repository.xml to save all assets + indexes in
<b>Oracle 11</b> database. <o:p></o:p></p>
<p style="mso-margin-top-alt:4.0pt;margin-right:0cm;margin-bottom:4.0pt;margin-left:0cm">
<o:p> </o:p></p>
<p style="mso-margin-top-alt:4.0pt;margin-right:0cm;margin-bottom:4.0pt;margin-left:0cm">
I am deploying Guvnor in a resilient environment which has two servers. Guvnor deployed in both the servers is pointing to the same database.
<o:p></o:p></p>
<p style="mso-margin-top-alt:4.0pt;margin-right:0cm;margin-bottom:4.0pt;margin-left:0cm">
<o:p> </o:p></p>
<p style="mso-margin-top-alt:4.0pt;margin-right:0cm;margin-bottom:4.0pt;margin-left:0cm">
<b><u>Step 1<o:p></o:p></u></b></p>
<p style="mso-margin-top-alt:4.0pt;margin-right:0cm;margin-bottom:4.0pt;margin-left:0cm">
For this I generated the repository.xml from the administration panel of Guvnor and replaced in both primary and secondary Guvnor instance. And when I started the server and imported assets into primary guvnor, I was able to see the following tables in database,<o:p></o:p></p>
<p style="mso-margin-top-alt:4.0pt;margin-right:0cm;margin-bottom:4.0pt;margin-left:0cm">
<o:p> </o:p></p>
<p style="mso-margin-top-alt:4.0pt;margin-right:0cm;margin-bottom:4.0pt;margin-left:36.0pt;text-indent:-18.0pt;mso-list:l1 level1 lfo1">
<![if !supportLists]><span style="font-size:10.0pt"><span style="mso-list:Ignore">1.<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span style="font-size:10.0pt">FS_FSENTRY;<o:p></o:p></span></p>
<p style="mso-margin-top-alt:4.0pt;margin-right:0cm;margin-bottom:4.0pt;margin-left:36.0pt;text-indent:-18.0pt;mso-list:l1 level1 lfo1">
<![if !supportLists]><span style="font-size:10.0pt"><span style="mso-list:Ignore">2.<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span style="font-size:10.0pt">FS_WS_DEFAULT_FSENTRY;<o:p></o:p></span></p>
<p style="mso-margin-top-alt:4.0pt;margin-right:0cm;margin-bottom:4.0pt;margin-left:36.0pt;text-indent:-18.0pt;mso-list:l1 level1 lfo1">
<![if !supportLists]><span style="font-size:10.0pt"><span style="mso-list:Ignore">3.<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span style="font-size:10.0pt">PM_WS_DEFAULT_FSENTRY;<o:p></o:p></span></p>
<p style="mso-margin-top-alt:4.0pt;margin-right:0cm;margin-bottom:4.0pt;margin-left:36.0pt;text-indent:-18.0pt;mso-list:l1 level1 lfo1">
<![if !supportLists]><span style="font-size:10.0pt"><span style="mso-list:Ignore">4.<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span style="font-size:10.0pt">PM_WS_DEFAULT_BINVAL;<o:p></o:p></span></p>
<p style="mso-margin-top-alt:4.0pt;margin-right:0cm;margin-bottom:4.0pt;margin-left:36.0pt;text-indent:-18.0pt;mso-list:l1 level1 lfo1">
<![if !supportLists]><span style="font-size:10.0pt"><span style="mso-list:Ignore">5.<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span style="font-size:10.0pt">PM_WS_DEFAULT_BUNDLE;<o:p></o:p></span></p>
<p style="mso-margin-top-alt:4.0pt;margin-right:0cm;margin-bottom:4.0pt;margin-left:36.0pt;text-indent:-18.0pt;mso-list:l1 level1 lfo1">
<![if !supportLists]><span style="font-size:10.0pt"><span style="mso-list:Ignore">6.<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span style="font-size:10.0pt">PM_WS_DEFAULT_REFS;<o:p></o:p></span></p>
<p style="mso-margin-top-alt:4.0pt;margin-right:0cm;margin-bottom:4.0pt;margin-left:36.0pt;text-indent:-18.0pt;mso-list:l1 level1 lfo1">
<![if !supportLists]><span style="font-size:10.0pt"><span style="mso-list:Ignore">7.<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span style="font-size:10.0pt">PM_WS_DEFAULT_NAMES;<o:p></o:p></span></p>
<p style="mso-margin-top-alt:4.0pt;margin-right:0cm;margin-bottom:4.0pt;margin-left:36.0pt;text-indent:-18.0pt;mso-list:l1 level1 lfo1">
<![if !supportLists]><span style="font-size:10.0pt"><span style="mso-list:Ignore">8.<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span style="font-size:10.0pt">REPOSITORY_FS_FSENTRY;<o:p></o:p></span></p>
<p style="mso-margin-top-alt:4.0pt;margin-right:0cm;margin-bottom:4.0pt;margin-left:36.0pt;text-indent:-18.0pt;mso-list:l1 level1 lfo1">
<![if !supportLists]><span style="font-size:10.0pt"><span style="mso-list:Ignore">9.<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span style="font-size:10.0pt">VERSIONING_FS_FSENTRY;<o:p></o:p></span></p>
<p style="mso-margin-top-alt:4.0pt;margin-right:0cm;margin-bottom:4.0pt;margin-left:36.0pt;text-indent:-18.0pt;mso-list:l1 level1 lfo1">
<![if !supportLists]><span style="font-size:10.0pt"><span style="mso-list:Ignore">10.<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span style="font-size:10.0pt">VERSIONING_PM_BINVAL;<o:p></o:p></span></p>
<p style="mso-margin-top-alt:4.0pt;margin-right:0cm;margin-bottom:4.0pt;margin-left:36.0pt;text-indent:-18.0pt;mso-list:l1 level1 lfo1">
<![if !supportLists]><span style="font-size:10.0pt"><span style="mso-list:Ignore">11.<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span style="font-size:10.0pt">VERSIONING_PM_BUNDLE;<o:p></o:p></span></p>
<p style="mso-margin-top-alt:4.0pt;margin-right:0cm;margin-bottom:4.0pt;margin-left:36.0pt;text-indent:-18.0pt;mso-list:l1 level1 lfo1">
<![if !supportLists]><span style="font-size:10.0pt"><span style="mso-list:Ignore">12.<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span style="font-size:10.0pt">VERSIONING_PM_NAMES;<o:p></o:p></span></p>
<p style="mso-margin-top-alt:4.0pt;margin-right:0cm;margin-bottom:4.0pt;margin-left:36.0pt;text-indent:-18.0pt;mso-list:l1 level1 lfo1">
<![if !supportLists]><span style="font-size:10.0pt"><span style="mso-list:Ignore">13.<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span style="font-size:10.0pt">VERSIONING_PM_REFS;<o:p></o:p></span></p>
<p style="mso-margin-top-alt:4.0pt;margin-right:0cm;margin-bottom:4.0pt;margin-left:0cm">
<o:p> </o:p></p>
<p style="mso-margin-top-alt:4.0pt;margin-right:0cm;margin-bottom:4.0pt;margin-left:0cm">
I also configured workspace.xml files in <o:p></o:p></p>
<p style="mso-margin-top-alt:4.0pt;margin-right:0cm;margin-bottom:4.0pt;margin-left:36.0pt;text-indent:-18.0pt;mso-list:l0 level1 lfo2">
<![if !supportLists]><span style="mso-list:Ignore">1.<span style="font:7.0pt "Times New Roman"">
</span></span><![endif]>jboss-eap-6.0/bin/repository/workspaces/default<o:p></o:p></p>
<p style="mso-margin-top-alt:4.0pt;margin-right:0cm;margin-bottom:4.0pt;margin-left:36.0pt;text-indent:-18.0pt;mso-list:l0 level1 lfo2">
<![if !supportLists]><span style="mso-list:Ignore">2.<span style="font:7.0pt "Times New Roman"">
</span></span><![endif]>jboss-eap-6.0/bin/repository/workspaces/security<o:p></o:p></p>
<p style="mso-margin-top-alt:4.0pt;margin-right:0cm;margin-bottom:4.0pt;margin-left:0cm">
<o:p> </o:p></p>
<p style="mso-margin-top-alt:4.0pt;margin-right:0cm;margin-bottom:4.0pt;margin-left:0cm">
<b><u>Step 2<o:p></o:p></u></b></p>
<p style="mso-margin-top-alt:4.0pt;margin-right:0cm;margin-bottom:4.0pt;margin-left:0cm">
Now started secondary guvnor, configured similar to primary Guvnor. But secondary server did not displayed the packages and assets from DB. Instead asked me to install sample packages.
<o:p></o:p></p>
<p style="mso-margin-top-alt:4.0pt;margin-right:0cm;margin-bottom:4.0pt;margin-left:0cm">
<o:p> </o:p></p>
<p style="mso-margin-top-alt:4.0pt;margin-right:0cm;margin-bottom:4.0pt;margin-left:0cm">
<b><u>Step 3<o:p></o:p></u></b></p>
<p style="mso-margin-top-alt:4.0pt;margin-right:0cm;margin-bottom:4.0pt;margin-left:0cm">
I configured DataStore in repository.xml. Restarted primary Guvnor server and found one more table is created in database with the assets init.
<o:p></o:p></p>
<p style="mso-margin-top-alt:4.0pt;margin-right:0cm;margin-bottom:4.0pt;margin-left:0cm">
Table name : DS_DATASTORE<o:p></o:p></p>
<p style="mso-margin-top-alt:4.0pt;margin-right:0cm;margin-bottom:4.0pt;margin-left:0cm">
<b><u><o:p><span style="text-decoration:none"> </span></o:p></u></b></p>
<p style="mso-margin-top-alt:4.0pt;margin-right:0cm;margin-bottom:4.0pt;margin-left:0cm">
<b><u>Step 4<o:p></o:p></u></b></p>
<p style="mso-margin-top-alt:4.0pt;margin-right:0cm;margin-bottom:4.0pt;margin-left:0cm">
Configured secondary Guvnor with DataStore and restarted it. Now I could see the packages of primary Guvnor,
<b>But the assets in packages were not available</b>.<o:p></o:p></p>
<p style="mso-margin-top-alt:4.0pt;margin-right:0cm;margin-bottom:4.0pt;margin-left:0cm">
<o:p> </o:p></p>
<p style="mso-margin-top-alt:4.0pt;margin-right:0cm;margin-bottom:4.0pt;margin-left:0cm">
I am attaching the repository.xml file from both the servers.<o:p></o:p></p>
<p style="mso-margin-top-alt:4.0pt;margin-right:0cm;margin-bottom:4.0pt;margin-left:0cm">
<o:p> </o:p></p>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal" style="mso-margin-top-alt:4.0pt;margin-right:0cm;margin-bottom:4.0pt;margin-left:0cm">
<b><span style="font-size:8.0pt;font-family:"Tahoma","sans-serif";color:gray;mso-fareast-language:EN-GB">Thanks and Best Regards,</span></b><span style="font-size:8.0pt;font-family:"Tahoma","sans-serif";color:black;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:4.0pt;margin-right:0cm;margin-bottom:4.0pt;margin-left:0cm">
<span style="font-size:7.5pt;font-family:"Tahoma","sans-serif";color:black;mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:4.0pt;margin-right:0cm;margin-bottom:4.0pt;margin-left:0cm">
<b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:navy;mso-fareast-language:EN-GB">Zahid Ahmed</span></b><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:black;mso-fareast-language:EN-GB">
<br>
</span><b><span style="font-size:7.5pt;font-family:"Tahoma","sans-serif";color:gray;mso-fareast-language:EN-GB">Senior Software Engineer
</span></b><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#D81921;mso-fareast-language:EN-GB">|</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:black;mso-fareast-language:EN-GB">
</span><b><span style="font-size:7.5pt;font-family:"Tahoma","sans-serif";color:gray;mso-fareast-language:EN-GB">Emirates Group IT</span></b><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:black;mso-fareast-language:EN-GB"><br>
P.O. Box 686 </span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#D81921;mso-fareast-language:EN-GB">|</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:black;mso-fareast-language:EN-GB"> Dubai, United Arab Emirates
<br>
<b>T</b> +971 4 245 2551</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#D81921;mso-fareast-language:EN-GB">|</span><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:black;mso-fareast-language:EN-GB">
<b>M</b> +971 55 124 9171</span><span style="font-size:7.5pt;font-family:"Tahoma","sans-serif";color:black;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal" style="mso-margin-top-alt:4.0pt;margin-right:0cm;margin-bottom:4.0pt;margin-left:0cm">
<span style="mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:4.0pt;margin-right:0cm;margin-bottom:4.0pt;margin-left:0cm">
<o:p> </o:p></p>
</div>
</body>
</html>