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_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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)