1OCF_HEARTBEAT_XINETD(7)       OCF resource agents      OCF_HEARTBEAT_XINETD(7)
2
3
4

NAME

6       ocf_heartbeat_Xinetd - Manages a service of Xinetd
7

SYNOPSIS

9       Xinetd [start | stop | status | monitor | meta-data | validate-all]
10

DESCRIPTION

12       Resource script for Xinetd. It starts/stops services managed by xinetd
13       by enabling or disabling them in the configuration file.
14
15       The xinetd daemon itself must be running: we are not going to start or
16       stop it ourselves.
17
18       All services should have a line saying either "disable=yes" or
19       "disable=no". The script just changes those settings before reloading
20       xinetd.
21
22       Important: in case the services managed by the cluster are the only
23       ones enabled, you should specify the -stayalive option for xinetd or it
24       will exit on Heartbeat stop. Alternatively, you may enable some
25       internal service such as echo.
26

SUPPORTED PARAMETERS

28       service
29           The name of the service managed by xinetd.
30
31           (required, string, no default)
32

SUPPORTED ACTIONS

34       This resource agent supports the following actions (operations):
35
36       start
37           Starts the resource. Suggested minimum timeout: 20s.
38
39       stop
40           Stops the resource. Suggested minimum timeout: 20s.
41
42       restart
43           Suggested minimum timeout: 20s.
44
45       status
46           Performs a status check. Suggested minimum timeout: 10s. Suggested
47           interval: 10s.
48
49       monitor
50           Performs a detailed status check. Suggested minimum timeout: 10s.
51           Suggested interval: 10s.
52
53       validate-all
54           Performs a validation of the resource configuration. Suggested
55           minimum timeout: 5s.
56
57       meta-data
58           Retrieves resource agent metadata (internal use only). Suggested
59           minimum timeout: 5s.
60

EXAMPLE CRM SHELL

62       The following is an example configuration for a Xinetd resource using
63       the crm(8) shell:
64
65           primitive p_Xinetd ocf:heartbeat:Xinetd \
66             params \
67               service=string \
68             op monitor depth="0" timeout="10s" interval="10s"
69

EXAMPLE PCS

71       The following is an example configuration for a Xinetd resource using
72       pcs(8)
73
74           pcs resource create p_Xinetd ocf:heartbeat:Xinetd \
75             service=string \
76             op monitor depth="0" timeout="10s" interval="10s"
77

SEE ALSO

79       http://clusterlabs.org/
80

AUTHOR

82       ClusterLabs contributors (see the resource agent source for information
83       about individual authors)
84
85
86
87resource-agents UNKNOWN           03/09/2020           OCF_HEARTBEAT_XINETD(7)
Impressum