マネージメントサーバの記録は、
また後日
CentOS 6.0 を minimal でインストールしたサーバへCloudStackのAgentをインストール。
# tar zxf CloudStack-2.2.13-1-rhel6.0.tar.gz # cd CloudStack-2.2.13-1-rhel6.0 # ./install.sh
Welcome to the Cloud.com CloudStack Installer. What would you like to do?
M) Install the Management Server
A) Install the Agent
B) Install BareMetal Agent
S) Install the Usage Monitor
D) Install the database server
Q) Quit
> A
Package cairo-spice is obsoleted by spice-server, but obsoleting package does not provide for requirements
--> Finished Dependency Resolution
Error: Package: 2:qemu-kvm-0.12.1.2-3.113.el6.x86_64 (cloud-temp)
Requires: libspice-server.so.0()(64bit)
Error: Package: 2:qemu-kvm-0.12.1.2-3.113.el6.x86_64 (cloud-temp)
Requires: libcairo-spice.so.2()(64bit)
Available: cairo-spice-1.8.7.1-4.el6.x86_64 (base)
libcairo-spice.so.2()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Done
個別で qemu-kvm のパッケージをインストール
# yum install -y qemu-kvm
libvirtd が起動しない
cgconfig.conf に追加
group virt {
cpu {
cpu.shares = 9216;
}
}
ここでリブートしておく
# cloud-setup-agent
hosts にホスト名が書かれてなかったのでこけた
Checking hostname ... [Failed] Please edit /etc/hosts, add a Fully Qualified Domain Name as your hostname
hosts にホスト名を追加して再実行
これであとはマネージメントサーバで作っておいた zone 名やら pod 名を入力していくとおわり
Welcome to Cloud Agent Setup: Please input the Management Server Name/IP:[localhost]192.168.254.1 Please input the Zone Id:[default]zone Please input the Pod Id:[default]pod Please input the Cluster Id:[]cluster Please choose which network used to create VM:[cloudbr0] Starting to configure your system: Configure SElinux ... [OK] Configure Network ... [OK] Configure Libvirt ... [OK] Configure Firewall ... [OK] Configure cloudAgent ... [OK] Cloud Agent setup is Done!