Print this page
11083 support NFS server in zone
Portions contributed by: Dan Kruchinin <dan.kruchinin@nexenta.com>
Portions contributed by: Stepan Zastupov <stepan.zastupov@gmail.com>
Portions contributed by: Joyce McIntosh <joyce.mcintosh@nexenta.com>
Portions contributed by: Mike Zeller <mike@mikezeller.net>
Portions contributed by: Dan McDonald <danmcd@joyent.com>
Portions contributed by: Gordon Ross <gordon.w.ross@gmail.com>
Portions contributed by: Vitaliy Gusev <gusev.vitaliy@gmail.com>
Reviewed by: Rick McNeal <rick.mcneal@nexenta.com>
Reviewed by: Rob Gittins <rob.gittins@nexenta.com>
Reviewed by: Sanjay Nadkarni <sanjay.nadkarni@nexenta.com>
Reviewed by: Jason King <jbk@joyent.com>
Reviewed by: C Fraire <cfraire@me.com>
Change-Id: I22f289d357503f9b48a0bc2482cc4328a6d43d16


   5 
   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.
   9 
  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.
  14 
  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]
  20 
  21  CDDL HEADER END
  22 
  23         Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
  24         Copyright (c) 2012, 2015 by Delphix. All rights reserved.


  25 
  26         NOTE:  This service manifest is not editable; its contents will
  27         be overwritten by package or patch operations, including
  28         operating system upgrade.  Make customizations in a different
  29         file.
  30 
  31         Note: if this service is modified to consist of anything other
  32         than a single instance named 'default', you must make changes to
  33         $SRC/head/rpcsvc/daemon_utils.h and libnsl:open_daemon_lock().
  34 -->
  35 
  36 <service_bundle type='manifest' name='SUNWnfscr:nfs-nlockmgr'>
  37 
  38 <service
  39         name='network/nfs/nlockmgr'
  40         type='service'
  41         version='2'>
  42 
  43         <dependency name='network'
  44             grouping='require_any'


  76 
  77         <exec_method
  78             type='method'
  79             name='stop'
  80             exec=':kill'
  81             timeout_seconds='60' />
  82 
  83         <property_group name='firewall_context' type='com.sun,fw_definition'>
  84                 <propval name='isrpc' type='boolean' value='true' />
  85                 <propval name='name' type='astring' value='nlockmgr' />
  86                 <propval name='ipf_method' type='astring'
  87                         value='/lib/svc/method/nfs-server ipfilter' />
  88         </property_group>
  89 
  90         <property_group name='application' type='framework'>
  91                 <stability value='Evolving' />
  92                 <propval name='auto_enable' type='boolean' value='true' />
  93         </property_group>
  94         <instance name='default' enabled='false'>
  95           <property_group name='nfs-props' type='com.oracle.nfs,props'>
  96             <propval name='grace_period' type='integer' value='90'/>
  97             <propval name='lockd_listen_backlog' type='integer' value='32'/>
  98             <propval name='lockd_retransmit_timeout' type='integer' value='5'/>
  99             <propval name='lockd_servers' type='integer' value='256'/>
 100           </property_group>
 101         </instance>
 102         <stability value='Stable' />
 103 
 104         <template>
 105                 <common_name>
 106                         <loctext xml:lang='C'>
 107                                 NFS lock manager
 108                         </loctext>
 109                 </common_name>
 110                 <documentation>
 111                         <manpage title='lockd' section='1M'
 112                                 manpath='/usr/share/man' />
 113                 </documentation>
 114         </template>
 115 </service>
 116 


   5 
   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.
   9 
  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.
  14 
  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]
  20 
  21  CDDL HEADER END
  22 
  23         Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
  24         Copyright (c) 2012, 2015 by Delphix. All rights reserved.
  25         Copyright 2018 Nexenta Systems, Inc.  All rights reserved.
  26         Copyright 2019 Nexenta by DDN, Inc.  All rights reserved.
  27 
  28         NOTE:  This service manifest is not editable; its contents will
  29         be overwritten by package or patch operations, including
  30         operating system upgrade.  Make customizations in a different
  31         file.
  32 
  33         Note: if this service is modified to consist of anything other
  34         than a single instance named 'default', you must make changes to
  35         $SRC/head/rpcsvc/daemon_utils.h and libnsl:open_daemon_lock().
  36 -->
  37 
  38 <service_bundle type='manifest' name='SUNWnfscr:nfs-nlockmgr'>
  39 
  40 <service
  41         name='network/nfs/nlockmgr'
  42         type='service'
  43         version='2'>
  44 
  45         <dependency name='network'
  46             grouping='require_any'


  78 
  79         <exec_method
  80             type='method'
  81             name='stop'
  82             exec=':kill'
  83             timeout_seconds='60' />
  84 
  85         <property_group name='firewall_context' type='com.sun,fw_definition'>
  86                 <propval name='isrpc' type='boolean' value='true' />
  87                 <propval name='name' type='astring' value='nlockmgr' />
  88                 <propval name='ipf_method' type='astring'
  89                         value='/lib/svc/method/nfs-server ipfilter' />
  90         </property_group>
  91 
  92         <property_group name='application' type='framework'>
  93                 <stability value='Evolving' />
  94                 <propval name='auto_enable' type='boolean' value='true' />
  95         </property_group>
  96         <instance name='default' enabled='false'>
  97           <property_group name='nfs-props' type='com.oracle.nfs,props'>
  98             <propval name='grace_period' type='integer' value='60'/>
  99             <propval name='lockd_listen_backlog' type='integer' value='32'/>
 100             <propval name='lockd_retransmit_timeout' type='integer' value='5'/>
 101             <propval name='lockd_servers' type='integer' value='256'/>
 102           </property_group>
 103         </instance>
 104         <stability value='Stable' />
 105 
 106         <template>
 107                 <common_name>
 108                         <loctext xml:lang='C'>
 109                                 NFS lock manager
 110                         </loctext>
 111                 </common_name>
 112                 <documentation>
 113                         <manpage title='lockd' section='1M'
 114                                 manpath='/usr/share/man' />
 115                 </documentation>
 116         </template>
 117 </service>
 118