-
Notifications
You must be signed in to change notification settings - Fork 2
add host
stack add host {host} [cpus=int] [distribution=string] [membership=string] [rack=int] [rank=int]
Add an new host to the cluster.
-
{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.
-
[cpus=int]
Number of CPUs (cores) in the given host. If not provided the default of 1 CPU is inserted into the database.
-
[distribution=string]
The distribution name for the host. The default is: "default".
-
[membership=string]
Appliance membership name. If not provided and the host name is of the standard form the membership is taken from the basename of the host.
-
[rack=int]
The number of the rack where the machine is located. The convention in Rocks is to start numbering at 0. If not provided and the host name is of the standard form the rack number is taken from the host name.
-
[rank=int]
The position of the machine in the rack. The convention in Rocks 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.
-
stack add host compute-0-1
Adds the host "compute-0-0" to the database with 1 CPU, a membership name of "compute", a rack number of 0, and rank of 1.
-
stack add host frontend rack=0 rank=0 membership=Frontend
Adds the host "frontend" to the database with 1 CPU, a membership name of "Frontend", a rack number of 0, and rank of 1.
-
add
- add appliance
- add appliance attr
- add appliance firewall
- add appliance route
- add attr
- add bootaction
- add copyright
- add distribution
- add environment attr
- add firewall
- add host
- add host alias
- add host attr
- add host bonded
- add host bridge
- add host firewall
- add host interface
- add host key
- add host partition
- add host route
- add network
- add os attr
- add os firewall
- add os route
- add pallet
- add route
- add storage controller
- config
- create
- disable
- dump
- enable
- help
- iterate
- list
- load
- open
- remove
- report
- run
- set
- swap
- sync
- unload