Describes the process of enabling or disabling a Trustgrid node and the impacts of such a change
2 minute read
Trustgrid nodes can be in two states:
Enabled - In this state the node will connected to the Trustgrid Control Plane and any Data Plane gateways the node is configured to use.
Disabled - This is a reduced functionality state that cause the node to only attempt to connect to the Trustgrid control plane. It can be managed to a limited extent but many other Trustgrid features will not function in this state
Disabling a node allows for additional security if a device is in transport and can also be used as an easily reversible way of verifying a node is no longer in use before fully deleting the node.
Changing the node status will trigger a restart of the Trustgrid node service.
Disabling/Enabling from Info Tab
If disabling or enabling a single node you can:
Navigate to that node in the Trustgrid portal.
Open the Info tab by clicking the dropdown in the top-right, or hitting the ` key.
From the Status dropdown change to Disable or Enable
Disabling/Enabling from Nodes Table
If disabling or enabling multiple nodes it is easier to do so from the Nodes table
Navigate to the nodes table.
(Optional) Use the search box to filter the displayed nodes.
Note that if you change this any selected nodes will be de-selected.
Use the checkbox on the left to select the nodes you wish to disable or enable.
From the Actions dropdown select either Enable or Disable
Disabling/Enabling via Terraform
Nodes can be enabled or disabled via the Trustgrid published Terraform provider using the tg_node_state resource.
The Trustgrid API refers to this state via the status attribute. The value ACTIVE means the node is enabled and the value INACTIVE indicates the node is currently disabled