Parameters in the CLUSTER_CONFIG File

Table 1 Parameters

Parameter

Type

Required (Yes/Not)

Description

cluster

-

Cluster configuration.

cluster_nodes

-

Array of Cluster_node

Yes

Cluster resource information.

node_id

-

Integer

Yes

ID of a node in a cluster. Generally, 0 indicates the primary node.

node_type

-

String

Yes

Node type, for example, ATLAS800.

ipaddr

-

String

Yes

IP address for communication on the control plane of a node. For example, the IP address of a training server is the host IP address, and that of a SoC server is the head node IP address.

port

-

Integer

Yes

Port for communication on the control plane of a node.

is_local

-

BOOL

No

Whether the node in the file is a local node when a cluster contains multiple nodes. Default value: false

item_list

-

Array of item_info

Yes

Accelerator card that executes the job orchestrated and managed by cloud resources.

-

item_id

Integer

Yes

Accelerator card ID on a node.

item_def

-

Public attributes of accelerator cards of the same type on a node.

device_list

-

Array of device_info

No

Number of physical devices in a processor. You do not need to set this configuration item for the Atlas Training Series Product.

device_id

-

Integer

Yes

Physical device ID of a processor.

item_type

-

-

String

Yes

Accelerator card type on a node.

node_def

-

Public attributes of nodes of the same type in a cluster.

item

item_type

-

String

Yes

Accelerator card type on a node.