public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* cluster/fence/agents/scsi fence_scsi.pl
@ 2007-09-21  3:08 rmccabe
  0 siblings, 0 replies; 19+ messages in thread
From: rmccabe @ 2007-09-21  3:08 UTC (permalink / raw)
  To: cluster-cvs

CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	rmccabe@sourceware.org	2007-09-21 03:08:06

Modified files:
	fence/agents/scsi: fence_scsi.pl 

Log message:
	fix bz277781 by accepting "nodename" as a synonym for "node"

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/agents/scsi/fence_scsi.pl.diff?cvsroot=cluster&r1=1.6&r2=1.7


^ permalink raw reply	[flat|nested] 19+ messages in thread

* cluster/fence/agents/scsi fence_scsi.pl
@ 2007-09-21  3:09 rmccabe
  0 siblings, 0 replies; 19+ messages in thread
From: rmccabe @ 2007-09-21  3:09 UTC (permalink / raw)
  To: cluster-cvs

CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL5
Changes by:	rmccabe@sourceware.org	2007-09-21 03:09:04

Modified files:
	fence/agents/scsi: fence_scsi.pl 

Log message:
	fix bz277781 by accepting "nodename" as a synonym for "node"

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/agents/scsi/fence_scsi.pl.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.5.2.4&r2=1.5.2.5


^ permalink raw reply	[flat|nested] 19+ messages in thread

* cluster/fence/agents/scsi fence_scsi.pl
@ 2006-12-14 21:18 rohara
  0 siblings, 0 replies; 19+ messages in thread
From: rohara @ 2006-12-14 21:18 UTC (permalink / raw)
  To: cluster-cvs

CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL5
Changes by:	rohara@sourceware.org	2006-12-14 21:18:09

Modified files:
	fence/agents/scsi: fence_scsi.pl 

Log message:
	Attempt to register the node in the case where it must perform fence_scsi
	fencing but is not registered with the device(s) that must be fence. With
	SCSI persistent reservations, in order to do a "preempt and abort" (which
	we are using to fence a node), the node doing this operation must be
	registered with the device. This fix will check to see the the node that
	is performing the fencing is registered with the device(s). If it is not,
	then it attempts to register with the device(s) so that it can then
	continue with the fence operation normally. Note that this situation should
	never happen, especially if things are configured properly.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/agents/scsi/fence_scsi.pl.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.5.2.3&r2=1.5.2.4


^ permalink raw reply	[flat|nested] 19+ messages in thread

* cluster/fence/agents/scsi fence_scsi.pl
@ 2006-12-14 21:16 rohara
  0 siblings, 0 replies; 19+ messages in thread
From: rohara @ 2006-12-14 21:16 UTC (permalink / raw)
  To: cluster-cvs

CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL4
Changes by:	rohara@sourceware.org	2006-12-14 21:16:36

Modified files:
	fence/agents/scsi: fence_scsi.pl 

Log message:
	Attempt to register the node in the case where it must perform fence_scsi
	fencing but is not registered with the device(s) that must be fence. With
	SCSI persistent reservations, in order to do a "preempt and abort" (which
	we are using to fence a node), the node doing this operation must be
	registered with the device. This fix will check to see the the node that
	is performing the fencing is registered with the device(s). If it is not,
	then it attempts to register with the device(s) so that it can then
	continue with the fence operation normally. Note that this situation should
	never happen, especially if things are configured properly.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/agents/scsi/fence_scsi.pl.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.5.6.7&r2=1.5.6.8


^ permalink raw reply	[flat|nested] 19+ messages in thread

* cluster/fence/agents/scsi fence_scsi.pl
@ 2006-12-12 22:22 rohara
  0 siblings, 0 replies; 19+ messages in thread
From: rohara @ 2006-12-12 22:22 UTC (permalink / raw)
  To: cluster-cvs

CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL5
Changes by:	rohara@sourceware.org	2006-12-12 22:22:51

