How can I find out which node in a cluster is the Publisher?

Version 1
    This document was generated from CDN thread

    Created by: David Nguyen on 11-06-2008 06:04:11 PM
    How can I find out which node in a cluster is the Publisher?

    Subject: Re: How can I find out which node in a cluster is the Publisher?
    Replied by: David Nguyen on 11-06-2008 06:04:35 PM
    Try using getServiceParameter to retrieve the value for the GlassHouseNodeId service parameter. This is the pkid of the publisher processNode node.

    Then use that pkid in getProcessNode to retrieve the details of the server.