xref: /titanic_44/usr/src/cmd/avs/svc/manifest/nws_rdc.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_rdc'>
30*fcf3ce44SJohn Forte
31*fcf3ce44SJohn Forte<service
32*fcf3ce44SJohn Forte	name='system/nws_rdc'
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_rdc_sv'
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_sv' />
46*fcf3ce44SJohn Forte	</dependency>
47*fcf3ce44SJohn Forte
48*fcf3ce44SJohn Forte	<dependency
49*fcf3ce44SJohn Forte         name='nws_rdc_ii'
50*fcf3ce44SJohn Forte         type='service'
51*fcf3ce44SJohn Forte         grouping='optional_all'
52*fcf3ce44SJohn Forte         restart_on='none'>
53*fcf3ce44SJohn Forte            <service_fmri value='svc:/system/nws_ii' />
54*fcf3ce44SJohn Forte	</dependency>
55*fcf3ce44SJohn Forte
56*fcf3ce44SJohn Forte	<!--
57*fcf3ce44SJohn Forte	  We need to make sure that no user filesystems can mount until
58*fcf3ce44SJohn Forte	  AVS has configured, since user filesystems may be mounted on
59*fcf3ce44SJohn Forte	  volumes under AVS control
60*fcf3ce44SJohn Forte	-->
61*fcf3ce44SJohn Forte	<dependent
62*fcf3ce44SJohn Forte	    name='nws_rdc-local-fs'
63*fcf3ce44SJohn Forte	    grouping='optional_all'
64*fcf3ce44SJohn Forte	    restart_on='none'>
65*fcf3ce44SJohn Forte		<service_fmri value='svc:/system/filesystem/local' />
66*fcf3ce44SJohn Forte	</dependent>
67*fcf3ce44SJohn Forte
68*fcf3ce44SJohn Forte	<exec_method
69*fcf3ce44SJohn Forte	    type='method'
70*fcf3ce44SJohn Forte	    name='start'
71*fcf3ce44SJohn Forte	    exec='/lib/svc/method/svc-rdc %m'
72*fcf3ce44SJohn Forte	    timeout_seconds='300' />
73*fcf3ce44SJohn Forte
74*fcf3ce44SJohn Forte	<exec_method
75*fcf3ce44SJohn Forte	    type='method'
76*fcf3ce44SJohn Forte	    name='stop'
77*fcf3ce44SJohn Forte	    exec='/lib/svc/method/svc-rdc %m'
78*fcf3ce44SJohn Forte	    timeout_seconds='600' />
79*fcf3ce44SJohn Forte
80*fcf3ce44SJohn Forte	<property_group
81*fcf3ce44SJohn Forte	    name='startd'
82*fcf3ce44SJohn Forte	    type='framework'>
83*fcf3ce44SJohn Forte		<propval
84*fcf3ce44SJohn Forte		    name='duration'
85*fcf3ce44SJohn Forte		    type='astring'
86*fcf3ce44SJohn Forte		    value='transient' />
87*fcf3ce44SJohn Forte	</property_group>
88*fcf3ce44SJohn Forte
89*fcf3ce44SJohn Forte
90*fcf3ce44SJohn Forte	<stability value='Unstable' />
91*fcf3ce44SJohn Forte
92*fcf3ce44SJohn Forte	<template>
93*fcf3ce44SJohn Forte	    	<common_name>
94*fcf3ce44SJohn Forte		    	<loctext xml:lang='C'>
95*fcf3ce44SJohn Forte				Network Storage Remote Data Replication Init service.
96*fcf3ce44SJohn Forte			</loctext>
97*fcf3ce44SJohn Forte		</common_name>
98*fcf3ce44SJohn Forte
99*fcf3ce44SJohn Forte		<documentation>
100*fcf3ce44SJohn Forte		    	<manpage
101*fcf3ce44SJohn Forte			    title='sndrd'
102*fcf3ce44SJohn Forte			    section='1rdc'
103*fcf3ce44SJohn Forte			    manpath='/usr/share/man' />
104*fcf3ce44SJohn Forte		</documentation>
105*fcf3ce44SJohn Forte	</template>
106*fcf3ce44SJohn Forte</service>
107*fcf3ce44SJohn Forte
108*fcf3ce44SJohn Forte</service_bundle>
109