[Users] Intel Modular Server Powermanagement

Eli Mesika emesika at redhat.com
Tue Jan 14 05:42:11 EST 2014



----- Original Message -----
> From: "Sven Kieske" <S.Kieske at mittwald.de>
> To: users at ovirt.org
> Sent: Tuesday, January 14, 2014 11:41:13 AM
> Subject: Re: [Users] Intel Modular Server Powermanagement
> 
> Hi,
> 
> afaik it should work when this fencing agent gets added to the engine
> as was done to drac7 from dell recently here:
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1046625
> 
> http://gerrit.ovirt.org/#/c/22833/
> 
> It seems to boil down to an sql command:
> 
> "select
> fn_db_add_config_value('FenceAgentMapping','drac7=ipmilan,ilo2=ilo,ilo3=ipmilan,ilo4=ipmilan'
> ,'general');"
> 
> I don't know if intelmodular has an ipmi compatible mode?
> 
> So I think you have 2 options:
> 
> 1. You may hack the DB yourself.

Hi

Here are detailed instructions how to add a custom agent:

a) Add your new agent to VdsFenceType option_value in vdc_options table for the relevant cluster version
b) Add agent options mappings to VdsFenceOptionMapping option_value in vdc_options table for the relevant cluster version
c) If the agent maps actually to another agent , add that to FenceAgentMapping option_value in vdc_options

Example : Adding zzz agent support for version 3.3 that maps internally to ipmi and have just port setting (from: port, slot, secure) that maps to the fencing script ipport
a) VdsFenceType for 3.3 becomes "apc,apc_snmp,bladecenter,cisco_ucs,drac5,eps,ilo,ilo2,ilo3,ilo4,ipmilan,rsa,rsb,wti,zzz"
b) VdsFenceOptionMapping for 3.3 becomes "apc:secure=secure,port=ipport,slot=port;apc_snmp:port=port;bladecenter:secure=secure,port=ipport,slot=port;cisco_ucs:secure=ssl,slot=port;drac5:secure=se
cure,slot=port;eps:slot=port;ilo:secure=ssl,port=ipport;ipmilan:;ilo2:secure=ssl,port=ipport;ilo3:;ilo4:;rsa:secure=secure,port=ipport;rsb:;wti:secure=secure,port=ipport,slot=port;zzz:port=ipport"
c) FenceAgentMapping becomes "ilo2=ilo,ilo3=ipmilan,ilo4=ipmilan,zzz=ipmilan"

NOTES

1) Please backup your database 
2) You should restart the engine for this to take place
3) Custom definitions will be overridden in your next upgrade , for the long run please fill RFE so it will be part of the supported agents 

Please let me know if that works for you.

> 
> 2. File a BZ with an RFE to add your fencing agent.
> 
> The latter should be done regardless of the first.
> 
> HTH
> 
> Am 14.01.2014 10:21, schrieb Tobias Fiebig:
> > 
> > Heho,
> > we are using an intel modular server (IMS) as virtualization center in
> > our university chair.
> > 
> > These systems should now be migrated to ovirt. However, apparently
> > fencing/power management via /usr/sbin/fence_intelmodular can not be
> > configured in ovirt 3.3.
> > 
> > Does anyone have an idea how to solve this issue? Is there maybe a
> > simple way to add custom fence agents?
> 
> --
> Mit freundlichen Grüßen / Regards
> 
> Sven Kieske
> 
> Systemadministrator
> Mittwald CM Service GmbH & Co. KG
> Königsberger Straße 6
> 32339 Espelkamp
> T: +49-5772-293-100
> F: +49-5772-293-333
> https://www.mittwald.de
> Geschäftsführer: Robert Meyer
> St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
> Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 


More information about the Users mailing list