Updated on 2024-05-07 GMT+08:00

CREATE NODE GROUP

Description

Creates a cluster node group.

Precautions

  • CREATE NODE GROUP is an interface of the cluster management tool.
  • Only a system administrator has the permission.

Syntax

1
2
3
CREATE NODE GROUP groupname
    WITH ( nodename [, ... ] ) [bucketcnt bucket_cnt]
    [ BUCKETS [ ( bucketnumber [, ... ] ) ] ] [VCGROUP] [DISTRIBUTE FROM src_group_name] [groupparent parent_group_name];

Parameters

  • groupname

    Specifies the name of a node group.

    Value range: a string. It must comply with the naming convention. A value can contain a maximum of 63 characters.

    A node group name supports all ASCII characters, but you are advised to name a node group according to the naming convention.

  • nodename

    Specifies the node name.

    Value range: a string. It must comply with the naming convention. A value can contain a maximum of 63 characters.

    If this parameter is not specified, the value of bucketcnt must be specified, indicating that child node groups belonging to the installation node group will be created.

  • bucketcnt bucket_cnt

    bucket_cnt indicates the number of buckets.

    The value range is [32,16384) and the value must be a power of 2.

    If this parameter is not specified, the value of WITH must be specified.

  • BUCKETS [ ( bucketnumber [, ... ] ) ]

    Designed for internal use of the cluster management tool. You are advised not to use it directly. Otherwise, the cluster may be affected.

  • groupparent parent_group_name

    parent_group_name indicates the name of the parent node group to which the current child node group belongs.

Helpful Links

DROP NODE GROUP