Step 1: Choose a Group Name

Each fault tolerance group requires a unique group name. The group name identifies the members of a group, and separates their fault-tolerance messages from messages belonging to other groups.

Number of Groups

If a program serves a single purpose, then its group name can be a single element. In many cases, that element can be a variation on the program’s name, suitably modified to obey the syntax rules for group names.

However, if the program serves any of several non-interchangeable purposes (depending on configuration parameters), then each service requires a unique group name.

For example, consider a general database query server program—the service depends on the database it opens. In theory, the same program can service queries for airline flight information, airplane parts inventory information, airplane maintenance records, passenger ticket information, government regulations, or weather reports.

In this situation choose group names with two elements, in which the first element identifies the application system, and the second element identifies its database service. The current example could use these names:

DBQ.FLIGHTS
DBQ.PARTS
DBQ.MAINTENANCE
DBQ.TICKETS
DBQ.REGULATIONS
DBQ.WEATHER

Some processes belong to several fault tolerance groups simultaneously (see Multiple Groups). Once again, this situation suggests a two-element group name—or more than two if necessary.

Group Name Syntax

Members of a group exchange messages that embed their group name, so group names must obey the syntax for Rendezvous subject names.

Group names must not contain wildcard characters.

For best performance, keep group names short. Use no more than three or four elements, and no more than 50 characters (total).

For an introduction to Rendezvous subject names, see Subject Names.