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