IRPCTest.GetServerHealth

View as Markdown

Vault API / standard read session idempotent

Runs the server health checks you select and returns the result of each.

ServiceConnection and health checks MFiles.IRPCTest
gRPC method/MFiles.IRPCTest/GetServerHealth
HTTP (mf-http-grpc)POST /grpc/v1/get-server-health
RequestGetServerHealthRequest
ResponseGetServerHealthResponse
Book and levelVault API, standard
Kindread
SessionRequired: the session ID from LogIn in the mfiles-session-id-bin metadata.
Idempotentyes
Returns metadata structure versionno
Streamingnone (unary)

Remarks

Needs a session. Without a session the call fails with UNAUTHENTICATED.

These are the checks of CheckServerHealthAnonymous, selected one by one in data_request:

Each of them is a ServerHealthItem:

A vault that has not finished going online counts as unhealthy for both vault checks.

Request: GetServerHealthRequest

Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.

FieldTypeDescription
data_requestServerHealthRequestWhich checks to run, and whether a failed check fails the call; see Remarks.
data_request.vault_refresh_from_one_dbServerHealthItemCheck that a refresh from One DB has been successfully made.Values: SERVER_HEALTH_ITEM_IGNORE (0), SERVER_HEALTH_ITEM_CHECK (1), SERVER_HEALTH_ITEM_FAIL_IF_UNHEALTHY (2).
data_request.online_state_transition_finished_for_all_vaultsServerHealthItemCheck that all the vaults have finished the online transition.Values: SERVER_HEALTH_ITEM_IGNORE (0), SERVER_HEALTH_ITEM_CHECK (1), SERVER_HEALTH_ITEM_FAIL_IF_UNHEALTHY (2).
data_request.all_vaults_in_correct_end_stateServerHealthItemCheck that all the vaults are in correct end state.Values: SERVER_HEALTH_ITEM_IGNORE (0), SERVER_HEALTH_ITEM_CHECK (1), SERVER_HEALTH_ITEM_FAIL_IF_UNHEALTHY (2).

Response: GetServerHealthResponse

Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.

FieldTypeDescription
data_resultServerHealthResultOne result per check. A check that was not requested is TRI_STATE_BOOLEAN_UNDEFINED. vault_refresh_from_one_db_succeeded is also TRI_STATE_BOOLEAN_UNDEFINED on servers that do not use One DB, which is the normal case on premises.
data_result.vault_refresh_from_one_db_succeededTriStateBooleanTrue, if a refresh from One DB has been successfully made. Undefined, if One DB is not enabled for the server.Values: TRI_STATE_BOOLEAN_UNDEFINED (0), TRI_STATE_BOOLEAN_FALSE (1), TRI_STATE_BOOLEAN_TRUE (2).
data_result.online_state_transition_finished_for_all_vaults_succeededTriStateBooleanTrue, if all the vaults have finished the online transition.Values: TRI_STATE_BOOLEAN_UNDEFINED (0), TRI_STATE_BOOLEAN_FALSE (1), TRI_STATE_BOOLEAN_TRUE (2).
data_result.all_vaults_in_correct_end_state_succeededTriStateBooleanTrue, if all the vaults are in correct end state.Values: TRI_STATE_BOOLEAN_UNDEFINED (0), TRI_STATE_BOOLEAN_FALSE (1), TRI_STATE_BOOLEAN_TRUE (2).