Hi, > It's a boolean, so you can set it with e.g. network-fencing=1 or true.
Already tried, but it didn't worked. The resource was unable to start. Regards, Thomas -----Ursprüngliche Nachricht----- Von: Users <users-boun...@clusterlabs.org> Im Auftrag von Oyvind Albrigtsen Gesendet: Mittwoch, 21. November 2018 09:07 An: Cluster Labs - All topics related to open-source clustering welcomed <users@clusterlabs.org> Betreff: Re: [ClusterLabs] network fencing - azure arm On 21/11/18 07:57 +0100, Thomas Berreis wrote: >Hello, > > > >I have a question about stonith configuration within azure and I hope I'm >using the correct mailing list. > > > >I've installed two virtual machines with pacemaker 1.1.18, pcs 0.9.162 and >fence-agents-azure-arm 4.0.11.86. > >Now I'm unable to create a stonith configuration via pcs by using >network-fencing. Without network-fencing everything works fine. > > > >The following command is working as expected (without network-fencing): > ># pcs stonith create stonith.node1 fence_azure_arm login=$az_login >passwd=$az_passwd resourceGroup=$az_rg subscriptionId=$az_sid >tenantId=$az_tenant retry_on=0 pcmk_host_list=node1 > > > >If I add "network-fencing" to the list, pcs throws an error: > >Error: missing value of 'network-fencing' option It's a boolean, so you can set it with e.g. network-fencing=1 or true. > > > >I don't know what's wrong because network-fencing doesn't require any value. > ># fence_azure_arm -h | grep -A2 network-fencing > > --network-fencing Use network fencing. See NOTE-section of > > metadata for required Subnet/Network Security > > Group configuration. > > > >Also network-fencing="on", "true" or "0" wasn't working. If I use >fence_azure_arm with network-fencing option manually everything is working >as expected. > >Unfortunately this fence agent is very rare documented and I didn't found >any example for network-fencing. > > > >Thanks for your help! > > > >Best Regards, > >Thomas B. > >_______________________________________________ >Users mailing list: Users@clusterlabs.org >https://lists.clusterlabs.org/mailman/listinfo/users > >Project Home: http://www.clusterlabs.org >Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf >Bugs: http://bugs.clusterlabs.org _______________________________________________ Users mailing list: Users@clusterlabs.org https://lists.clusterlabs.org/mailman/listinfo/users Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org _______________________________________________ Users mailing list: Users@clusterlabs.org https://lists.clusterlabs.org/mailman/listinfo/users Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org