[jboss-jira] [JBoss JIRA] Created: (JBAS-4228) Preferred server HASingletonElectionPolicy

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Wed Mar 21 13:08:49 EDT 2007


Preferred server HASingletonElectionPolicy
------------------------------------------

                 Key: JBAS-4228
                 URL: http://jira.jboss.com/jira/browse/JBAS-4228
             Project: JBoss Application Server
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
          Components: Clustering
            Reporter: Brian Stansberry
         Assigned To: Brian Stansberry


An HASingletonElectionPolicy impl that allows configurable specification of a "preferred server".  If the preferred server is running, it's the master, otherwise the master is deterministically selected based on the standard policy.

1) Determine if you are the preferred server by comparing you node name to the configured "preferred server" value.

2) When you get a view change, check if preferred server is in the view. If yes, and you're the preferred server, become master, otherwise don't.  If preferred server is not in view, fall back on the base policy.

Have to make sure the mechanism of identifying and matching the "preferred server" is bullet proof (machine names vs. configuration-specified names vs. IP addresses, plus ports.)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list