If you are using Sun Grid Engine 6.0, you must set the MASTERPORT configuration parameter to the TCP port number on which the sge_qmaster daemon is to listen. Ignore the statement in Specifying Configuration Parameters for Sun Cluster HA for Sun Grid Engine Resources in Sun Cluster Data Service for Sun Grid Engine Guide for Solaris OS that the value of MASTERPORT is not used by the Sun Cluster HA for Sun Grid Engine data service.
Sun Cluster HA for Sun Grid Engine as released with Sun Java Enterprise System 5 enables multiple sge_qmaster instances to run in a Sun Cluster configuration. To enable multiple sge_qmaster instances to run in a Sun Cluster configuration, you must specify the port number for each sge_qmaster instance explicitly. The sge_register script sets required Sun Cluster resource properties on the basis of the setting of MASTERPORT.
You cannot use the file /etc/inet/services to specify the port number for the sge_qmaster daemon. This file enables the port number to be specified for only one sge_qmaster instance.