00197193-02_IM_SIPLACE_EDM_2.1_EN.pdf - 第46页

EDM V2.1 / I nstallat ion Ma nual Ausgabe 11/2012 E dition 46 6.3.1 Configuration Sets An EDM Configur ation Set has a config uration type of “ Siemens.SiplacePro.EDM.Common.Configuration.ConfigurationSet ” and con tains…

100%1 / 73
EDM V2.1 / Installation Manual Ausgabe 11/2012 Edition
45
changes to the affected lines.
workflows clientWorkflow.xml Contains the standard EDM Workflow used by the EDM Client
during the “Pull” operation. The files just moved from the root
configuration folder to the ‘workflows’ folder.
Table 6-7: List of the EDM configuration files
Manual configuration upgrade:
EDM 2.1 will try to convert the essential settings during the installation.
If you want to manually upgrade a configuration from EDM 1.x to 2.0 you may try use:
“EdmPsc.exe upgrade src [dst] (src’ specifies the folder containing the old EDM 1.x
config; dstis the destination folder for the new EDM 2.x configuration (if omitted the source folder
will also be used as destination folder).
In EDM 2.1, EdmPsc.exe also creates an "EDM 2.0" compatibility configuration.
All EDM configuration files are XML-based files. The “SystemConfig.xml” and
“CustromSettings.xml” files use the format of the Microsoft Dictionary Configuration-Sections
(<add key=”x” value=”y” />).
The default EDM configuration files found in the ‘defaultconfiguration’ directory of the EDM Setup
folder contain placeholders that are changed during installation - They thus cannot be used to
restore the standard configuration (at least not without additional modifications).
NOTICE
Create a backup the existing configuration before making any manual changes!
EDM V2.1 / Installation Manual Ausgabe 11/2012 Edition
46
6.3.1 Configuration Sets
An EDM Configuration Set has a configuration type of
Siemens.SiplacePro.EDM.Common.Configuration.ConfigurationSet” and contains a
list of configuration files associated with the configuration set. EDM uses 15 standard entries,
custom configuration files (e.g. used in workflows) may be added as needed. All files referenced in
the configuration set must be stored in the EDM configuration directory (or any sub-folder except
“_cache”). The default configuration set (used by the configuration server or in local mode) is
named “EdmConfiguration.xml” and has to reside in the EDM Configuration folder.
Name Default Type
1
MachineConfig
global\MachineConfig.xml .Common.Configuration.MachineConfig
RoleConfig
global\RoleConfig.xml .Common.Configuration.RoleConfig
SystemConfig
default\SystemConfig.xml .Common.Configuration.SystemConfig
CommentConfig
default\CommentConfig.xml .Common.Configuration.CommentConfig
CustomConfig
default\CustomConfig.xml .Common.Configuration.CustomConfig
RequestConfig
default\RequestConfig.xml .Common.Configuration.RequestConfig
DataTransferConfig
default\DataTransferConfig.xml ....DataTransferExtension.PushModeConfig
Rules
default\NotificationFilterConfig.xml ...Common.NotificationFilterConfig
Rules_DirectImport
default\ClearingPoolImportFilterConfig.xml ....Common.NotificationFilterConfig
Rules_AutoReject
default\ClearingPoolRejectFilterConfig.xml ….Common.NotificationFilterConfig
EmailFilter
default\EmailNotificationFilterConfig.xml ….Common.NotificationFilterConfig
EmailSettings
default\EmailConfig.xml (EDM EmailConfig)
DisplayConversionConfig
default\DisplayConversionConfig.xml (Generic XML)
Log4Net
default\log4net_debug.config (Log4Net)
NotificationDisplay notifications\NotificationDisplayTemplates.r
esx
EDM User Language customized messages
ClientWorkflow
workflows\clientWorkflow.xml (EDM Workflow)
Table 6-8: Standard EDM Configuration Set entries
1
“…”: refers to „Siemens.SiplacePro.EDM“
NOTICE
The paths to the configuration files are relative to the location of the configuration set!
EDM V2.1 / Installation Manual Ausgabe 11/2012 Edition
47
6.3.2 Machine Configuration
The Machine Configuration consists of a “<machines>” section containing a list of<host>
entries. Each entry has the following attributes:
id (DNS-Name),
alias (EDM-Display-Name)
serverType (the type of the EDM installation, generally “LINE”)
xmlHandling Flag
(See 6.3.6.29 for a description of the possible values. The default is “-1” which means
ByServerType” and results in 1” for Lines and “9” for the Master)
Each host entry may also contain a list of <spiLine> child elements with the ‘path’ attribute
specifying the SIPLACE Pro path of the associated Line. The special values “[ALL]” and “[NONE]”
may also be used to indicate, that a host shall be assigned to all or no line. If no entry is found,
EDM assumes, that it is assigned to all lines found in the local SIPLACE Pro installation.
Please remember, that an EDM Line Alias must meet the following criteria:
1. It must be unique
2. It must not be equal to the “id” of another entry (it may be equal to it’s own id though)
3. It may not be empty or consist of only whitespace characters (spaces tabs etc.)
4. It should not contain new lines.
The “id” (hostname) has to fulfil these criteria:
1. It must be unique
2. It must not be equal to the “alias” of another entry (it may be equal to it’s own alias though)
3. It may not be empty or consist of only whitespace characters (spaces tabs etc.)
4. It cannot contain new lines.
5. Only hostnames are allowed (EDM will not resolve IP-Addresses)
A sample Machine-Config file:
<configuration>
<configurationInfo name="Demo" version="2.0.0.0" comment="Sample Configuration"
type="Siemens.SiplacePro.EDM.Common.Configuration.MachineConfig"/>
<machines>
<host id="PC4711" alias="Line_01" serverType="LINE" xmlHandling="-1">
<spiLine path="System\Line1_A" />
<spiLine path="System\Line1_B" />
</host>
</machines>
</configuration>