Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Now you can create your LVM volume. You do not need to use all of the disk, you just need to ensure that there will be at least 100GB left over after you've created the root (/) filesystem, and swap space. However, in this example I have selected 'Fill to maximum allowable size'.

...

...

HA Test 1-2015-05-12-10-21-21.pngImage Added

After you have created the Physical Volume, you then create the Volume Group that uses this Physical Volume.

...

Now create the / (root) filesystem, setting it to (at least) 40GB.

...

HA Test 1-2015-05-12-10-24-36.pngImage Added

You also need to create a Swap volume. Set this to be 2 x the amount of RAM in your machine. 

...

You can now proceed through the rest of the installer. Note that selecting the defaults is usually correct

...

...

HA Test 1-2015-05-12-10-25-54.pngImage Added

HA Test 1-2015-05-12-10-26-06.pngImage Added

Note that the install will pause at this point, and is to be expected

...

You can now perform the application settings to finalize the required packages. After logging into the machine, you need to enable the 'ha' repository. Copy and paste the following line into a root login on the machine

Code Block
sed -i 's/enabled=0/enabled=1/' /etc/yum.repos.d/FreePBX.repo

That enables the High Availability repository, and allows the packages to be installed.

Code Block
yum install drbd kmod-drbd pacemaker cman pcs ccs resource-agents resource-agent-freepbx rseries

That command will then install all the additional packages required for HA. 

Code Block
[root@localhost ~]# yum install drbd kmod-drbd pacemaker cman pcs ccs resource-agents resource-agent-freepbx rseries
Loaded plugins: fastestmirror, kmod
Loading mirror speeds from cached hostfile
base                                                                                  | 2.0 kB     00:00
extras                                                                                | 1.3 kB     00:00
high-availability                                                                     | 1.3 kB     00:00
pbx                                                                                   | 1.3 kB     00:00
schmooze-commercial                                                                   | 1.3 kB     00:00
updates                                                                               | 1.3 kB     00:00
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package ccs.x86_64 0:0.16.2-69.el6_5.1 will be installed
---> Package cman.x86_64 0:3.0.12.1-59.el6_5.3 will be installed
--> Processing Dependency: clusterlib = 3.0.12.1-59.el6_5.3 for package: cman-3.0.12.1-59.el6_5.3.x86_64
--> Processing Dependency: ricci >= 0.15.0-4 for package: cman-3.0.12.1-59.el6_5.3.x86_64
--> Processing Dependency: openais >= 1.1.1-1 for package: cman-3.0.12.1-59.el6_5.3.x86_64
--> Processing Dependency: modcluster >= 0.15.0-3 for package: cman-3.0.12.1-59.el6_5.3.x86_64

 .... several pages of output skipped ....
 
 sg3_utils                    x86_64       1.28-5.el6                        base                      471 k
 sg3_utils-libs               x86_64       1.28-5.el6                        base                       51 k
 yajl                         x86_64       1.0.7-3.el6                       base                       27 k
Transaction Summary
=============================================================================================================
Install      63 Package(s)
Total download size: 30 M
Installed size: 104 M
Is this ok [y/N]:

Select 'y' and let the extra packages install. 

When it's complete, you'll have something similar to this:

Code Block
  perl-TimeDate.noarch 1:1.16-11.1.el6                  pexpect.noarch 0:2.3-6.el6
  pyOpenSSL.x86_64 0:0.10-2.el6                         python-suds.noarch 0:0.4.1-3.el6
  ricci.x86_64 0:0.16.2-69.el6_5.1                      rpcbind.x86_64 0:0.2.0-11.el6
  samba-common.x86_64 0:3.6.9-169.el6_5                 samba-winbind.x86_64 0:3.6.9-169.el6_5
  samba-winbind-clients.x86_64 0:3.6.9-169.el6_5        sg3_utils.x86_64 0:1.28-5.el6
  sg3_utils-libs.x86_64 0:1.28-5.el6                    yajl.x86_64 0:1.0.7-3.el6
Complete!
[root@localhost ~]#

You must reboot at this point to ensure the correct kernel modules are loaded.

...

If you have followed these instructions, all the prerequisite checks will pass validation!.

...

...