[openstack-dev] [All] Programatically re-starting OpenStack services

2014-11-30 Thread Pradip Mukhopadhyay
Hello, Are there ways (which pattern might be preferred) by which one can programatically restart different OpenStack services? For example: if one wants to restart cinder-scheduler or heat-cfn? Thanks in advance, Pradip ___ OpenStack-dev mailing

Re: [openstack-dev] [All] Programatically re-starting OpenStack services

2014-11-30 Thread Sadia Bashir
Hi, What do you mean by programatically? Do you want to restart services via a script or want to orchestrate restarting services from within openstack? If it is via script, you can write a bash script as follows: service cinder-scheduler restart service heat-api-cfn restart On Mon, Dec 1,

Re: [openstack-dev] [All] Programatically re-starting OpenStack services

2014-11-30 Thread Pradip Mukhopadhyay
Yeah, I meant from Orchestration. Sorry if the earlier one is not clear. To be little more specific: from the Life Cycle management functions of the custom Heat resource definition. Thanks, Pradip On Mon, Dec 1, 2014 at 9:54 AM, Sadia Bashir 11msccssbas...@seecs.edu.pk wrote: Hi, What