xref: /titanic_44/usr/src/cmd/avs/svc/manifest/nws_rdcsyncd.xml (revision fcf3ce441efd61da9bb2884968af01cb7c1452cc)
1*fcf3ce44SJohn Forte<?xml version="1.0"?>
2*fcf3ce44SJohn Forte<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3*fcf3ce44SJohn Forte<!--
4*fcf3ce44SJohn ForteCDDL HEADER START
5*fcf3ce44SJohn Forte
6*fcf3ce44SJohn ForteThe contents of this file are subject to the terms of the
7*fcf3ce44SJohn ForteCommon Development and Distribution License (the "License").
8*fcf3ce44SJohn ForteYou may not use this file except in compliance with the License.
9*fcf3ce44SJohn Forte
10*fcf3ce44SJohn ForteYou can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
11*fcf3ce44SJohn Forteor http://www.opensolaris.org/os/licensing.
12*fcf3ce44SJohn ForteSee the License for the specific language governing permissions
13*fcf3ce44SJohn Forteand limitations under the License.
14*fcf3ce44SJohn Forte
15*fcf3ce44SJohn ForteWhen distributing Covered Code, include this CDDL HEADER in each
16*fcf3ce44SJohn Fortefile and include the License file at usr/src/OPENSOLARIS.LICENSE.
17*fcf3ce44SJohn ForteIf applicable, add the following below this CDDL HEADER, with the
18*fcf3ce44SJohn Fortefields enclosed by brackets "[]" replaced with your own identifying
19*fcf3ce44SJohn Forteinformation: Portions Copyright [yyyy] [name of copyright owner]
20*fcf3ce44SJohn Forte
21*fcf3ce44SJohn ForteCDDL HEADER END
22*fcf3ce44SJohn Forte
23*fcf3ce44SJohn Forte	Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
24*fcf3ce44SJohn Forte	Use is subject to license terms.
25*fcf3ce44SJohn Forte
26*fcf3ce44SJohn Forte	Service manifest for Availability Suite init.
27*fcf3ce44SJohn Forte-->
28*fcf3ce44SJohn Forte
29*fcf3ce44SJohn Forte<service_bundle type='manifest' name='SUNWscmr:nws_rdcsyncd'>
30*fcf3ce44SJohn Forte
31*fcf3ce44SJohn Forte<service
32*fcf3ce44SJohn Forte	name='system/nws_rdcsyncd'
33*fcf3ce44SJohn Forte	type='service'
34*fcf3ce44SJohn Forte	version='1'>
35*fcf3ce44SJohn Forte
36*fcf3ce44SJohn Forte	<create_default_instance enabled='false' />
37*fcf3ce44SJohn Forte
38*fcf3ce44SJohn Forte	<single_instance />
39*fcf3ce44SJohn Forte
40*fcf3ce44SJohn Forte	<dependency
41*fcf3ce44SJohn Forte         name='nws_rdcsyncd_rdc'
42*fcf3ce44SJohn Forte         type='service'
43*fcf3ce44SJohn Forte         grouping='require_all'
44*fcf3ce44SJohn Forte         restart_on='none'>
45*fcf3ce44SJohn Forte            <service_fmri value='svc:/system/nws_rdc' />
46*fcf3ce44SJohn Forte      </dependency>
47*fcf3ce44SJohn Forte
48*fcf3ce44SJohn Forte	<!--
49*fcf3ce44SJohn Forte	  This dependency is necessary to make sure that
50*fcf3ce44SJohn Forte	  network/rpc/bind:default has started.  Since rpc/bind is Unstable,
51*fcf3ce44SJohn Forte	  the dependency on it cannot be explicitly specified.
52*fcf3ce44SJohn Forte	-->
53*fcf3ce44SJohn Forte	<dependency
54*fcf3ce44SJohn Forte	    name='nws_rdc_multi-user'
55*fcf3ce44SJohn Forte	    type='service'
56*fcf3ce44SJohn Forte	    grouping='require_all'
57*fcf3ce44SJohn Forte	    restart_on='none'>
58*fcf3ce44SJohn Forte	    <service_fmri value='svc:/milestone/multi-user' />
59*fcf3ce44SJohn Forte	</dependency>
60*fcf3ce44SJohn Forte
61*fcf3ce44SJohn Forte	<exec_method
62*fcf3ce44SJohn Forte	    type='method'
63*fcf3ce44SJohn Forte	    name='start'
64*fcf3ce44SJohn Forte	    exec='/lib/svc/method/svc-rdcsyncd %m'
65*fcf3ce44SJohn Forte	    timeout_seconds='60' />
66*fcf3ce44SJohn Forte
67*fcf3ce44SJohn Forte	<exec_method
68*fcf3ce44SJohn Forte	    type='method'
69*fcf3ce44SJohn Forte	    name='stop'
70*fcf3ce44SJohn Forte	    exec='/lib/svc/method/svc-rdcsyncd %m'
71*fcf3ce44SJohn Forte	    timeout_seconds='20' />
72*fcf3ce44SJohn Forte
73*fcf3ce44SJohn Forte	<property_group
74*fcf3ce44SJohn Forte	    name='startd'
75*fcf3ce44SJohn Forte	    type='framework'>
76*fcf3ce44SJohn Forte		<propval
77*fcf3ce44SJohn Forte		    name='duration'
78*fcf3ce44SJohn Forte		    type='astring'
79*fcf3ce44SJohn Forte		    value='transient' />
80*fcf3ce44SJohn Forte	</property_group>
81*fcf3ce44SJohn Forte
82*fcf3ce44SJohn Forte
83*fcf3ce44SJohn Forte	<stability value='Unstable' />
84*fcf3ce44SJohn Forte
85*fcf3ce44SJohn Forte	<template>
86*fcf3ce44SJohn Forte	    	<common_name>
87*fcf3ce44SJohn Forte		    	<loctext xml:lang='C'>
88*fcf3ce44SJohn Forte				Network Storage Remote Data Replication Syncd service.
89*fcf3ce44SJohn Forte			</loctext>
90*fcf3ce44SJohn Forte		</common_name>
91*fcf3ce44SJohn Forte
92*fcf3ce44SJohn Forte		<documentation>
93*fcf3ce44SJohn Forte		    	<manpage
94*fcf3ce44SJohn Forte			    title='sndrsyncd'
95*fcf3ce44SJohn Forte			    section='1rdc'
96*fcf3ce44SJohn Forte			    manpath='/usr/share/man' />
97*fcf3ce44SJohn Forte		</documentation>
98*fcf3ce44SJohn Forte	</template>
99*fcf3ce44SJohn Forte</service>
100*fcf3ce44SJohn Forte
101*fcf3ce44SJohn Forte</service_bundle>
102