add host
Usage
stack add host {host} [appliance=string] [box=string] [environment=string] [rack=string] [rank=string]
Description
Add an new host to the cluster.
Arguments
-
[host]
A single host name. If the hostname is of the standard form of basename-rack-rank the default values for the appliance, rack, and rank parameters are taken from the hostname.
Parameters
{appliance=string}
{box=string}
{environment=string}
{rack=string}
-
{rank=string}
The position of the machine in the rack. The convention in Stacki is to number from the bottom of the rack to the top starting at 0. If not provided and the host name is of the standard form the rank number is taken from the host name.
Examples
-
stack add host backend-0-1
Adds the host “backend-0-1” to the database with 1 CPU, a appliance name of “backend”, a rack number of 0, and rank of 1.
-
stack add host backend appliance=backend rack=0 rank=1
Adds the host “backend” to the database with 1 CPU, appliance type ‘backend’, a rack number of 0, and rank of 1.
Related
Edited by: Chris Ladd on Tue Oct 15 10:51:42 2019 -0700
Commit: 7f2efc5