10 More Discussions You Might Find Interesting
1. Emergency UNIX and Linux Support
i solved myself.
thx! (2 Replies)
Discussion started by: pabloli150
2 Replies
2. Shell Programming and Scripting
Hi ,
I was going through a script and I saw following commands :--
OPTS="-e /usr/local/bin/ssh -ralpgHSvuz --stats --rsync-path=/usr/local/bin/rsync"
OPTS="-e /usr/local/bin/ssh -vrlopgt --stats --rsync-path=/usr/local/bin/rsync"
Can someone please explain the meaning of words... (4 Replies)
Discussion started by: Abhayman
4 Replies
3. Programming
Trying to establish a socket connection using ssh service - but want to use different login name for ssh than what currently logged in as - if under shell know to use ssh -l <login-name> host - however - not sure how to tell o.s. to use different login name when use connect command (2 Replies)
Discussion started by: clcoh11
2 Replies
4. Shell Programming and Scripting
Hi,
When i am using SSH, trying to automate some process, it seems as I am loosing environment settings that belongs to proper running of jboss server.
On Server (X) a User (A) is trying to run a jboss server but the location of jboss is on the same server (X) but on different user (B) . The... (1 Reply)
Discussion started by: nimrodt
1 Replies
5. Shell Programming and Scripting
Hi, I need script that will allow me to connect to multiple clients using ssh on Ubuntu terminal...
I have a txt file with the ip addresses of clients, i need a script that will connect to everyone one by one and send some commands...
The idea is to check some settings on every client... (2 Replies)
Discussion started by: marko07
2 Replies
6. HP-UX
how can I find cpu usage memory usage swap usage and
I want to know CPU usage above X% and contiue Y times and memory usage above X % and contiue Y times
my final destination is monitor process
logical volume usage above X % and number of Logical voluage above
can I not to... (3 Replies)
Discussion started by: alert0919
3 Replies
7. Shell Programming and Scripting
Hi All,
How could I use telnet to connect to Primary Host in the below shell script:
Could I use:
(
echo user
sleep 2
echo password
sleep 2
echo "ls ~"
sleep 2
echo "exit"
) | telnet hostname
... (1 Reply)
Discussion started by: a1_win
1 Replies
8. Shell Programming and Scripting
Hi All,
I was implementing a change of TELNET to SSH connectivity, and finding it tough at a point where I was connecting to another unix server through TELNET.
( ps -ef |grep abcd) | TELNET x.xx.xxx.xx
now I when I tried to replace TELNET with SSH, i am not able to connect.
( ps -ef... (1 Reply)
Discussion started by: pranavagarwal
1 Replies
9. UNIX for Dummies Questions & Answers
I want to learn some commands like ssh, telnet and others where i can be tease. thanks for help... (2 Replies)
Discussion started by: Kostantinos
2 Replies
10. UNIX for Advanced & Expert Users
I amn't advance but i want to learn some commands where here you can help me. i don't learn easy commands but i learn if its good experience and interesting. I want to learn about ssh, telnet and how i can be miff ( i don't speek good english but i hope to understant me) thanks for any help... (1 Reply)
Discussion started by: Kostantinos
1 Replies
OCF_HEARTBEAT_XINETD(7) OCF resource agents OCF_HEARTBEAT_XINETD(7)
NAME
ocf_heartbeat_Xinetd - Manages a service of Xinetd
SYNOPSIS
Xinetd [start | stop | status | monitor | meta-data | validate-all]
DESCRIPTION
Resource script for Xinetd. It starts/stops services managed by xinetd by enabling or disabling them in the configuration file.
The xinetd daemon itself must be running: we are not going to start or stop it ourselves.
All services should have a line saying either "disable=yes" or "disable=no". The script just changes those settings before reloading
xinetd.
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 name of the service 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 p_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 UNKNOWN 06/09/2014 OCF_HEARTBEAT_XINETD(7)