17c478bd9Sstevel@tonic-gate<?xml version="1.0"?> 27c478bd9Sstevel@tonic-gate<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1"> 37c478bd9Sstevel@tonic-gate<!-- 4*f6e214c7SGavin Maltby Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved. 57c478bd9Sstevel@tonic-gate 67c478bd9Sstevel@tonic-gate CDDL HEADER START 77c478bd9Sstevel@tonic-gate 87c478bd9Sstevel@tonic-gate The contents of this file are subject to the terms of the 9*f6e214c7SGavin Maltby Common Development and Distribution License (the "License"). 10*f6e214c7SGavin Maltby You may not use this file except in compliance with the License. 117c478bd9Sstevel@tonic-gate 127c478bd9Sstevel@tonic-gate You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 137c478bd9Sstevel@tonic-gate or http://www.opensolaris.org/os/licensing. 147c478bd9Sstevel@tonic-gate See the License for the specific language governing permissions 157c478bd9Sstevel@tonic-gate and limitations under the License. 167c478bd9Sstevel@tonic-gate 177c478bd9Sstevel@tonic-gate When distributing Covered Code, include this CDDL HEADER in each 187c478bd9Sstevel@tonic-gate file and include the License file at usr/src/OPENSOLARIS.LICENSE. 197c478bd9Sstevel@tonic-gate If applicable, add the following below this CDDL HEADER, with the 207c478bd9Sstevel@tonic-gate fields enclosed by brackets "[]" replaced with your own identifying 217c478bd9Sstevel@tonic-gate information: Portions Copyright [yyyy] [name of copyright owner] 227c478bd9Sstevel@tonic-gate 237c478bd9Sstevel@tonic-gate CDDL HEADER END 247c478bd9Sstevel@tonic-gate 257c478bd9Sstevel@tonic-gate NOTE: This service manifest is not editable; its contents will 267c478bd9Sstevel@tonic-gate be overwritten by package or patch operations, including 277c478bd9Sstevel@tonic-gate operating system upgrade. Make customizations in a different 287c478bd9Sstevel@tonic-gate file. 297c478bd9Sstevel@tonic-gate--> 307c478bd9Sstevel@tonic-gate 317c478bd9Sstevel@tonic-gate<service_bundle type='manifest' name='SUNWckr:fmd'> 327c478bd9Sstevel@tonic-gate 337c478bd9Sstevel@tonic-gate<service 347c478bd9Sstevel@tonic-gate name='system/fmd' 357c478bd9Sstevel@tonic-gate type='service' 367c478bd9Sstevel@tonic-gate version='1'> 377c478bd9Sstevel@tonic-gate 387c478bd9Sstevel@tonic-gate <create_default_instance enabled='true' /> 397c478bd9Sstevel@tonic-gate 407c478bd9Sstevel@tonic-gate <single_instance /> 417c478bd9Sstevel@tonic-gate 427c478bd9Sstevel@tonic-gate <!-- 437c478bd9Sstevel@tonic-gate Fault Manager Dependencies, Part 1 447c478bd9Sstevel@tonic-gate 457c478bd9Sstevel@tonic-gate At present, the fmd.xml manifest is delivered outside of SUNWfmd 467c478bd9Sstevel@tonic-gate because it is a usr package. Therefore we insert a dependency on 477c478bd9Sstevel@tonic-gate the fmd binary being present (i.e. SUNWfmd has been installed). 487c478bd9Sstevel@tonic-gate --> 497c478bd9Sstevel@tonic-gate <dependency 507c478bd9Sstevel@tonic-gate name='SUNWfmd' 517c478bd9Sstevel@tonic-gate grouping='require_all' 527c478bd9Sstevel@tonic-gate restart_on='none' 537c478bd9Sstevel@tonic-gate type='path'> 547c478bd9Sstevel@tonic-gate <service_fmri value='file://localhost/usr/lib/fm/fmd/fmd' /> 557c478bd9Sstevel@tonic-gate </dependency> 567c478bd9Sstevel@tonic-gate 577c478bd9Sstevel@tonic-gate <!-- 587c478bd9Sstevel@tonic-gate Fault Manager Dependencies, Part 2 597c478bd9Sstevel@tonic-gate 60*f6e214c7SGavin Maltby fmd should be started after /var is mounted and rpcbind is 61*f6e214c7SGavin Maltby running. It is resilient to the the failure and/or 62*f6e214c7SGavin Maltby interruption of rpcbind, and therefore does not restart under any 63*f6e214c7SGavin Maltby circumstance. 64*f6e214c7SGavin Maltby 65*f6e214c7SGavin Maltby The dumpadm and sysevent services (global zone only) also list the 66*f6e214c7SGavin Maltby fmd service as a dependent, with restart_on='none' for both. 677c478bd9Sstevel@tonic-gate --> 687c478bd9Sstevel@tonic-gate <dependency 697c478bd9Sstevel@tonic-gate name='startup_req' 707c478bd9Sstevel@tonic-gate grouping='require_all' 717c478bd9Sstevel@tonic-gate restart_on='none' 727c478bd9Sstevel@tonic-gate type='service'> 737c478bd9Sstevel@tonic-gate <service_fmri value='svc:/system/filesystem/minimal' /> 747c478bd9Sstevel@tonic-gate </dependency> 757c478bd9Sstevel@tonic-gate 767c478bd9Sstevel@tonic-gate <dependency 777c478bd9Sstevel@tonic-gate name='startup_opt' 787c478bd9Sstevel@tonic-gate grouping='optional_all' 797c478bd9Sstevel@tonic-gate restart_on='none' 807c478bd9Sstevel@tonic-gate type='service'> 817c478bd9Sstevel@tonic-gate <service_fmri value='svc:/network/rpc/bind' /> 827c478bd9Sstevel@tonic-gate </dependency> 837c478bd9Sstevel@tonic-gate 847c478bd9Sstevel@tonic-gate <exec_method 857c478bd9Sstevel@tonic-gate type='method' 867c478bd9Sstevel@tonic-gate name='start' 877c478bd9Sstevel@tonic-gate exec='/usr/lib/fm/fmd/fmd' 887c478bd9Sstevel@tonic-gate timeout_seconds='0' /> 897c478bd9Sstevel@tonic-gate 907c478bd9Sstevel@tonic-gate <exec_method 917c478bd9Sstevel@tonic-gate type='method' 927c478bd9Sstevel@tonic-gate name='stop' 937c478bd9Sstevel@tonic-gate exec=':kill' 947c478bd9Sstevel@tonic-gate timeout_seconds='60' /> 957c478bd9Sstevel@tonic-gate 967c478bd9Sstevel@tonic-gate <stability value='Evolving' /> 977c478bd9Sstevel@tonic-gate 987c478bd9Sstevel@tonic-gate <template> 997c478bd9Sstevel@tonic-gate <common_name> 1007c478bd9Sstevel@tonic-gate <loctext xml:lang='C'> 1017c478bd9Sstevel@tonic-gate Solaris Fault Manager 1027c478bd9Sstevel@tonic-gate </loctext> 1037c478bd9Sstevel@tonic-gate </common_name> 1047c478bd9Sstevel@tonic-gate 1057c478bd9Sstevel@tonic-gate <documentation> 1067c478bd9Sstevel@tonic-gate <manpage 1077c478bd9Sstevel@tonic-gate title='fmd' 1087c478bd9Sstevel@tonic-gate section='1M' 1097c478bd9Sstevel@tonic-gate manpath='/usr/share/man' /> 1107c478bd9Sstevel@tonic-gate </documentation> 1117c478bd9Sstevel@tonic-gate </template> 1127c478bd9Sstevel@tonic-gate</service> 1137c478bd9Sstevel@tonic-gate 1147c478bd9Sstevel@tonic-gate</service_bundle> 115