From reading the Masakari API Specifications commit 
(https://review.openstack.org/#/c/512591/)
I believe that the proper syntax for the host and segment creates is as follows:

masakari segment-create --name segment-1 --recovery-method auto --service-type 
COMPUTE

masakari host-create --name <hostname> --type COMPUTE --control-attributes SSH 
--segment-id segment-1

let me know if this is correct,
Greg.


From: Greg Waines <greg.wai...@windriver.com>
Reply-To: "openstack-dev@lists.openstack.org" 
<openstack-dev@lists.openstack.org>
Date: Monday, January 22, 2018 at 10:59 AM
To: "openstack-dev@lists.openstack.org" <openstack-dev@lists.openstack.org>
Subject: [openstack-dev] [masakari] Questions on masakari CLI for hosts and 
segments


masakari segment-create --name segment-1 --recovery-method auto --service-type 
xyz

For ‘service-type’,

·         what are the semantics of this parameter ?

·         what are the allowed values ?

·         what is a typical or example value ?



masakari host-create --name devstack-masakari --type xyz --control-attributes 
xyz --segment-id segment-1


For ‘type’,

  *   what are the semantics of this parameter ?
  *   what are the allowed values ?
  *   what is a typical or example value ?

For ‘control-attributes,

  *   what are the semantics of this parameter ?
  *   what are the allowed values ?
  *   what is a typical or example value ?



And what are the semantics of Masakari Failover Segments ?
My guess is that

·         hosts belong to one and only one masakari segment

·         when a host fails,
the VMs formerly running on that host will ONLY be recovered to other hosts 
within the same segment
Correct ?
Anything else ?

Greg.
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to