ClusteringQuickInstallationGuide. forpacketfenceversion6.2.1

Size: px
Start display at page:

Download "ClusteringQuickInstallationGuide. forpacketfenceversion6.2.1"

Transcription

1 ClusteringQuickInstallationGuide forpacketfenceversion6.2.1

2 ClusteringQuickInstallationGuide byinverseinc. Version6.2.1-Jul2016 Copyright 2015Inverseinc. Permissionisgrantedtocopy,distributeand/ormodifythisdocumentunderthetermsoftheGNUFreeDocumentationLicense,Version 1.2oranylaterversionpublishedbytheFreeSoftwareFoundation;withnoInvariantSections,noFront-CoverTexts,andnoBack-Cover Texts.Acopyofthelicenseisincludedinthesectionentitled"GNUFreeDocumentationLicense". ThefontsusedinthisguidearelicensedundertheSILOpenFontLicense,Version1.1.ThislicenseisavailablewithaFAQat: scripts.sil.org/ofl Copyright ŁukaszDziedzic, Copyright RaphLevien,

3 TableofContents AboutthisGuide... 1 Assumptions...2 InstallationonCentOS Step1:Installthereplicateddatabase... 3 Step2:Serverconfiguration... 9 InstallationonCentOS Step1:Installthereplicateddatabase...11 Step2:Serverconfiguration Step3:Createanewcluster Step4:Connectaslavepacketfenceserver...22 Advancedconfiguration Removingaserverfromthecluster Resynchronizingtheconfigurationmanually Addingfilestothesynchronization...25 haproxydashboard...25 Unsupportedfeaturesinactive/active...26 Appendix SettingtheinterfacesnameonCentOS Copyright 2015Inverseinc. iii

4 Chapter1 AboutthisGuide Thisguidehasbeencreatedtogiveaquickstarttoinstallactive/activeclusteringinPacketFence 5+.Thisguidedoesnotincludeadvancedtroubleshootingoftheactive/activeclustering.Referto thedocumentationofhaproxyandkeepaliveforadvancedfeatures. Copyright 2015Inverseinc. AboutthisGuide 1

5 Chapter2 Assumptions YouhaveatleasttwoserverswithafreshinstallofPacketFence5+ Bothserversareidenticalcopiesforthenetworkinterfaces BothserversarerunningCentOS6or7 Bothservershaveaccesstothesamelayer2networkonalltheirnetworkinterfaces Bothservershaveanempty,unformattedpartitionforthedatabase BothservershostnamemustberesolvableviaaDNSresolution Copyright 2015Inverseinc. Assumptions 2

6 Chapter3 InstallationonCentOS6 Step1:Installthereplicateddatabase Note Inthisexample,thedatabaseisreplicatedinactive/passiveacrosstwoserversthatare partofthepacketfencecluster.active/activereplicationisalsopossibleusingmariadb Galeraclusterbutthissubjectisnotcoveredinthisguide. InstallingDRBD CreationoftheDRBDpartition DuringtheOSinstallation,reducethesizeofthemainpartitionandcreateanewone(thatwill beusedforthereplicatedmysqldatabase)of30g.donotcreatethatpartitionduringtheinstall process,wewilldoitlater. Partitioning Aftertheinstallation,youneedtocreatetheextrapartitionforDRBD.Usingfdisk,createyournew partitionandsavethetable.youwillprobablyneedtorebootyourserverafterthisstep. DRBDandLinux-HAInstallation AddtherepositoryELRepo. # yum localinstall EdittherepofiletodisableELRepobydefault: /etc/yum.repos.d/elrepo.repo Copyright 2015Inverseinc. InstallationonCentOS6 3

