xref: /titanic_53/usr/src/cmd/isns/isnsd/isns_server.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 Forte<!--
5*fcf3ce44SJohn Forte
6*fcf3ce44SJohn ForteCDDL HEADER START
7*fcf3ce44SJohn Forte
8*fcf3ce44SJohn ForteThe contents of this file are subject to the terms of the
9*fcf3ce44SJohn ForteCommon Development and Distribution License (the "License").
10*fcf3ce44SJohn ForteYou may not use this file except in compliance with the License.
11*fcf3ce44SJohn Forte
12*fcf3ce44SJohn ForteYou can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
13*fcf3ce44SJohn Forteor http://www.opensolaris.org/os/licensing.
14*fcf3ce44SJohn ForteSee the License for the specific language governing permissions
15*fcf3ce44SJohn Forteand limitations under the License.
16*fcf3ce44SJohn Forte
17*fcf3ce44SJohn ForteWhen distributing Covered Code, include this CDDL HEADER in each
18*fcf3ce44SJohn Fortefile and include the License file at usr/src/OPENSOLARIS.LICENSE.
19*fcf3ce44SJohn ForteIf applicable, add the following below this CDDL HEADER, with the
20*fcf3ce44SJohn Fortefields enclosed by brackets "[]" replaced with your own identifying
21*fcf3ce44SJohn Forteinformation: Portions Copyright [yyyy] [name of copyright owner]
22*fcf3ce44SJohn Forte
23*fcf3ce44SJohn ForteCDDL HEADER END
24*fcf3ce44SJohn Forte
25*fcf3ce44SJohn ForteCopyright 2008 Sun Microsystems, Inc.  All rights reserved.
26*fcf3ce44SJohn ForteUse is subject to license terms.
27*fcf3ce44SJohn Forte
28*fcf3ce44SJohn Forte
29*fcf3ce44SJohn ForteService manifests for the iSNS Server
30*fcf3ce44SJohn Forte
31*fcf3ce44SJohn Forte-->
32*fcf3ce44SJohn Forte
33*fcf3ce44SJohn Forte<!--
34*fcf3ce44SJohn Forte
35*fcf3ce44SJohn Forte-->
36*fcf3ce44SJohn Forte
37*fcf3ce44SJohn Forte<service_bundle type='manifest' name='SUNWisns:isns_server'>
38*fcf3ce44SJohn Forte
39*fcf3ce44SJohn Forte<service
40*fcf3ce44SJohn Forte	name='network/isns_server'
41*fcf3ce44SJohn Forte	type='service'
42*fcf3ce44SJohn Forte	version='1'>
43*fcf3ce44SJohn Forte
44*fcf3ce44SJohn Forte	<create_default_instance enabled='false' />
45*fcf3ce44SJohn Forte
46*fcf3ce44SJohn Forte	<single_instance/>
47*fcf3ce44SJohn Forte
48*fcf3ce44SJohn Forte	<!-- We need name resolution and full filesystem access -->
49*fcf3ce44SJohn Forte	<dependency
50*fcf3ce44SJohn Forte		name='milestone'
51*fcf3ce44SJohn Forte		grouping='require_all'
52*fcf3ce44SJohn Forte		restart_on='none'
53*fcf3ce44SJohn Forte		type='service'>
54*fcf3ce44SJohn Forte		<service_fmri value='svc:/milestone/multi-user' />
55*fcf3ce44SJohn Forte	</dependency>
56*fcf3ce44SJohn Forte
57*fcf3ce44SJohn Forte	<exec_method
58*fcf3ce44SJohn Forte		type='method'
59*fcf3ce44SJohn Forte		name='start'
60*fcf3ce44SJohn Forte		exec='/usr/sbin/isns'
61*fcf3ce44SJohn Forte		timeout_seconds='60'>
62*fcf3ce44SJohn Forte		<method_context>
63*fcf3ce44SJohn Forte			<method_credential
64*fcf3ce44SJohn Forte			user='root'
65*fcf3ce44SJohn Forte			group='root'
66*fcf3ce44SJohn Forte			privileges='basic'
67*fcf3ce44SJohn Forte			/>
68*fcf3ce44SJohn Forte		</method_context>
69*fcf3ce44SJohn Forte	</exec_method>
70*fcf3ce44SJohn Forte
71*fcf3ce44SJohn Forte	<exec_method
72*fcf3ce44SJohn Forte		type='method'
73*fcf3ce44SJohn Forte		name='stop'
74*fcf3ce44SJohn Forte		exec=':kill'
75*fcf3ce44SJohn Forte		timeout_seconds='60'>
76*fcf3ce44SJohn Forte		<method_context>
77*fcf3ce44SJohn Forte			<method_credential
78*fcf3ce44SJohn Forte			user='root'
79*fcf3ce44SJohn Forte			group='root'
80*fcf3ce44SJohn Forte			privileges='basic'
81*fcf3ce44SJohn Forte			/>
82*fcf3ce44SJohn Forte		</method_context>
83*fcf3ce44SJohn Forte	</exec_method>
84*fcf3ce44SJohn Forte
85*fcf3ce44SJohn Forte	<exec_method
86*fcf3ce44SJohn Forte		type='method'
87*fcf3ce44SJohn Forte		name='refresh'
88*fcf3ce44SJohn Forte		exec=':kill -HUP'
89*fcf3ce44SJohn Forte		timeout_seconds='60'>
90*fcf3ce44SJohn Forte		<method_context>
91*fcf3ce44SJohn Forte			<method_credential
92*fcf3ce44SJohn Forte			user='root'
93*fcf3ce44SJohn Forte			group='root'
94*fcf3ce44SJohn Forte			privileges='basic'
95*fcf3ce44SJohn Forte			/>
96*fcf3ce44SJohn Forte		</method_context>
97*fcf3ce44SJohn Forte	</exec_method>
98*fcf3ce44SJohn Forte
99*fcf3ce44SJohn Forte        <property_group name='general' type='framework'>
100*fcf3ce44SJohn Forte		<!-- to start stop isns -->
101*fcf3ce44SJohn Forte		<propval name='action_authorization' type='astring'
102*fcf3ce44SJohn Forte			value='solaris.smf.manage.isns' />
103*fcf3ce44SJohn Forte		<!-- to manage prop values -->
104*fcf3ce44SJohn Forte		<propval name='value_authorization' type='astring'
105*fcf3ce44SJohn Forte			value='solaris.smf.value.isns' />
106*fcf3ce44SJohn Forte	</property_group>
107*fcf3ce44SJohn Forte
108*fcf3ce44SJohn Forte	<property_group name='config' type='application'>
109*fcf3ce44SJohn Forte		<propval name='data_store_location' type='astring'
110*fcf3ce44SJohn Forte			value='/etc/isns/isnsdata.xml' />
111*fcf3ce44SJohn Forte		<propval name='ESI_retry_threshold_count' type='count'
112*fcf3ce44SJohn Forte			value='3' />
113*fcf3ce44SJohn Forte		<propval name='Management_SCN_Enabled' type='boolean'
114*fcf3ce44SJohn Forte			value='true' />
115*fcf3ce44SJohn Forte		<property name='Authorized_Control_Nodes' type='ustring' >
116*fcf3ce44SJohn Forte			<ustring_list>
117*fcf3ce44SJohn Forte				<value_node value='' />
118*fcf3ce44SJohn Forte			</ustring_list>
119*fcf3ce44SJohn Forte		</property>
120*fcf3ce44SJohn Forte	</property_group>
121*fcf3ce44SJohn Forte
122*fcf3ce44SJohn Forte	<stability value='Evolving' />
123*fcf3ce44SJohn Forte
124*fcf3ce44SJohn Forte	<template>
125*fcf3ce44SJohn Forte		<common_name>
126*fcf3ce44SJohn Forte			<loctext xml:lang='C'>
127*fcf3ce44SJohn Forte				iSNS server
128*fcf3ce44SJohn Forte			</loctext>
129*fcf3ce44SJohn Forte		</common_name>
130*fcf3ce44SJohn Forte		<documentation>
131*fcf3ce44SJohn Forte			<manpage title='isns' section='1M'
132*fcf3ce44SJohn Forte				manpath='/usr/share/man' />
133*fcf3ce44SJohn Forte			<manpage title='isnsadm' section='1M'
134*fcf3ce44SJohn Forte				manpath='/usr/share /man' />
135*fcf3ce44SJohn Forte		</documentation>
136*fcf3ce44SJohn Forte	</template>
137*fcf3ce44SJohn Forte
138*fcf3ce44SJohn Forte</service>
139*fcf3ce44SJohn Forte
140*fcf3ce44SJohn Forte</service_bundle>
141