100123SLES11HA.pptx

Similar documents
080528LinuxWorldXen入門

090220VTSystemDesign.ppt

PRIMEQUEST 1000シリーズ Linux設計ガイド

目次 1 はじめに 対象読者 想定するサーバ環境 注意事項 OS 環境の準備 CentOS 6.2 のインストールと初期設定 Thirdware Linux-HA クラスタスタックのインストール...2 RH

2 BIG-IP 800 LTM v HF2 V LTM L L L IP GUI VLAN.

ゼロからはじめるKVM超入門

HP StoreVirtual(LeftHand)

Ver. 3.8 Ver NOTE E v3 2.4GHz, 20M cache, 8.00GT/s QPI,, HT, 8C/16T 85W E v3 1.6GHz, 15M cache, 6.40GT/s QPI,,

3 検証結果 3.1 ソフトウェアのインストール Red Hat Enterprise Linux 5.7 は最小構成でインストールし 最新バージョンにアップデートした Thirdware Linux-HA を構成するパッケージ (DRBD Heartbeat Pacemaker) は LINBIT

Ver. 3.9 Ver E v3 2.4GHz, 20M cache, 8.00GT/s QPI,, HT, 8C/16T 85W E v3 1.6GHz, 15M cache, 6.40GT/s QPI,, HT,

P P P P P P P OS... P P P P P P

1996 Only One Technology NetJapan System Data Protection Solutions 2009 ActiveImage Protector ActiveImage Protector OS NetJapan System Protection Solu

Ver. 3.8 Ver NOTE E v3 2.4GHz, 20M cache, 8.00GT/s QPI,, HT, 8C/16T 85W E v3 1.6GHz, 15M cache, 6.40GT/s QPI,

VMware VirtualCenter: Virtual Infrastructure Management Software

ProLiant BL25p Generation 2システム構成図

Ver Ver NOTE E v3 2.4GHz, 20M cache, 8.00GT/s QPI,, HT, 8C/16T 85W E v3 1.6GHz, 15M cache, 6.40GT/s QPI

ProLiant BL35p システム構成図

Microsoft Word - nvsi_080177jp_trendmicro_bakbone.doc

1 / 1 idrac8 CPU 1 Intel Xeon E v5 Intel Pentium Intel Core i3 Intel Celeron Intel C236 Microsoft Windows Server 2008 R2 SP1 Microsoft Windows S

SRA OSS, Inc. ホワイトペーパー IBM Power Systems (Linux) における PaceMaker/DRBD/PostgreSQL/pgpool-II 動作検証 2011 年 10 月 1 日 SRA OSS,Inc. 日本支社 Copyright 2011SRA OSS

NEC Storage series NAS Device

untitled

Express5800/53Xg, Y53Xg インストレーションガイド(Windows編)

sg_lenovo_os.xlsx

Dell Red Hat OpenStack - Version Dell Inc.


システムユニット構成ツリーの見方

lenovo_ds4200_config.xlsx

SharePoint 2003 Performance White Paper

untitled

ETERNUS SF総合


Microsoft Word - nvsi_090192jp_r2_DELL_NX4.doc

sanboot-whitepaper.pdf

ProLiant BL460c システム構成図

Microsoft Word - HAクラスタ構築手順書.doc

94

HP ProLiant DL360 Gen9 ベンチマーク検証 結果報告書

ProLiant BL20p Generation 4 システム構成図

富士通社製サーバ『PRIMERGY RX200 S8』とHGST(旧Virident)社製ソフトウェア『FlashMAX Connect』の機能検証報告書

PRIMERGY TX120 S2 システム構成図 (2010年5月版) 樹系図

Ver. 3.7 Ver E v3 2.4GHz, 20M cache, 8.00GT/s QPI,, HT, 8C/16T 85W E v3 1.6GHz, 15M cache, 6.40GT/s QPI,, HT,

テクニカルガイド2001年04月

目次 1 はじめに 利用ソフトウェア 用語について 本書について SoftLayer 構成 構成図 OS/ ソフトウェア情報 SoftLayer 環境 SoftLayer 設定

設定手順

OVERVIEW ProLiant ML370(X2400, X2800, X3060, X3200) ProLiant ML370 A B D B C D B C 2 () (2 ) (1.6 ) 3.5 LED 48 IDE CD-ROM 5.25 Wide Ultra3/U

HAクラスタで PostgreSQLを高可用化 (後編) ~ レプリケーション編 ~

_‚Ofl¼

OVERVIEW ProLiant ML350 ProLiant ML350 Generation 4p A B 2 A B C D IDE CD-ROM 3.5 USB 6 PCI (PCI-X 4 PCI Express 2) Smart ProLiant M


HP Server tc2120 Microsoft Windows 2000 Server SP3 HP P

Microsoft Word - nvsi_050110jp_netvault_vtl_on_dothill_sannetII.doc