7 Chapter3 [elrepo] name=elrepo.org Community Enterprise Linux Repository - el6 baseurl= mirrorlist= enabled=0 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/rpm-gpg-key-elrepo.org protect=0 InstallnowthepackageDRBDv8.4enabling. yum install kmod-drbd84 --enablerepo=elrepo DRBDConfigurationandsetup Caution Initializing,configuringandtroubleshootingDRBDisnotstraightforward!Westrongly recommendthatyoureadtheonlinedocumentationavailablefromthedrbdwebsite soyouhaveabetterideaabouthowitworks. Hereweassumethenameofthepartitionismysql. LoadtheDRBDkernelmodule: modprobe drbd Edit/etc/drbd.d/global_common.confwiththefollowingcontent: global { usage-count yes; common { protocol C; startup { degr-wfc-timeout 120; syncer { rate 100M; al-extents 257; disk { on-io-error detach; Copyright 2015Inverseinc. InstallationonCentOS6 4

8 Chapter3 Createthefile/etc/drbd.d/mysql.reswiththefollowingcontent: resource mysql { on <pf1_server_name> { device /dev/drbd0; disk <storage_device>; meta-disk internal; address <ha_interface_ip_address_1>:7788; on <pf2_server_name> { device /dev/drbd0; disk <storage_device>; meta-disk internal; address <ha_interface_ip_address_2>:7788; handlers { split-brain "/usr/lib/drbd/notify-split-brain.sh alert@acme.com"; where: mysqlisthenameofthepartitionyoucreatedwheninstallingtheos pf1_server_nameandpf2_server_namebytherealservernames(fqdn) ha_interface_ip_address_1 and ha_interface_ip_address_2 by the IP addresses of the managementinterfaceonbothservers. storage_deviceisthedevicetouseforthemysqlpartition(ie./dev/sda2) Theninitializethepartition: [root@pf1 ~]# drbdadm create-md mysql Writing meta data... initializing activity log NOT initialized bitmap New drbd meta data block successfully created. success StartDRBDonbothservers: # /etc/init.d/drbd start Youshouldseesomethingsimilartothiswhentypingcat/proc/drbd:... 0: cs:connected ro:secondary/secondary ds:inconsistent/inconsistent C r---- ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos: Note Ifyougetconnectivityissuesmakesureyouriptablesaredisabled. Copyright 2015Inverseinc. InstallationonCentOS6 5

9 Chapter3 Synchronizetheserversbyforcingonetobecometheprimary.Soonpf1do: # drbdadm primary --force mysql Afterissuingthiscommand,theinitialfullsynchronizationwillstart.Youwillbeabletomonitorits progressvia/proc/drbd.itmaytakesometimedependingonthesizeofthedevice.waituntil itcompletes. Whenthesynciscomplete,createthefilesystemontheprimarynodeonly: # mkfs.ext4 /dev/drbd0 MakesureDRBDisstartedatboottime: # chkconfig --level 2345 drbd on Restartbothservers. Whendone,lookin/proc/drbdandmakesureyousee:... 0: cs:connected ro:primary/secondary ds:uptodate/uptodate C r--- ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:0 MySQLConfiguration Firstyouneedtoensureitwillnotstartonboot: ```chkconfigmysqloff``` Note BydefaultMySQLputsitsdatain/var/lib/mysql.Inordertoreplicatedatabetween thetwoservers,wemountthedrbdpartitionunder/var/lib/mysql. WhenfirststartingMySQL,thepartitionmustbemounted. Inordertodoso: Onthemasterserver(theserveryouareworkingon),tellDRBDtobecometheprimarynodewith: # drbdadm primary mysql mysqlbeingthenameofthedrbdpartition. Thecommandcat /proc/drbdshoulddisplaysomethinglike:... 0: cs:connected ro:primary/secondary ds:uptodate/uptodate C r---- ns: nr:4448 dw: dr:10490 al:31 bm:14 lo:0 pe:0 ua:0 ap:0 ep:1 wo:d oos:0 Copyright 2015Inverseinc. InstallationonCentOS6 6

10 Chapter3 StopandbackuppreviousMySQLdata # service mysqld stop # mkdir /var/lib/mysql.bak # mv /var/lib/mysql/* /var/lib/mysql.bak/ Mountthepartitionwith: # mount /dev/drbd0 /var/lib/mysql StartMySQL # service mysqld start Executethesecureinstallationscriptinordertosettherootpassword,removethetestdatabases andanonymoususercreatedbydefault: # /usr/bin/mysql_secure_installation MakesureMySQLdoesnotstartatboottime: # chkconfig --level 2345 mysqld off Heartbeatconfiguration InstalltheEPELrepository # yum localinstall In/etc/yum.repos.d/epel.repo,disabletherepository [epel] name=extra Packages for Enterprise Linux 6 - $basearch #baseurl= mirrorlist= failovermethod=priority enabled=0 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/rpm-gpg-key-epel-6 NowinstallHeartbeat # yum install heartbeat --enablerepo=epel Create/etc/ha.d/ha.cfwiththefollowingcontent: Copyright 2015Inverseinc. InstallationonCentOS6 7

11 Chapter3 bcast eth0 keepalive 2 warntime 30 deadtime 60 auto_failback off initdead 120 node pf1.example.com node pf2.example.com use_logd yes logfile /var/log/ha-log HereweassumethattheconnectionfortheHeartbeatbetweenthe2serversisoneth0.Make sureyouchangepf1.example.comandpf2.example.comtothehostnamesofyourservers. Create/etc/ha.d/haresourceswiththefollowingcontent: pf1.example.com drbddisk::mysql Filesystem::/dev/drbd0::/var/lib/mysql::ext4 \ mysqld Asforthepreviousfile,makesuretoadjusthostname,inthiscasepf1.example.com,accordingly foreachservers. Create/etc/ha.d/authkeyswiththefollowingcontent(makesuretochangethehashforsecurity concerns): auth 1 1 sha1 10abf064f24a3e807dde7b945d f10777d andchangeitsrightslikethis: # chmod 600 /etc/ha.d/authkeys Changingthehashcanbeachievedbyrunningecho -n password sha1sum awk '{print $1', wherepasswordwouldbeapasswordofyourchoice. StartHeartbeat: Note Makesureudpport694isopened(throughiptables)onbothservers.Importantmainly ifanexistingiptablesconfigurationisinplaceontheserver.packetfencedoesallow itonit shigh-availabilityinterface. # service heartbeat start LookatHeartbeatlogfile/var/log/ha-logtomakesurethateverythingisfine. EnableHBautomaticstart # chkconfig --level 345 heartbeat on Copyright 2015Inverseinc. InstallationonCentOS6 8

12 Chapter3 MySQLnetworkconfiguration InorderforyourPacketFenceclustertocommunicateproperlywiththeMySQLdatabase,youneed tohavemysqlbindonthemanagementipaddress. AdjustyourMySQLconfigurationin/etc/my.cnfonbothserversandmakesurethebind_address lineis: bind_address=<management_ip_address> Step2:Serverconfiguration YouwillneedtoconfiguretheserversotheservicescanbindonIPaddressestheydon tcurrently haveconfigured.thisallowsfasterfailoveroftheservices. OnCentOS,addthefollowinglinein/etc/sysctl.confandthenreloadwithsysctl-p net.ipv4.ip_nonlocal_bind = 1 CreatethePEMthatcombinesthekeyandcertificateforthehttpservices.Adapttoyourown pathsifyouareusingdifferentcertificates. # cd /usr/local/pf/conf/ssl # cat server.key server.crt > server.pem MySQLconfiguration InorderforPacketFencetocommunicateproperlywithyourMySQLcluster,youneedtochange thefollowing. Inconf/pf.conf: [database] host= [monitoring] db_host= Inconf/pfconfig.conf: [mysql] host= Copyright 2015Inverseinc. InstallationonCentOS6 9

13 Chapter3 MakesureyourestartMySQL,packetfence-configandpacketfence # service mysqld restart # service packetfence-config restart # service packetfence restart Next,youneedtoremovetheemptyusersfromyourMySQLdatabase # mysql mysql> delete from mysql.user where user = '' ; mysql> flush privileges; Copyright 2015Inverseinc. InstallationonCentOS6 10

14 Chapter4 InstallationonCentOS7 Firstmakesurethatyousystemiscorrectlyconfiguredandup-to-date # yum update /etc/hostsmustcontain: ha_interface_ip_address_1 pf1_server_name ha_interface_ip_address_2 pf2_server_name Sethostnameoneachserver: # hostnamectl set-hostname pf1_server_name # hostnamectl set-hostname pf2_server_name Disableselinux # setenforce 0 pf1_server_nameandpf2_server_namebytherealservernames(fqdn) ha_interface_ip_address_1 and ha_interface_ip_address_2 by the IP addresses of the managementinterfaceonbothservers. Step1:Installthereplicateddatabase Note Inthisexample,thedatabaseisreplicatedinactive/passiveacrosstwoserversthatare partofthepacketfencecluster.active/activereplicationisalsopossibleusingmariadb Galeraclusterbutthissubjectisnotcoveredinthisguide. Copyright 2015Inverseinc. InstallationonCentOS7 11

15 Chapter4 InstallingDRBD CreationoftheDRBDpartition DuringtheOSinstallation,reducethesizeofthemainpartitionandcreateanewone(thatwill beusedforthereplicatedmysqldatabase)of30g.donotcreatethatpartitionduringtheinstall process,wewilldoitlater. Partitioning Afterinstallation,youneedtocreatetheextrapartitionforDRBD.Usingfdisk,createyournew partitionandsavethetable.youwillprobablyneedtorebootyourserverafterthisstep. PacemakerandCorosyncinstallationandconfiguration Installpcs(pacemaker/corosync)configurationsystem # yum install -y pcs Firstyouneedtodisablefirewalldandreplaceitbyiptables # systemctl disable firewalld # yum install -y iptables-services # systemctl enable iptables.service # iptables -F # iptables -X # iptables -t nat -F # iptables -t nat -X # iptables -t mangle -F # iptables -t mangle -X # iptables -P INPUT ACCEPT # iptables -P FORWARD ACCEPT # iptables -P OUTPUT ACCEPT # service iptables save Nextyouneedtosetupapasswordforthepcsadministrationaccountnamedhacluster # echo "passwd" passwd hacluster --stdin Startandenabletheservice # systemctl start pcsd.service # systemctl enable pcsd.service Enablecorosyncandpacemaker Copyright 2015Inverseinc. InstallationonCentOS7 12

16 Chapter4 # systemctl enable corosync # systemctl enable pacemaker Createanewcluster: # pcs cluster auth ha_interface_ip_address_1 ha_interface_ip_address_2 -u hacluster -p passwd # pcs cluster setup --name mysql_cluster ha_interface_ip_address_1 ha_interface_ip_address_2 -u hacluster -p passwd # pcs cluster start --all DRBDConfigurationandsetup AddtherepositoryELREpo. # yum localinstall EdittherepofiletodisableELRepobydefault: /etc/yum.repos.d/elrepo.repo [elrepo] name=elrepo.org Community Enterprise Linux Repository - el7 baseurl= mirrorlist= enabled=0 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/rpm-gpg-key-elrepo.org protect=0 InstallnowthepackageDRBDv8.4enabling. # yum install kmod-drbd84 --enablerepo=elrepo Caution Initializing,configuringandtroubleshootingDRBDisnotstraightforward!Westrongly recommendthatyoureadtheonlinedocumentationavailablefromthedrbdwebsite soyouhaveabetterideaabouthowitworks. Hereweassumethenameofthepartitionismysql. LoadtheDRBDkernelmodule: Copyright 2015Inverseinc. InstallationonCentOS7 13

17 Chapter4 modprobe drbd Createthefile/etc/drbd.d/global_common.conf: cat << EOL >/etc/drbd.d/global_common.conf global { usage-count yes; common { protocol C; startup { degr-wfc-timeout 120; syncer { rate 100M; al-extents 257; EOL disk { on-io-error detach; Createthefile/etc/drbd.d/mysql.res: Copyright 2015Inverseinc. InstallationonCentOS7 14

18 Chapter4 cat << EOL >/etc/drbd.d/mysql.res resource mysql { protocol C; meta-disk internal; device /dev/drbd0; disk storage_device; handlers { split-brain "/usr/lib/drbd/notify-split-brain.sh root"; net { allow-two-primaries no; after-sb-0pri discard-zero-changes; after-sb-1pri discard-secondary; after-sb-2pri disconnect; rr-conflict disconnect; disk { on-io-error detach; syncer { verify-alg sha1; on pf1 { address ha_interface_ip_address_1:7789; on pf2 { address ha_interface_ip_address_2:7789; EOL where: ha_interface_ip_address_1 and ha_interface_ip_address_2 by the IP addresses of the managementinterfaceonbothservers. storage_deviceisthedevicetouseforthemysqlpartition(ie./dev/sda2) Theninitializethepartition: [root@pf1 ~]# drbdadm create-md mysql Writing meta data... initializing activity log NOT initialized bitmap New drbd meta data block successfully created. success StartDRBDonbothservers: # systemctl start drbd Youshouldseesomethingsimilartothiswhentypingcat/proc/drbd: Copyright 2015Inverseinc. InstallationonCentOS7 15

19 Chapter4... 0: cs:connected ro:secondary/secondary ds:inconsistent/inconsistent C r---- ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos: Note Ifyougetconnectivityissuesmakesureyouriptablesaredisabled. Synchronizetheserversbyforcingonetobecometheprimary.Soonpf1do: # drbdadm primary --force mysql Afterissuingthiscommand,theinitialfullsynchronizationwillstart.Youwillbeabletomonitorits progressvia/proc/drbd.itmaytakesometimedependingonthesizeofthedevice.waituntil itcompletes. Whenthesynciscomplete,createthefilesystemontheprimarynodeonly: # mkfs.ext4 /dev/drbd0 MakesureDRBDisstartedatboottime: # systemctl enable drbd Restartbothservers. Whendone,dodrbd-overviewandmakesureyousee:... 0:mysql/0 Connected Primary/Secondary UpToDate/UpToDate MariaDBConfiguration Firstyouneedtoensureitwillnotstartonboot: ```systemctldisablemariadb``` Note BydefaultMariaDBputsitsdatain/var/lib/mysql.Inordertoreplicatedatabetween thetwoservers,wemountthedrbdpartitionunder/var/lib/mysql. WhenfirststartingMariaDB,thepartitionmustbemounted. Inordertodoso: Onthemasterserver(theserveryouareworkingon),tellDRBDtobecometheprimarynodewith: # drbdadm primary mysql Copyright 2015Inverseinc. InstallationonCentOS7 16

20 Chapter4 mysqlbeingthenameofthedrbdpartition. Thecommandcat /proc/drbdshoulddisplaysomethinglike:... 0: cs:connected ro:primary/secondary ds:uptodate/uptodate C r---- ns: nr:4448 dw: dr:10490 al:31 bm:14 lo:0 pe:0 ua:0 ap:0 ep:1 wo:d oos:0 StopandbackuppreviousMariaDBdata # systemctl stop mariadb # mkdir /var/lib/mysql.bak # mv /var/lib/mysql/* /var/lib/mysql.bak/ Mountthepartitionwith: # mount /dev/drbd0 /var/lib/mysql StartMariaDB # systemctl start mariadb Executethesecureinstallationscriptinordertosettherootpassword,removethetestdatabases andanonymoususercreatedbydefault: # /usr/bin/mysql_secure_installation MakesureMariaDBdoesnotstartatboottime: # systemctl disable mariadb MariaDBnetworkconfiguration InorderforyourPacketFenceclustertocommunicateproperlywiththeMariaDBdatabase,you needtohavemariadbbindonthemanagementipaddress. AdjustyourMariaDBconfigurationin/etc/my.cnfonbothserversandmakesurethebind_address lineis: bind_address=<management_ip_address> Step2:Serverconfiguration You need to make sure the interfaces name will be the same on both servers. See Setting the interfacesnameoncentos7intheappendixsectionofthisdocument. Copyright 2015Inverseinc. InstallationonCentOS7 17

21 Chapter4 YouwillneedtoconfiguretheserversotheservicescanbindonIPaddressestheydon tcurrently haveconfigured.thisallowsfasterfailoveroftheservices. OnCentOS,addthefollowinglinein/etc/sysctl.confandthenreloadwithsysctl-p net.ipv4.ip_nonlocal_bind = 1 CreatethePEMthatcombinesthekeyandcertificateforthehttpservices.Adapttoyourown pathsifyouareusingdifferentcertificates. # cd /usr/local/pf/conf/ssl # cat server.key server.crt > server.pem Corosyncconfiguration # pcs cluster start --all # pcs cluster cib clust_cfg # pcs -f clust_cfg property set stonith-enabled=false # pcs -f clust_cfg property set no-quorum-policy=ignore # pcs -f clust_cfg resource defaults resource-stickiness=200 # pcs -f clust_cfg resource create DRBD ocf:linbit:drbd \ drbd_resource=mysql \ op monitor interval=30s # pcs -f clust_cfg resource master MySQLClone DRBD \ master-max=1 master-node-max=1 \ clone-max=2 clone-node-max=1 \ notify=true # pcs -f clust_cfg resource create DRBD_fs Filesystem \ device="/dev/drbd0" \ directory="/var/lib/mysql" \ fstype="ext4" # pcs -f clust_cfg constraint colocation add DRBD_fs with MySQLClone \ INFINITY with-rsc-role=master # pcs -f clust_cfg constraint order promote MySQLClone then start DRBD_fs Copyright 2015Inverseinc. InstallationonCentOS7 18

22 Chapter4 # pcs -f clust_cfg resource create MariaDB ocf:heartbeat:mysql \ binary="/usr/bin/mysqld_safe" \ config="/etc/my.cnf" \ datadir="/var/lib/mysql" \ pid="/var/lib/mysql/mariadb.pid" \ socket="/var/lib/mysql/mysql.sock" \ op start timeout=60s \ op stop timeout=60s \ op monitor interval=20s timeout=30s # pcs -f clust_cfg constraint colocation add MariaDB with DRBD_fs INFINITY # pcs -f clust_cfg constraint order DRBD_fs then MariaDB # pcs cluster cib-push clust_cfg # pcs status Checkthestatusofthecluster: # pcs status Thentryafailover: # pcs cluster standby pf1_server_name # pcs status ```Clustername:mysql_clusterLastupdated:TueApr1909:38:562016Lastchange:TueApr 19 09:38: by root via crm_attribute on pf1 Stack: corosync Current DC: pf2 (version el7_2.2-44eb2dd)-partitionwithquorum2nodesand4resourcesconfigured Nodepf1_server_name:standbyOnline:[pf2_server_name] Fulllistofresources: Master/Slave Set: MySQLClone [DRBD] Masters: [ pf2 ] Stopped: [ pf1 ] DRBD_fs (ocf::heartbeat:filesystem): Started pf2_server_name MariaDB (ocf::heartbeat:mysql): Started pf2_server_name PCSDStatus:pf1:Onlinepf2:Online DaemonStatus:corosync:active/disabledpacemaker:active/disabledpcsd:active/enabled``` # pcs cluster unstandby pf1_server_name Copyright 2015Inverseinc. InstallationonCentOS7 19

23 Chapter4 InorderforPacketFencetocommunicateproperlywithyourMySQLcluster,youneedtochange thefollowing. Inconf/pf.conf: [database] host= [monitoring] db_host= Inconf/pfconfig.conf: [mysql] host= MakesureyourestartMySQL,packetfence-configandpacketfence # systemctl restart mariadb # systemctl restart packetfence-config # systemctl restart packetfence Next,youneedtoremovetheemptyusersfromyourMySQLdatabase # mysql mysql> delete from mysql.user where user = '' ; mysql> flush privileges; Step3:Createanewcluster Inordertocreateanewcluster,theonlythingneededistoconfigure/usr/local/pf/conf/cluster.conf Youwillneedtoconfigureitwithyourserverhostname.Togetituse:hostnameinacommandline. Inthecaseofthisexampleitwillbepf1.example.com. TheCLUSTERsectionrepresentsthevirtualIPaddressesofyourclusterthatwillbesharedbyyour servers. Inthisexample,eth0isthemanagementinterface,eth1.2istheregistrationinterfaceandeth1.3 istheisolationinterface. Createaconfigurationsimilartothis: Copyright 2015Inverseinc. InstallationonCentOS7 20

24 Chapter4 [CLUSTER] management_ip= [CLUSTER interface eth0] ip= type=management,high-availability [CLUSTER interface eth1.2] ip= type=internal [CLUSTER interface eth1.3] ip= type=internal [pf1.example.com] management_ip= [pf1.example.com interface eth0] ip= type=management,high-availability mask= [pf1.example.com interface eth1.2] enforcement=vlan ip= type=internal mask= [pf1.example.com interface eth1.3] enforcement=vlan ip= type=internal mask= Oncethisconfigurationisdone,restartPacketFencetohaveitapplied.Ifdoneproperlythisshould starttwoadditionnalservices:haproxyandkeepalived YoushouldnowhaveserviceontheIPaddressesdefinedintheCLUSTERsections Additionnalsteps Itishighlyrecommendedtomodifythekeepalivesharedsecretinyourclustertopreventattacks. In the administration interface, go in Configuration/Clustering and change the Shared KEY. Make sureyourestartkeepaliveonyourserverusing/usr/local/pf/bin/pfcmd service keepalived restart Copyright 2015Inverseinc. InstallationonCentOS7 21

25 Chapter4 Step4:Connectaslavepacketfenceserver First,connecttheservertothedatabaseclusterusingtheinstructionsabove OnCentOS,addthefollowinglinein/etc/sysctl.confandthenreloadwithsysctl-p net.ipv4.ip_nonlocal_bind = 1 Gothroughtheconfiguratortosetuptheinterfacesandthenstop GetthewebservicesuserandpasswordonthemasternodeinConfiguration/WebServicesIfthere s none,settheuser,passwordandthenrestarthttpd.webservices Do(andmakesureitdoesitwithoutanyerrors): # /usr/local/pf/bin/cluster/sync --from= api-user=packet --apipassword=fence Where: isthemanagementIPoftheotherPacketFencenode packetisthewebservicesusernameonthemasternode fenceisthewebservicespasswordonthemasternode Edit/usr/local/pf/conf/cluster.confandcreatetheserver sconfigurationusingtheothernodeas anexample. Reloadtheconfiguationandstartthewebservicesonthenewserver # service packetfence-config restart # /usr/local/pf/bin/pfcmd configreload # /usr/local/pf/bin/pfcmd service haproxy restart # /usr/local/pf/bin/pfcmd service httpd.webservices restart Makesurethatthisserverisbindingtoit sownmanagementaddress.ifit snot,verifythe/usr/ local/pf/conf/cluster.confmanagementinterfaceconfiguration. # netstat -nlp grep 9090 Nowreplicatethisserverconfigurationtotheothernodesinthecluster # /usr/local/pf/bin/cluster/sync --as-master Makesureatleast/usr/local/pf/conf/cluster.confwasreplicatedtotheotherservers Copyright 2015Inverseinc. InstallationonCentOS7 22

26 Chapter4 Now restart packetfence on each cluster server keeping the new node as the last one to be restarted. Copyright 2015Inverseinc. InstallationonCentOS7 23

27 Chapter5 Advancedconfiguration Removingaserverfromthecluster Note RemovingaserverfromtheclusterrequiresarestartofthePacketFenceserviceon allnodes. First,youwillneedtostopPacketFenceonyourserverandputitoffline. # service packetfence stop # shutdown -h 0 Thenyouneedtoremovealltheconfigurationassociatedtotheserverfrom/usr/local/pf/conf/ cluster.confononeoftheremainingnodes.configurationforaserverisalwaysprefixedbythe server shostname. Once you have removed the configuration, you need to reload it and synchronize it with the remainingnodesinthecluster. # /usr/local/pf/bin/pfcmd configreload hard # /usr/local/pf/bin/cluster/sync --as-master NowrestartPacketFenceonalltheserverssothattheremovednodeisnotpartoftheclustering configuration. Resynchronizingtheconfigurationmanually Ifyoudidamanualchangeinaconfigurationfile,anadditionnalstepisnowneeded. Inordertobesuretheconfigurationisproperlysynchedonallnodes,youwillneedtoenterthis commandonthepreviouslyselectedmasternode. # /usr/local/pf/bin/cluster/sync --as-master Copyright 2015Inverseinc. Advancedconfiguration 24

28 Chapter5 Addingfilestothesynchronization Intheeventthatyoudomodificationstonon-synchronizedfileslikeswitchmodules,filesinraddb/, etc,youcanaddthosefilestobesynchronizedwhenusing/usr/local/pf/bin/cluster/sync. Ononeofthenodes,create/usr/local/pf/conf/cluster-files.txt Addtheadditionnalfilesoneperlineinthisfile.Weadviseyouaddthisfiletothesynchronization too. Example: /usr/local/pf/conf/cluster-files.txt /usr/local/pf/raddb/modules/mschap haproxydashboard Youhavethepossibilitytoconfigurethehaproxydashboardwhichwillgiveyoustatisticsaboutthe currentstateofyourcluster. Inordertoactiveituncommentthefollowinglinesfrom/usr/local/pf/conf/haproxy.conf listen stats %%active_active_ip%%:1025 mode http timeout connect 10s timeout client 1m timeout server 1m stats enable stats uri /stats stats realm HAProxy\ Statistics stats auth admin:packetfence Note Westronglyadviseyouchangetheusernameandpasswordtosomethingelsethan admin/packetfencealthoughaccesstothisdashboarddoesn tcompromisetheserver. Next,uncommentthefollowinglinefrom/usr/local/pf/conf/iptables.conf Caution Ifyou reupgradingfromaversionpriorto5.0,thelinemaynotbethere.additclose totheothermanagementrules Copyright 2015Inverseinc. Advancedconfiguration 25

29 Chapter5 -A input-management-if --protocol tcp --match tcp --dport jump ACCEPT Nowrestarthaproxyandiptablesinordertocompletetheconfiguration # /usr/local/pf/bin/pfcmd service haproxy restart # /usr/local/pf/bin/pfcmd service iptables restart YoushouldnowbeabletoconnecttothedashboardonthefollowingURL: stats Unsupportedfeaturesinactive/active Thefollowingfeaturesarenotsupportedwhenusingactive/activeclustering. SwitchesusingSNMPbasedenforcement(port-security,linkup/down, ) SNMProamingwiththeAerohivecontroller.(4.7+includessupportforaccountingroaming) Copyright 2015Inverseinc. Advancedconfiguration 26

30 Chapter6 Appendix SettingtheinterfacesnameonCentOS7 OnCentOS7youneedtomakesurethatalltheserversintheclusterusethesameinterfaces name.thissectioncovershowtosettheinterfacestotheethxformat.notethatyoucansetitto theformatyoudesireaslongasthenamesarethesameonallservers. First,goin/etc/default/grubandaddnet.ifnames=0tothevariable:GRUB_CMDLINE_LINUX. GRUB_CMDLINE_LINUX="crashkernel=auto rd.lvm.lv=centos/root rd.lvm.lv=centos/swap rhgb quiet net.ifnames=0" ThenregeneratetheGRUBconfigurationbyexecutingthefollowingcommand: # grub2-mkconfig -o /boot/grub2/grub.cfg Then,renamethenetworkscriptofyourmanagementinterface(eno inthisexample)to beintheethxform(eth0inthisexample) # mv /etc/sysconfig/network-scripts/ifcfg-eno /etc/sysconfig/networkscripts/ifcfg-eth0 Andrenamethenameoftheinterfaceinthescript(makingsureyoureplaceeno andeth0 bytheappropriatevalues): # sed -i.bak "s/eno /eth0/g" /etc/sysconfig/network-scripts/ifcfg-eth0 Applythelasttwostepsforanyotherinterfaceyouhaveonyourserver.Keepinmind,youcan usethepacketfenceconfiguratortoreconfigurethemlateraslongasyourmanagementinterface iscorrectlyconfiguredandisaccessibleonyournetwork. Now,rebootyourserverandwhenitfinishesstarting,yourinterfacesnameshouldnowbeusing theformatethx Copyright 2015Inverseinc. Appendix 27

Clustering Quick Installation Guide. for PacketFence version 6.5.0

Clustering Quick Installation Guide. for PacketFence version 6.5.0 Clustering Quick Installation Guide for PacketFence version 6.5.0 Clustering Quick Installation Guide by Inverse Inc. Version 6.5.0 - Jan 2017 Copyright 2015 Inverse inc. Permission is granted to copy,

More information

Clustering Quick Installation Guide. for PacketFence version 7.0.0

Clustering Quick Installation Guide. for PacketFence version 7.0.0 Clustering Quick Installation Guide for PacketFence version 7.0.0 Clustering Quick Installation Guide by Inverse Inc. Version 7.0.0 - Apr 2017 Copyright 2015 Inverse inc. Permission is granted to copy,

More information

Clustering Quick Installation Guide. for PacketFence version 7.4.0

Clustering Quick Installation Guide. for PacketFence version 7.4.0 Clustering Quick Installation Guide for PacketFence version 7.4.0 Clustering Quick Installation Guide by Inverse Inc. Version 7.4.0 - Jan 2018 Copyright 2015 Inverse inc. Permission is granted to copy,

More information

============================================== ==============================================

============================================== ============================================== Elastix High Availability ( DRBD + Heartbeat ) ============================================== this is How to configure Documentation :) ============================================== Before we Start :

More information

Building Elastix-1.3 High Availability Clusters with Redfone fonebridge2, DRBD and Heartbeat

Building Elastix-1.3 High Availability Clusters with Redfone fonebridge2, DRBD and Heartbeat Building Elastix-1.3 High Availability Clusters with Redfone fonebridge2, DRBD and Heartbeat Disclaimer DRBD and Heartbeat are not programs maintained or supported by Redfone Communications LLC. Do not

More information

HA NFS Cluster using Pacemaker and DRBD on RHEL/CentOS 7. Matt Kereczman Version 1.5,

HA NFS Cluster using Pacemaker and DRBD on RHEL/CentOS 7. Matt Kereczman Version 1.5, HA NFS Cluster using Pacemaker and DRBD on RHEL/CentOS 7 Matt Kereczman Version 1.5, 2018-02-26 Table of Contents 1. Abstract..............................................................................................

More information

LINBIT DRBD Proxy Configuration Guide on CentOS 6. Matt Kereczman 1.2,

LINBIT DRBD Proxy Configuration Guide on CentOS 6. Matt Kereczman 1.2, LINBIT DRBD Proxy 3.1.1 Configuration Guide on CentOS 6 Matt Kereczman 1.2, 2018-03-20 Table of Contents 1. About this guide.......................................................................................

More information

Clustering Quick Installation Guide. for PacketFence version 8.3.0

Clustering Quick Installation Guide. for PacketFence version 8.3.0 Clustering Quick Installation Guide for PacketFence version 8.3.0 Clustering Quick Installation Guide by Inverse Inc. Version 8.3.0 - Jan 2019 Copyright 2018 Inverse inc. Permission is granted to copy,

More information

Configuring Control Center 1.0.x for HA

Configuring Control Center 1.0.x for HA The Zenoss Enablement Series: Configuring Control Center 1.0.x for HA Document Version 500-P4 Zenoss, Inc. www.zenoss.com Copyright 2015-2016 Zenoss, Inc. 11305 Four Points Drive, Bldg. 1 - Suite 300,

More information

MySQL High Availability on the Pacemaker cluster stack. Brian Hellman, Florian Haas

MySQL High Availability on the Pacemaker cluster stack. Brian Hellman, Florian Haas MySQL High Availability on the Pacemaker cluster stack Brian Hellman, Florian Haas Table of Contents 1. Introduction...........................................................................................

More information

High Availability and Disaster Recovery

High Availability and Disaster Recovery High Availability and Disaster Recovery ScienceLogic version 8.4.0 rev 2 Table of Contents High Availability & Disaster Recovery Overview 4 Overview 4 Disaster Recovery 4 High Availability 4 Differences

More information

RuckusQuickInstallationGuide. forpacketfenceversion5.0.0

RuckusQuickInstallationGuide. forpacketfenceversion5.0.0 RuckusQuickInstallationGuide forpacketfenceversion5.0.0 RuckusQuickInstallationGuide byinverseinc. Version5.0.0-Mar2015 Copyright 2013Inverseinc. Permissionisgrantedtocopy,distributeand/ormodifythisdocumentunderthetermsoftheGNUFreeDocumentationLicense,Version

More information

Linux-HA Clustering, no SAN. Prof Joe R. Doupnik Ingotec, Univ of Oxford, MindworksUK

Linux-HA Clustering, no SAN. Prof Joe R. Doupnik Ingotec, Univ of Oxford, MindworksUK Linux-HA Clustering, no SAN Prof Joe R. Doupnik jrd@netlab1.oucs.ox.ac.uk Ingotec, Univ of Oxford, MindworksUK Ingotec offers IT to charities A charity is receiving a new server, having GroupWise, POSIX

More information

INUVIKA TECHNICAL GUIDE

INUVIKA TECHNICAL GUIDE Version 1.5 May 22, 2018 Passing on or copying of this document, use and communication of its content not permitted without Inuvika written approval PREFACE The purpose of this document is to provide a

More information

High-AvailabilityoVirt-

High-AvailabilityoVirt- High-AvailabilityoVirt- ClusterwithiSCSI-Storage Benjamin Alfery , Philipp Richter 1. Introduction... 1 1.1. Goal of this guide... 2 1.2. Limitations...

More information

RedHat Cluster (Pacemaker/Corosync)

RedHat Cluster (Pacemaker/Corosync) RedHat Cluster (Pacemaker/Corosync) Chapter 1:- Introduction and basic difference from previous RHEL cluster and latest RHEL Cluster. Red hat cluster allows you to configure and manage group of resources

More information

Highly available iscsi storage with DRBD and Pacemaker. Brian Hellman & Florian Haas Version 1.2

Highly available iscsi storage with DRBD and Pacemaker. Brian Hellman & Florian Haas Version 1.2 Highly available iscsi storage with DRBD and Pacemaker Brian Hellman & Florian Haas Version 1.2 Table of Contents 1. Introduction...........................................................................................

More information

MySQL High Availability and Geographical Disaster Recovery with Percona Replication Manager. Yves Trudeau November 2013

MySQL High Availability and Geographical Disaster Recovery with Percona Replication Manager. Yves Trudeau November 2013 MySQL High Availability and Geographical Disaster Recovery with Percona Replication Manager Yves Trudeau November 2013 Agenda Geo-DR problems and challenges Introduction to Corosync Introduction to Pacemaker

More information

The Zenoss Enablement Series:

The Zenoss Enablement Series: The Zenoss Enablement Series: Zenoss Service Dynamics Impact and Event Management on Red Hat Cluster Suite Configuration Guide Document Version 424-P1 Zenoss, Inc. www.zenoss.com Copyright 2013 Zenoss,

More information

Red Hat Enterprise Linux 7

Red Hat Enterprise Linux 7 Red Hat Enterprise Linux 7 High Availability Add-On Reference Reference Document for the High Availability Add-On for Red Hat Enterprise Linux 7 Last Updated: 2017-11-28 Red Hat Enterprise Linux 7 High

More information

Red Hat Enterprise Linux 7

Red Hat Enterprise Linux 7 Red Hat Enterprise Linux 7 High Availability Add-On Reference Reference Document for the High Availability Add-On for Red Hat Enterprise Linux 7 Last Updated: 2018-06-08 Red Hat Enterprise Linux 7 High

More information

Red Hat Enterprise Linux 7

Red Hat Enterprise Linux 7 Red Hat Enterprise Linux 7 High Availability Add-On Administration Configuring and Managing the High Availability Add-On Last Updated: 2018-02-08 Red Hat Enterprise Linux 7 High Availability Add-On Administration

More information

FTP server with PureFTPd, MariaDB and Virtual Users (incl. Quota and Bandwidth Management) on CentOS 7.2

FTP server with PureFTPd, MariaDB and Virtual Users (incl. Quota and Bandwidth Management) on CentOS 7.2 FTP server with PureFTPd, MariaDB and Virtual Users (incl. Quota and Bandwidth Management) on CentOS 7.2 This tutorial exists for these OS versions CentOS 7 CentOS 6.5 CentOS 6.4 CentOS 6.2 CentOS 5.3

More information

Installation Instructions for Xorcom TwinStar Plus Servers

Installation Instructions for Xorcom TwinStar Plus Servers Document version: 1.0 Overview Installation Instructions for Xorcom TwinStar Plus Servers This document describes the configuration process which must be performed at the customer site for pre-configured

More information

Resource Manager Collector RHCS Guide

Resource Manager Collector RHCS Guide The Zenoss Enablement Series: Resource Manager Collector RHCS Guide Document Version 424-D1 Zenoss, Inc. www.zenoss.com Copyright 2014 Zenoss, Inc., 275 West St., Suite 204, Annapolis, MD 21401, U.S.A.

More information

Trixbox High-Availability with fonebridge Tutorial

Trixbox High-Availability with fonebridge Tutorial Trixbox High-Availability with fonebridge Tutorial REDFONE Communications Table of Contents i Table of Contents 1 Introduction 1.1 Overview... 1 1.1.1 Core components & requirements... 1 1.1.2 Operational

More information

High-Availability Storage with GlusterFS on CentOS 7 - Mirror across two storage servers

High-Availability Storage with GlusterFS on CentOS 7 - Mirror across two storage servers High-Availability Storage with GlusterFS on CentOS 7 - Mirror across two storage servers This tutorial exists for these OS versions CentOS 6.3 CentOS 5.4 On this page 1 Preliminary Note 2 Enable additional

More information

Highly Available NFS Storage with DRBD and Pacemaker

Highly Available NFS Storage with DRBD and Pacemaker Florian Haas, Tanja Roth Highly Available NFS Storage with DRBD and Pacemaker SUSE Linux Enterprise High Availability Extension 11 SP4 October 04, 2017 www.suse.com This document describes how to set up

More information

Reference Design and How-To For

Reference Design and How-To For Reference Design and How-To For High Availability 2-Node XenServer Pool Provides Full Functionality with Live Migration Without External Shared Storage for HA-Lizard Version 1.3.1 1 P a g e The information

More information

Virtual Hosting With PureFTPd And MySQL (Incl. Quota And Bandwidth Management) On CentOS 6.4

Virtual Hosting With PureFTPd And MySQL (Incl. Quota And Bandwidth Management) On CentOS 6.4 Virtual Hosting With PureFTPd And MySQL (Incl. Quota And Bandwidth Management) On CentOS 6.4 Version 1.0 Author: Falko Timme Follow me on Twitter Last edited 03/22/2013 This

More information

Configuring a High Availability Database with QVD. QVD DOCUMENTATION

Configuring a High Availability Database with QVD. QVD DOCUMENTATION Configuring a High Availability Database with QVD QVD DOCUMENTATION September 20, 2018 Configuring a High Availability Database with QVD i Contents I Implementation 1 1 Prerequisites

More information

Red Hat Enterprise Linux 7

Red Hat Enterprise Linux 7 Red Hat Enterprise Linux 7 High Availability Add-On Overview Overview of the High Availability Add-On for Red Hat Enterprise Linux 7 Last Updated: 2018-02-08 Red Hat Enterprise Linux 7 High Availability

More information

Spacewalk. Installation Guide for CentOS 6.4

Spacewalk. Installation Guide for CentOS 6.4 Spacewalk Installation Guide for CentOS 6.4 Contents Spacewalk Overview... 3 Spacewalk Project Architecture... 3 System Prerequisites... 3 Installation... 4 Spacewalk Components... 4 Prerequisites Install

More information

iscsi-ha: High Availability 2-Node XenServer Pool How-To For use with XenServer and Xen Cloud Platform

iscsi-ha: High Availability 2-Node XenServer Pool How-To For use with XenServer and Xen Cloud Platform Reference Design and How-To For High Availability 2-Node XenServer Pool Provides Full Functionality with Live Migration Without External Shared Storage for HA-Lizard Version 1.3.7 1 P a g e The information

More information

Control Center Upgrade Guide

Control Center Upgrade Guide Control Center Upgrade Guide Release 1.3.2 Zenoss, Inc. www.zenoss.com Control Center Upgrade Guide Copyright 2017 Zenoss, Inc. All rights reserved. Zenoss and the Zenoss logo are trademarks or registered

More information

Spacewalk. Installation Guide RHEL 5.9

Spacewalk. Installation Guide RHEL 5.9 Spacewalk Installation Guide RHEL 5.9 Contents Spacewalk Overview... 3 Spacewalk Project Architecture... 3 System Prerequisites... 3 Installation... 4 Spacewalk Components... 4 Prerequisites Install for

More information

High Availability of IBM Security Directory Server using Heartbeat A highly available authentication system

High Availability of IBM Security Directory Server using Heartbeat A highly available authentication system High Availability of IBM Security Directory Server using Heartbeat A highly available authentication system Prabir Meher IBM India Software Lab, Pune 2014/02/20, 1.0 Abstract: The purpose of this article

More information

Getting Started with MySQL

Getting Started with MySQL A P P E N D I X B Getting Started with MySQL M ysql is probably the most popular open source database. It is available for Linux and you can download and install it on your Linux machine. The package is

More information

Load Balancing Bloxx Web Filter. Deployment Guide v Copyright Loadbalancer.org

Load Balancing Bloxx Web Filter. Deployment Guide v Copyright Loadbalancer.org Load Balancing Bloxx Web Filter Deployment Guide v1.3.5 Copyright Loadbalancer.org Table of Contents 1. About this Guide...4 2. Loadbalancer.org Appliances Supported...4 3. Loadbalancer.org Software Versions

More information

Highly Available NFS Storage with DRBD and Pacemaker

Highly Available NFS Storage with DRBD and Pacemaker Highly Available NFS Storage with DRBD and Pacemaker SUSE Linux Enterprise High Availability Extension 12 SP3 Tanja Roth and Thomas Schraitle This document describes how to set up highly available NFS

More information

Red Hat Enterprise Linux 6

Red Hat Enterprise Linux 6 Red Hat Enterprise Linux 6 Configuring the Red Hat High Availability Add- On with Pacemaker Reference Document for the High Availability Add-On for Red Hat Enterprise Linux 6 Last Updated: 2018-03-23 Red

More information

Configure Sensu and other Actions to Register Clients

Configure Sensu and other Actions to Register Clients Configure Sensu and other Actions to Register Clients Contents Introduction Prerequisites Requirements Components Used Background Information Configure Install Epel Repository Install Erlang Install Redis,

More information

SpycerBox High Availability Administration Supplement

SpycerBox High Availability Administration Supplement Supplement: High Availability (Version 1.0) SpycerBox High Availability Administration Supplement Supplement for the SpycerBox Ultra/Flex hardware guide: High Availability Document Version 1.0 Copyright

More information

Red Hat CloudForms 4.6

Red Hat CloudForms 4.6 Red Hat CloudForms 4.6 High Availability Guide Configuring and managing high availability in a Red Hat CloudForms environment Last Updated: 2018-05-23 Red Hat CloudForms 4.6 High Availability Guide Configuring

More information

Linux Administration

Linux Administration Linux Administration This course will cover all aspects of Linux Certification. At the end of the course delegates will have the skills required to administer a Linux System. It is designed for professionals

More information

HOW TO SECURELY CONFIGURE A LINUX HOST TO RUN CONTAINERS

HOW TO SECURELY CONFIGURE A LINUX HOST TO RUN CONTAINERS HOW TO SECURELY CONFIGURE A LINUX HOST TO RUN CONTAINERS How To Securely Configure a Linux Host to Run Containers To run containers securely, one must go through a multitude of steps to ensure that a)

More information

Using the MySQL Yum Repository

Using the MySQL Yum Repository Using the MySQL Yum Repository Abstract This document provides some basic instructions for using the MySQL Yum Repository to install and upgrade MySQL. It is excerpted from the MySQL 5.6 Reference Manual.

More information

HA for OpenStack: Connecting the dots

HA for OpenStack: Connecting the dots HA for OpenStack: Connecting the dots Raghavan Rags Srinivas Rackspace OpenStack Meetup, Washington DC on Jan. 23 rd 2013 Rags Solutions Architect at Rackspace for OpenStack-based Rackspace Private Cloud

More information

Install Apache, PHP And MySQL On CentOS 7 (LAMP)

Install Apache, PHP And MySQL On CentOS 7 (LAMP) Install Apache, PHP And MySQL On CentOS 7 (LAMP) Version 1.0 Authors: Till Brehm , Falko Timme Updates: Srijan Kishore Follow Howtoforge

More information

Load Balancing Web Proxies / Filters / Gateways. Deployment Guide v Copyright Loadbalancer.org

Load Balancing Web Proxies / Filters / Gateways. Deployment Guide v Copyright Loadbalancer.org Load Balancing Web Proxies / Filters / Gateways Deployment Guide v1.6.5 Copyright Loadbalancer.org Table of Contents 1. About this Guide...4 2. Loadbalancer.org Appliances Supported...4 3. Loadbalancer.org

More information

EX200 Q&A. DEMO Version

EX200 Q&A. DEMO Version Red Hat Certified System Administrator (RHCSA) Exam Q&A DEMO Version Copyright (c) 2015 Chinatag LLC. All rights reserved. Important Note Please Read Carefully For demonstration purpose only, this free

More information

EX200 EX200. Red Hat Certified System Administrator RHCSA

EX200 EX200. Red Hat Certified System Administrator RHCSA EX200 Number: EX200 Passing Score: 800 Time Limit: 120 min File Version: 14.0 http://www.gratisexam.com/ EX200 Red Hat Certified System Administrator RHCSA EX200 QUESTION 1 Configure your Host Name, IP

More information

SIOS Protection Suite for Linux: DataKeeper for Linux. Evaluation Guide

SIOS Protection Suite for Linux: DataKeeper for Linux. Evaluation Guide SIOS Protection Suite for Linux: DataKeeper for Linux This document and the information herein is the property of SIOS Technology Corp. Any unauthorized use and reproduction is prohibited. SIOS Technology

More information

Zenoss Resource Manager Upgrade Guide

Zenoss Resource Manager Upgrade Guide Zenoss Resource Manager Upgrade Guide Release 5.0.10 Zenoss, Inc. www.zenoss.com Zenoss Resource Manager Upgrade Guide Copyright 2016 Zenoss, Inc. All rights reserved. Zenoss and the Zenoss logo are trademarks

More information

Red Hat OpenStack Platform 10

Red Hat OpenStack Platform 10 Red Hat OpenStack Platform 10 High Availability for Compute Instances Configure High Availability for Compute Instances Last Updated: 2018-10-01 Red Hat OpenStack Platform 10 High Availability for Compute

More information

vrealize Operations Manager Load Balancing

vrealize Operations Manager Load Balancing vrealize Operations Manager Load Balancing Configuration Guide Version 6.x T E C H N I C A L W H I T E P A P E R A U G U S T 2 0 1 6 V E R S I O N 1. 2 Table of Contents Introduction... 4 Load Balancing

More information

CIT 668: System Architecture

CIT 668: System Architecture CIT 668: System Architecture Availability Topics 1. What is availability? 2. Measuring Availability 3. Failover 4. Failover Configurations 5. Linux HA Availability Availability is the ratio of the time

More information

Method of Procedure to Upgrade RMS OS to Red Hat Enterprise Linux 6.7

Method of Procedure to Upgrade RMS OS to Red Hat Enterprise Linux 6.7 First Published: November 20, 2015 Contents Scope of MOP... 4 Release Components... 4 Pre Requisites... 4 Assumptions... 4 Process Information... 5 Upgrade Timing... 5 Requirements... 5 Pre Maintenance...

More information

Easy PostgreSQL Clustering with Patroni. Ants Aasma

Easy PostgreSQL Clustering with Patroni. Ants Aasma Easy PostgreSQL Clustering with Patroni Introduction About me Support engineer at Cybertec Helping others run PostgreSQL for 5 years. Helping myself run PostgreSQL since 7.4 days. What are we going to

More information

Automated SAP HANA System Replication with Pacemaker on RHEL

Automated SAP HANA System Replication with Pacemaker on RHEL Automated SAP HANA System Replication with Pacemaker on RHEL Setup Guide Frank Danapfel (Red Hat) Dieter Thalmayr (Magnum Opus GmbH) Dieter Jäger (Magnum Opus GmbH) Version 1.2 June 2015 100 East Davie

More information

SIOS Protection Suite for Linux: Apache/MySQL. Evaluation Guide

SIOS Protection Suite for Linux: Apache/MySQL. Evaluation Guide : Apache/MySQL This document and the information herein is the property of SIOS Technology Corp. Any unauthorized use and reproduction is prohibited. SIOS Technology Corp. makes no warranties with respect

More information

What can you do with SQL Server on Linux?

What can you do with SQL Server on Linux? What can you do with SQL Server on Linux? S P O N S O R S P R E S E N T E R I N F O Rudi Bruchez rudi@babaluga.com www.babaluga.com SUPPORTED DISTRIBUTIONS Platform Supported version(s) Red Hat Enterprise

More information

PEN LOAD BALANCER WITH 2 NODES APACHE WEB SERVER

PEN LOAD BALANCER WITH 2 NODES APACHE WEB SERVER Alternate Titles: MYSQL SSL Encryption Based Replication Setup Author: Muhammad Zeeshan Bhatti [LPI, VCP-DCV5, OCP (DBA), MCSA, SUSE CLA, RHCSA-7] (http://zeeshanbhatti.com) (admin@zeeshanbhatti.com) PEN

More information

ExpressCluster for Linux Ver3.0

ExpressCluster for Linux Ver3.0 ExpressCluster for Linux Ver3.0 Web Manager 2004.10.22 2st Revision Revision History Revision Revision date Descriptions 1 2004/06/30 New manual 2 2004/10/22 3.3.1Overview of Tree View VxVM RAW was added.

More information

Load Balancing Microsoft OCS Deployment Guide v Copyright Loadbalancer.org

Load Balancing Microsoft OCS Deployment Guide v Copyright Loadbalancer.org Load Balancing Microsoft OCS 2007 Deployment Guide v1.5.2 Copyright Loadbalancer.org Table of Contents 1. About this Guide...3 2. Loadbalancer.org Appliances Supported...3 3. Loadbalancer.org Software

More information

Linux-HA Version 3. Open Source Data Center April 30 th, 2009

Linux-HA Version 3. Open Source Data Center April 30 th, 2009 MultiNET Services GmbH Linux-HA Version 3 Open Source Data Center April 30 th, 2009 Dr. Michael Schwartzkopff, MultiNET Services GmbH MultiNET Services GmbH, OSDC, 09/04/30: LinuxHAv2: page 1 Contents

More information

System Requirements ENTERPRISE

System Requirements ENTERPRISE System Requirements ENTERPRISE Hardware Prerequisites You must have a single bootstrap node, Mesos master nodes, and Mesos agent nodes. Bootstrap node 1 node with 2 cores, 16 GB RAM, 60 GB HDD. This is

More information

Offloading MySQL to Remote Server

Offloading MySQL to Remote Server Purpose This document is meant to show a step-by-step guide for offloading the MySQL services from the central server to an external, remote server. Target Audience This document is intended for use by

More information

vrealize Operations Manager Load Balancing

vrealize Operations Manager Load Balancing vrealize Operations Manager Load Balancing Configuration Guide Version 6.x T E C H N I C A L W H I T E P A P E R A P R I L 2 0 1 7 V E R S I O N 1. 5 Table of Contents Introduction... 5 Load Balancing

More information

RG-MACC-BASE_v2.01. Installation Guide

RG-MACC-BASE_v2.01. Installation Guide RG-MACC-BASE_v2.01 Preface Thank you for using our products. Audience This manual is intended for: Network engineers Technical support and servicing engineers Network administrators Symbols Important information.

More information

PKI Quick Installation Guide. for PacketFence version 7.4.0

PKI Quick Installation Guide. for PacketFence version 7.4.0 PKI Quick Installation Guide for PacketFence version 7.4.0 PKI Quick Installation Guide by Inverse Inc. Version 7.4.0 - Jan 2018 Copyright 2015 Inverse inc. Permission is granted to copy, distribute and/or

More information

Reference Design and How-To For

Reference Design and How-To For Reference Design and How-To For High Availability 2-Node XenServer Pool Provides Full Functionality with Live Migration Without External Shared Storage for HA-Lizard and XenServer 6.x Version 2.1 IMPORTANAT:

More information

Check the FQDN of your server by executing following two commands in the terminal.

Check the FQDN of your server by executing following two commands in the terminal. LDAP or Lightweight Directory Access Protocol, is a protocol designed to manage and access related information in a centralized, hierarchical file and directory structure. An LDAP server is a non-relational

More information

Red Hat Enterprise Linux 7

Red Hat Enterprise Linux 7 Red Hat Enterprise Linux 7 Load Balancer Administration Load Balancer for Red Hat Enterprise Linux Last Updated: 2017-11-22 Red Hat Enterprise Linux 7 Load Balancer Administration Load Balancer for Red

More information

CentOS 7 with MariaDB

CentOS 7 with MariaDB CentOS 7 with MariaDB OS Web Server and PHP MariaDB and Full Text Search Engine Other Middleware Middleware Setup and Configuration Database PHP NetCommons2 Before Install Preparation Installation Download

More information

Exploring History with Hawk

Exploring History with Hawk Exploring History with Hawk An Introduction to Cluster Forensics Kristoffer Grönlund High Availability Software Developer kgronlund@suse.com This tutorial High Availability in 5 minutes Introduction to

More information

Zenoss Core Upgrade Guide

Zenoss Core Upgrade Guide Release 5.1.9 Zenoss, Inc. www.zenoss.com Copyright 2016 Zenoss, Inc. All rights reserved. Zenoss and the Zenoss logo are trademarks or registered trademarks of Zenoss, Inc., in the United States and other

More information

Actual4Test. Actual4test - actual test exam dumps-pass for IT exams

Actual4Test.   Actual4test - actual test exam dumps-pass for IT exams Actual4Test http://www.actual4test.com Actual4test - actual test exam dumps-pass for IT exams Exam : RH-302 Title : Red Hat Certified Engineer on Redhat Enterprise Linux 5 (Labs) Vendors : RedHat Version

More information

ELASTIX HIGH AVAILABILITY (HA) MODULE

ELASTIX HIGH AVAILABILITY (HA) MODULE ELASTIX HIGH AVAILABILITY (HA) MODULE Authors: Alfio Muñoz, Alberto Santos Version: 1.1 Date: March 28, 2016 2016 PaloSanto Solutions All rights reserved. This documentation is public and its intellectual

More information

Installing HDF Services on an Existing HDP Cluster

Installing HDF Services on an Existing HDP Cluster 3 Installing HDF Services on an Existing HDP Cluster Date of Publish: 2018-08-13 http://docs.hortonworks.com Contents Upgrade Ambari and HDP...3 Installing Databases...3 Installing MySQL... 3 Configuring

More information

OpenNebula 4.8 Quickstart CentOS 6 and Xen

OpenNebula 4.8 Quickstart CentOS 6 and Xen OpenNebula 4.8 Quickstart CentOS 6 and Xen Release 4.8 OpenNebula Project August 12, 2014 CONTENTS 1 Package Layout 3 2 Step 1. Installation in the Frontend 5 2.1 1.1. Install the repo............................................

More information

EX200.redhat

EX200.redhat EX200.redhat Number: EX200 Passing Score: 800 Time Limit: 120 min Exam A QUESTION 1 Configure the verification mode of your host account and the password as LDAP. And it can login successfully through

More information

Load Balancing OKI DICOM-Embedded Printers. Deployment Guide v Copyright Loadbalancer.org

Load Balancing OKI DICOM-Embedded Printers. Deployment Guide v Copyright Loadbalancer.org Load Balancing OKI DICOM-Embedded Printers Deployment Guide v1.0.1 Copyright Loadbalancer.org Table of Contents 1. About this Guide...3 2. Loadbalancer.org Appliances Supported...3 3. Loadbalancer.org

More information

RG-MACC_2.0 Installation Manual

RG-MACC_2.0 Installation Manual RG-MACC_2.0 Installation Manual Ruijie Networks Co., Ltd all rights reserved 1 Copyright Clarify Copyright ownership belongs to Ruijie, shall not be reproduced, copied, or used in other ways without permission.

More information

Upgrading a HA System from to

Upgrading a HA System from to Upgrading a HA System from 6.12.65 to 10.13.66 Due to various kernel changes, this upgrade process may result in an unexpected restart of Asterisk. There will also be a short outage as you move the services

More information

Vendor: RedHat. Exam Code: EX200. Exam Name: Red Hat Certified System Administrator - RHCSA. Version: Demo

Vendor: RedHat. Exam Code: EX200. Exam Name: Red Hat Certified System Administrator - RHCSA. Version: Demo Vendor: RedHat Exam Code: EX200 Exam Name: Red Hat Certified System Administrator - RHCSA Version: Demo EX200 Exam A QUESTION NO: 1 CRECT TEXT Configure your Host Name, IP Address, Gateway and DNS. Host

More information

EX200.Lead2pass.Exam.24q. Exam Code: EX200. Exam Name: Red Hat Certified System Administrator RHCSA. Version 14.0

EX200.Lead2pass.Exam.24q. Exam Code: EX200. Exam Name: Red Hat Certified System Administrator RHCSA. Version 14.0 EX200.Lead2pass.Exam.24q Number: EX200 Passing Score: 800 Time Limit: 120 min File Version: 14.0 http://www.gratisexam.com/ Exam Code: EX200 Exam Name: Red Hat Certified System Administrator RHCSA Version

More information

Setting Up Identity Management

Setting Up Identity Management APPENDIX D Setting Up Identity Management To prepare for the RHCSA and RHCE exams, you need to use a server that provides Lightweight Directory Access Protocol (LDAP) and Kerberos services. The configuration

More information

Bacula Server Installation and Configuration on Centos 6.2

Bacula Server Installation and Configuration on Centos 6.2 Bacula Server Installation and Configuration on Centos 6.2 Author : Birjesh Kumar Categories : Backup Server, Backup tools, Linux Tools, Uncategorized Date : Apr 24, 2015 Facebook Twitter Google+ Gmail

More information

Part 1 : Getting Familiar with Linux. Hours. Part II : Administering Red Hat Enterprise Linux

Part 1 : Getting Familiar with Linux. Hours. Part II : Administering Red Hat Enterprise Linux Part 1 : Getting Familiar with Linux Chapter 1 : Getting started with Red Hat Enterprise Linux Chapter 2 Finding Your Way on the Command Line Hours Part II : Administering Red Hat Enterprise Linux Linux,

More information

ExpressCluster for Linux Version 3 Web Manager Reference. Revision 6us

ExpressCluster for Linux Version 3 Web Manager Reference. Revision 6us ExpressCluster for Linux Version 3 Web Manager Reference Revision 6us EXPRESSCLUSTER is a registered trademark of NEC Corporation. Linux is a trademark or registered trademark of Linus Torvalds in the

More information

Migrating to XtraDB Cluster 2014 Edition

Migrating to XtraDB Cluster 2014 Edition Migrating to XtraDB Cluster 2014 Edition Jay Janssen Managing Consultant Overview of XtraDB Cluster Percona Server + Galera Cluster of Innodb nodes Readable and Writable Virtually Synchronous All data

More information

Exam Questions RH302

Exam Questions RH302 Exam Questions RH302 Red Hat Certified Engineer on Redhat Enterprise Linux 5 (Labs) https://www.2passeasy.com/dumps/rh302/ 1.. CORRECT TEXT We are working on /data initially the size is 2GB. The /dev/test0/lvtestvolume

More information

Configure HOSTNAME by adding the hostname to the file /etc/sysconfig/network. Do the same to all the all nodes.

Configure HOSTNAME by adding the hostname to the file /etc/sysconfig/network. Do the same to all the all nodes. Network setup As the root user execute the command "ifconfig" on each host. Take a note of ipaddress's of all machines I have a home LAN so my addresses are class C which might be in the format 192.168.192.x.

More information

Seltestengine EX200 24q

Seltestengine EX200 24q Seltestengine EX200 24q Number: EX200 Passing Score: 800 Time Limit: 120 min File Version: 22.5 http://www.gratisexam.com/ Red Hat EX200 Red Hat Certified System AdministratorRHCSA Nicely written Questions

More information

EX200.exam.35q. Number: EX200 Passing Score: 800 Time Limit: 120 min. EX200. Red Hat Certified System Administrator RHCSA

EX200.exam.35q. Number: EX200 Passing Score: 800 Time Limit: 120 min.   EX200. Red Hat Certified System Administrator RHCSA EX200.exam.35q Number: EX200 Passing Score: 800 Time Limit: 120 min EX200 Red Hat Certified System Administrator RHCSA Exam A QUESTION 1 Configure the verification mode of your host account and the password

More information

mod_ssl.x86_64 1: el6.centos Complete! Start the Webserver service httpd start Starting httpd: [ OK ]

mod_ssl.x86_64 1: el6.centos Complete! Start the Webserver service httpd start Starting httpd: [ OK ] Total download size: 1.7 M Is this ok [y/n]: y Downloading Packages: Setting up and reading Presto delta metadata updates/prestodelta 210 kb 00:00 Processing delta metadata Download delta size: 525 k (1/4):

More information

Please choose the best answer. More than one answer might be true, but choose the one that is best.

Please choose the best answer. More than one answer might be true, but choose the one that is best. Introduction to Linux and Unix - endterm Please choose the best answer. More than one answer might be true, but choose the one that is best. SYSTEM STARTUP 1. A hard disk master boot record is located:

More information

Tungsten Dashboard for Clustering. Eric M. Stone, COO

Tungsten Dashboard for Clustering. Eric M. Stone, COO Tungsten Dashboard for Clustering Eric M. Stone, COO In this training session 1. Tungsten Dashboard Welcome 2. Tungsten Dashboard Overview 3. Tungsten Dashboard Prerequisites 4. Tungsten Dashboard Security

More information

Red Hat Quay 2.9 Deploy Red Hat Quay - Basic

Red Hat Quay 2.9 Deploy Red Hat Quay - Basic Red Hat Quay 2.9 Deploy Red Hat Quay - Basic Deploy Red Hat Quay Last Updated: 2018-09-14 Red Hat Quay 2.9 Deploy Red Hat Quay - Basic Deploy Red Hat Quay Legal Notice Copyright 2018 Red Hat, Inc. The

More information