Intel®RAID High Availability Solution for Red Hat* Linux Systems Best Practices White Paper Revision 1.
Revision History Intel®RAID High Availability Solution for Red Hat* Linux Systems White Paper Revision History Date January, 2014 ii Revision Number 1.0 Modifications Initial release. Intel Confidential Revision 1.
Intel®RAID High Availability Solution for Red Hat* Linux Systems White Paper Disclaimers Disclaimers INFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH INTEL PRODUCTS. NO LICENSE, EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, TO ANY INTELLECTUAL PROPERTY RIGHTS IS GRANTED BY THIS DOCUMENT.
Table of Contents Intel®RAID High Availability Solution for Red Hat* Linux Systems White Paper Table of Contents 1. Introduction ....................................................................................................................... 1 1.1 Background .................................................................................................................... 1 1.2 Requirements and Configuration Diagram ..................................................................... 1 2.
Intel®RAID High Availability Solution for Red Hat* Linux Systems White Paper List of Figures List of Figures Figure 1. Two Server and JBOD Configuration Diagram ............................................................. 2 Figure 2. Enter the BIOS Boot Manager and EFI Shell ................................................................ 3 Figure 3. Install the Release Package ......................................................................................... 4 Figure 4.
List of Figures Intel®RAID High Availability Solution for Red Hat* Linux Systems White Paper < This page intentionally left blank. > vi Intel Confidential Revision 1.
Intel®RAID High Availability Solution for Red Hat* Linux Systems White Paper Introduction 1. Introduction 1.1 Background The Intel® RAID High Availability (HA) Solution is designed for small-to-medium businesses, remote/branch offices or private cloud environments that need a high availability configuration of a server with local storage. This configuration of the Intel® RAID HA solution provides two servers, two hardware RAID controllers, and shared local storage with SAS disk drives.
Introduction Intel®RAID High Availability Solution for Red Hat* Linux Systems White Paper Figure 1. Two Server and JBOD Configuration Diagram 2 Intel Confidential Revision 1.
Intel®RAID High Availability Solution for Red Hat* Linux Systems White Paper Installation 2. Installation The installation process is detailed below. Some of these steps are performed using the server BIOS/UEFI utilities before the operating system is installed and some are performed using the operating system tools after the operating system is installed.
Installation Intel®RAID High Availability Solution for Red Hat* Linux Systems White Paper 2. Using the EFI Shell, navigate (using the “cd” command) to the folder named: ir3_2208-HADAS_FWPKG-v23.6.0-0086 Figure 3. Install the Release Package 3. Run the shell script named: UPDATE.NSH After the package completes its download, restart the server and repeat for the second server. 4 Intel Confidential Revision 1.
Intel®RAID High Availability Solution for Red Hat* Linux Systems White Paper 2.3 Installation Install and Update the HA RAID Controllers 1. To install the RAID controller HA key, shut down the server, remove the power cords, open the lid, and install the HA key onto the RAID controller. Figure 4. Install the RAID Controller HA Key 2. Repeat this process for both servers. 3. After each HA key has been installed on each of the RAID controllers in each of the servers, close the lid on the servers.
Installation 2.4 Intel®RAID High Availability Solution for Red Hat* Linux Systems White Paper Operating System Installation The operating system can be installed to drives connected to the raid controller, or to drives connected to the server board ports. In this example, Red Hat* Enterprise Linux is used.
Intel®RAID High Availability Solution for Red Hat* Linux Systems White Paper 2.5 Installation Network Configuration In this example, the server is configured with a static IP address. Each server should be configured with its own static IP address. The steps to configure the network for the first server are shown below. 1. Enter the command: cd /etc/sysconfig/network-scripts/ 2. Edit the file corresponding to your newly configured network using “vi” or your preferred text editor. Figure 5.
Installation Intel®RAID High Availability Solution for Red Hat* Linux Systems White Paper 5. Repeat steps above to assign a different IP address for other node in the HA cluster. 6. Edit the /etc/hosts file on each node to provide the IP address and its hostname. For example: The IP address of HA01.SH is 192.168.144.201. The IP address of HA02.SH is 192.168.144.202. 7. The Network Manager is not supported on cluster nodes and should be removed or disabled.
Intel®RAID High Availability Solution for Red Hat* Linux Systems White Paper 2.6 Installation Installation of Intel®HA RAID Drivers and Intel®RAID Web Console 2 So that each node in the cluster that will be created can access the shared JBOD storage, the Intel® ir3 2208 HA RAID drivers must be installed into each node of the cluster. If this driver has been loaded during Linux OS installation, the following steps 1 to 4 can be ignored. 1.
Installation Intel®RAID High Availability Solution for Red Hat* Linux Systems White Paper 5. Install the Intel® RAID Web Console 2 on one node in the cluster. Then create the shared RAID volumes for cluster with this tool. For installation details, refer to the Intel® RAID High Availability Storage User Guide at http://www.intel.com/support/motherboards/server/sb/CS-034613.htm. 10 Intel Confidential Revision 1.
Intel®RAID High Availability Solution for Red Hat* Linux Systems White Paper 2.7 Installation Installation of HA Cluster Packages To install the Linux HA cluster system, the following packages are needed: rgmanager rgmanager is the Resource Group (Service) Manager. It controls starting, stopping, migrating, relocating, and recovering services with the HA cluster. lvm2-cluster The lvm2-cluster package contains support for Logical Volume Management (LVM) in a clustered environment.
Installation Intel®RAID High Availability Solution for Red Hat* Linux Systems White Paper baseurl=file:///media/CDROM/LoadBalancer enable=1 gpgcheck=0 [ScalableFileSystem] name=ScalableFileSystem baseurl=file:///media/CDROM/ScalableFileSystem enable=1 gpgcheck=0 [ResilientStorage] name=ResilientStorage baseurl=file:///media/CDROM/ResilientStorage enable=1 gpgcheck=0 3. Create a new folder CDROM in the folder /media and mount the Linux installation media to the folder /media/CDROM. 4.
Intel®RAID High Availability Solution for Red Hat* Linux Systems White Paper Installation 5. Answer “y” when prompted to confirm the package download size and when prompted to confirm the package signature information. Figure 8. Confirm the Package Download Size Figure 9. Confirm the Package Signature Information 6.
Installation Intel®RAID High Availability Solution for Red Hat* Linux Systems White Paper 7. The ricci and cman packages will be installed on each node automatically when the rgmanager package is installed. The CCS can be installed on any node to manage the whole HA cluster. Install the CCS with command: yum install ccs 8. Start the HA cluster services and configure the server to start on boot with the following commands: service rgmanager start service ricci start 14 Intel Confidential Revision 1.
Intel®RAID High Availability Solution for Red Hat* Linux Systems White Paper 2.8 Installation Firewall and SELinux Changes Firewall and SELinux settings should be updated on all nodes in an HA cluster to make sure that the network communication authority and security policies are proper. To support clustering, changes need to be made to the software firewall. These are described at the following link including the use of the “service iptables” and “chkconfig iptables” commands: https://access.redhat.
Installation 2.9 Intel®RAID High Availability Solution for Red Hat* Linux Systems White Paper Configure the HA Cluster There are multiple methods to configure the HA cluster, such as using command line, directly editing configuration files, and using a GUI. Configuring an HA cluster occurs on a single node and is then pushed to the remiaining nodes in the cluster. 2.9.1 Create an HA Cluster Perform the following steps to create the HA cluster with CCS command line: 1.
Intel®RAID High Availability Solution for Red Hat* Linux Systems White Paper Installation 2.9.2 Configure the Fence Devices Fencing is the process of locking resources away from a node whose status is uncertain. There are a variety of fencing techniques available: Power fencing – A fencing method that uses a power controller to power off an inoperable node. Fibre Channel switch fencing – A fencing method that disables the Fibre Channel port that connects storage to an inoperable node.
Installation Intel®RAID High Availability Solution for Red Hat* Linux Systems White Paper For example, add a method “fencemethod_ipmi” for both nodes: CCS –h HA02.SH –addmethod fencemethid_ipmi HA01.SH CCS –h HA02.SH –addmethod fencemethid_ipmi HA02.SH 5.
Intel®RAID High Availability Solution for Red Hat* Linux Systems White Paper Installation Failback – Allows you to specify whether a service in the failover domain should fail back to the node that it was originally running on before that node failed. Circumstances where a node repeatedly fails and is part of an ordered failover domain. To configure a failover domain, perform the following procedure: 1.
Installation Intel®RAID High Availability Solution for Red Hat* Linux Systems White Paper 2.9.5 Add a Cluster Service and Assign a Resource to the Service Add a service to the cluster with the following command: ccs -h HA02.SH --addservice web-service domain=example_01 name=webservice recovery=relocate Here web-service is service name, and example_01 is cluster failover domain name. Assign resources to the service with command –-addsubservice, for example: ccs -h HA02.
Intel®RAID High Availability Solution for Red Hat* Linux Systems White Paper Installation 2.9.7 Propagate the Configuration File to the Cluster Nodes After you have created or edited a cluster configuration file on one of the nodes in the cluster, you need to propagate that same file to all of the cluster nodes and activate the configuration. For example, propagate the cluster.conf file to all nodes in the cluster: ccs -h HA02.SH --sync --activate 2.9.
Reference Documents Intel®RAID High Availability Solution for Red Hat* Linux Systems White Paper Reference Documents R2312 Server 1 RS25SB008 http://ark.intel.com/products/65399 http://www.intel.com/content/www/us/en/servers/raid/raid-controllerrs25sb008.html ® Intel RAID High Availability Storage User Guide http://www.intel.com/support/motherboards/server/sb/CS-034613.htm AXXRPFKHA2 http://ark.intel.