ENABLE/DISABLE COMPUTE NODE

Description

The ENABLE/DISABLE COMPUTE NODE syntax is used enable/disable a specified proxy instance

Syntax

Grammar Railroad diagram

  1. EnableDisableComputeNode ::=
  2. ('ENABLE' | 'DISABLE') 'COMPUTE' 'NODE' instanceId
  3. instanceId ::=
  4. string

Supplement

  • instanceId needs to be obtained through SHOW COMPUTE NODES syntax query

  • The currently in-use proxy instance cannot be disabled

Example

  • Disable a specified proxy instance
  1. DISABLE COMPUTE NODE '734bb086-b15d-4af0-be87-2372d8b6a0cd';
  • Enable a specified proxy instance
  1. ENABLE COMPUTE NODE '734bb086-b15d-4af0-be87-2372d8b6a0cd';

Reserved word

ENABLE, DISABLE, COMPUTE, NODE