1OCF_HEARTBEAT_XINETD(7) OCF resource agents OCF_HEARTBEAT_XINETD(7)
2
3
4
6 ocf_heartbeat_Xinetd - Manages an Xinetd service
7
9 Xinetd [start | stop | status | monitor | meta-data | validate-all]
10
12 Resource script for Xinetd. It starts/stops services managed by xinetd.
13
14 Note that the xinetd daemon itself must be running: we are not going to
15 start it or stop it ourselves.
16
17 Important: in case the services managed by the cluster are the only
18 ones enabled, you should specify the -stayalive option for xinetd or it
19 will exit on Heartbeat stop. Alternatively, you may enable some
20 internal service such as echo.
21
23 service
24 The service name managed by xinetd. (required, string, no default)
25
27 This resource agent supports the following actions (operations):
28
29 start
30 Starts the resource. Suggested minimum timeout: 20s.
31
32 stop
33 Stops the resource. Suggested minimum timeout: 20s.
34
35 restart
36 Suggested minimum timeout: 20s.
37
38 status
39 Performs a status check. Suggested minimum timeout: 10. Suggested
40 interval: 10.
41
42 monitor
43 Performs a detailed status check. Suggested minimum timeout: 10.
44 Suggested interval: 10.
45
46 validate-all
47 Performs a validation of the resource configuration. Suggested
48 minimum timeout: 5.
49
50 meta-data
51 Retrieves resource agent metadata (internal use only). Suggested
52 minimum timeout: 5.
53
55 The following is an example configuration for a Xinetd resource using
56 the crm(8) shell:
57
58 primitive p_Xinetd ocf:heartbeat:Xinetd \
59 params \
60 service=string \
61 op monitor depth="0" timeout="10" interval="10"
62
64 http://www.linux-ha.org/wiki/Xinetd_(resource_agent)
65
67 Linux-HA contributors (see the resource agent source for information
68 about individual authors)
69
70
71
72resource-agents 3.9.2 07/08/2011 OCF_HEARTBEAT_XINETD(7)