SDS Support application

The use of specific JADE features and proposals for new feature suggestions
alanvl
Posts: 29
Joined: Fri Aug 14, 2009 9:16 pm

SDS Support application

Postby alanvl » Thu Aug 20, 2009 4:54 pm

My understanding when using SDS is that there is no automated support for stopping applications in the Primary System, and once the Switch had occurred, that nominated applications (services nodes etc) could be started automatically on the new Primary System.

Can anyone confirm my assumption - or point me in the right direction?

If my understanding is correct are there other standard features available that would assist with the automated shutdown / startup - we have not implemented the CardSchema functionality that may help to support this.
Last edited by alanvl on Fri Aug 21, 2009 8:40 am, edited 1 time in total.

User avatar
Jade Support
Posts: 103
Joined: Mon Aug 17, 2009 10:27 am
Location: Jade Software Corporation, Christchurch

Re: SDS Support application

Postby Jade Support » Thu Aug 20, 2009 5:21 pm

Your understanding is correct. The following section taken from the Synchronised Database Service white paper suggests there is no automatic restart of server applications following a negotiated or hostile takeover of the primary node:
Preparing for a Takeover Operation

Prior to performing a takeover, the following steps are recommended:

1. If the reason for the takeover is to perform scheduled maintenance on the primary host, then it’s preferable to shut down all nodes connected to the primary before initiating the takeover.

2. When possible, shut down all update-capable processes on the primary database. Stopping update processing ensures there are no active transactions when the takeover is initiated – a database quiet point on the primary is a prerequisite to the takeover action. If updating applications are left running on the primary system, they will encounter exceptions next time they attempt to update non-environmental objects once the primary database has assumed a read-only secondary database role.

On the other hand, there is no real need to stop inquiry processes on the secondary that is to assume the primary role. As soon as the takeover is accomplished and the secondary has changed roles to a primary, the inquiry processes can begin to perform updating transactions without the need to restart.
Interestingly PAR #30003 corrected an issue in JADE where server applications would automatically restart following a negotiated takeover, but this was changed so:
...that it is more discerning about when to start auto ini apps. It will only attempt to start them when database access is FIRST enabled i.e. as a result of an SDS Secondary Server Node being started.
An NFS could be opened against JADE for a user takeover option, such as "StopServerApplicationsOnTakeover=true". This could allow the developer to design the server application without having to include support for possible role and therefore access changes, and the operator to have one less task to do when performing a take over. Similarly for starting server applications.
Jade Support
Jade Software Corporation Ltd

Email: jadesupport@jadeworld.com
Web: http://www.jadeworld.com

Jade Software – complex business problems solved beautifully.


Return to “Feature Discussions”

Who is online

Users browsing this forum: No registered users and 23 guests