PureEngage On-Premises

 View Only

Sign Up

  • 1.  How to determine if Configuration Server is in Read-Only Mode

    Posted 10-15-2015 17:46
    Does the Message returned by RequestGetApplicationInfo() return an attribute that indicates whether Configuration Server is in Read-Only mode? 

    RequestGetApplicationInfo() is in Genesyslab.Platform.Management.Protocols.SolutionControlServer.Requests.Applications

    If RequestGetApplicationInfo() is not the way to determine if Configuration Server is in Read-Only mode, then what is the correct way?

    Thanks.


  • 2.  RE: How to determine if Configuration Server is in Read-Only Mode

    Posted 11-09-2015 20:29
    Hi Robert,
    The RequestGetApplicationInfo call will give you the status of the application, but in the case of Configuration Server, it will not tell you whether it is in read only mode.  You may be able to code your application with some error handling to flag Read Only when an update fails due to that reason.  For a more detailed analysis, you may want to log a Case with Customer Care for further review.

    Best Regards,
    Neil


  • 3.  RE: How to determine if Configuration Server is in Read-Only Mode

    Posted 11-09-2015 20:43
    I figured this out. The read-only state of the ConfSserver is available from the Configuration protocol, not the Managament protocol. See: Genesyslab.Platform.Configuration.Protocols.ConfServer.Requests.Security.RequestReadOperationalMode

    It is interesting that you must open a connection to a conf server to determine if it is in read-only, instead of being able to obtain this information from the management layer. This seems awfully cumbersome, and I guess explains why even SCI will only show that a conf server is Started and PRIMARY, but not that it is in read-only.