How to setup redhat cluster




















On each node in the cluster, install the Red Hat High Availability Add-On software packages along with all available fence agents from the High Availability channel.

If you are running the firewalld daemon, execute the following commands to enable the ports that are required by the Red Hat High Availability Add-On. You can determine whether the firewalld daemon is installed on your system with the rpm -q firewalld command.

If the firewalld daemon is installed, you can determine whether it is running with the firewall-cmd --state command. In order to use pcs to configure the cluster and communicate among the nodes, you must set a password on each node for the user ID hacluster , which is the pcs administration account.

For instructions on starting cluster software on a node, refer to Section 6. Configuring Red Hat Cluster software consists of using configuration tools to specify the relationship among the cluster components. Figure 1. The cluster nodes are connected to one or more fencing devices. Nodes can be grouped into a failover domain for a cluster service. The following cluster configuration tools are available with Red Hat Cluster:. Conga — This is a comprehensive user interface for installing, configuring, and managing Red Hat clusters, computers, and storage attached to clusters and computers.

Command line tools — This is a set of command line tools for configuring and managing a Red Hat cluster. A brief overview of each configuration tool is provided in the following sections:. Section 1. In addition, information about using Conga and system-config-cluster is provided in subsequent chapters of this document.

Information about the command line tools is available in the man pages for the tools. Similarly, if there is a database resource configured in the cluster, the database itself will not be backed up, while the database resource configuration CIB will be. Use the following command to restore the cluster configuration files on all nodes from the backup. If you do not specify a file name, the standard input will be used. Specifying the --local option restores only the files on the current node.

If the firewalld daemon is installed, you can determine whether it is running with the firewall-cmd --state command. The following table shows the ports to enable for the Red Hat High Availability Add-On and provides an explanation for what the port is used for.

Default pcsd port required on all nodes needed by the pcsd Web UI and required for node-to-node communication. It is crucial to open port in such a way that pcs from any node can talk to all nodes in the cluster, including itself. When using the Booth cluster ticket manager or a quorum device you must open port on all related hosts, such as Booth arbiters or the quorum device host.

If a separate interface is used for cluster communication, the port only needs to be open on that interface. At a minimum, the port should open on Pacemaker Remote nodes to full cluster nodes. It is not necessary to open the port to any hosts other than nodes. Required on the quorum device host when using a quorum device with corosync-qnetd. The default value can be changed with the -p option of the corosync-qnetd command. Required on corosync nodes to facilitate communication between nodes.

It is crucial to open ports in such a way that corosync from any node can talk to all nodes in the cluster, including itself. Required to be open on all cluster nodes and booth arbitrator nodes to connections from any of those same nodes when the Booth ticket manager is used to establish a multi-site cluster. Chapter 4. In this example, the nodes used are z1.

Network switches for the private network. We recommend but do not require a private network for communication among the cluster nodes and other cluster hardware such as network power switches and Fibre Channel switches.

A fencing device for each node of the cluster. This example uses two ports of the APC power switch with a host name of zapc. Procedure On each node in the cluster, enable the repository for high availability that corresponds to your system architecture.

Installing the pcp-zeroconf package recommended. Procedure To install the pcp-zeroconf package, run the following command. I have many interfaces bond0. The solution need support vlan. I thought use contrackd. Can you help me or suggest. Vinicius — Brazil. I need some help for setting up a cluster for Postgesql.

I have 2 nodes RHEL 6. Services running on Node 1. If I disconnect the Network Service of Node1, the services do not shift to node2. Can you please help me with this. I mean is this possible and if yes then how? I am not able to understand why is this happening. Am I doing something wrong….

Please help. Hi, I am new to Linux, as per this document I tried to configure cluster environment locally. But when I tried to run the command CCS it is saying the command not found. As I checked in the packages this package is not available. Can you please let me know how to get the package. Please help out and do the needful. Could you please provide the pre-requisites and step by step instructions.

I gone through your material it was awesome i really appreciate to your patience and your giving good information and it should be clearly. This materials is most of helpful to me. Save my name, email, and website in this browser for the next time I comment. Notify me of followup comments via e-mail.

All rights reserved Terms of Service. In an active-standby Linux cluster configuration, all the critical services including IP, filesystem will failover from one node to another node in the cluster.



0コメント

  • 1000 / 1000