Specifying the commit server

The commit server must have an entry in the interfaces file on each machine participating in the distributed transaction. On the machine on which the commit server is actually running, the commit server entry must specify the usual ports described in the Open Client and Open Server Configuration Guide, including a query port. For example:

SERVICE 
 master tcp sun-ether rose 2001  
 query tcp sun-ether rose 2001  

On any additional machines containing other servers participating in the distributed transaction, the commit server entry need to specify only the query port:

 SERVICE 
 query tcp sun-ether rose 2001 
 
 SITEA 
 master tcp sun-ether gaia 2011  
 query tcp sun-ether gaia 2011  

The name of the commit server (in these examples, “SERVICE”) is used as a parameter in calls to the open_commit and build_xact_string routines. The commit server name must be the same on all machines participating in the transaction. The name cannot contain a period (.) or a colon (:).