LoginSignup
13
12

More than 5 years have passed since last update.

【MySQL Cluster構築:1】準備編

Last updated at Posted at 2014-01-14

1.準備編 → 2.管理ノード編3.データー/SQLノード編

管理ノードとクラスタノードの用意

現時点で最新のMySQL Cluster 7.3.3をインストールする。
KVM上に3台仮想サーバーを用意する。

用途 ホスト名 OS IP CPU メモリ
管理ノード cent6-cluster-mgr CentOS 6.4 192.168.1.100 1 512MB
データー/SQLノードノード1 cent6-cluster-1 CentOS 6.4 192.168.1.101 1 512MB
データー/SQLノードノード2 cent6-cluster-2 CentOS 6.4 192.168.1.102 1 512MB

不要パッケージ削除

cent6-cluster-mgr/cent6-cluster-1/cent6-cluster-2で実施

CentOS6系にはいっているmysql-libsは5.1系のため一旦削除しておく。

shell
yum remove mysql-libs

依存関係で cronie cronie-anacron crontabs postfix が削除されるので注意

結果
Dependencies Resolved

================================================================================
 Package  Arch   Version         Repository                                Size
================================================================================
Removing:
 mysql-libs
          x86_64 5.1.66-2.el6_3  @anaconda-CentOS-201303050102.x86_64/6.4 4.0 M
Removing for dependencies:
 cronie   x86_64 1.4.4-7.el6     @anaconda-CentOS-201303050102.x86_64/6.4 166 k
 cronie-anacron
          x86_64 1.4.4-7.el6     @anaconda-CentOS-201303050102.x86_64/6.4  43 k
 crontabs noarch 1.10-33.el6     @anaconda-CentOS-201303050102.x86_64/6.4 2.4 k
 postfix  x86_64 2:2.6.6-2.2.el6_1
                                 @anaconda-CentOS-201303050102.x86_64/6.4 9.7 M

Transaction Summary
================================================================================
Remove        5 Package(s)

必須パッケージインストール

cent6-cluster-mgr/cent6-cluster-1/cent6-cluster-2で実施

shell
yum install libaio perl wget

管理/データー/SQLノードノードをインストール

cent6-cluster-mgrで実施

cent6-cluster-1/cent6-cluster-2で実施

管理/データー/SQLノードノードをインストール後に実施

cent6-cluster-mgr/cent6-cluster-1/cent6-cluster-2で実施

mysql-libsの依存関係で削除されたものを再度インストールする。
不要であればインストールする必要はない。

shell
yum install cronie cronie-anacron crontabs postfix
13
12
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
13
12