Skip to content

Commit be7febb

Browse files
authored
Update Pacemaker version check and commands
1 parent df9843d commit be7febb

1 file changed

Lines changed: 18 additions & 21 deletions

File tree

support/azure/virtual-machines/linux/troubleshoot-unexpected-node-reboots-pacemaker-rhel.md

Lines changed: 18 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -155,34 +155,31 @@ When there's an outage, like a Platform/Network interruption as discussed in [Sc
155155
### Resolution for scenario 4
156156
It's recommended to use `priority-fencing-delay` parameter, so only one VM should be acknowledged by the STONITH device.
157157
158-
> [!NOTE]
159-
> If the Pacmekaer version is less than `2.0.4-6.el8`, then add the parameter `pcmk_delay_max`, but if the version is higher, use `priority-fencing-delay` instead.
160-
> Check the installed Pacemaker version using the following command:
161-
> ```bash
162-
> sudo rpm -qa | grep pacemaker
163-
> ```
164158
165159
1. Set the cluster under maintenance-mode.
166-
167-
```bash
168-
sudo pcs property set maintenance-mode=true
169-
```
160+
```bash
161+
sudo pcs property set maintenance-mode=true
162+
```
170163
171164
2. Edit the cluster configuration.
165+
```bash
166+
sudo pcs configure edit
167+
```
172168
173-
```bash
174-
sudo pcs configure edit
175-
```
176-
3. Set the `priority-fencing-delay` parameter in the cluster configuration.
169+
3. If the Pacemaker version is less than `2.0.4-6.el8`, then add the parameter `pcmk_delay_max`:
170+
```bash
171+
sudo pcs property set pcmk_delay_max=15s
172+
```
177173
178-
```bash
179-
sudo pcs property set priority-fencing-delay=15s
180-
```
181-
4. Save the changes and remove the cluster out of maintenance-mode.
174+
* If the version is higher than `2.0.4-6.el8`, then use the parameter `priority-fencing-delay` instead:
175+
```bash
176+
sudo pcs property set priority-fencing-delay=15s
177+
```
182178
183-
```bash
184-
sudo pcs property set maintenance-mode=false
185-
```
179+
4. Save the changes and remove the cluster out of maintenance-mode.
180+
```bash
181+
sudo pcs property set maintenance-mode=false
182+
```
186183
187184
For more information refer to [SUSE - Create Azure Fence agent STONITH device](/azure/sap/workloads/high-availability-guide-suse-pacemaker?tabs=msi#use-an-azure-fence-agent-1).
188185

0 commit comments

Comments
 (0)