lbcli create server

AI Tools

Creates a new server.

Synopsis

Creates a server with a UUID and a list of endpoints <ip:port> that this server will use to communicate with other cluster members.

lbcli create server --endpoints=[]> [flags]

Examples:

# Create a server with endpoint 10.0.0.1:2380. lbcli create server --endpoints="http://10.0.0.1:2380" Create a server with endpoint 10.0.0.1:2380. Use the reuse-ip flag if endpoint already belongs to another server registered in the cluster. lbcli create server --endpoints="http://10.0.0.1:2380" --reuse-ip Create server and extend the cluster with a new server and its resources, enabling new volumes placement on the server. This server's nodes will become active without additional user operations. lbcli create server --endpoints="http://10.0.0.1:2380" --extend-cluster

Flag

Short

Type

Default

Description

--endpoints


stringSlice


List of endpoints in format http://<IP address>:<port> (required).

--extend-cluster


bool


Extend the cluster with a new server and its resources, enabling new volumes placement on the server (nodes of this server will become active without additional user operations). The default is False (the nodes of this server will be added to the cluster as unattached, and could be used to move resources over from an existing failed server using the replace node API command). (true/false, optional, default: false).

--help

-h

bool


Help for server.

--reuse-ip


string


Reuse an endpoint that belongs to another server registered in the cluster. (true/false, optional, default: false).

--uuid


string


UUID (required).


On This Page