CentOS 8.x Cloudstack 4.15 Setup Management server

From Notes_Wiki
Revision as of 03:50, 11 February 2021 by Saurabh (talk | contribs) (Created page with "<yambe:breadcrumb self="Setup management server">CentOS 8.x Cloudstack 4.15|Cloudstack 4.15</yambe:breadcrumb> =CentOS 8.x Cloudstack 4.15 Setup Management server= To setup C...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<yambe:breadcrumb self="Setup management server">CentOS 8.x Cloudstack 4.15|Cloudstack 4.15</yambe:breadcrumb>

CentOS 8.x Cloudstack 4.15 Setup Management server

To setup Cloudstack 4.15 management server use following steps:

  1. Initialize server using CentOS 8.x Cloudstack 4.15 Initialize infrastructure server
  2. Configure cloudstack repository by creating '/etc/yum.repos.d/cloudstack.repo'
    [cloudstack]
    name=cloudstack
    baseurl=http://download.cloudstack.org/centos/$releasever/4.15/
    enabled=1
    gpgcheck=0
  3. Install cloudstack-management package:
    dnf -y install cloudstack-management
  4. Initialize cloudstack DB using:
    cloudstack-setup-databases cloud:<clouduser-db-password>@<database-ip>:3306 --deploy-as=root:<rootuser-db-password> -i <management-server-ip>
  5. Persistently mount secondary storage (eg /mnt/secondary) on cloudstack management server using /etc/fstab. Refer CentOS 8.x Cloudstack 4.15 Setup NFS server
  6. Initialize Management Server using:
    cloudstack-setup-management
  7. Prepare the System VM Template for cloudstack 4.15 using:
    /usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-tmplt -m /mnt/secondary -u http://download.cloudstack.org/systemvm/4.15/systemvmtemplate-4.15.0-kvm.qcow2.bz2 -h kvm -F
    Here -m /mnt/secondary points to location of secondary storage mounted in previous steps
    Note that if version of cloudstack changes from 4.15 then above systemvm template URLs might also change.
  8. Check Management server status using:
    systemctl daemon-reload
    systemctl status cloudstack-management.service
  9. Setup at least one KVM host as described at CentOS 8.x Cloudstack 4.15 Setup KVM Host
  10. Access cloudstack management at port 8080 at URL /client such as http://<cloudstack-management-ip>:8080/client/
    Default username is admin and Default password is password



<yambe:breadcrumb self="Setup management server">CentOS 8.x Cloudstack 4.15|Cloudstack 4.15</yambe:breadcrumb>