Module cloud_ssh
Cloud SSH starts or stops erlang vms on ssh hosts based on alarms
defined for the autoscale process.
Copyright © 2013-2015 Zuse Institute Berlin
Version: $Id$
Behaviours: cloud_beh.
Authors: Maximilian Michels (michels@zib.de).
Cloud SSH starts or stops erlang vms on ssh hosts based on alarms
defined for the autoscale process.
The module is used by autoscale if the following option has been set in
scalaris.local.cfg:
{autoscale_cloud_module, cloud_ssh}
The following options can also be set:
{cloud_ssh_hosts, ["host1", "host2", ..., "hostn"]}.
{cloud_ssh_path, "path/to/scalaris/installation/on/host"}.
Additional services besides Scalaris may be specified:
{cloud_ssh_services, [{ServiceStartCmd, ServiceStopCmd}, {Service2StartCmd, Service2StopCmd}, ...]}.
get_number_of_vms() -> failed | non_neg_integer()
add_vms(N :: pos_integer()) -> failed | ok
remove_vms(N :: pos_integer()) -> failed | ok
killall_vms() -> failed | ok
check_config() -> boolean()
Generated by EDoc, Aug 2 2016, 13:43:22.