CentOS 6.x apache cloudstack agent setup
From Notes_Wiki
Home > CentOS > CentOS 6.x > Virtualization tools > Cloudstack > CentOS 6.x apache cloudstack agent setup
For cloudstack agent setup to add another host to existing cloudstack environment use:
- Configure network on host using /etc/sysconfig/network-scripts config files without depending on NetworkManager. The network should come up automatically on system boot.
- Set proper hostname in /etc/sysconfig/network. Also edit /etc/hosts and then do "service network resart".
- Disable SELinux
- Configure ntp client to synchronize system time with well known or internal time servers.
- Configure cloudstack package repository using:
- [cloudstack]
- name=cloudstack
- baseurl=http://cloudstack.apt-get.eu/centos/6/4.8/
- enabled=1
- gpgcheck=0
- Install agent using:
- yum -y install cloudstack-agent
- Edit '/etc/libvirt/qemu.conf' and ensure following line/configuration is present:
- vnc_listen=0.0.0.0
- Edit '/etc/libvirt/libvirtd.conf' and set
- listen_tls = 0
- listen_tcp = 1
- tcp_port = "16059"
- auth_tcp = "none"
- mdns_adv = 0
- Edit '/etc/sysconfig/libvirtd' and uncomment
- LIBVIRTD_ARGS="--listen"
- Restart libvirtd
- service libvirtd restart
- Verify that kvm kernel module is loaded
- lsmod | grep kvm
- Add the host to existing cloudstack setup using admin login and web dashboard
Refer:
Home > CentOS > CentOS 6.x > Virtualization tools > Cloudstack > CentOS 6.x apache cloudstack agent setup