Home
TeamSite
DAS Configuration
bibulle
I've configured DAS on my server...
It seems to work.... but the daemon try to manage every areas (and not only the one needed).
So it consume CPU and I've the log :
----------------------
Files by type:IntraCMS/page
----------------------
File list file: /var/tmp/baaSNaWnF
File list:
templatedata/IntraCMS/page/data/CDVieSiteMajeurOld
filelistname: /var/tmp/baaSNaWnF
Area name: /Intranet/main/SiteUnitaire/IntraPlateau/WORKAREA/Dev_Contrib
Base area name: /Intranet/main/SiteUnitaire/IntraPlateau/STAGING
Table name: INTRANET_INTRACMS_PAGE__MAIN_SITEUNITAIRE_INTRAPLATEAU_WORKAREA_DEV_CONTRIB
Basetable name: INTRANET_INTRACMS_PAGE__MAIN_SITEUNITAIRE_INTRAPLATEAU_STAGING
Basetable prefix: INTRANET_INTRACMS_PAGE
Basetable suffix: MAIN_SITEUNITAIRE_INTRAPLATEAU_STAGING
my_table prefix: INTRANET_INTRACMS_PAGE
my_table suffix: MAIN_SITEUNITAIRE_INTRAPLATEAU_WORKAREA_DEV_CONTRIB
deployconfig name: /iwmnt/Intranet/main/SiteUnitaire/IntraPlateau/WORKAREA/Dev_Contrib/templatedata/IntraCMS/page/page_dd.cfg
ERROR: [/iwmnt/Intranet/main/SiteUnitaire/IntraPlateau/WORKAREA/Dev_Contrib/templatedata/IntraCMS/page/page_dd.cfg] does not exist
Where may I say DAS is only available for a branch ?
Thanks
Eric
Find more posts tagged with
Comments
Migrateduser
When you set up das using iwsyncdb.ipl -initial command, you specify the specific area you are interested in configuring DAS for...fFor example /default/main/branch1/WORKAREA/w1. What is the command you are using to invoke DAS? Looks like the area that was specified is /Intranet/main/SiteUnitaire/IntraPlateau/WORKAREA/Dev_Contrib and according to the error message this is where dd is looking for the config file. So it seems to working as expected. What is the area that you are expecting dd to use?
Mariam
Mariam
Migrateduser
When you configure DAS using iwat triggers (no eventserver) you usually configure for a Workarea but if there are triggers generated for other branches/workareas it does trigger DAS causing some CPU usage. One way to avoid this is to use EventServer with Filter. For more information pleaese refer to the Admin manual.
bibulle
Is it possible to enable trigger for other branches/workareas?
I try to do : 'iwsyncdb.ipl - uninstall'
and after : 'iwsyncdb.ipl -initial /Intranet/main/SiteUnitaire/Hermes/WORKAREA/Dev_Contrib/ Hermes/hotel'
But after doing these comand, 'iwsyncdb' always work since I save another DCR in another Branch.....
I have trying with the Event Server with filter but nothing good hapenned...
Perhaps I do not use Event Server with DAS correctly?
Do you know the good way ?
Thanks....
Migrateduser
How did you configure EventSubsystem (using DDUI or manually??)
Once you configure EventSubsystem you need to setup a filter similar to the following to just accept events for area /default/main/branch. you need to change the filter appropriately. Once you set the filter you need to restart DAS. Observe the SQL statement for the filter in iwddd.log :
Eg: CreateDurable subscriber with filter name <> 'PublishStagingArea'^ (this is not for the following filter)
<filter name="EventsFilter">
<keep>
<and>
<field name="timestamp" format="notused" match="now" />
<or>
<like>
<field name="area" match="/default/main/branch1/STAGING%"/>
</like>
<like>
<field name="area" match="/default/main/branch1/WORKAREA%" />
</like>
<like>
<field name="area" match="\default\main\branch1\WORKAREA%" />
</like>
</or>
</and>
</keep>
</filter>
bibulle
**I have configure EventSubsystem using DDUI.
**I have set this filter in /dd-home/conf/daemon.cfg
<filter name="EventsFilter">
<keep>
<and>
<field name="timestamp" format="notused" match="now" />
<or>
<like>
<field name="area" match="/Intranet/main/SiteUnitaire/Hermes/STAGING%"/>
</like>
<like>
<field name="area" match="/Intranet/main/SiteUnitaire/Hermes/WORKAREA%" />
</like>
<like>
<field name="area" match="\Intranet\main\SiteUnitaire\Hermes\WORKAREA%" />
</like>
</or>
</and>
</keep>
</filter>
**I start the Event Server throught DDUI and made an iwrest -ui
**I start DD : /IW/dd_home/bin/iwsyncbd -startddd
=> But i have no logs like 'CreateDurable subscriber with filter name ....' in iwddd.log.
**And when I save another DCR in another Branch, I always have logs in iwsyncdb.log :
[Thu Jul 31 12:43:55 GMT+00:00 2003] m328624 editor SyncCreate /Intranet/main/SiteUnitaire/IntraPlateau/WORKAREA/Dev_Contrib /templatedata/IntraCMS/page/data/CDVieSiteMajeurOld IntraCMS/page
EA cmd: /IW/iw-home/bin/iwextattr -g TeamSite/Templating/DCR/Type "/Intranet/main/SiteUnitaire/IntraPlateau/WORKAREA/Dev_Contrib/templatedata/IntraCMS/page/data/CDVieSiteMajeurOld" 2>&1
adds type=IntraCMS/page - /Intranet/main/SiteUnitaire/IntraPlateau/WORKAREA/Dev_Contrib/templatedata/IntraCMS/page/data/CDVieSiteMajeurOld
----------------------
Files by type:teamsite/metadata
----------------------
File list file: /var/tmp/aaa7VaaNh
File list:
templatedata/IntraCMS/page/data/CDVieSiteMajeurOld
filelistname: /var/tmp/aaa7VaaNh
Area name: /Intranet/main/SiteUnitaire/IntraPlateau/WORKAREA/Dev_Contrib
Base area name: /Intranet/main/SiteUnitaire/IntraPlateau/STAGING
Table name: INTRANET_TEAMSITE_METADATA__MAIN_SITEUNITAIRE_INTRAPLATEAU_WORKAREA_DEV_CONTRIB
Basetable name: INTRANET_TEAMSITE_METADATA__MAIN_SITEUNITAIRE_INTRAPLATEAU_STAGING
Basetable prefix: INTRANET_TEAMSITE_METADATA
Basetable suffix: MAIN_SITEUNITAIRE_INTRAPLATEAU_STAGING
my_table prefix: INTRANET_TEAMSITE_METADATA
my_table suffix: MAIN_SITEUNITAIRE_INTRAPLATEAU_WORKAREA_DEV_CONTRIB
DataDeploy Command=[cfg="/IW/iw-home/local/config/mdc_dd.cfg" deployment=deltaupdate myarea="/Intranet/main/SiteUnitaire/IntraPlateau/WORKAREA/Dev_Contrib" mybasearea="/Intranet/main/SiteUnitaire/IntraPlateau/STAGING" mytable=INTRANET_TEAMSITE_METADATA__MAIN_SITEUNITAIRE_INTRAPLATEAU_WORKAREA_DEV_CONTRIB mybasetable=INTRANET_TEAMSITE_METADATA__MAIN_SITEUNITAIRE_INTRAPLATEAU_STAGING mybasetablenameprefix=INTRANET_TEAMSITE_METADATA mybasetablenamesuffix=MAIN_SITEUNITAIRE_INTRAPLATEAU_STAGING mytablenameprefix=INTRANET_TEAMSITE_METADATA mytablenamesuffix=MAIN_SITEUNITAIRE_INTRAPLATEAU_WORKAREA_DEV_CONTRIB myfilelist=/var/tmp/aaa7VaaNh ]
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
----------------------
Files by type:IntraCMS/page
----------------------
File list file: /var/tmp/baa8VaaNh
File list:
templatedata/IntraCMS/page/data/CDVieSiteMajeurOld
filelistname: /var/tmp/baa8VaaNh
Area name: /Intranet/main/SiteUnitaire/IntraPlateau/WORKAREA/Dev_Contrib
Base area name: /Intranet/main/SiteUnitaire/IntraPlateau/STAGING
Table name: INTRANET_INTRACMS_PAGE__MAIN_SITEUNITAIRE_INTRAPLATEAU_WORKAREA_DEV_CONTRIB
Basetable name: INTRANET_INTRACMS_PAGE__MAIN_SITEUNITAIRE_INTRAPLATEAU_STAGING
Basetable prefix: INTRANET_INTRACMS_PAGE
Basetable suffix: MAIN_SITEUNITAIRE_INTRAPLATEAU_STAGING
my_table prefix: INTRANET_INTRACMS_PAGE
my_table suffix: MAIN_SITEUNITAIRE_INTRAPLATEAU_WORKAREA_DEV_CONTRIB
deployconfig name: /iwmnt/Intranet/main/SiteUnitaire/IntraPlateau/WORKAREA/Dev_Contrib/templatedata/IntraCMS/page/page_dd.cfg
ERROR: [/iwmnt/Intranet/main/SiteUnitaire/IntraPlateau/WORKAREA/Dev_Contrib/templatedata/IntraCMS/page/page_dd.cfg] does not exist
=====================
ProcessEvent Finished
=====================
*** iwsyncdb.ipl DONE ***
Migrateduser
Looking at the logs seems like EventServer has not been enabled. Did you run iwreset before running iwreset -ui once you configured EventSubsystem.?
Also you need to disable the triggers by running iwsyncdb.ipl -uninstall
ally_campbell
Did this call become resolved after this response?
I'm having the same difficulties (attempting to retain the event system but DAS on a single workarea).
Was about to raise a similar call - but this describes exactly my issue.
Kind Regards!
Alasdair.
ally_campbell
Hi!
Quick question! - Did you get DAS working on only 1 workarea?
It seems I have exactly the same problem. Would love to know what the answer was.
Cheers!
Alasdair.
bibulle
Hello,
We solve our problem by setting the event subsystem in first time, and setting filter on this subsystem in a second time.
The filter is set in this file :
ddhome/conf/daemon.cfg
Like that :
<filter name="EventsFilter">
<keep>
<and>
<field name="timestamp" format="notused" match="now" />
<or>
<like>
<field name="area" match="/Intranet/main/SiteUnitaire/Hermes/STAGING%"/>
</like>
<like>
<field name="area" match="/Intranet/main/SiteUnitaire/Hermes/WORKAREA%" />
</like>
<like>
<field name="area" match="\Intranet\main\SiteUnitaire\Hermes\WORKAREA%" />
</like>
<like>
<field name="area" match="/Intranet/main/SiteUnitaire/Edito/STAGING%"/>
</like>
<like>
<field name="area" match="/Intranet/main/SiteUnitaire/Edito/WORKAREA%" />
</like>
<like>
<field name="area" match="\Intranet\main\SiteUnitaire\Edito\WORKAREA%" />
</like>
</or>
</and>
</keep>
</filter>
You can saw this guide for more information about this file :
dd.560a.admin.pdf
Good luck!
Bibulle