Skip to content

serviced host

The serviced host command administers host data.

USAGE

serviced host [global options] command [command options] [arguments...]

COMMANDS

list

List all hosts.

add Hostname-Or-IP

Add a host.

If the host is behind a router or firewall, include the --nat-address option in the invocation.

[remove|rm] HostID

Remove a host.

register

Set the authentication keys to use for a host. When KEYSFILE is -, keys are read from standard input (stdin).

set-memory Hostname-Or-IP

Set the memory allocation for a specific host.

[help|h]

Show a list of commands or help for a single command.

OPTIONS

--nat-address NAT-Hostname-Or-IP[:Port]

Associate a NAT address with the host. Specify the port if using an IP address instead of a hostname.

[--help|-h]

Show the help message.

EXAMPLE

Add host that is behind a NAT:

serviced host add Hostname-Or-IP:4979 Resource-Pool \
  --nat-address==NAT-Hostname-Or-IP:NAT-Port