Skip to content

Commit

Permalink
high-availability/installation-guide.markdown: Ran markdowner.py to r…
Browse files Browse the repository at this point in the history
…e-indent code blocks

With warnings fixed, the script can re-indent correctly.

Signed-off-by: Ole Herman Schumacher Elgesem <[email protected]>
  • Loading branch information
olehermanse committed Jan 15, 2024
1 parent d2b2984 commit 1468ca6
Showing 1 changed file with 34 additions and 34 deletions.
68 changes: 34 additions & 34 deletions examples/tutorials/high-availability/installation-guide.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -631,30 +631,30 @@ HA fencing guide](https://access.redhat.com/documentation/en-us/red_hat_enterpri
2. If ```crm_mon -Afr1``` is printing errors similar to the below
```command
pcs status
pcs status
```
```output
Cluster name: cfcluster
Last updated: Tue Jul 7 11:27:23 2015
Last change: Tue Jul 7 11:02:40 2015
Stack: cman
Current DC: node1 - partition with quorum
Version: 1.1.11-97629de
2 Nodes configured
3 Resources configured
Cluster name: cfcluster
Last updated: Tue Jul 7 11:27:23 2015
Last change: Tue Jul 7 11:02:40 2015
Stack: cman
Current DC: node1 - partition with quorum
Version: 1.1.11-97629de
2 Nodes configured
3 Resources configured
Online: [ node1 ]
OFFLINE: [ node2 ]
Online: [ node1 ]
OFFLINE: [ node2 ]
Full list of resources:
Full list of resources:
Resource Group: cfengine
cfvirtip (ocf::heartbeat:IPaddr2): Started node1
Master/Slave Set: mscfpgsql [cfpgsql]
Stopped: [ node1 node2 ]
Resource Group: cfengine
cfvirtip (ocf::heartbeat:IPaddr2): Started node1
Master/Slave Set: mscfpgsql [cfpgsql]
Stopped: [ node1 node2 ]
Failed actions:
cfpgsql_start_0 on node1 'unknown error' (1): call=13, status=complete, last-rc-change='Tue Jul 7 11:25:32 2015', queued=1ms, exec=137ms
Failed actions:
cfpgsql_start_0 on node1 'unknown error' (1): call=13, status=complete, last-rc-change='Tue Jul 7 11:25:32 2015', queued=1ms, exec=137ms
```
You can try to clear the errors by running ```pcs resource cleanup <resource-name>```. This should clean errors for the appropriate resource and make the cluster restart it.
Expand All @@ -669,25 +669,25 @@ HA fencing guide](https://access.redhat.com/documentation/en-us/red_hat_enterpri
pcs status
```
```output
Cluster name: cfcluster
Last updated: Tue Jul 7 11:29:36 2015
Last change: Tue Jul 7 11:29:08 2015
Stack: cman
Current DC: node1 - partition with quorum
Version: 1.1.11-97629de
2 Nodes configured
3 Resources configured
Cluster name: cfcluster
Last updated: Tue Jul 7 11:29:36 2015
Last change: Tue Jul 7 11:29:08 2015
Stack: cman
Current DC: node1 - partition with quorum
Version: 1.1.11-97629de
2 Nodes configured
3 Resources configured
Online: [ node1 ]
OFFLINE: [ node2 ]
Online: [ node1 ]
OFFLINE: [ node2 ]
Full list of resources:
Full list of resources:
Resource Group: cfengine
cfvirtip (ocf::heartbeat:IPaddr2): Started node1
Master/Slave Set: mscfpgsql [cfpgsql]
Masters: [ node1 ]
Stopped: [ node2 ]
Resource Group: cfengine
cfvirtip (ocf::heartbeat:IPaddr2): Started node1
Master/Slave Set: mscfpgsql [cfpgsql]
Masters: [ node1 ]
Stopped: [ node2 ]
```
3. After cluster crash make sure to always start the node that should be active first, and then the one that should be passive. If the cluster is not running on the given node after restart you can enable it by running the following command:
Expand Down

0 comments on commit 1468ca6

Please sign in to comment.