18.01.2015 Views

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Database Interface<br />

Database Configuration<br />

The Database Configuration dialog allows you to configure the necessary settings to link IWS to an external<br />

database file.<br />

Database Configuration dialog<br />

• Database combo-box: Allows you to select either Primary or Secondary. With Primary, all settings displayed<br />

in the Database Configuration window apply to the Primary Database interface. Otherwise, they apply to<br />

the Secondary Database interface. You can configure the Secondary database in the following modes:<br />

• Disabled: In this mode, IWS saves data in the Primary Database only. If the Primary Database is<br />

unavailable for any reason, the data is not saved anywhere else. This option may cause loss of data if<br />

the Primary Database is not available.<br />

• Redundant: In this mode, IWS saves data in both Primary and Secondary Databases. If one of these<br />

databases is unavailable, IWS keeps saving data only in the database that is available. When<br />

the database that was unavailable becomes available again, IWS synchronizes both databases<br />

automatically.<br />

• Store and Forward: In this mode, IWS saves data in the Primary Database only. If the Primary Database<br />

becomes unavailable, IWS saves the data in the Secondary Database. When the Primary Database<br />

becomes available again, IWS moves the data from the Secondary Database into the Primary Database.<br />

Note: The Primary and Secondary can be different types of databases. However, they must have<br />

the same fields.<br />

Using the Secondary Database, you can increase the reliability of the system and use the Secondary<br />

Database as a backup when the Primary Database is not available. This architecture is particularly useful<br />

when the Primary Database is located in the remote station. In this case, you can configure a Secondary<br />

Database in the local station to save data temporarily if the Primary Database is not available (during a<br />

network failure, for instance).<br />

• Use project default checkbox: When this option is checked, IWS uses the settings configured in the Default<br />

Database for the task that is being configured (Connection string, User name, Password, Retry Interval and<br />

Advanced Settings). When this option is not checked, you can configure these settings individually to the<br />

current task.<br />

• Connection string field: This field defines the database where IWS will write and read values as well as<br />

the main parameters used when connecting to the database. Instead of writing the Connection string<br />

<strong>InduSoft</strong> Web Studio Page 493

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!