[PVE-User] Delay fencing

Angel Docampo adocampo at dltec.net
Mon Jan 19 15:23:02 CET 2015


I forgot to mention I'd already tried --delay option, but it isn't 
working for me, perhaps I'm doing it wrong.
What I'm doing to test it is setting the link down and up on the cluster 
network interface, simulating a network microcut.
My scenario is a HA two-cluster with quorum disk. The relevant 
cluster.conf configuration is
...
  <fencedevices>
     <fencedevice agent="fence_ipmilan" cipher="1" 
ipaddr="192.168.1.111" lanplus="1" login="username" name="fenceAtlantis" 
passwd="password" power_wait="60" delay="30"/>
     <fencedevice agent="fence_ipmilan" cipher="1" 
ipaddr="192.168.1.112" lanplus="1" login="username" name="fenceBree" 
passwd="password" power_wait="60" delay="30"/>
   </fencedevices>
...
<clusternodes>
     <clusternode name="atlantis" nodeid="1" votes="1">
       <fence>
         <method name="1">
           <device action="off" name="fenceAtlantis"/>
         </method>
       </fence>
     </clusternode>
     <clusternode name="bree" nodeid="2" votes="1">
       <fence>
         <method name="1">
           <device action="off" name="fenceBree"/>
         </method>
       </fence>
     </clusternode>
   </clusternodes>


What I think is --delay option is accepted once fencing it's on its way, 
but it will be irremediably executed after this period.

On 19/01/15 14:23, Steffen Wagner wrote:
> There should be some parameter like the following
> +	<parameter name="delay" unique="0" required="0">
> +		<getopt mixed="--delay=[seconds]" />
> +		<content type="string" default="0"  />
> +		<shortdesc lang="en">Wait X seconds before fencing is started</shortdesc>
> +	</parameter>
>   
> https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Cluster_Administration/ap-fence-device-param-CA.html
> *From:* Angel Docampo <mailto:adocampo at dltec.net>
> *Sent:* Monday, January 19, 2015 2:12 PM
> *To:* ProxMox Users <mailto:pve-user at pve.proxmox.com>
> *Subject:* [PVE-User] Delay fencing
> I would like to know if there are any way to delay fencing.
> I had some network microcuts, and fencing immediately stonith the node 
> who had them...
> Is there any way to make cluster to delay fencing some seconds or make 
> another comprovation prior to fencing the offending node?
>
> Regards
>
> -- 
>
> 	
> *Angel Docampo
> *
> *Datalab Tecnologia, s.a.*
> Castillejos, 352 - 08025 Barcelona
> Tel. 93 476 69 14 - Ext: 706
> Mob. 670.299.381
>
>
> Nota Legal <http://www.dltec.net/aviso-legal>
>
> ------------------------------------------------------------------------
> _______________________________________________
> pve-user mailing list
> pve-user at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user

-- 

	
*Angel Docampo
*
*Datalab Tecnologia, s.a.*
Castillejos, 352 - 08025 Barcelona
Tel. 93 476 69 14 - Ext: 706
Mob. 670.299.381

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.proxmox.com/pipermail/pve-user/attachments/20150119/e7ecd8d9/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 5898 bytes
Desc: not available
URL: <http://lists.proxmox.com/pipermail/pve-user/attachments/20150119/e7ecd8d9/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Logo-DLtec.png
Type: image/png
Size: 5898 bytes
Desc: not available
URL: <http://lists.proxmox.com/pipermail/pve-user/attachments/20150119/e7ecd8d9/attachment-0001.png>


More information about the pve-user mailing list