参考URL
http://download.cloud.com/releases/3.0.0/CloudStac...
# vi /etc/sysconfig/network
NETWORKING_IPV6=no
# vi /etc/modprobe.d/disable-ipv6.conf
options ipv6 disable=1
# vi /etc/hosts
xxx.xxx.xxx.xxx storage storage
# vi /etc/ntp.conf
server ntp.nict.jp server ntp.jst.mfeed.ad.jp
# /etc/init.d/ntpd start
# ntpq -p
remote refid st t when poll reach delay offset jitter ============================================================================== ntp-a3.nict.go. .NICT. 1 u 2 64 1 6.295 1180.15 0.000 ntp2.jst.mfeed. 210.173.160.86 2 u 1 64 1 5.595 1180.76 0.000
# chkconfig ntpd on
# mkdir -p /export/primary
# mkdir -p /export/secondary # vi /etc/exports
/export xxx.xxx.0.0/24(rw,sync,no_wdelay,no_root_squash,no_all_squash)
# exportfs -a
# /etc/init.d/rpcbind start
# /etc/init.d/nfs start
# chkconfig rpcbind on
# chkconfig nfs on
# vi /etc/my.cnf
[mysqld] character-set-server=utf8 innodb_rollback_on_timeout=1 innodb_lock_wait_timeout=350 log-bin=mysql-bin binlog-format='ROW'
# tar -xvf CloudStack-oss-3.0.2-1-rhel6.2.tar.gz
# cd CloudStack-oss-3.0.2-1-rhel6.2
# ./install.sh
Setting up the temporary repository... Cleaning Yum cache... Loaded plugins: fastestmirror Cleaning repos: base cloud-temp extras updates 6 metadata files removed Welcome to the CloudStack Installer. What would you like to do? NOTE: For installing KVM agent, please setup EPEL<http://fedoraproject.org/wiki/EPEL> yum repo first; For installing CloudStack on RHEL6.x, please setup distribution yum repo either from ISO or from your registeration account. 3.We detect you already have MySql server installed, you can bypass mysql install chapter in CloudStack installation guide. Or you can use E) to remove current mysql then re-run install.sh selecting D) to reinstall if you think existing MySql server has some trouble. For MySql downloaded from community, the script may not be able to detect it. M) Install the Management Server A) Install the Agent B) Install BareMetal Agent S) Install the Usage Monitor E) Remove the MySQL server (will not remove the MySQL databases) Q) Quit > Mインターネットに接続されて必要なパッケージをインストールされる
# cloud-setup-databases cloud:<dbpassword>@localhost --deploy-as=root:<password>
Mysql user name:cloud [ OK ] Mysql user password:<dbpassword> [ OK ] Mysql server ip:localhost [ OK ] Mysql server port:3306 [ OK ] Mysql root user name:root [ OK ] Mysql root user password:<password> [ OK ] Checking Cloud database files ... [ OK ] Checking local machine hostname ... [ OK ] Checking SELinux setup ... [ OK ] Detected local IP address as xxx.xxx.xxx.xxx, will use as cluster management server node IP[ OK ] Preparing /etc/cloud/management/db.properties [ OK ] Applying /usr/share/cloud/setup/create-database.sql [ OK ] Applying /usr/share/cloud/setup/create-schema.sql [ OK ] Applying /usr/share/cloud/setup/create-database-premium.sql [ OK ] Applying /usr/share/cloud/setup/create-schema-premium.sql [ OK ] Applying /usr/share/cloud/setup/server-setup.sql [ OK ] Applying /usr/share/cloud/setup/templates.sql [ OK ] Applying /usr/share/cloud/setup/create-index-fk.sql [ OK ] Processing encryption ... [ OK ] Finalizing setup ... [ OK ] CloudStack has successfully initialized database, you can check your database configuration in /etc/cloud/management/db.properties
# cloud-setup-management
Starting to configure CloudStack Management Server: Configure sudoers ... [OK] Configure Firewall ... [OK] Configure CloudStack Management Server ...[OK] CloudStack Management Server setup is Done!
# /usr/lib64/cloud/common/scripts/storage/secondary/cloud-install-sys-tmplt -m /export/secondary -u http://download.cloud.com/templates/acton/acton-sy... -h kvm -F
最新コメント