
Although HP Web Jetadmin supports database mirroring, the behavior of the HP Web Jetadmin
service and connected clients might vary when a failover occurs on the database. The HP Web
Jetadmin service might sometimes stop as Microsoft fails over to the alternate database. When a
failure with the database connection occurs, Microsoft switches the HP Web Jetadmin database
connection to the alternate database and reports the failed database transaction to HP Web Jetadmin
with an exception. Depending on where HP Web Jetadmin accesses the database, the exception
might cause the HP Web Jetadmin service and attached clients to fail.
HP recommends that you configure the HP Web Jetadmin service to automatically restart after an
abnormal termination, such as a failover, so that no manual intervention is required to get the service
back up and running again on the new primary database. The service and clients still fail, but only
temporarily because the service should be up and running again on its own, and the clients can be
restarted.
When a failover occurs, further connection attempts go to the failover partner. If those connection
attempts are successful, the service continues to run. If those connection attempts are not successful,
the service shuts down. When the service is restarted, the service should function normally if the
failover partner node is available. Otherwise waits for a successful database connection before the
service comes up all the way.
<ipmc:configuration xmlns:ipmc="www.hp.com/schemas/imaging/ipmc/config/2004/02/24">
<property name="DatabaseConnectionFactory.FailoverPartner.MachineName">
<type>HP.Imaging.Wjp.Sdk.Core.Framework.ConfigurationItemString</type>
<value>db2.SomeDomain.com</value>
</property>
<property name="DatabaseConnectionFactory.FailoverPartner.InstanceName">
<type>HP.Imaging.Wjp.Sdk.Core.Framework.ConfigurationItemString</type>
<value>HPWJA_MY_INSTANCE</value>
</property>
<property name="DatabaseConnectionFactory.CatalogName">
<type>HP.Imaging.Wjp.Sdk.Core.Framework.ConfigurationItemString</type>
<value>HPWJA</value>
</property>
<property name="DatabaseConnectionFactory.InstanceName">
<type>HP.Imaging.Wjp.Sdk.Core.Framework.ConfigurationItemString</type>
<value>HPWJA_MY_INSTANCE</value>
</property>
<property name="DatabaseConnectionFactory.MachineName">
<type>HP.Imaging.Wjp.Sdk.Core.Framework.ConfigurationItemString</type>
<value>db1.SomeDomain.com</value>
</property>
<property name="DatabaseConnectionFactory.PlainTextPassword">
<type>HP.Imaging.Wjp.Sdk.Core.Framework.ConfigurationItemString</type>
<value>MyPassword</value>
</property>
<property name="DatabaseConnectionFactory.UserName">
<type>HP.Imaging.Wjp.Sdk.Core.Framework.ConfigurationItemString</type>
<value>MyDBUser</value>
</property>
<property name="DatabaseConnectionFactory.CommandTimeoutInSeconds">
<type>HP.Imaging.Wjp.Sdk.Core.Framework.ConfigurationItemString</type>
<value>120</value>
</property>
</ipmc:configuration>
Example of the DatabaseSettings.config.xml file for using a mirrored database
Komentarze do niniejszej Instrukcji