Modified files:
	fence/agents/scsi: fence_scsi.pl 

Log message:
	Rewrite of get_scsi_devices function.
	It is no longer possible to use lvs to get a list of cluster volumes (and
	underlying devices) at fence time. For this reason we must "keep state"
	by recording which devices we register with at startup. The init script
	(scsi_reserve) will record each device it successfully registered with to
	a file (/var/run/scsi_reserve). Then, and fence time, the fence_scsi agent
	will unregister each device listed in the state file.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/agents/scsi/fence_scsi.pl.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.5.2.2&r2=1.5.2.3


^ permalink raw reply	[flat|nested] 19+ messages in thread

* cluster/fence/agents/scsi fence_scsi.pl
@ 2006-12-12 22:22 rohara
  0 siblings, 0 replies; 19+ messages in thread
From: rohara @ 2006-12-12 22:22 UTC (permalink / raw)
  To: cluster-cvs

CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL4
Changes by:	rohara@sourceware.org	2006-12-12 22:22:30

Modified files:
	fence/agents/scsi: fence_scsi.pl 

Log message:
	Rewrite of get_scsi_devices function.
	It is no longer possible to use lvs to get a list of cluster volumes (and
	underlying devices) at fence time. For this reason we must "keep state"
	by recording which devices we register with at startup. The init script
	(scsi_reserve) will record each device it successfully registered with to
	a file (/var/run/scsi_reserve). Then, and fence time, the fence_scsi agent
	will unregister each device listed in the state file.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/agents/scsi/fence_scsi.pl.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.5.6.6&r2=1.5.6.7


^ permalink raw reply	[flat|nested] 19+ messages in thread

* cluster/fence/agents/scsi fence_scsi.pl
@ 2006-12-08 21:23 rohara
  0 siblings, 0 replies; 19+ messages in thread
From: rohara @ 2006-12-08 21:23 UTC (permalink / raw)
  To: cluster-cvs

CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL5
Changes by:	rohara@sourceware.org	2006-12-08 21:23:00

Modified files:
	fence/agents/scsi: fence_scsi.pl 

Log message:
	Fix split calls to be consistent. Remove the optional LIMIT parameter.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/agents/scsi/fence_scsi.pl.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.5.2.1&r2=1.5.2.2


^ permalink raw reply	[flat|nested] 19+ messages in thread

* cluster/fence/agents/scsi fence_scsi.pl
@ 2006-12-07 20:04 rohara
  0 siblings, 0 replies; 19+ messages in thread
From: rohara @ 2006-12-07 20:04 UTC (permalink / raw)
  To: cluster-cvs

CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL4
Changes by:	rohara@sourceware.org	2006-12-07 20:04:17

Modified files:
	fence/agents/scsi: fence_scsi.pl 

Log message:
	Fix problem when parsing the output from lvs command.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/agents/scsi/fence_scsi.pl.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.5.6.5&r2=1.5.6.6


^ permalink raw reply	[flat|nested] 19+ messages in thread

* cluster/fence/agents/scsi fence_scsi.pl
@ 2006-12-07 19:43 rohara
  0 siblings, 0 replies; 19+ messages in thread
From: rohara @ 2006-12-07 19:43 UTC (permalink / raw)
  To: cluster-cvs

CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL4
Changes by:	rohara@sourceware.org	2006-12-07 19:43:04

Modified files:
	fence/agents/scsi: fence_scsi.pl 

Log message:
	Fix variable declaration.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/agents/scsi/fence_scsi.pl.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.5.6.4&r2=1.5.6.5


^ permalink raw reply	[flat|nested] 19+ messages in thread

* cluster/fence/agents/scsi fence_scsi.pl
@ 2006-12-07 19:40 rohara
  0 siblings, 0 replies; 19+ messages in thread
From: rohara @ 2006-12-07 19:40 UTC (permalink / raw)
  To: cluster-cvs

CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL4
Changes by:	rohara@sourceware.org	2006-12-07 19:40:43

Modified files:
	fence/agents/scsi: fence_scsi.pl 

Log message:
	Fix get_options_stdin routine, which was incorrectly named get_option_stdin.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/agents/scsi/fence_scsi.pl.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.5.6.3&r2=1.5.6.4


^ permalink raw reply	[flat|nested] 19+ messages in thread

* cluster/fence/agents/scsi fence_scsi.pl
@ 2006-12-01 20:24 rohara
  0 siblings, 0 replies; 19+ messages in thread
From: rohara @ 2006-12-01 20:24 UTC (permalink / raw)
  To: cluster-cvs

CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL50
Changes by:	rohara@sourceware.org	2006-12-01 20:24:18

Modified files:
	fence/agents/scsi: fence_scsi.pl 

Log message:
	Remove "self" parameter. This was used to specify the name of the node
	performing the fence operation, and was passed to the agent. This is
	no longer used. Instead, we get the name of the local node in the agent
	by parsing the output from 'cman_tool status'.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/agents/scsi/fence_scsi.pl.diff?cvsroot=cluster&only_with_tag=RHEL50&r1=1.5&r2=1.5.4.1


^ permalink raw reply	[flat|nested] 19+ messages in thread

* cluster/fence/agents/scsi fence_scsi.pl
@ 2006-12-01 17:53 rohara
  0 siblings, 0 replies; 19+ messages in thread
From: rohara @ 2006-12-01 17:53 UTC (permalink / raw)
  To: cluster-cvs

CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL4
Changes by:	rohara@sourceware.org	2006-12-01 17:53:07

Modified files:
	fence/agents/scsi: fence_scsi.pl 

Log message:
	Remove "self" parameter. This was used to specify the name of the node
	performing the fence operation, and was passed to the agent. This is
	no longer used. Instead, we get the name of the local node in the agent
	by parsing the output from 'cman_tool status'.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/agents/scsi/fence_scsi.pl.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.5.6.2&r2=1.5.6.3


^ permalink raw reply	[flat|nested] 19+ messages in thread

* cluster/fence/agents/scsi fence_scsi.pl
@ 2006-12-01 17:53 rohara
  0 siblings, 0 replies; 19+ messages in thread
From: rohara @ 2006-12-01 17:53 UTC (permalink / raw)
  To: cluster-cvs

CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL5
Changes by:	rohara@sourceware.org	2006-12-01 17:53:22

Modified files:
	fence/agents/scsi: fence_scsi.pl 

Log message:
	Remove "self" parameter. This was used to specify the name of the node
	performing the fence operation, and was passed to the agent. This is
	no longer used. Instead, we get the name of the local node in the agent
	by parsing the output from 'cman_tool status'.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/agents/scsi/fence_scsi.pl.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.5&r2=1.5.2.1


^ permalink raw reply	[flat|nested] 19+ messages in thread

* cluster/fence/agents/scsi fence_scsi.pl
@ 2006-11-29 23:19 rohara
  0 siblings, 0 replies; 19+ messages in thread
From: rohara @ 2006-11-29 23:19 UTC (permalink / raw)
  To: cluster-cvs

CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL4
Changes by:	rohara@sourceware.org	2006-11-29 23:19:04

Modified files:
	fence/agents/scsi: fence_scsi.pl 

Log message:
	Remove LIMIT param from calls to split. Seems that different versions of
	Perl behave differently when split uses this param, so removing this
	optional parameter makes things behanve consistently.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/agents/scsi/fence_scsi.pl.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.5.6.1&r2=1.5.6.2


^ permalink raw reply	[flat|nested] 19+ messages in thread

* cluster/fence/agents/scsi fence_scsi.pl
@ 2006-11-29 20:14 rohara
  0 siblings, 0 replies; 19+ messages in thread
From: rohara @ 2006-11-29 20:14 UTC (permalink / raw)
  To: cluster-cvs

CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL4
Changes by:	rohara@sourceware.org	2006-11-29 20:14:43

Added files:
	fence/agents/scsi: fence_scsi.pl 

Log message:
	Fence agent for SCSI persistent reservations.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/agents/scsi/fence_scsi.pl.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=NONE&r2=1.5.6.1


^ permalink raw reply	[flat|nested] 19+ messages in thread

* cluster/fence/agents/scsi fence_scsi.pl
@ 2006-07-12 20:34 rohara
  0 siblings, 0 replies; 19+ messages in thread
From: rohara @ 2006-07-12 20:34 UTC (permalink / raw)
  To: cluster-cvs

CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	rohara@sourceware.org	2006-07-12 20:34:18

Modified files:
	fence/agents/scsi: fence_scsi.pl 

Log message:
	fence_scsi agent should use "self" rather than try to determine node node.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/agents/scsi/fence_scsi.pl.diff?cvsroot=cluster&r1=1.4&r2=1.5


^ permalink raw reply	[flat|nested] 19+ messages in thread

* cluster/fence/agents/scsi fence_scsi.pl
@ 2006-07-10 18:53 rohara
  0 siblings, 0 replies; 19+ messages in thread
From: rohara @ 2006-07-10 18:53 UTC (permalink / raw)
  To: cluster-cvs

CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	rohara@sourceware.org	2006-07-10 18:53:59

Modified files:
	fence/agents/scsi: fence_scsi.pl 

Log message:
	Name of node to be fenced is passed via "nodename=" parameter.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/agents/scsi/fence_scsi.pl.diff?cvsroot=cluster&r1=1.3&r2=1.4


^ permalink raw reply	[flat|nested] 19+ messages in thread

* cluster/fence/agents/scsi fence_scsi.pl
@ 2006-07-06 21:58 rohara
  0 siblings, 0 replies; 19+ messages in thread
From: rohara @ 2006-07-06 21:58 UTC (permalink / raw)
  To: cluster-cvs

CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	rohara@sourceware.org	2006-07-06 21:58:30

Modified files:
	fence/agents/scsi: fence_scsi.pl 

Log message:
	Fix stdin parameter parsing to handle 'name=value' correctly.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/agents/scsi/fence_scsi.pl.diff?cvsroot=cluster&r1=1.2&r2=1.3


^ permalink raw reply	[flat|nested] 19+ messages in thread

* cluster/fence/agents/scsi fence_scsi.pl
@ 2006-07-06 16:23 rohara
  0 siblings, 0 replies; 19+ messages in thread
From: rohara @ 2006-07-06 16:23 UTC (permalink / raw)
  To: cluster-cvs

CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	rohara@sourceware.org	2006-07-06 16:23:41

Modified files:
	fence/agents/scsi: fence_scsi.pl 

Log message:
	Added extra output when verbose option is given.
	Fixed code to close stdin, stdout, stderr after open3 call.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/agents/scsi/fence_scsi.pl.diff?cvsroot=cluster&r1=1.1&r2=1.2


^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2007-09-21  3:09 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-21  3:08 cluster/fence/agents/scsi fence_scsi.pl rmccabe
  -- strict thread matches above, loose matches on Subject: below --
2007-09-21  3:09 rmccabe
2006-12-14 21:18 rohara
2006-12-14 21:16 rohara
2006-12-12 22:22 rohara
2006-12-12 22:22 rohara
2006-12-08 21:23 rohara
2006-12-07 20:04 rohara
2006-12-07 19:43 rohara
2006-12-07 19:40 rohara
2006-12-01 20:24 rohara
2006-12-01 17:53 rohara
2006-12-01 17:53 rohara
2006-11-29 23:19 rohara
2006-11-29 20:14 rohara
2006-07-12 20:34 rohara
2006-07-10 18:53 rohara
2006-07-06 21:58 rohara
2006-07-06 16:23 rohara

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).