cinder-scheduler.xml revision 2900
261N/A<?xml version="1.0" ?>
261N/A<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
261N/A<!--
261N/A Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
261N/A
261N/A Licensed under the Apache License, Version 2.0 (the "License"); you may
261N/A not use this file except in compliance with the License. You may obtain
261N/A a copy of the License at
261N/A
261N/A http://www.apache.org/licenses/LICENSE-2.0
261N/A
261N/A Unless required by applicable law or agreed to in writing, software
261N/A distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
261N/A WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
261N/A License for the specific language governing permissions and limitations
261N/A under the License.
261N/A
261N/A NOTE: This service manifest is not editable; its contents will
261N/A be overwritten by package or patch operations, including
261N/A operating system upgrade. Make customizations in a different
261N/A file.
261N/A-->
261N/A<service_bundle type="manifest" name="cinder-scheduler">
261N/A
261N/A <service version="1" type="service"
261N/A name="application/openstack/cinder/cinder-scheduler">
261N/A
261N/A <dependency name='multiuser' grouping='require_all' restart_on='error'
261N/A type='service'>
261N/A <service_fmri value='svc:/milestone/multi-user:default' />
261N/A </dependency>
261N/A
261N/A <!-- create a dependency on the cinder_db service so the cinder
261N/A services do not collide when creating the database -->
261N/A <dependency name='cinder_db' grouping='optional_all' restart_on='error'
261N/A type='service'>
261N/A <service_fmri value='svc:/application/openstack/cinder/cinder-db'/>
261N/A </dependency>
261N/A
261N/A <dependency name='ntp' grouping='optional_all' restart_on='none'
261N/A type='service'>
261N/A <service_fmri value='svc:/network/ntp'/>
261N/A </dependency>
261N/A
261N/A <logfile_attributes permissions='600'/>
261N/A
261N/A <exec_method timeout_seconds="60" type="method" name="start"
261N/A exec="/lib/svc/method/cinder-scheduler %m">
261N/A <method_context>
261N/A <method_credential user='cinder' group='cinder' />
261N/A </method_context>
261N/A </exec_method>
261N/A <exec_method timeout_seconds="60" type="method" name="stop"
261N/A exec=":kill"/>
261N/A
261N/A <instance name='default' enabled='false'>
261N/A <!-- to start/stop/refresh the service -->
261N/A <property_group name='general' type='framework'>
261N/A <propval name='action_authorization' type='astring'
261N/A value='solaris.smf.manage.cinder' />
261N/A <propval name='value_authorization' type='astring'
261N/A value='solaris.smf.value.cinder' />
261N/A </property_group>
261N/A </instance>
261N/A
261N/A <template>
261N/A <common_name>
261N/A <loctext xml:lang="C">
261N/A OpenStack Cinder Scheduler Service
261N/A </loctext>
261N/A </common_name>
261N/A <description>
261N/A <loctext xml:lang="C">
261N/A cinder-scheduler picks a cinder-volume node to host the block storage
261N/A requested by the OpenStack Compute service.
261N/A </loctext>
261N/A </description>
261N/A </template>
261N/A </service>
261N/A</service_bundle>
261N/A