Questo contenuto non è disponibile nella lingua selezionata.
Appendix A. Upgrading From Red Hat Enterprise Linux 6 High Availability Add-On
This appendix provides an overview of upgrading Red Hat Enterprise Linux High Availability Add-On from release 6 to release 7.
A.1. Overview of Differences Between Releases
The Red Hat Enterprise Linux 7 High Availability Add-On introduces a new suite of technologies that underlie high-availability systems. These technologies are based on Pacemaker and Corosync and they replace the CMAN and RGManager technologies from previous releases of the High Availability Add-On. Below are some of the differences between the two releases. For a more comprehensive look at the differences between releases, see the appendix titled "Cluster Creation with rgmanager and with Pacemaker" from the Red Hat Enterprise Linux High Availability Add-On Reference.
- Configuration Files — Previously, cluster configuration was found in the
/etc/cluster/cluster.conf
file, while cluster configuration in release 7 is in/etc/corosync/corosync.conf
for membership and quorum configuration and/var/lib/pacemaker/cib/cib.xml
for cluster node and resource configuration. - Executable Files — Previously, cluster commands were in
ccs
by means of a command line,luci
for graphical configuration. In Red Hat Enterprise Linux 7 High Availability Add-On, configuration is done by means ofpcs
at the command line and thepcsd
Web UI configuration at the desktop. - Starting the Service — Previously, all services including those in High Availability Add-On were performed using the
service
command to start services and thechkconfig
command to configure services to start upon system boot. This had to be configured separately for all cluster services (rgmanager
,cman
, andricci
. For example:service rgmanager start chkconfig rgmanager on
For Red Hat Enterprise Linux 7 High Availability Add-On, thesystemctl
controls both manual startup and automated boot-time startup, and all cluster services are grouped in thepcsd.service
. For example:systemctl start pcsd.service systemctl enable pcsd.service pcs cluster start -all
- User Access — Previously, the root user or a user with proper permissions can access the
luci
configuration interface. All access requires thericci
password for the node.In Red Hat Enterprise Linux 7 High Availability Add-On, thepcsd
Web UI requires that you authenticate as userhacluster
, which is the common system user. Theroot
user can set the password forhacluster
. - Creating Clusters, Nodes and Resources — Previously, creation of nodes were performed with the
ccs
by means of a command line or withluci
graphical interface. Creation of a cluster and adding nodes is a separate process. For example, to create a cluster and add a node by means of the command line, perform the following:ccs -h node1.example.com --createcluster examplecluster ccs -h node1.example.com --addnode node2.example.com
In Red Hat Enterprise Linux 7 High Availability Add-On, adding of clusters, nodes, and resources are done by means ofpcs
at the command line, or thepcsd
Web UI. For example, to create a cluster by means of the command line, perform the following:pcs cluster setup examplecluster node1 node2 ...
- Cluster removal — Previously, administrators removed a cluster by deleting nodes manually from the
luci
interface or deleting thecluster.conf
file from each nodeIn Red Hat Enterprise Linux 7 High Availability Add-On, administrators can remove a cluster by issuing thepcs cluster destroy
command.