On Fri, 2008-10-10 at 16:59 -0400, Joe Attardi wrote: > Hi everyone, > > I'm working on XCF-2915 (sipXconfig must recognize new service state > names) and am adding a few status icons along with the status text. > However, I'm a bit unclear on what some of the states represent. Could > anyone help fill in the blanks for me? > > According to Carolyn's comments in the description of XCF-2915, the > states are: > > Undefined, Disabled, ConfigurationMismatch, ResourceRequired, Testing, > ConfigurationTestFailed, Starting, Stopping, Failed, Running, > ShuttingDown, and ShutDown > > Some of them make sense, but some of them I'm not sure about: > * What is "Undefined"? Is that the equivalent of "Unknown" ?
It means the state has not been initialized... you _should_not_ ever see that one... > * The services seem to show "Disabled" whenever I stop one of them. > Does "Disabled" really mean "Stopped", or "Not Running" ? It means that it is not running and it's not supposed to be running. > * What's the difference between "Stopping" and "ShuttingDown" ? Stopping means that sipXsupervisor has been told to Stop a running process, so the permanent state has been changed to Disabled and the process is being stopped. ShuttingDown means the process is enabled, but sipXsupervisor has been told to exit, so the permanent state is Enabled but it is being stopped now. > * When is the state "ShutDown" ? When I stop the service, it seems to > go straight back to "Disabled". You probably will not often see ShutDown - it would only happen in the short interval during sipXsupervisor shutdown when some managed processes have stopped and others have not (so supervisor itself is still running). _______________________________________________ sipx-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-dev Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
