SUSEHA配置手冊(20210516112321)_第1頁
SUSEHA配置手冊(20210516112321)_第2頁
SUSEHA配置手冊(20210516112321)_第3頁
SUSEHA配置手冊(20210516112321)_第4頁
SUSEHA配置手冊(20210516112321)_第5頁
已閱讀5頁,還剩25頁未讀 繼續(xù)免費閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)

文檔簡介

1、SUSE HA配置手冊1. SUSE HA軟件包安裝兩個節(jié)點均使用yast2安裝suse HA軟件包(需要額外HACD與SUSE 11SP3的系統(tǒng)ISO).30/25YnST2-OX*普 Installed Add-on ProductsAdd-on ProduceSUSE Linux Enterprise High Avaiiabiliry Extension 11 SP3 iso7/PI3f=SLE-HA-n-SP3-xe6 64-Gh牛CD2 iso&ur=nie冷ape”Vendor SUSE LINUX Fioducts GmbH. Nuernberg, GermanyVersion

2、: 11 3-1 69Reposrtory URL: iso /iso=SLE-HA-11 -SP3-x86j64-GM-CD2 iso&uri=1ile7/sapcdRun soihvaie Mat LocatiCancelRepository Alias: SUSE-Linux-Enterpnse-High-Avanabiirtz-Extension 11 -SP3_11 3 3-1 69DeleteHelp2.初始化配置集群執(zhí)行yast2 cluster初始化配程集群X DesktopYaST2 Redundant Channel ntBind Network Addressm 巧| B

3、ackChannelBind Network/Address|l0 2 10 07 Auto Generate Node IDHelpCluster - Communication ChannelsTransportMulticast Address%Unexpected ClickX1225002You clicked the right mouse button where a left-click was expected Switch left and right mouse buttonsMultic a$t Port5405| Q Cancel 11 |no | .3 Member

4、 Addressr (I I *ng modeNode IDsapnode! XAdd I I DflEdit I Agd D赴Edit I 血咖劇 o LocationjGenerate Pre-Shared-KeysTurn csync2 OFF1 L&eati拷貝配置文件到右點2scp -rp /etc/corosync/corosync.conf sapprdap2:/etc/corosync/ 節(jié)點2執(zhí)行Chkconfig openais on rcopenais on 兩個節(jié)點執(zhí)行passwd hacluster3配置SDB7F x-ji I u yui ix o 丄 i y ou

5、i rxi low wi io - yud kuwul i oi im ijllp a m m v i i# so that the root cause of the issue will ge ACPI-DSDT=,-# Type:stnng(yes)# Default:# Skip doing a minimal preparation o-f the /usr/src/linux source t# that most header files can be directly included. set, /usr/s# will not be

6、touched.#SKI PRUNNI NG_KERNEL=,1#pvdriver do not change this commentINITRD_MODULES= xen-balloon virtio_nng vi rtio_net vi rtio vi rtio n-hcall xen-vmf xen-vmdq xen-plat-form-pci $INITRD_MODULES #pvdiveendA do not change this comment巾ODULES_LOADED_ON_BOOTi softdog|sapprdapl: -/Desktop # cat /etc/sysc

7、on-fig/kernel/etc/sysconfig/kernel中增加紅框中的行JIvyi MLJ22 I 02 I:-/Desktop # sbd d /dev/xvdi createj使用sbd命令創(chuàng)建sbd盤;IJI IJX-Z J -Z0 PI I J U ysapprdapl:-/Desktop # sbd -d /dev/xvdi create(sapprdapl:-/Desktop # cat /etc/sysconflg/sbd SBD_DEVrCE=H/dev/xvdi品DCIPTS二,.W11sapprdapl:-/Desktop # |J創(chuàng)建sbd文件4.配置HA資源

8、SBD-DEVICE=11/dev/xvdiH sbdZopts=h -W11 sapprdapl:-/Desktop # crm gui|執(zhí)行 crm_gui創(chuàng)建克隆資源組,SBDj PING0具體配豊如下圖:Show: List Mode 0RequiredID:SBD OptionalIDClass Provider TypeTemplate Descr應(yīng) r_sbd stonithexternal/sbdMeta Attributes Primitivep iniijID:r_sbdClass:stonithType:external/sbd非AddlEdit=Remove1 Canc

9、elRs.et妲QK雙擊配置之前創(chuàng)建好的sbd盤Show: List Mode vRequiredID:PINGl OptionalMeta AttributesPrimitiveIDClass ProviderType Template DescriptioUp_ping ocfpacemaker pingE1第 D.0WH11_ r rigMri 1 1 *ID:_pingClass:octProvider:pacemakerType:ping令A(yù)dd=Remove CancelReset繆QK指向網(wǎng)關(guān)創(chuàng)建資源組saprg并按順序配置各種SAP資源Description. saprg Ed

10、it Groupshow:List Mode CRequiredID:saprgl OptionalMeta Attributes PrimitiveIDClass Provider TypeTemsap vipvg.sap fs_ecp fs transocfocfocfocfID:sap_vipClass:ocfProvider:heartbeatType:IPaddi2heartbeat IPaddr2heartbeat LVMheartbeat Filesystemheartbeat Filesystem毋 Down令A(yù)dd亙 Edit=Remove CancelReset極K鼻 Ed

11、it GroupShow:List ModeRequiredID:saprgA Optional心 H R R R各資源的詳細屬性如下:康 Edit PrimitiveRequiredID-sap_vipClassPrwidei.Type:rerrpiat*?D OptionalDose riplionManages virtual IPv4 addresses Linux specific *ersion).Show:List Mode CMeta AUdbutesInstance Attributes Qpeiations Name alue1: .192.168 70 18JIIDNam

