On 10/06/2012 08:45 AM, Kevin F. La Barre wrote: > I'm trying to get the fence_ec2 agent (link below) working and a bit > confused on how it should be configured. I have modified the agent with > the EC2 key and cert, region, etc. The part of confused about is the > "port" argument and how it's supposed to work. Am I supposed to hardcode > the uname into the "port" variable or is this somehow passed into the > script as an argument? If I hardcode it, I don't understand how Pacemaker > passes on the information as to which node to kill. Versions and config. > details follow. > > I apologize if this has been vague. Please let me know if you need more > information. > > Fencing agent: > https://github.com/beekhof/fence_ec2/blob/392a146b232fbf2bf2f75605b1e92baef4be4a01/fence_ec2 > > crm configure primitive ec2-fencing stonith::fence_ec2 \ > params action="reboot" \ > op monitor interval="60s"
try something like: primitive stonith_my-ec2-nodes stonith:fence_ec2 \ params ec2-home="/root/.ec2" pcmk_host_check="static-list" pcmk_host_list="myec2-01 myec2-02" \ op monitor interval="600s" timeout="300s" \ op start start-delay="30s" interval="0" ... where the nodenames are sent as "port" paramter. Regards, Andreas -- Need help with Pacemaker? http://www.hastexo.com/now > > Corosync v1.4.1 > Pacemaker v1.1.7 > CentOS 6.2 > > -Kevin > _______________________________________________ > Linux-HA mailing list > [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems >
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
