HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: fence_ilo repace
Operating System - Linux
1833017
Members
2011
Online
110048
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2011 06:25 AM
02-22-2011 06:25 AM
fence_ilo repace
I have a problem with fence_ilo, i want do a workaround, replacing fence_ilo wiyh my bash script.
Can anyone advise me how to replace fence_ilo in cluster.conf with my script ?
Thanks
Can anyone advise me how to replace fence_ilo in cluster.conf with my script ?
Thanks
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2011 08:26 AM
02-22-2011 08:26 AM
Re: fence_ilo repace
I assume you've made your script to understand (or ignore, if necessary) all the same options and stdin parameters fence_ilo does, right?
The names of the fencing agents don't seem to be hardcoded into fenced, nor is there a standard list of fencing agents in any configuration file included in the cman RPM. So, the fencing daemon apparently simply calls the fencing agent using the name listed in the cluster configuration file as-is.
Place your script in /sbin/ directory on each node and mark it executable.
Then make a new copy of the cluster configuration file, increase the version number by one, and change the approriate
Test very carefully before using in a production environment.
MK
The names of the fencing agents don't seem to be hardcoded into fenced, nor is there a standard list of fencing agents in any configuration file included in the cman RPM. So, the fencing daemon apparently simply calls the fencing agent using the name listed in the cluster configuration file as-is.
Place your script in /sbin/ directory on each node and mark it executable.
Then make a new copy of the cluster configuration file, increase the version number by one, and change the approriate
Test very carefully before using in a production environment.
MK
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2011 04:41 AM
03-10-2011 04:41 AM
Re: fence_ilo repace
The cluster.conf is an xml file where you may store arbitrary data. As long as your fence_ilo agent knows how to parse the xml tags, you may specify any information you want.
Simply have a look at the original fencing agent to see what options the original fence_ilo agent should understand. They are simply read as commandline parameters.
See device_opt in:
http://git.fedorahosted.org/git/?p=fence-agents.git;a=blob_plain;f=fence/agents/ilo/fence_ilo.py;hb=HEAD
We have used the following enhanced ilo fencing agent in my old company with great success:
http://download.atix.de/yum/comoonics/redhat-el5/preview/noarch/RPMS/comoonics-bootimage-fenceclient-ilo-0.1-20.noarch.rpm
Simply have a look at the original fencing agent to see what options the original fence_ilo agent should understand. They are simply read as commandline parameters.
See device_opt in:
http://git.fedorahosted.org/git/?p=fence-agents.git;a=blob_plain;f=fence/agents/ilo/fence_ilo.py;hb=HEAD
We have used the following enhanced ilo fencing agent in my old company with great success:
http://download.atix.de/yum/comoonics/redhat-el5/preview/noarch/RPMS/comoonics-bootimage-fenceclient-ilo-0.1-20.noarch.rpm
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP