KB Article #60019
What are the different states of gatecontroller and where is it context stored?
Problem
Resolution
What are the different states of gatecontroller and where is it context stored?
Resolution
The gatecontroller has three states:
1. Intermediate state,1: This state is used when the Gateway is starting. Once Gateway is up the state changes to 0.
2. Intermediate state,2: This state is used when Gateway is stopping. Once Gateway is down the state changes to 0.
3. Stable state,0: This state either means that Gateway is started or stopped. The actual status is about Gateway is checked after reading gatecontroller context.
Gatecontroller's state is stored in gmonctx.dat file located in <run_time>/data. In the same directory gcctx.dat stores the context comprising of pid and other relevant details.