Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > by-pkgid > 893b4547bb5f5eb61d2f3af4281e5a38 > files > 49

cman-2.0.115-96.el5_8.1.src.rpm

From 0ce4e05a31df82ae563fd120cad5bf10bca105f6 Mon Sep 17 00:00:00 2001
From: Marek 'marx' Grac <mgrac@redhat.com>
Date: Fri, 13 May 2011 13:24:44 +0200
Subject: [PATCH] fence-agents: Add installation of manual pages and VMWare SOAP agent

Resolves: rhbz#573990
---
 fence/agents/Makefile   |    3 +
 fence/man/Makefile      |    2 +
 fence/man/fence_rps10.8 |   98 +++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 103 insertions(+), 0 deletions(-)
 create mode 100644 fence/man/fence_rps10.8

diff --git a/fence/agents/Makefile b/fence/agents/Makefile
index 716530c..b48eb07 100644
--- a/fence/agents/Makefile
+++ b/fence/agents/Makefile
@@ -42,6 +42,7 @@ all:
 	${MAKE} -C scsi all
 	${MAKE} -C sanbox2 all
 	${MAKE} -C vmware all
+	${MAKE} -C vmware_soap all
 	${MAKE} -C vixel all
 	${MAKE} -C wti all
 	# ${MAKE} -C xcat all
@@ -77,6 +78,7 @@ install: all
 	${MAKE} -C scsi install
 	${MAKE} -C sanbox2 install
 	${MAKE} -C vmware install
+	${MAKE} -C vmware_soap install
 	${MAKE} -C vixel install
 	${MAKE} -C wti install
 	# ${MAKE} -C xcat install
@@ -112,6 +114,7 @@ clean:
 	${MAKE} -C scsi clean
 	${MAKE} -C sanbox2 clean
 	${MAKE} -C vmware clean
+	${MAKE} -C vmware_soap clean
 	${MAKE} -C vixel clean
 	${MAKE} -C wti clean
 	# ${MAKE} -C xcat clean
diff --git a/fence/man/Makefile b/fence/man/Makefile
index 3ccc8e6..1b2e1ce 100644
--- a/fence/man/Makefile
+++ b/fence/man/Makefile
@@ -21,6 +21,8 @@ TARGET8= \
 	fence_mcdata.8 \
 	fence_node.8 \
 	fence_rib.8 \
+	fence_rsb.8 \
+	fence_rps10.8 \
 	fence_scsi.8 \
 	fence_scsi_test.8 \
 	fence_tool.8 \
diff --git a/fence/man/fence_rps10.8 b/fence/man/fence_rps10.8
new file mode 100644
index 0000000..276eb63
--- /dev/null
+++ b/fence/man/fence_rps10.8
@@ -0,0 +1,98 @@
+
+.TH FENCE_AGENT 8 2009-10-20 "fence_rps10 (Fence Agent)"
+.SH NAME
+fence_rps10 - Fence agent for WTI RPS-10 over serial port
+.SH DESCRIPTION
+.P
+
+fence_rps10 is an I/O Fencing agent which can be used with the WTI RPS-10 series
+power switch.  It logs into device via serial port and reboots a specified
+outlet.  
+
+.P
+fence_rps10 accepts options on the command line as well
+as from stdin. Fenced sends parameters through stdin when it execs the
+agent. fence_apc can be run by itself with command
+line options.  This is useful for testing and for turning outlets on or off
+from scripts.
+
+Vendor URL: http://www.wti.com
+.SH PARAMETERS
+
+	
+.TP
+.B -o <action>
+. 
+Fencing Action (Default Value: reboot)
+	
+.TP
+.B -n <id>
+. 
+Physical plug number or name of virtual machine (Default Value: 0)
+
+.TP
+.B -d <device>
+. 
+Serial device to use (Default Value: /dev/ttyS0)
+
+.TP
+.B -s <speed>
+Set speed for serial device (Default Value: 9600)
+	
+.TP
+.B -v
+. 
+Verbose mode
+	
+.TP
+.B -V
+. 
+Display version information and exit
+	
+.TP
+.B -h, --help
+. 
+Display help and exit
+	
+.SH ACTIONS
+
+	
+.TP
+\fBon \fP
+Power on machine.
+	
+.TP
+\fBoff \fP
+Power off machine.
+	
+.TP
+\fBreboot \fP
+Reboot machine.
+	
+.SH STDIN PARAMETERS
+
+	
+.TP
+.B action
+. 
+Fencing Action (Default Value: reboot)
+	
+.B port
+. 
+Physical plug number or name of virtual machine This parameter is always required.
+	
+.TP
+.B verbose
+. 
+Verbose mode
+	
+.TP
+.B device
+. 
+Serial device to use (Default Value: /dev/ttyS0)
+	
+.TP
+.B speed
+. 
+Set speed for serial device (Default Value: 9600)
+	
-- 
1.7.4