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

From Notes_Wiki
m
m
 
Line 1: Line 1:
<yambe:breadcrumb>CentOS_6.x_cloudstack|CentOS 6.x cloudstack</yambe:breadcrumb>
[[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[Virtualization tools]] > [[CentOS 6.x cloudstack|Cloudstack]] > [[CentOS 6.x apache cloudstack agent setup]]
=CentOS 6.x apache cloudstack agent setup=


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




<yambe:breadcrumb>CentOS_6.x_cloudstack|CentOS 6.x cloudstack</yambe:breadcrumb>
[[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[Virtualization tools]] > [[CentOS 6.x cloudstack|Cloudstack]] > [[CentOS 6.x apache cloudstack agent setup]]

Latest revision as of 13:01, 24 August 2022

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:

  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:


Home > CentOS > CentOS 6.x > Virtualization tools > Cloudstack > CentOS 6.x apache cloudstack agent setup