About Database and Element States
TimesTen Scaleout defines a set of overall database and element status values to detemine the status of a database or element. The TimesTen Operator uses these status values to assess the state of the database represented by a TimesTenScaleout object.
-
How created is the database?
-
How loaded is the database?
-
How open is the database?
This triplet of strings is returned as part of the output of the TimesTen ttGridAdmin
dbStatus
utility.
For information about the database states, see Display the Status of the Database and All Elements in the Oracle TimesTen In-Memory Database Scaleout
User's Guide. For information about the ttGridAdmin
dbstatus
utility, see Monitor the Status of a Database (dbStatus) in the Oracle TimesTen In-Memory Database
Reference.
The TimesTen Operator uses TimesTen Scaleout database states to report the state of the database for a TimesTenScaleout object.
kubectl
get
command to return the status for a deployed TimesTenScaleout object.kubectl get tts samplescaleout
NAME OVERALL MGMT CREATE LOAD OPEN AGE
samplescaleout Normal Normal created loaded-complete open 2d
Note the following:-
The High Level state of the TimesTenScaleout object is
Normal
(as indicated by theOVERALL
field). -
The management instance state is
Normal
(as indicated by theMGMT
field). -
The database
creation
state iscreated
(as indicated by theCREATE
field). -
The database
loaded
state isloaded-complete
(as indicated by theLOAD
field). -
The database
open
state isopen
(as indicated by theOPEN
field).
TimesTen Scaleout also keeps a state for each element in a database. See Troubleshooting Based on Element Status in the Oracle TimesTen In-Memory Database Scaleout User's Guide for details on element states.
waiting
for
seed
state, the Operator checks the value of a TimesTenScaleout object's .spec.ttspec.replicaSetRecovery
datum:
-
If the value is
Restart
, theDatabaseRestartRequired
High Level state is triggered. -
If the value is
Manual
, the Operator moves the TimesTenScaleout object to theManualInterventionRequired
state.