Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
TetraWiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
GSTN - ZIMBRA MAILBOX and MTA CLUSTER
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
= Pacemaker: Add Resource = == Set virtual IP address == === IPv4 Resource: === [root@gd9109 ~]# pcs resource create ClusterIP ocf:heartbeat:IPaddr2 ip=172.18.101.20 cidr_netmask=24 op monitor interval=30s === IPv6 Resource: === [root@gd9109 ~]# pcs resource create ClusterIPv6 ocf:heartbeat:IPaddr2 ip=2404:a800:1000:d:7800::14 cidr_netmask=69 op monitor interval=30s [[Image:ZIMBRAMTA3.png |top]] === Zimbra Service resource: === Copy attached zimbra resource script on both the server at “<span style="background-color:#ffffff;color:#000066;">/usr/lib/ocf/</span><span style="background-color:#fffec4;color:#000066;">resource</span><span style="background-color:#ffffff;color:#000066;">.d/heartbeat” </span><span style="background-color:#ffffff;color:#000000;">location.</span><span style="background-color:#ffffff;color:#000066;"> </span> Click on add resource and Select type as zimbra, name for the resource will be “Zimbra_Service” And optional Arguments should be like below, binary = zmcontrol zimbra_dir = /opt/zimbra zimbra_user = zimbra zimbra_group = zimbra After filling above information click on apply: [[Image:ZIMBRAMTA4.png |top]] === Zimbra backup Lun Resource: === [root@gd9109 ~]# pcs resource create fs_bkp Filesystem device="/dev/vg_bkp/Lv_bkp" directory="/zimbra_backup" fstype="ext4" [[Image:ZIMBRAMTA5.png |top]] == Install required packages on all Nodes. == [root@gd9109 ~]# yum -y install fence-agents-all lvm2-cluster gfs2-utils [root@gd9109 ~]# reboot == Add required resources. It's OK to set on a node. == [root@gd9109 ~]# pcs resource create dlm ocf:pacemaker:controld op monitor interval=30s on-fail=fence clone interleave=true ordered=true [root@gd9109 ~]# pcs resource create clvmd ocf:heartbeat:clvm op monitor interval=30s on-fail=fence clone interleave=true ordered=true [root@gd9109 ~]# pcs constraint order start dlm-clone then clvmd-clone [root@gd9109 ~]# pcs constraint colocation add clvmd-clone with dlm-clone
Summary:
Please note that all contributions to TetraWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
TetraWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)