Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:procedure:materiel:cluster [04/01/2019 10:28] jdesouza [CHECKING THE SYNCHRONIZATION OF CLUSTER DATA] |
en:procedure:materiel:cluster [04/01/2019 10:40] (current) jdesouza [Connection schema] |
||
---|---|---|---|
Line 23: | Line 23: | ||
//The 2 servers are connected to each other by a link allowing to have the servers in 2 different and distant technical premises to ensure the physical integrity of the equipment and the non-propagation of a physical damage on one of the two rooms.// | //The 2 servers are connected to each other by a link allowing to have the servers in 2 different and distant technical premises to ensure the physical integrity of the equipment and the non-propagation of a physical damage on one of the two rooms.// | ||
- | ===== CONNECTION SCHEMA ===== | + | ===== Connection schema ===== |
- | {{ObjectReplacements/Object 1}} | + | {{:faq:materiel:schema_raccordement.png?1000|}} |
===== Functioning of the cluster ===== | ===== Functioning of the cluster ===== | ||
Line 52: | Line 52: | ||
===== Checking the synchronization of cluster data ===== | ===== Checking the synchronization of cluster data ===== | ||
- | In a terminal or by ssh access on one of the cluster nodes use the "drbd-overview" command | + | In a terminal or by ssh access on one of the cluster nodes use the ''drbd-overview'' command |
{{cluster_Image_3.png}} | {{cluster_Image_3.png}} | ||
Line 64: | Line 64: | ||
''# 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 74: | Line 74: | ||
{{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** | ||
Line 94: | Line 93: | ||
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 126: | Line 123: | ||
clusterroute (ocf::heartbeat:Route): Started dzacupsvr | clusterroute (ocf::heartbeat:Route): Started dzacupsvr | ||
- | => 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 157: | Line 154: | ||
|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| |