Resource status values

Resources have state values that provide information about their status.

Table 1. Resource state

Resource state Description
FAILED All services on the resource report as failed or degraded.
PARTIALLY_FAILED Some services, but not all, report as failed or degraded.
PARTIALLY_RUNNING Not all services report as running, but no services report as failed or degraded.
QUIESCED The resource is quiesced and no services are running on it.
QUIESCING Services on the resource are being stopped so that the resource can be quiesced.
RESTARTING The domain controller service is restarting on the resource.
RUNNING All services on the resource are running or waiting as expected.
STARTING Services on the resource are being started.
STOPPED Services on the resource are stopped.
UNKNOWN No Teracloud® Streams services are running on the resource.
The streamtool getresourcestate command output also includes information about whether the resources are schedulable, which means the resource is available for running stream applications.
Table 2. Schedulable states

Schedulable state Description
Degraded The resource is not schedulable because the application deployment service is degraded.
Draining The resource is doing a controlled shutdown. Existing stream applications are terminating and no additional stream applications can be started on this resource. This situation occurs because of a stop instance, quiesce resource or remove resource operation.
Failed The resource is not schedulable because the domain controller service failed or is not responding.
Not Applicable The resource cannot be used to schedule processing elements because it is not configured to run applications. If the application deployment service is not running on the resource, it cannot run applications.
Schedulable The resource is running normally, the application deployment service is available, and the resource can be used to run stream applications.
Starting The resource is not schedulable because the domain controller service is starting and is not yet available to schedule processing elements.
Stopped The domain controller service and all applications are stopped.