xref: /titanic_51/usr/src/cmd/ndmpd/ndmp.xml (revision 0d928757379972073af9fb22bdc827b74e8ba6ac)
1<?xml version="1.0"?>
2<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3<!--
4Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
5
6NOTE:  This service manifest is not editable; its contents will
7be overwritten by package or patch operations, including
8operating system upgrade.  Make customizations in a different
9file.
10
11BSD 3 Clause License
12
13Copyright (c) 2007, The Storage Networking Industry Association.
14
15Redistribution and use in source and binary forms, with or without
16modification, are permitted provided that the following conditions
17are met:
18	- Redistributions of source code must retain the above copyright
19	  notice, this list of conditions and the following disclaimer.
20
21	- Redistributions in binary form must reproduce the above copyright
22	  notice, this list of conditions and the following disclaimer in
23	  the documentation and/or other materials provided with the
24	  distribution.
25
26	- Neither the name of The Storage Networking Industry Association (SNIA)
27	  nor the names of its contributors may be used to endorse or promote
28	  products derived from this software without specific prior written
29	  permission.
30
31THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
32AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
33IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
34ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
35LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
36CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
37SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
38INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
39CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
40ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
41POSSIBILITY OF SUCH DAMAGE.
42
43-->
44
45<service_bundle type='manifest' name='SUNWndmpr:ndmpd'>
46
47<!-- Name the service to 'system/ndmpd'  -->
48<service
49	name='system/ndmpd'
50	type='service'
51	version='1'>
52
53
54	<!-- Create default service instance.  -->
55	<create_default_instance enabled='false' />
56
57	<!-- Service has single instance  -->
58	<single_instance/>
59
60	<!-- Identify dependencies.  -->
61	<dependency
62		name='milestone'
63		grouping='require_all'
64		restart_on='error'
65		type='service'>
66		<service_fmri value='svc:/milestone/sysconfig' />
67	</dependency>
68
69	<!-- Identify start/stop/refresh methods -->
70	<exec_method
71		type='method'
72		name='start'
73		exec='/lib/svc/method/svc-ndmp'
74		timeout_seconds='60' >
75		<method_context>
76			<method_credential
77				user='root' group='sys'
78			/>
79		</method_context>
80	</exec_method>
81
82	<exec_method
83		type='method'
84		name='stop'
85		exec=':kill'
86		timeout_seconds='60' >
87	</exec_method>
88
89	<exec_method
90		type='method'
91		name='refresh'
92		exec=':kill -HUP'
93		timeout_seconds='60' >
94	</exec_method>
95
96	<property_group name='general' type='framework'>
97		<!-- To Start/Stop/Refresh the service -->
98		<propval name='action_authorization' type='astring'
99			value='solaris.smf.manage.ndmp' />
100		<!-- To Configure service parameters -->
101		<propval name='value_authorization' type='astring'
102			value='solaris.smf.manage.ndmp' />
103	</property_group>
104
105	<property_group name='read' type='application'>
106		<!-- To read protected parameters -->
107		<propval name='read_authorization' type='astring'
108			value='solaris.smf.read.ndmp' />
109		<propval name='value_authorization' type='astring'
110			value='solaris.smf.value.ndmp' />
111		<propval name='cram-md5-username' type='astring' value='' />
112		<propval name='cram-md5-password' type='astring' value='' />
113		<propval name='cleartext-username' type='astring' value='' />
114		<propval name='cleartext-password' type='astring' value='' />
115	</property_group>
116
117	<property_group name='ndmpd' type='application'>
118		<stability value='Evolving' />
119		<propval name='debug-path' type='astring' value='/var/ndmp' />
120		<propval name='plugin-path' type='astring' value='/var/ndmp' />
121		<propval name='dump-pathnode' type='boolean' value='false' />
122		<propval name='tar-pathnode' type='boolean' value='false' />
123		<propval name='ignore-ctime' type='boolean' value='false' />
124		<propval name='token-maxseq' type='integer' value='9' />
125		<propval name='version' type='integer' value='4' />
126		<propval name='dar-support' type='boolean' value='false' />
127		<propval name='backup-quarantine' type='boolean' value='false' />
128		<propval name='restore-quarantine' type='boolean' value='false' />
129		<propval name='overwrite-quarantine' type='boolean' value='false' />
130		<propval name='mover-nic' type='astring' value='' />
131		<propval name='fh-inode' type='boolean' value='false' />
132		<propval name='include-lmtime' type='boolean' value='false' />
133		<propval name='restore-fullpath' type='boolean' value='false' />
134		<propval name='socket-css' type='integer' value='65' />
135		<propval name='socket-crs' type='integer' value='80' />
136		<propval name='mover-recordsize' type='integer' value='60' />
137		<propval name='restore-wildcard-enable' type='boolean' value='false' />
138		<propval name='tcp-port' type='integer' value='10000' />
139		<propval name='zfs-force-override' type='astring' value='off' />
140		<propval name='drive-type' type='astring' value='sysv' />
141		<propval name='value_authorization' type='astring'
142			value='solaris.smf.value.ndmp' />
143	</property_group>
144
145	<!-- Create Service Template information -->
146	<template>
147		<common_name>
148			<loctext xml:lang='C'> NDMP Service</loctext>
149		</common_name>
150		<documentation>
151			<manpage title='ndmpd' section='1M'
152				manpath='/usr/share/man' />
153		</documentation>
154	</template>
155
156
157</service>
158
159</service_bundle>
160