Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ocf_heartbeat_ipsrcaddr(7) [debian man page]

OCF_HEARTBEAT_IPSRCA(7) 					OCF resource agents					   OCF_HEARTBEAT_IPSRCA(7)

NAME
ocf_heartbeat_IPsrcaddr - Manages the preferred source address for outgoing IP packets SYNOPSIS
IPsrcaddr [start | stop | monitor | meta-data | validate-all] DESCRIPTION
Resource script for IPsrcaddr. It manages the preferred source address modification. SUPPORTED PARAMETERS
ipaddress The IP address. (required, string, no default) cidr_netmask The netmask for the interface in CIDR format. (ie, 24), or in dotted quad notation 255.255.255.0). (optional, 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. monitor Performs a detailed status check. Suggested minimum timeout: 20s. 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 IPsrcaddr resource using the crm(8) shell: primitive p_IPsrcaddr ocf:heartbeat:IPsrcaddr params ipaddress=string op monitor depth="0" timeout="20s" interval="10" SEE ALSO
http://www.linux-ha.org/wiki/IPsrcaddr_(resource_agent) AUTHOR
Linux-HA contributors (see the resource agent source for information about individual authors) resource-agents UNKNOWN 03/09/2014 OCF_HEARTBEAT_IPSRCA(7)

Check Out this Related Man Page

OCF_HEARTBEAT_XINETD(7) 					OCF resource agents					   OCF_HEARTBEAT_XINETD(7)

NAME
ocf_heartbeat_Xinetd - Manages an Xinetd service SYNOPSIS
Xinetd [start | stop | status | monitor | meta-data | validate-all] 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 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 03/09/2014 OCF_HEARTBEAT_XINETD(7)
Man Page

13 More Discussions You Might Find Interesting

1. HP-UX

how to find ipaddress

Hi, Pls tell me any command in Hp-unix to find out the machine ipaddress Thanks, shruti (14 Replies)
Discussion started by: shruti_mgp
14 Replies

2. HP-UX

log format

hi everyone, can any one explain me abt the below log and what does it mean : (xx stands for the numerics or the ipaddress ) i would like to know why the ipaddress is coming where the login type (like ssh,telnet,ftp, etc...) should be coming. (the below logs were obtained using last/lastb... (0 Replies)
Discussion started by: gsr_kashyap
0 Replies

3. Shell Programming and Scripting

geting server name(ipaddress)

hi, can any one say how to get the server name if we know the ipaddress ie nslookup gives ipaddress if server name is given in the same way can i have server name if i know ipaddress thanks & regards babu :o (1 Reply)
Discussion started by: babu@shell
1 Replies

4. UNIX for Dummies Questions & Answers

Ip

Mates, Is there a command to get the ipaddress only of my system. ie; like hostname where i get my hostname i need the output dispay only my ipaddress. I am using a linux server. thanks (5 Replies)
Discussion started by: Krrishv
5 Replies

5. Shell Programming and Scripting

How to specify justification?

LOOP `echo "$COLNAME $TYPENAME($LENGTH) $NULLS " | awk ' { printf("%20s%20s%20s\n",$1,$2,$3) } ' ` >>$DDL_FILE END-LOOP How to change the alignment of the above text. I.e by default it is right justified. but i want left justification (1 Reply)
Discussion started by: skyineyes
1 Replies

6. Shell Programming and Scripting

How to validate an IP address

hi I need a simple script to do the following. I need to check the user input for 1. quad dotted notation. 2. check that all of the inputs are numeric and within 1-255 range. Could someone please help me? I tried to use egrep to check for dotted notation. quad=1.1.1.12 ... (5 Replies)
Discussion started by: sabina
5 Replies

7. Shell Programming and Scripting

how to set timeout?

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)
Discussion started by: uativan
14 Replies

8. UNIX for Advanced & Expert Users

how linux knows ipaddress of it?

which kernel data structure stores ipaddress. and how to change the ipaddress other that ifconfig. in case of dhcp client daemon how linux automatically assigns ipaddress fetched? Would some one answer these questions please? (3 Replies)
Discussion started by: Gopi Krishna P
3 Replies

9. UNIX for Dummies Questions & Answers

How to find out the ipaddress?

Hi Friends, I am new to UNIX. I wonder how can I get the ipaddress of my machine? In windows, i can use ipconfig to get my ipaddress. I am aware of ifconfig but it does not give the ipaddress.:) Thanks and regards, Dinesh Venkatesan. (4 Replies)
Discussion started by: DineshV
4 Replies

10. Shell Programming and Scripting

getting the data in some format

HI i am writing a shell script to generate some files having data in some format. for this i am using awk -F":" '{printf("%-20s:%-20s:%-20s:%-20s:%-15s:%-3s:%-19s:%-2s:%-20s:%-15s:%-2s\n", $1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11)}' $DIALPBIN/temp1.txt > ${DIALPBIN}/temp2.txt this helps in... (1 Reply)
Discussion started by: priyanka3006
1 Replies

11. Shell Programming and Scripting

Search for Ip in last

I need to grep for for ipaddress in last , the ipaddress could also be with 60.120.123.26 174.20.195.150 last | awk '{print $3}' | grep It ain't working (3 Replies)
Discussion started by: dinjo_jo
3 Replies

12. Shell Programming and Scripting

Help with SED

I'm trying to replace the following text ipaddress=10.203.109.11 to ipaddress= There are multiple files with different IP's. Basically I want to get rid of all the ip's associated with text ipaddress= I tried to use this with a wild card sed -e 's/ipaddress=.*/ipaddress=/' it did... (6 Replies)
Discussion started by: miltonrods
6 Replies

13. Shell Programming and Scripting

Grepping an ipaddress using ifconfig

Hi I need to Grep for an ipaddress and need to substitute one octet with another octet I have used the following code gateway=`netstat -rn| grep default | tr -s " "|cut -d " " -f2 | head -1` If the output is 9.3.94.1 I need to modify as 9.3.100.1 Please help (4 Replies)
Discussion started by: Priya Amaresh
4 Replies