( ) istorage S

<Documents Title Here>

Cisco® ASA シリーズルーター向けDigiCert® 統合ガイド

Canon Industrial Imaging Platform Monitoring Edition 使用説明書

ProLiant DL380 SAN Storageモデル システム構成図

BMR for NVBU NIC bnx2.ko SVR/CLNT 上での SCSI megaraid_sas.ko 自動認識デバイス Partition 構成 (RHEL6.0 uefi/lvm 構成の場合 ) Partition1 /boot/efi EFI 200MB Partition2 /

Microsoft Word - qtsi_120246jp_rhev.doc

untitled

GA-1190J

ProLiant SL6000 Sclable System システム構成図

VNSTProductDes3.0-1_jp.pdf

HPE Moonshot System ~ビッグデータ分析&モバイルワークプレイスを新たなステージへ~

MENU 키를 누르면 아래의 화면이 나타납니다

OVERVIEW ProLiant DL380 ProLiant DL380(X3060) IDs 2-5 IDs 0-5 IDs 0 1 A 3.5 IDE CD-ROM B LED LED Wide Ultra3/Ultra320 C U 0

リング型IPカメラ監視ソリューション(マルチキャスト編)

Northern Lights Server

Xen入門 ppt

Xen入門 ppt

VNXe3100 ハードウェア情報ガイド

OVERVIEW ProLiant ML350 Generation 4 ProLiant ML IDE CD-ROM USB 6 4 () PCI (PCI-X 4 PCI-Express 2) ( ) A B C D C D 0 5 () N0 N3 () C D 2 (

Printer Driverセットアップ編

RouteMagic Controller RMC-MP200 / MP Version

Transcription:

SLES11 Xen +HA CEO miyahara@virtualtech.jp VirtualTech Japan Inc. VTJ 2006 12 14,250,000 1-1-10 CEO CTO 8 5.5 URL http://virtualtech.jp/ 2 1

P2V Xen 3 High Availability Extension SUSE Linux Enterprise 11HA High Availability OpenAIS DRBD OCFS2 GUI 2

Xen+DRBD HA OS OS DRBD OpenAIS Xen DRBD OpenAIS Xen OS:SUSE Linux Enerprise 11 SLES 11 Xen SUSE Linux Enterprise 11 High Availability Extension SLES 11 HAE HA/ / 3

HA 1. SLES 11 HAE 2. /etc/hosts 3. NTP 4. OpenAIS 5. DRBD 6. DRBD 7. vm 8. vm SLES 11 HAE 1. SLES 11 ISO 2. [YaST] [] [] 3. 4. [] 5. SLES 11 ISO 4

xen1 xen2 1. [YaST] [] [ ] 2. [] 3. IP 192.168.0.1 xen1.example.com xen1 192.168.0.2 xen2.example.com xen2 NTP xen1 1. [YaST] [] [NTP ] 2. NTP 3. [Undisciplined Local Clock(LOCAL)] 4. [] 5. [ ] [Stratum] 5 5

NTP xen2 1. [YaST] [] [NTP ] 2. NTP 3. [] [ ] xen1 OpenAIS xen1 1. [YaST] [ ] [] 2. [Communication Channel] Bind Network Address 192.168.0.0 Multicast Address 224.0.0.1 Multicast Port 5405 3. ID 1 4. rrp mode active 6

OpenAIS OpenAIS xen2 1. [YaST] [ ] [] 2. [Communication Channel] Bind Network Address 192.168.0.0 Multicast Address 224.0.0.1 Multicast Port 5405 3. ID 2 4. rrp mode passive 7

/ 1. 2. hacluster xen1# passwd hacluster xen2# passwd hacluster 3. xen1# service openais start xen2# service openais start 4. GUI xen1# crm_gui & 5. Connection Server:127.0.0.1 User Name hacluster Password GUI 8

1. [CRM Config] 2. [No Quorum Policy] [ignore] 3. [Stonith Enabled] STONITH(Shoot The Other Node In The Head) 9

DRBD [YaST] ]] [ ] LVM lv4drbd vmconfig vmimages /dev/lv4drbd/vmconfig 3GB /dev/lv4drbd/vmimages 40GB LVM 10

DRBD (vmconfig) [YaST] [ ] [Drbd] Add DRBDvmconfig Node 1 vmconfig Node 2 Name xen1 xen2 Address:Port 192.168.0.1:7789 192.168.0.2:7789 Device /dev/drbd0 /dev/drbd0 Disk /dev/lv4drbd/vmconfig /dev/lv4drbd/vmconfig Meta-disk internal internal Syncer Rate 500M(Advanced Config 250KB) DRBD (vmimages) DRBDvmimages Node 1 Node 2 vmimages Name xen1 xen2 Address:Port 192.168.0.1:7790 192.168.0.2:7790 Device /dev/drbd1 /dev/drbd1 Disk /dev/lv4drbd/vmimages /dev/lv4drbd/vmimages Meta-disk internal internal Syncer Rate 500M(Advanced Config 250KB) 11