12、eValue:sap_vip-instance_atxributes-ip 中192.18.70 18This Linux-specinc resource manages IP alias IP addresses t can add 朋 IP alias, or remove one.in addition, it can implement Ciustei Alias ip functionality# AddEdit=RemoveO Cancel也QKEdit PnmiriveShov List ModeRoquirodIDMeta ArtiibutesIn stance Attrib

13、utesClassPiovidei.Type-T OptionalDescriptionManages me system mounts.(+ AM E 八 &mova pncel|換 K r5_ecpinstance_attfi Dutev device dece/dQWsnpvgecpIDName:WIUQResource script for Filesystem. It manages a Filesystem on a harAd storncj mediumLE需要提前在兩個肖點創(chuàng)建/etc/nfsexport目錄nfs_ip指向虛擬主機名.LiJ 11. _.1 kL11IEdi

14、t Primitive“匕Show List Mode 0Requirednrs sapmniClass:ocr4NamevalueVKcnentspec Optional11妙 DownDescriptionManages NFS exportshIDnfs.s apmnt- in$tance_attiibutescii e ntspecNameclientspecExportfs uses the expoitfs command to addrremove nfsValue4令3d可曰川1 ocf :heaitteat:lPaddf21 oct:heartbeatLVMH1 ocf: n

15、 earth eat Filesystem 1 ocr: n eaito eat Filesystem 1 ocf: h earth eat: Filesystem 1 ocf heartbeat nfsseivei ocf: health eate xpoitfsnave quorum S online (de) / onlinet Start Stop 總 Rgult b gmanup Resource0 % Clustera eapprdapi sapprdap2 p B Resourcesa* s:令 Cleai Mlgiate Constraintsa p Unmanage Reso

16、urce6 rrt Manage Resource2 nlvrxrrw-1 OCf68t C XpOltfSrunningonrsappraapll lsb:sapxpConnected to haciuswr127 0.0 1 (Simple Mode或者直接重啟主機4監(jiān)控V丄。0/2丄V人crm_monH J廣土 丄訝丄丄5夕VJL厶Last updated: Thu Sep 17 18:21:08 2015Last change: Wed Sep 16 21:43:54 2015 by hacluster via crm_re3ource on sapprdap2Stack: class

17、ic openais (with plugin)Current DC: sapprdapl - partition wich quorum Version: 1.1.9-2db99fl2 Modes confi-guMd, 3 expected votes13 Resources configured.Online: sapprdapl sapprdap2 Resource Group;sap_vip vg_sap fs_ecp fs_trans fs_ascssaprg(ocf:heartbeat:IPaddr2):(ocf: !heartiea匸江VM):Startmd(ocf;heart

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論