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