Updated on 2023-10-23 GMT+08:00

CREATE NODE GROUP

Function

CREATE NODE GROUP 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];

Parameter Description

  • 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 not advised to use it directly. Otherwise, the cluster may be affected.

  • VCGROUP

    Creates a node group used as a logical cluster. (The current feature is a lab feature. Contact Huawei engineers for technical support before using it.)

  • DISTRIBUTE FROM src_group_name

    Creates a node group to redistribute data in the node group specified by src_group_name. (The current feature is a lab feature. Contact Huawei engineers for technical support before using it.) You are not advised to use this clause, because it may lead to data distribution errors or node group unavailability.

  • 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