cluster: RHEL5 - fencing: #508722 - Fence agent for HP iLO 2 MP

Marek Grác marx@fedoraproject.org
Thu Jul 30 09:59:00 GMT 2009


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=d0517e88112d8e04be3dbac15ffba11f823250e0
Commit:        d0517e88112d8e04be3dbac15ffba11f823250e0
Parent:        d7c71606883ec2f935e8f55152ae673bd1e2d981
Author:        Marek 'marx' Grac <mgrac@redhat.com>
AuthorDate:    Thu Jul 30 11:53:38 2009 +0200
Committer:     Marek 'marx' Grac <mgrac@redhat.com>
CommitterDate: Thu Jul 30 11:53:38 2009 +0200

fencing: #508722 - Fence agent for HP iLO 2 MP

New fence agent for HP iLO2 MP used in Blade Servers. It uses SMASH
interface over telnet/ssh. fence_ilo uses RIBCL over SSL what is not
supported on these machines.
---
 fence/agents/Makefile          |    3 +++
 fence/agents/lib/fencing.py.py |    3 +++
 2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/fence/agents/Makefile b/fence/agents/Makefile
index c8ef06a..4a043ae 100644
--- a/fence/agents/Makefile
+++ b/fence/agents/Makefile
@@ -27,6 +27,7 @@ all:
 	${MAKE} -C egenera all
 	# ${MAKE} -C ibmblade all
 	${MAKE} -C ilo all
+	${MAKE} -C ilo_mp all
 	${MAKE} -C ipmilan all
 	${MAKE} -C lpar all
 	${MAKE} -C manual all
@@ -58,6 +59,7 @@ install: all
 	${MAKE} -C egenera install
 	# ${MAKE} -C ibmblade install
 	${MAKE} -C ilo install
+	${MAKE} -C ilo_mp install
 	${MAKE} -C ipmilan install
 	${MAKE} -C lpar install
 	${MAKE} -C manual install
@@ -89,6 +91,7 @@ clean:
 	${MAKE} -C egenera clean
 	# ${MAKE} -C ibmblade clean
 	${MAKE} -C ilo clean
+	${MAKE} -C ilo_mp clean
 	${MAKE} -C ipmilan clean
 	${MAKE} -C lpar clean
 	${MAKE} -C manual clean
diff --git a/fence/agents/lib/fencing.py.py b/fence/agents/lib/fencing.py.py
index 480150b..343220a 100644
--- a/fence/agents/lib/fencing.py.py
+++ b/fence/agents/lib/fencing.py.py
@@ -327,7 +327,10 @@ def process_input(avail_opt):
 ## password script to set a correct password
 ######
 def check_input(device_opt, opt):
+	global all_opt
+	
 	options = dict(opt)
+	options["device_opt"] = device_opt
 
 	if options.has_key("-h"): 
 		usage(device_opt)



More information about the Cluster-cvs mailing list