new postgres resource script
"Martin Bene" <[email protected]> Fri, 10 May 2002 14:41:31 +0200
| Newsgroups | gmane.linux.failsafe |
|---|---|
| Message-ID | <[email protected]> |
Hi Lars, currently, it's not possible to define a node with a stonith system controller via the GUI: the java gui checks that the device name begins with "/dev", which doesn't make sense for stonith devices. the below patch removes this check from the gui. I think this was already fixed but may have gotten lost again during the cvs mixup. Bye, Martin
gui_stonith_device.patch
(application/octet-stream, 1.5 KB)
Index: packages/com/sgi/fsmgr/task/DefineMachineTask.java
===================================================================
RCS file: /cvs/failsafe/FailSafe-mgr/packages/com/sgi/fsmgr/task/DefineMachineTask.java,v
retrieving revision 1.62
diff -u -r1.62 DefineMachineTask.java
--- packages/com/sgi/fsmgr/task/DefineMachineTask.java 2001/03/15 02:07:05 1.62
+++ packages/com/sgi/fsmgr/task/DefineMachineTask.java 2002/05/10 12:35:12
@@ -795,7 +795,7 @@
// acceptable input.
if ((devName.length() == 0 &&
TaskDataVerifier.MUST_BE_SET == browseFlag)
- || !devName.startsWith(validPrefix)
+ //|| !devName.startsWith(validPrefix)
|| devName.equals(validPrefix)) {
event.setReason(MessageFormat.format(
_rs.getString("Error.invalidOwner"),
Index: packages/com/sgi/fsmgr/task/ModifyMachineTask.java
===================================================================
RCS file: /cvs/failsafe/FailSafe-mgr/packages/com/sgi/fsmgr/task/ModifyMachineTask.java,v
retrieving revision 1.38
diff -u -r1.38 ModifyMachineTask.java
--- packages/com/sgi/fsmgr/task/ModifyMachineTask.java 2001/03/15 02:16:14 1.38
+++ packages/com/sgi/fsmgr/task/ModifyMachineTask.java 2002/05/10 12:35:12
@@ -588,7 +588,7 @@
// acceptable input.
if ((devName.length() == 0 &&
TaskDataVerifier.MUST_BE_SET == browseFlag)
- || !devName.startsWith(validPrefix)
+ //|| !devName.startsWith(validPrefix)
|| devName.equals(validPrefix)) {
event.setReason(MessageFormat.format(
_rs.getString("Error.invalidOwner"),