2 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
6 The contents of this file are subject to the terms of the
7 Common Development and Distribution License (the "License").
8 You may not use this file except in compliance with the License.
10 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
11 or http://www.opensolaris.org/os/licensing.
12 See the License for the specific language governing permissions
13 and limitations under the License.
15 When distributing Covered Code, include this CDDL HEADER in each
16 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
17 If applicable, add the following below this CDDL HEADER, with the
18 fields enclosed by brackets "[]" replaced with your own identifying
19 information: Portions Copyright [yyyy] [name of copyright owner]
23 Copyright 2008 Sun Microsystems, Inc. All rights reserved.
24 Use is subject to license terms.
26 Service manifest for Availability Suite init.
29 <service_bundle type='manifest' name='SUNWscmr:nws_scm'>
36 <create_default_instance enabled='false' />
41 We want our services to start up after single-user mode.
42 This also satisfies our dependency on system/filesystem/minimal.
43 We need to make sure we have /usr and /var mounted. /usr, because
44 that's where our software is installed. /var, since that's where
45 ds.log is stored. Single-user also satisfies the nws_rdc dependency
46 on system/identity:node.
49 name='nws_scm-single-user'
51 grouping='require_all'
53 <service_fmri value='svc:/milestone/single-user' />
57 We need to make sure that all device links have been created in
58 the /dev tree, and that all local and fabric devices are
59 available. We also need to make sure that vxvm and svm devices
60 have been configured at this point. Right now, the
61 'milestone/devices' takes care of all of these.
64 name='nws_scm-dev-milestone'
66 grouping='require_all'
68 <service_fmri value='svc:/milestone/devices' />
72 We need to make sure that no user filesystems can mount until
73 AVS has configured, since user filesystems may be mounted on
74 volumes under AVS control
77 name='nws_scm-local-fs'
78 grouping='optional_all'
80 <service_fmri value='svc:/system/filesystem/local' />
86 exec='/lib/svc/method/svc-scm %m'
87 timeout_seconds='180' />
92 exec='/lib/svc/method/svc-scm %m'
93 timeout_seconds='180' />
105 <stability value='Unstable' />
109 <loctext xml:lang='C'>
110 Network Storage Core Init service.
118 manpath='/usr/share/man' />