DRBD (1) DRBD (2) 12

DRBD /DRBD 1. /etc/drbd.conf 2. 3. DRBD xen1# service drbd start xen2# service drbd start 4. xen1# drbdadm create-md vmconfig xen1# drbdadm create-md vmimages xen2# drbdadm create-md vmconfig xen2# drbdadm create-md vmimages DRBD 1. DRBD xen1# drbdadm -- --overwrite-data-of-peer primary all 2. DRBDUpToDate xen1# service drbd status xen2# service drbd status 3. /dev/drbd0 /dev/drbd1 xen1# mkfs t xfs /dev/drbd0 xen1# mkfs t xfs /dev/drbd1 4. /DRBD # service drbd stop 13

DRBD 1. CUI # crm config 2. DRBD 1 vmconfig primitive vmconfig ocf:heartbeat:drbd params drbd_resource=vmconfig op monitor role=master interval=60s timeout=30s op monitor role=slave interval=60s timeout=30s ms ms-vmconfig vmconfig meta clone-max=2 notify=true globally-unique=false target-role=stopped primitive fs-vmconfig ocf:heartbeat:filesystem params fstype=xfs directory=/etc/xen/vm device=/dev/drbd0 meta target-role=stopped order ms-vmconfig-before-fs-vmconfig mandatory: msvmconfig:promote fs-vmconfig:start colocation fs-vmconfig-on-ms-vmconfig inf: fs-vmconfig msvmconfig:master commit quit 14

vmimages primitive vmimages ocf:heartbeat:drbd params drbd_resource=vmimages op monitor role=master interval=60s timeout=30s op monitor role=slave interval=60s timeout=30s ms ms-vmimages vmimages meta clone-max=2 notify=true globally-unique=false target-role=stopped primitive fs-vmimages ocf:heartbeat:filesystem params fstype=xfs directory=/var/lib/xen/images device=/dev/drbd1 meta target-role=stopped order ms-vmimages-before-fs-vmimages mandatory: msvmimages:promote fs-vmimages:start colocation fs-vmimages-on-ms-vmimages inf: fs-vmimages msvmimages:master commit quit DRBD 1. GUI # crm_gui 2. Connection 3. DRBD 4. master 5. df /dev/drbd0 /etc/xen/vm /dev/drbd1 /var/lib/xen/images 15

1. [YaST] [ ] [] 2. sles11-ha OS:SLES11 Windows CUI # crm config sles11-ha 1 16

primitive sles11_ha ocf:heartbeat:xen params name="sles11- ha" xmfile="/etc/xen/vm/sles11-ha op monitor interval="10s op start interval="0s" timeout="30s op stop interval="0s" timeout="300s" colocation sles11_ha-with-fs-vmconfig inf: sles11_ha fsvmconfig order sles11_ha-after-fs-vmconfig inf: fs-vmconfig:start sles11_ha:start colocation sles11_ha-with-fs-vmimages inf: sles11_ha fsvmimages order sles11_ha-after-fs-vmimages inf: fs-vmimages:start sles11_ha:start commit quit HA 1. 2. /GUI 3. OFF 4. 17

75% GUI 100% GUI CUI http://virtualtech.jp/mailmagazine/ 18

37 38 19

SSD A. SSD B. SSD 40 20

TPC-B 41 TPC-B 42 21

SAS 2.5 36.4GB 15krpm 2 SSD Intel X25-E(SLC) 32GB 2 RAIDOff On/Off FC SAN HP MSA1000 SCSI 146GB 10krpm 14RAID 5 512MB Cache Off R50%/W50% Cache On R0%/W100% PostgreSQL 8.3.7 pgbench -c 20 -t 3000 20 1120 43 CPU 4% CPUCPU Opteron 8VM CPU68%4 Opteron 2435 (2.6GHz) Xeon X5570 (2.93GHz HT On) Xeon X5570 (2.93GHz HT Off) 8VM 1553.1 68.6% 2175.3 96.0% 2180.3* 96.2% 12VM 2265.4* 100% 2207.5 97.4% 2171.8 95.9% 16VM 2249.1 99.3% 2248.7* 99.3% 2166.8 95.6% 44 22

Opteron Xeon16%18% Hyper Threading (3.8%:9.4%) Opteron 2435 (2.6GHz) Xeon X5570 (2.93GHz HT On) Xeon X5570 (2.93GHz HT Off) 8VM 200W 87.3% 259W 113.1% 253W* 110.5% 12VM 229W* 100% 272W 118.8% 258W 112.7% 16VM 229W 100% 279W* 121.8% 255W 111.4% 45 23