tech_note_-_quick_install_of_high_availability_add-on.pdf

(183 KB) Pobierz
T
ECH
N
OTE
=Quick=
Installation of Red Hat High Availability Add-On
Red Hat High Availability (HA) Add-On (née Cluster Suite) installs quickly using both CLI and
GUI (Conga) tasks. HA can be installed using only the command line, but the
luci
web
interface simplifies and visualizes the procedure and eliminates potential for error.
Before you begin...
Install Red Hat Enterprise Linux on each system to become a cluster node plus one system to become the
Conga management web app. Install RHEL 6.x using any supported method (DVD, kickstart, Satellite). As with other
critical add-on products, ensure that only a
Base
installation is used. During a manual DVD installation, for example, choose
the
Minimal
software set, then select to
Customize Now
on the software selection screen. On the
Next
screen, highlight
Base System
on the left, click the
Base
checkbox on the right, then press
Next
to continue the installation.
Additional operating system packages will be installed later, as dependencies to the Add-Ons being installed (e.g. NFS,
iSCSI, multipathing, fibre channel, python, volume management and advanced filesystems.) By installing only the Base
System, there can be no package or security conflicts prior to installing the High Availability and Resilient Storage Add-Ons.
Next, configure yum to point to the existing yum/kickstart server or subscribed RHN/Satellite server. Confirm that the
High
Availability
and
Resilient Storage
channels are configured, in addition to the
Red Hat Enterprise Linux
base channel.
1.
Install group packages for necessary cluster and cluster management software on cluster nodes. Install the necessary software
at one time and reboot. Repeat these commands on each cluster node. Wait for nodes to finish booting and become ready.
[root@nodeY ~]#
yum -y groupinstall "High Availability" "Resilient Storage"
[root@nodeY ~]#
echo redhat | passwd --stdin ricci
[root@nodeY ~]#
chkconfig ricci on; init 6
Best practice: Change the ricci password from 'redhat' to something more secure, as this example is for practice only.
2.
Install and configure the Conga management packages on the web administration node.
[root@node4 ~]#
yum -y install luci ccs
[root@node4 ~]#
chkconfig luci on; service luci start
[root@node4 ~]#
firefox https://node4.clusterX.example.com:8084 &
Log in as
student
with a password of
student.
Accept the Warning. Then log out of the interface without further action.
Log in as
root
with a password of
redhat.
Accept the Warning.
Click on the
Admin
link at top right. Select
student
from the
Select a User
drop-down. Check the
Can Create Clusters, Can
Import Existing Cluster
and
Luci Administrator
checkboxes. Click
Submit
to apply. Log out of the interface.
Log in again as
student.
Perform all remaining tasks as
student
using the newly assigned Administration roles.
3.
Using the luci web interface, build a new cluster. Navigate to the
Homebase
screen. Select the
Manage Clusters
link.
Click on
Create
to configure a new cluster. Fill in the fields with
only
these options set:
Cluster Name
clusterX
Use the Same Password for All Nodes
Yes
Download Packages
No
Use Locally Installed Packages
Yes
Reboot Nodes Before Joining Cluster
No
Enable Shared Storage Support
Yes
Node Names:
node1.private.clusterX.example.com
node2.private.clusterX.example.com
node3.private.clusterX.example.com
Password
redhat
Ricci Hostname
<same FQDN as Node Name>
Ricci Port
11111
Click
Create Cluster.
Wait patiently for the cluster to assemble and display in the
luci
web interface.
Quick install of HA Cluster Add-On
July 23, 2013
Page 1
Zgłoś jeśli naruszono regulamin