OCF_HEARTBEAT_XINETD(7) OCF resource agents OCF_HEARTBEAT_XINETD(7)NAME
ocf_heartbeat_Xinetd - Manages an Xinetd service
SYNOPSIS
Xinetd [start | stop | restart | status | monitor | validate-all | meta-data]
DESCRIPTION
Resource script for Xinetd. It starts/stops services managed by xinetd. Note that the xinetd daemon itself must be running: we are not
going to start it or stop it ourselves. Important: in case the services managed by the cluster are the only ones enabled, you should
specify the -stayalive option for xinetd or it will exit on Heartbeat stop. Alternatively, you may enable some internal service such as
echo.
SUPPORTED PARAMETERS
service
The service name managed by xinetd. (required, string, no default)
SUPPORTED ACTIONS
This resource agent supports the following actions (operations):
start
Starts the resource. Suggested minimum timeout: 20s.
stop
Stops the resource. Suggested minimum timeout: 20s.
restart
Suggested minimum timeout: 20s.
status
Performs a status check. Suggested minimum timeout: 10. Suggested interval: 10.
monitor
Performs a detailed status check. Suggested minimum timeout: 10. Suggested interval: 10.
validate-all
Performs a validation of the resource configuration. Suggested minimum timeout: 5.
meta-data
Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5.
EXAMPLE
The following is an example configuration for a Xinetd resource using the crm(8) shell:
primitive example_Xinetd ocf:heartbeat:Xinetd
params
service=string
op monitor depth="0" timeout="10" interval="10"
SEE ALSO
http://www.linux-ha.org/wiki/Xinetd_(resource_agent)
AUTHOR
Linux-HA contributors (see the resource agent source for information about individual authors)
resource-agents 1.0.3 07/05/2010 OCF_HEARTBEAT_XINETD(7)
Check Out this Related Man Page
OCF_HEARTBEAT_STATEF(7) OCF resource agents OCF_HEARTBEAT_STATEF(7)NAME
ocf_heartbeat_Stateful - Example stateful resource agent
SYNOPSIS
Stateful [start | stop | monitor | meta-data | validate-all]
DESCRIPTION
This is an example resource agent that impliments two states
SUPPORTED PARAMETERS
state
Location to store the resource state in (optional, string, default /var/run/resource-agents/Stateful-{OCF_RESOURCE_INSTANCE}.state)
SUPPORTED ACTIONS
This resource agent supports the following actions (operations):
start
Starts the resource. Suggested minimum timeout: 20s.
stop
Stops the resource. Suggested minimum timeout: 20s.
monitor
Performs a detailed status check. Suggested minimum timeout: 20. Suggested interval: 10.
meta-data
Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5.
validate-all
Performs a validation of the resource configuration. Suggested minimum timeout: 20s.
EXAMPLE
The following is an example configuration for a Stateful resource using the crm(8) shell:
primitive example_Stateful ocf:heartbeat:Stateful
op monitor depth="0" timeout="20" interval="10"
SEE ALSO
http://www.linux-ha.org/wiki/Stateful_(resource_agent)
AUTHOR
Linux-HA contributors (see the resource agent source for information about individual authors)
resource-agents 1.0.3 07/05/2010 OCF_HEARTBEAT_STATEF(7)
hey,
haha it's me agian, i think that my xinetd is messed up, i am unable to stop it. I can start it though...lol. I just wonderd how can i uninstall it so i can reinstall it...maybe this time it'll work. I'm running RH 7.1 i think.
thanks:) (5 Replies)
When I run a script where the 1st parameter is ip address
ftp -n -i -v $1
I hang here if the ip is wrong
how to set a timeout something like
if (20s not complete "ftp -n -i -v $1") then
echo "error"
fi
Thanks a lot. (14 Replies)
Dear All I want to configure DNS in redhat linux. i am following these steps but when i restart the services it is showing status failed. Please any body can help me on urgent basis.
#service named restart
Stopping named:
Starting named:
---------Edited in named.conf... (2 Replies)
Hello everyone.. I need some help in understanding the usage of tcp46 socket and xinetd.d flags..
What I'm trying to do?
I'm looking to use tenet via tcp46 socket for both ipv4 and ipv6 traffic. For this, if i set flags = IPV6 xinetd.d, telnet service, i can not telnet via V4. If I unset the... (0 Replies)
I'm wondering if there's any way to monitor daemons in such a way that if a daemon stops running (e.g. crond, xinetd etc etc), it logs the time and date (and process id) of the stopped daemon ?
Does anyone know if that's even possible ? I'm trying to work out if it logs anywhere when a daemon... (1 Reply)
I got the xinetd src from synack archive but when I try to compile I get errors all over the place, so am just wondering if anyone has a pre patched working version of xinetd for solaris 7 or higher there can share ???
thanks (4 Replies)