Difference between revisions of "CentOS 6.x apache cloudstack agent setup"

From Notes_Wiki
(Created page with "<yambe:breadcrumb>CentOS_6.x_cloudstack|CentOS 6.x cloudstack</yambe:breadcrumb> =CentOS 6.x apache cloudstack agent setup= For cloudstack agent setup to add another host to...")
 
m
Line 41: Line 41:
# Verify that kvm kernel module is loaded
# Verify that kvm kernel module is loaded
#:<pre>
#:<pre>
#: lsmod | grep kvm
#:: lsmod | grep kvm
#:</pre>
#:</pre>
# Add the host to existing cloudstack setup using admin login and web dashboard
# Add the host to existing cloudstack setup using admin login and web dashboard

Revision as of 06:37, 24 December 2017

<yambe:breadcrumb>CentOS_6.x_cloudstack|CentOS 6.x cloudstack</yambe:breadcrumb>

CentOS 6.x apache cloudstack agent setup

For cloudstack agent setup to add another host to existing cloudstack environment use:

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


Refer:


<yambe:breadcrumb>CentOS_6.x_cloudstack|CentOS 6.x cloudstack</yambe:breadcrumb>