Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:faq:materiel:cluster [27/09/2018 10:45] jdesouza [Checking the synchronization of cluster data] |
en:faq:materiel:cluster [04/01/2019 10:15] (current) jdesouza [FAQ : Cluster monitoring] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== FAQ : Cluster monitoring ====== | + | ====== Procedure: Cluster monitoring ====== |
===== Scope ===== | ===== Scope ===== | ||
Line 66: | Line 67: | ||
''# service drbdserv --full-restart'' | ''# service drbdserv --full-restart'' | ||
- | ===== VALIDATION OF THE CORRECT FUNCTIONING OF THE CLUSTER (COROSYNC) ===== | + | ===== Validation of the correct functioning of the cluster (Corosync) ===== |
- | To know the state of the services managed by the cluster via a terminal or by access ssh, use the command "crm status" | + | To know the state of the services managed by the cluster via a terminal or by access ssh, use the command ''crm status'' |
{{cluster_Image_4.png}} | {{cluster_Image_4.png}} | ||
Line 76: | Line 77: | ||
{{cluster_Image_5.png}} | {{cluster_Image_5.png}} | ||
- | ===== DESCRIPTION OF THE CONFIGURATION FILE ===== | + | ===== Description of the configuration file ===== |
+ | |||
+ | == The first block indicates the state of the cluster== | ||
- | The first block indicates the state of the cluster | ||
- | ============ | ||
Last updated: Sun Sep 23 08:21:21 2018 | Last updated: Sun Sep 23 08:21:21 2018 | ||
Line 96: | Line 97: | ||
11 Resources configured. | 11 Resources configured. | ||
- | The second block tells you which is the primary node, and where are the services: | + | == The second block tells you which is the primary node, and where are the services == |
- | ============ | ||
Online: [ dzacupsvr dzacupsvr2 ] | Online: [ dzacupsvr dzacupsvr2 ] | ||
Line 130: | Line 131: | ||
=> the 2 servers are "online", and each service is operational on the primary. | => the 2 servers are "online", and each service is operational on the primary. | ||
- | ===== VERIFYING THE CORRECT FUNCTIONING OF THE CLUSTER ===== | + | ===== Verifying the correct functioning of the cluster ===== |
See the cluster configuration, use the following command: | See the cluster configuration, use the following command: | ||
- | # crm configure show | + | ''# crm configure show'' |
- | Example of a configuration file of the Abidjan cluster: | + | __Example of a configuration file of the Abidjan cluster:__ |
{{cluster_Image_6.png}} | {{cluster_Image_6.png}} | ||
- | ===== COmmands FOR VERIFYING THE CORRECT FUNCTIONING OF THE CLUSTER ===== | + | ===== Commands for verifying the correct functioning of the cluster ===== |
- | for example « abjairsvr2 » | + | **for example « abjairsvr2 »** |
|DESIRED Action |SYSTEM Command| | |DESIRED Action |SYSTEM Command| | ||
Line 159: | Line 160: | ||
|Check that the configuration files are identical between the nodes of a server| crm cluster diff /etc/samba/smb.conf| | |Check that the configuration files are identical between the nodes of a server| crm cluster diff /etc/samba/smb.conf| | ||
- | ===== VERIFICATION OF CLUSTER MANAGEMENT TOOLS ===== | + | ===== Verification of cluster management tools ===== |
|DESIRED Action |SYSTEM Commands| | |DESIRED Action |SYSTEM Commands| |