0% found this document useful (0 votes)
21 views

Name

this reserch of how to create a pod host and cluster in apache cloudstack this psf also include kvm installation on apache cloudstack

Uploaded by

saim11backup
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views

Name

this reserch of how to create a pod host and cluster in apache cloudstack this psf also include kvm installation on apache cloudstack

Uploaded by

saim11backup
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 21

Name—Md Zareef saim

roll no – 61
reg no - 12219266
I have already given viva one day before ca because of going home .
kvm insallation-→
Creation of zone ,pod,cluster,
Kvm installation steps

mohammad@cloud:~/Desktop$ sudo su

[sudo] password for mohammad:

root@cloud:/home/mohammad/Desktop# sudo apt install qemu-kvm cloudstack-agent

Reading package lists... Done

Building dependency tree... Done

Reading state information... Done

Note, selecting 'qemu-system-x86' instead of 'qemu-kvm'

The following packages were automatically installed and are no longer required:

libopts25 sntp

Use 'sudo apt autoremove' to remove them.

The following additional packages will be installed:

aria2 cryptsetup cryptsetup-bin cryptsetup-initramfs dmeventd ebtables ipset

ipxe-qemu ipxe-qemu-256k-compat-efi-roms jq libaria2-0 libc-ares2 libcacard0

libdecor-0-0 libdecor-0-plugin-1-cairo libdevmapper-event1.02.1 libfdt1

libipset13 libjq1 liblvm2cmd2.03 libnss-mymachines libonig5 libsdl2-2.0-0

libslirp0 libspice-server1 libssh2-1 libtpms0 libusbredirparser1

libvirglrenderer1 libvirt-clients libvirt-daemon

libvirt-daemon-config-network libvirt-daemon-config-nwfilter

libvirt-daemon-driver-qemu libvirt-daemon-system

libvirt-daemon-system-systemd libvirt0 libxml2-utils lvm2 mdevctl ovmf

python3-libvirt qemu-system-common qemu-system-data qemu-system-gui seabios

swtpm swtpm-tools systemd-container thin-provisioning-tools vlan

Suggested packages:

gstreamer1.0-libav gstreamer1.0-plugins-ugly libvirt-login-shell

libvirt-daemon-driver-storage-gluster

libvirt-daemon-driver-storage-iscsi-direct libvirt-daemon-driver-storage-rbd

libvirt-daemon-driver-storage-zfs libvirt-daemon-driver-lxc

libvirt-daemon-driver-vbox libvirt-daemon-driver-xen numad auditd open-iscsi

pm-utils systemtap zfsutils samba vde2 trousers


The following NEW packages will be installed:

aria2 cloudstack-agent cryptsetup cryptsetup-bin cryptsetup-initramfs

dmeventd ebtables ipset ipxe-qemu ipxe-qemu-256k-compat-efi-roms jq

libaria2-0 libc-ares2 libcacard0 libdecor-0-0 libdecor-0-plugin-1-cairo

libdevmapper-event1.02.1 libfdt1 libipset13 libjq1 liblvm2cmd2.03

libnss-mymachines libonig5 libsdl2-2.0-0 libslirp0 libspice-server1

libssh2-1 libtpms0 libusbredirparser1 libvirglrenderer1 libvirt-clients

libvirt-daemon libvirt-daemon-config-network libvirt-daemon-config-nwfilter

libvirt-daemon-driver-qemu libvirt-daemon-system

libvirt-daemon-system-systemd libvirt0 libxml2-utils lvm2 mdevctl ovmf

python3-libvirt qemu-system-common qemu-system-data qemu-system-gui

qemu-system-x86 seabios swtpm swtpm-tools systemd-container

thin-provisioning-tools vlan

0 upgraded, 53 newly installed, 0 to remove and 2 not upgraded.

Need to get 124 MB of archives.

After this operation, 222 MB of additional disk space will be used.

Do you want to continue? [Y/n] y

Get:1 http://in.archive.ubuntu.com/ubuntu jammy/main amd64 libdevmapper-event1.02.1


amd64 2:1.02.175-2.1ubuntu4 [12.6 kB]

Get:2 https://download.cloudstack.org/ubuntu focal/4.18 all cloudstack-agent all 4.18.1.0 [89.3


MB]

Get:3 http://in.archive.ubuntu.com/ubuntu jammy/main amd64 liblvm2cmd2.03 amd64


2.03.11-2.1ubuntu4 [756 kB]

Get:4 http://in.archive.ubuntu.com/ubuntu jammy/main amd64 dmeventd amd64 2:1.02.175-


2.1ubuntu4 [38.4 kB]

Get:5 http://in.archive.ubuntu.com/ubuntu jammy/main amd64 lvm2 amd64 2.03.11-


2.1ubuntu4 [1,154 kB]

Get:6 http://in.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libc-ares2 amd64


1.18.1-1ubuntu0.22.04.3 [45.1 kB]

Get:7 http://in.archive.ubuntu.com/ubuntu jammy/universe amd64 libssh2-1 amd64 1.10.0-3


[109 kB]

Get:8 http://in.archive.ubuntu.com/ubuntu jammy/universe amd64 libaria2-0 amd64 1.36.0-1


[1,086 kB]
Get:9 http://in.archive.ubuntu.com/ubuntu jammy/universe amd64 aria2 amd64 1.36.0-1 [381
kB]

Get:10 http://in.archive.ubuntu.com/ubuntu jammy-updates/main amd64 cryptsetup-bin


amd64 2:2.4.3-1ubuntu1.2 [145 kB]

Ign:10 http://in.archive.ubuntu.com/ubuntu jammy-updates/main amd64 cryptsetup-bin


amd64 2:2.4.3-1ubuntu1.2

Get:11 http://in.archive.ubuntu.com/ubuntu jammy-updates/main amd64 cryptsetup amd64


2:2.4.3-1ubuntu1.2 [193 kB]

Get:12 http://in.archive.ubuntu.com/ubuntu jammy-updates/main amd64 cryptsetup-initramfs


all 2:2.4.3-1ubuntu1.2 [26.2 kB]

Get:13 http://in.archive.ubuntu.com/ubuntu jammy/main amd64 ebtables amd64 2.0.11-


4build2 [84.9 kB]

Get:14 http://in.archive.ubuntu.com/ubuntu jammy/main amd64 ipxe-qemu all 1.21.1+git-


20220113.fbbdc3926-0ubuntu1 [1,569 kB]

Get:15 http://in.archive.ubuntu.com/ubuntu jammy/main amd64 ipxe-qemu-256k-compat-efi-


roms all 1.0.0+git-20150424.a25a16d-0ubuntu4 [552 kB]

Get:16 http://in.archive.ubuntu.com/ubuntu jammy/main amd64 libonig5 amd64 6.9.7.1-


2build1 [172 kB]

Get:17 http://in.archive.ubuntu.com/ubuntu jammy/main amd64 libjq1 amd64 1.6-2.1ubuntu3


[133 kB]

Get:18 http://in.archive.ubuntu.com/ubuntu jammy/main amd64 jq amd64 1.6-2.1ubuntu3


[52.5 kB]

Get:19 http://in.archive.ubuntu.com/ubuntu jammy/main amd64 libcacard0 amd64 1:2.8.0-


3build2 [38.0 kB]

Get:20 http://in.archive.ubuntu.com/ubuntu jammy/main amd64 libdecor-0-0 amd64 0.1.0-


3build1 [15.1 kB]

Get:21 http://in.archive.ubuntu.com/ubuntu jammy/main amd64 libdecor-0-plugin-1-cairo


amd64 0.1.0-3build1 [20.4 kB]

Get:22 http://in.archive.ubuntu.com/ubuntu jammy/main amd64 libipset13 amd64 7.15-


1build1 [63.4 kB]

Get:23 http://in.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libsdl2-2.0-0 amd64


2.0.20+dfsg-2ubuntu1.22.04.1 [582 kB]

Get:24 http://in.archive.ubuntu.com/ubuntu jammy/main amd64 libslirp0 amd64 4.6.1-1build1


[61.5 kB]

Get:25 http://in.archive.ubuntu.com/ubuntu jammy/main amd64 libspice-server1 amd64


0.15.0-2ubuntu4 [351 kB]

Get:26 http://in.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libtpms0 amd64


0.9.3-0ubuntu1.22.04.1 [385 kB]
Get:27 http://in.archive.ubuntu.com/ubuntu jammy/main amd64 libusbredirparser1 amd64
0.11.0-2build1 [15.9 kB]

Get:28 http://in.archive.ubuntu.com/ubuntu jammy/main amd64 libvirglrenderer1 amd64 0.9.1-


1~exp1ubuntu2 [188 kB]

Get:29 http://in.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libvirt0 amd64 8.0.0-


1ubuntu7.8 [1,756 kB]

Get:30 http://in.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libvirt-clients amd64


8.0.0-1ubuntu7.8 [429 kB]

Ign:30 http://in.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libvirt-clients amd64


8.0.0-1ubuntu7.8

Get:31 http://in.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libvirt-daemon-


driver-qemu amd64 8.0.0-1ubuntu7.8 [747 kB]

Get:32 http://in.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libvirt-daemon


amd64 8.0.0-1ubuntu7.8 [411 kB]

Get:33 http://in.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libvirt-daemon-


config-network all 8.0.0-1ubuntu7.8 [8,378 B]

Get:34 http://in.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libvirt-daemon-


config-nwfilter all 8.0.0-1ubuntu7.8 [11.3 kB]

Get:35 http://in.archive.ubuntu.com/ubuntu jammy-updates/main amd64 systemd-container


amd64 249.11-0ubuntu3.12 [389 kB]

Get:36 http://in.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libvirt-daemon-


system-systemd all 8.0.0-1ubuntu7.8 [68.8 kB]

Ign:36 http://in.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libvirt-daemon-


system-systemd all 8.0.0-1ubuntu7.8

Get:37 http://in.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libvirt-daemon-


system amd64 8.0.0-1ubuntu7.8 [52.3 kB]

Get:38 http://in.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libxml2-utils amd64


2.9.13+dfsg-1ubuntu0.4 [40.2 kB]

Get:39 http://in.archive.ubuntu.com/ubuntu jammy/main amd64 mdevctl all 0.81-1 [11.7 kB]

Get:40 http://in.archive.ubuntu.com/ubuntu jammy/main amd64 python3-libvirt amd64 8.0.0-


1build1 [148 kB]

Get:41 http://in.archive.ubuntu.com/ubuntu jammy-updates/main amd64 qemu-system-


common amd64 1:6.2+dfsg-2ubuntu6.17 [2,047 kB]

Get:42 http://in.archive.ubuntu.com/ubuntu jammy-updates/main amd64 qemu-system-data


all 1:6.2+dfsg-2ubuntu6.17 [1,431 kB]

Get:43 http://in.archive.ubuntu.com/ubuntu jammy/main amd64 libfdt1 amd64 1.6.1-1 [20.0


kB]
Get:44 http://in.archive.ubuntu.com/ubuntu jammy/main amd64 seabios all 1.15.0-1 [174 kB]

Get:45 http://in.archive.ubuntu.com/ubuntu jammy-updates/main amd64 qemu-system-x86


amd64 1:6.2+dfsg-2ubuntu6.17 [10.1 MB]

Get:46 http://in.archive.ubuntu.com/ubuntu jammy-updates/main amd64 qemu-system-gui


amd64 1:6.2+dfsg-2ubuntu6.17 [220 kB]

Get:47 http://in.archive.ubuntu.com/ubuntu jammy-updates/main amd64 swtpm amd64 0.6.3-


0ubuntu3.2 [47.9 kB]

Ign:47 http://in.archive.ubuntu.com/ubuntu jammy-updates/main amd64 swtpm amd64 0.6.3-


0ubuntu3.2

Get:48 http://in.archive.ubuntu.com/ubuntu jammy-updates/main amd64 swtpm-tools amd64


0.6.3-0ubuntu3.2 [88.9 kB]

Get:49 http://in.archive.ubuntu.com/ubuntu jammy/main amd64 thin-provisioning-tools amd64


0.9.0-2ubuntu1 [426 kB]

Get:50 http://in.archive.ubuntu.com/ubuntu jammy/universe amd64 vlan all 2.0.5ubuntu5 [10.4


kB]

Get:51 http://in.archive.ubuntu.com/ubuntu jammy/main amd64 ipset amd64 7.15-1build1


[32.8 kB]

Get:52 http://in.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libnss-mymachines


amd64 249.11-0ubuntu3.12 [146 kB]

Get:53 http://in.archive.ubuntu.com/ubuntu jammy-updates/main amd64 ovmf all 2022.02-


3ubuntu0.22.04.2 [7,561 kB]

Get:10 http://in.archive.ubuntu.com/ubuntu jammy-updates/main amd64 cryptsetup-bin


amd64 2:2.4.3-1ubuntu1.2 [145 kB]

Get:30 http://in.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libvirt-clients amd64


8.0.0-1ubuntu7.8 [429 kB]

Get:36 http://in.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libvirt-daemon-


system-systemd all 8.0.0-1ubuntu7.8 [68.8 kB]

Get:47 http://in.archive.ubuntu.com/ubuntu jammy-updates/main amd64 swtpm amd64 0.6.3-


0ubuntu3.2 [47.9 kB]

Fetched 124 MB in 4min 18s (480 kB/s)

Extracting templates from packages: 100%

Preconfiguring packages ...

Selecting previously unselected package libdevmapper-event1.02.1:amd64.

(Reading database ... 211989 files and directories currently installed.)

Preparing to unpack .../00-libdevmapper-event1.02.1_2%3a1.02.175-2.1ubuntu4_amd6

4.deb ...
Unpacking libdevmapper-event1.02.1:amd64 (2:1.02.175-2.1ubuntu4) ...

Selecting previously unselected package liblvm2cmd2.03:amd64.

Preparing to unpack .../01-liblvm2cmd2.03_2.03.11-2.1ubuntu4_amd64.deb ...

Unpacking liblvm2cmd2.03:amd64 (2.03.11-2.1ubuntu4) ...

Selecting previously unselected package dmeventd.

Preparing to unpack .../02-dmeventd_2%3a1.02.175-2.1ubuntu4_amd64.deb ...

Unpacking dmeventd (2:1.02.175-2.1ubuntu4) ...

Selecting previously unselected package lvm2.

Preparing to unpack .../03-lvm2_2.03.11-2.1ubuntu4_amd64.deb ...

Unpacking lvm2 (2.03.11-2.1ubuntu4) ...

Selecting previously unselected package libc-ares2:amd64.

Preparing to unpack .../04-libc-ares2_1.18.1-1ubuntu0.22.04.3_amd64.deb ...

Unpacking libc-ares2:amd64 (1.18.1-1ubuntu0.22.04.3) ...

Selecting previously unselected package libssh2-1:amd64.

Preparing to unpack .../05-libssh2-1_1.10.0-3_amd64.deb ...

Unpacking libssh2-1:amd64 (1.10.0-3) ...

Selecting previously unselected package libaria2-0:amd64.

Preparing to unpack .../06-libaria2-0_1.36.0-1_amd64.deb ...

Unpacking libaria2-0:amd64 (1.36.0-1) ...

Selecting previously unselected package aria2.

Preparing to unpack .../07-aria2_1.36.0-1_amd64.deb ...

Unpacking aria2 (1.36.0-1) ...

Selecting previously unselected package cryptsetup-bin.

Preparing to unpack .../08-cryptsetup-bin_2%3a2.4.3-1ubuntu1.2_amd64.deb ...

Unpacking cryptsetup-bin (2:2.4.3-1ubuntu1.2) ...

Selecting previously unselected package cryptsetup.

Preparing to unpack .../09-cryptsetup_2%3a2.4.3-1ubuntu1.2_amd64.deb ...

Unpacking cryptsetup (2:2.4.3-1ubuntu1.2) ...

Selecting previously unselected package cryptsetup-initramfs.

Preparing to unpack .../10-cryptsetup-initramfs_2%3a2.4.3-1ubuntu1.2_all.deb ...

Unpacking cryptsetup-initramfs (2:2.4.3-1ubuntu1.2) ...


Selecting previously unselected package ebtables.

Preparing to unpack .../11-ebtables_2.0.11-4build2_amd64.deb ...

Unpacking ebtables (2.0.11-4build2) ...

Selecting previously unselected package ipxe-qemu.

Preparing to unpack .../12-ipxe-qemu_1.21.1+git-20220113.fbbdc3926-0ubuntu1_all.

deb ...

Unpacking ipxe-qemu (1.21.1+git-20220113.fbbdc3926-0ubuntu1) ...

Selecting previously unselected package ipxe-qemu-256k-compat-efi-roms.

Preparing to unpack .../13-ipxe-qemu-256k-compat-efi-roms_1.0.0+git-20150424.a25

a16d-0ubuntu4_all.deb ...

Unpacking ipxe-qemu-256k-compat-efi-roms (1.0.0+git-20150424.a25a16d-0ubuntu4) .

..

Selecting previously unselected package libonig5:amd64.

Preparing to unpack .../14-libonig5_6.9.7.1-2build1_amd64.deb ...

Unpacking libonig5:amd64 (6.9.7.1-2build1) ...

Selecting previously unselected package libjq1:amd64.

Preparing to unpack .../15-libjq1_1.6-2.1ubuntu3_amd64.deb ...

Unpacking libjq1:amd64 (1.6-2.1ubuntu3) ...

Selecting previously unselected package jq.

Preparing to unpack .../16-jq_1.6-2.1ubuntu3_amd64.deb ...

Unpacking jq (1.6-2.1ubuntu3) ...

Selecting previously unselected package libcacard0:amd64.

Preparing to unpack .../17-libcacard0_1%3a2.8.0-3build2_amd64.deb ...

Unpacking libcacard0:amd64 (1:2.8.0-3build2) ...

Selecting previously unselected package libdecor-0-0:amd64.

Preparing to unpack .../18-libdecor-0-0_0.1.0-3build1_amd64.deb ...

Unpacking libdecor-0-0:amd64 (0.1.0-3build1) ...

Selecting previously unselected package libdecor-0-plugin-1-cairo:amd64.

Preparing to unpack .../19-libdecor-0-plugin-1-cairo_0.1.0-3build1_amd64.deb ...

Unpacking libdecor-0-plugin-1-cairo:amd64 (0.1.0-3build1) ...

Selecting previously unselected package libipset13:amd64.


Preparing to unpack .../20-libipset13_7.15-1build1_amd64.deb ...

Unpacking libipset13:amd64 (7.15-1build1) ...

Selecting previously unselected package libsdl2-2.0-0:amd64.

Preparing to unpack .../21-libsdl2-2.0-0_2.0.20+dfsg-2ubuntu1.22.04.1_amd64.deb

...

Unpacking libsdl2-2.0-0:amd64 (2.0.20+dfsg-2ubuntu1.22.04.1) ...

Selecting previously unselected package libslirp0:amd64.

Preparing to unpack .../22-libslirp0_4.6.1-1build1_amd64.deb ...

Unpacking libslirp0:amd64 (4.6.1-1build1) ...

Selecting previously unselected package libspice-server1:amd64.

Preparing to unpack .../23-libspice-server1_0.15.0-2ubuntu4_amd64.deb ...

Unpacking libspice-server1:amd64 (0.15.0-2ubuntu4) ...

Selecting previously unselected package libtpms0:amd64.

Preparing to unpack .../24-libtpms0_0.9.3-0ubuntu1.22.04.1_amd64.deb ...

Unpacking libtpms0:amd64 (0.9.3-0ubuntu1.22.04.1) ...

Selecting previously unselected package libusbredirparser1:amd64.

Preparing to unpack .../25-libusbredirparser1_0.11.0-2build1_amd64.deb ...

Unpacking libusbredirparser1:amd64 (0.11.0-2build1) ...

Selecting previously unselected package libvirglrenderer1:amd64.

Preparing to unpack .../26-libvirglrenderer1_0.9.1-1~exp1ubuntu2_amd64.deb ...

Unpacking libvirglrenderer1:amd64 (0.9.1-1~exp1ubuntu2) ...

Selecting previously unselected package libvirt0:amd64.

Preparing to unpack .../27-libvirt0_8.0.0-1ubuntu7.8_amd64.deb ...

Unpacking libvirt0:amd64 (8.0.0-1ubuntu7.8) ...

Selecting previously unselected package libvirt-clients.

Preparing to unpack .../28-libvirt-clients_8.0.0-1ubuntu7.8_amd64.deb ...

Unpacking libvirt-clients (8.0.0-1ubuntu7.8) ...

Selecting previously unselected package libvirt-daemon-driver-qemu.

Preparing to unpack .../29-libvirt-daemon-driver-qemu_8.0.0-1ubuntu7.8_amd64.deb

...

Unpacking libvirt-daemon-driver-qemu (8.0.0-1ubuntu7.8) ...


Selecting previously unselected package libvirt-daemon.

Preparing to unpack .../30-libvirt-daemon_8.0.0-1ubuntu7.8_amd64.deb ...

Unpacking libvirt-daemon (8.0.0-1ubuntu7.8) ...

Selecting previously unselected package libvirt-daemon-config-network.

Preparing to unpack .../31-libvirt-daemon-config-network_8.0.0-1ubuntu7.8_all.de

b ...

Unpacking libvirt-daemon-config-network (8.0.0-1ubuntu7.8) ...

Selecting previously unselected package libvirt-daemon-config-nwfilter.

Preparing to unpack .../32-libvirt-daemon-config-nwfilter_8.0.0-1ubuntu7.8_all.d

eb ...

Unpacking libvirt-daemon-config-nwfilter (8.0.0-1ubuntu7.8) ...

Selecting previously unselected package systemd-container.

Preparing to unpack .../33-systemd-container_249.11-0ubuntu3.12_amd64.deb ...

Unpacking systemd-container (249.11-0ubuntu3.12) ...

Selecting previously unselected package libvirt-daemon-system-systemd.

Preparing to unpack .../34-libvirt-daemon-system-systemd_8.0.0-1ubuntu7.8_all.de

b ...

Unpacking libvirt-daemon-system-systemd (8.0.0-1ubuntu7.8) ...

Selecting previously unselected package libvirt-daemon-system.

Preparing to unpack .../35-libvirt-daemon-system_8.0.0-1ubuntu7.8_amd64.deb ...

Unpacking libvirt-daemon-system (8.0.0-1ubuntu7.8) ...

Selecting previously unselected package libxml2-utils.

Preparing to unpack .../36-libxml2-utils_2.9.13+dfsg-1ubuntu0.4_amd64.deb ...

Unpacking libxml2-utils (2.9.13+dfsg-1ubuntu0.4) ...

Selecting previously unselected package mdevctl.

Preparing to unpack .../37-mdevctl_0.81-1_all.deb ...

Unpacking mdevctl (0.81-1) ...

Selecting previously unselected package python3-libvirt.

Preparing to unpack .../38-python3-libvirt_8.0.0-1build1_amd64.deb ...

Unpacking python3-libvirt (8.0.0-1build1) ...

Selecting previously unselected package qemu-system-common.


Preparing to unpack .../39-qemu-system-common_1%3a6.2+dfsg-2ubuntu6.17_amd64.deb

...

Unpacking qemu-system-common (1:6.2+dfsg-2ubuntu6.17) ...

Selecting previously unselected package qemu-system-data.

Preparing to unpack .../40-qemu-system-data_1%3a6.2+dfsg-2ubuntu6.17_all.deb ...

Unpacking qemu-system-data (1:6.2+dfsg-2ubuntu6.17) ...

Selecting previously unselected package libfdt1:amd64.

Preparing to unpack .../41-libfdt1_1.6.1-1_amd64.deb ...

Unpacking libfdt1:amd64 (1.6.1-1) ...

Selecting previously unselected package seabios.

Preparing to unpack .../42-seabios_1.15.0-1_all.deb ...

Unpacking seabios (1.15.0-1) ...

Selecting previously unselected package qemu-system-x86.

Preparing to unpack .../43-qemu-system-x86_1%3a6.2+dfsg-2ubuntu6.17_amd64.deb ..

Unpacking qemu-system-x86 (1:6.2+dfsg-2ubuntu6.17) ...

Selecting previously unselected package qemu-system-gui.

Preparing to unpack .../44-qemu-system-gui_1%3a6.2+dfsg-2ubuntu6.17_amd64.deb ..

Unpacking qemu-system-gui (1:6.2+dfsg-2ubuntu6.17) ...

Selecting previously unselected package swtpm.

Preparing to unpack .../45-swtpm_0.6.3-0ubuntu3.2_amd64.deb ...

Unpacking swtpm (0.6.3-0ubuntu3.2) ...

Selecting previously unselected package swtpm-tools.

Preparing to unpack .../46-swtpm-tools_0.6.3-0ubuntu3.2_amd64.deb ...

Unpacking swtpm-tools (0.6.3-0ubuntu3.2) ...

Selecting previously unselected package thin-provisioning-tools.

Preparing to unpack .../47-thin-provisioning-tools_0.9.0-2ubuntu1_amd64.deb ...

Unpacking thin-provisioning-tools (0.9.0-2ubuntu1) ...

Selecting previously unselected package vlan.

Preparing to unpack .../48-vlan_2.0.5ubuntu5_all.deb ...


Unpacking vlan (2.0.5ubuntu5) ...

Selecting previously unselected package ipset.

Preparing to unpack .../49-ipset_7.15-1build1_amd64.deb ...

Unpacking ipset (7.15-1build1) ...

Selecting previously unselected package cloudstack-agent.

Preparing to unpack .../50-cloudstack-agent_4.18.1.0_all.deb ...

Unpacking cloudstack-agent (4.18.1.0) ...

Selecting previously unselected package libnss-mymachines:amd64.

Preparing to unpack .../51-libnss-mymachines_249.11-0ubuntu3.12_amd64.deb ...

Unpacking libnss-mymachines:amd64 (249.11-0ubuntu3.12) ...

Selecting previously unselected package ovmf.

Preparing to unpack .../52-ovmf_2022.02-3ubuntu0.22.04.2_all.deb ...

Unpacking ovmf (2022.02-3ubuntu0.22.04.2) ...

Setting up cryptsetup-bin (2:2.4.3-1ubuntu1.2) ...

Setting up libvirt-daemon-config-network (8.0.0-1ubuntu7.8) ...

Setting up libdevmapper-event1.02.1:amd64 (2:1.02.175-2.1ubuntu4) ...

Setting up cryptsetup (2:2.4.3-1ubuntu1.2) ...

Setting up libspice-server1:amd64 (0.15.0-2ubuntu4) ...

Setting up libc-ares2:amd64 (1.18.1-1ubuntu0.22.04.3) ...

Setting up libfdt1:amd64 (1.6.1-1) ...

Setting up libusbredirparser1:amd64 (0.11.0-2build1) ...

Setting up libcacard0:amd64 (1:2.8.0-3build2) ...

Setting up ovmf (2022.02-3ubuntu0.22.04.2) ...

Setting up libvirglrenderer1:amd64 (0.9.1-1~exp1ubuntu2) ...

Setting up ebtables (2.0.11-4build2) ...

Setting up thin-provisioning-tools (0.9.0-2ubuntu1) ...

Setting up qemu-system-data (1:6.2+dfsg-2ubuntu6.17) ...

Setting up seabios (1.15.0-1) ...

Setting up libvirt0:amd64 (8.0.0-1ubuntu7.8) ...

Setting up systemd-container (249.11-0ubuntu3.12) ...

Created symlink /etc/systemd/system/multi-user.target.wants/machines.target → /l


ib/systemd/system/machines.target.

Setting up libslirp0:amd64 (4.6.1-1build1) ...

Setting up libipset13:amd64 (7.15-1build1) ...

Setting up vlan (2.0.5ubuntu5) ...

Setting up ipxe-qemu (1.21.1+git-20220113.fbbdc3926-0ubuntu1) ...

Setting up libdecor-0-0:amd64 (0.1.0-3build1) ...

Setting up ipxe-qemu-256k-compat-efi-roms (1.0.0+git-20150424.a25a16d-0ubuntu4)

...

Setting up libssh2-1:amd64 (1.10.0-3) ...

Setting up libtpms0:amd64 (0.9.3-0ubuntu1.22.04.1) ...

Setting up ipset (7.15-1build1) ...

Setting up libxml2-utils (2.9.13+dfsg-1ubuntu0.4) ...

Setting up libsdl2-2.0-0:amd64 (2.0.20+dfsg-2ubuntu1.22.04.1) ...

Setting up libvirt-daemon-config-nwfilter (8.0.0-1ubuntu7.8) ...

Setting up libonig5:amd64 (6.9.7.1-2build1) ...

Setting up cryptsetup-initramfs (2:2.4.3-1ubuntu1.2) ...

update-initramfs: deferring update (trigger activated)

Setting up libaria2-0:amd64 (1.36.0-1) ...

Setting up qemu-system-common (1:6.2+dfsg-2ubuntu6.17) ...

Created symlink /etc/systemd/system/multi-user.target.wants/qemu-kvm.service → /

lib/systemd/system/qemu-kvm.service.

Setting up libjq1:amd64 (1.6-2.1ubuntu3) ...

Setting up aria2 (1.36.0-1) ...

Setting up python3-libvirt (8.0.0-1build1) ...

Setting up libvirt-clients (8.0.0-1ubuntu7.8) ...

Setting up qemu-system-x86 (1:6.2+dfsg-2ubuntu6.17) ...

Setting up libnss-mymachines:amd64 (249.11-0ubuntu3.12) ...

First installation detected...

Checking NSS setup...

Setting up swtpm (0.6.3-0ubuntu3.2) ...

Setting up libdecor-0-plugin-1-cairo:amd64 (0.1.0-3build1) ...


Setting up libvirt-daemon-driver-qemu (8.0.0-1ubuntu7.8) ...

Setting up libvirt-daemon-system-systemd (8.0.0-1ubuntu7.8) ...

Setting up jq (1.6-2.1ubuntu3) ...

Setting up libvirt-daemon (8.0.0-1ubuntu7.8) ...

Setting up mdevctl (0.81-1) ...

Setting up qemu-system-gui (1:6.2+dfsg-2ubuntu6.17) ...

Setting up swtpm-tools (0.6.3-0ubuntu3.2) ...

Adding group `swtpm' (GID 142) ...

Done.

Warning: The home dir /var/lib/swtpm you specified can't be accessed: No such fi

le or directory

Adding system user `swtpm' (UID 135) ...

Adding new user `swtpm' (UID 135) with group `swtpm' ...

Not creating home directory `/var/lib/swtpm'.

Setting up libvirt-daemon-system (8.0.0-1ubuntu7.8) ...

Adding user libvirt-qemu to group libvirt-qemu

Enabling libvirt default network

Created symlink /etc/systemd/system/multi-user.target.wants/libvirtd.service → /

lib/systemd/system/libvirtd.service.

Created symlink /etc/systemd/system/sockets.target.wants/virtlockd.socket → /lib

/systemd/system/virtlockd.socket.

Created symlink /etc/systemd/system/sockets.target.wants/virtlogd.socket → /lib/

systemd/system/virtlogd.socket.

Created symlink /etc/systemd/system/sockets.target.wants/libvirtd.socket → /lib/

systemd/system/libvirtd.socket.

Created symlink /etc/systemd/system/sockets.target.wants/libvirtd-ro.socket → /l

ib/systemd/system/libvirtd-ro.socket.

Created symlink /etc/systemd/system/multi-user.target.wants/libvirt-guests.servi

ce → /lib/systemd/system/libvirt-guests.service.

virtlockd.service is a disabled or a static unit, not starting it.

virtlogd.service is a disabled or a static unit, not starting it.


Created symlink /etc/systemd/system/sockets.target.wants/libvirtd-admin.socket →

/lib/systemd/system/libvirtd-admin.socket.

Created symlink /etc/systemd/system/sockets.target.wants/virtlockd-admin.socket

→ /lib/systemd/system/virtlockd-admin.socket.

Created symlink /etc/systemd/system/sockets.target.wants/virtlogd-admin.socket →

/lib/systemd/system/virtlogd-admin.socket.

Setting up libvirt-daemon dnsmasq configuration.

Setting up cloudstack-agent (4.18.1.0) ...

Upgrade succeed

Thank you for installing Apache CloudStack Agent 4.18.1.0 !

* Project website: https://cloudstack.apache.org/

* Documentation: https://docs.cloudstack.apache.org/en/4.18.1.0/

* Release notes: https://docs.cloudstack.apache.org/en/4.18.1.0/releaseno

tes/

* Join mailing lists: https://cloudstack.apache.org/mailing-lists.html

* Take the survey: https://cloudstack.apache.org/survey.html

* Report issues: https://github.com/apache/cloudstack/issues/new

Created symlink /etc/systemd/system/multi-user.target.wants/cloudstack-agent.ser

vice → /lib/systemd/system/cloudstack-agent.service.

Setting up liblvm2cmd2.03:amd64 (2.03.11-2.1ubuntu4) ...

Setting up dmeventd (2:1.02.175-2.1ubuntu4) ...

Created symlink /etc/systemd/system/sockets.target.wants/dm-event.socket → /lib/

systemd/system/dm-event.socket.

dm-event.service is a disabled or a static unit, not starting it.

Setting up lvm2 (2.03.11-2.1ubuntu4) ...

update-initramfs: deferring update (trigger activated)

Created symlink /etc/systemd/system/sysinit.target.wants/blk-availability.servic

e → /lib/systemd/system/blk-availability.service.
Created symlink /etc/systemd/system/sysinit.target.wants/lvm2-monitor.service →

/lib/systemd/system/lvm2-monitor.service.

Created symlink /etc/systemd/system/sysinit.target.wants/lvm2-lvmpolld.socket →

/lib/systemd/system/lvm2-lvmpolld.socket.

Processing triggers for dbus (1.12.20-2ubuntu4.1) ...

Processing triggers for initramfs-tools (0.140ubuntu13.4) ...

update-initramfs: Generating /boot/initrd.img-6.5.0-26-generic

Processing triggers for hicolor-icon-theme (0.17-2) ...

Processing triggers for libc-bin (2.35-0ubuntu3.6) ...

Processing triggers for man-db (2.10.2-1) ...

root@cloud:/home/mohammad/Desktop# sudo sed -i -e 's/\#vnc_listen.*$/vnc_listen =


"0.0.0.0"/g' /etc/libvirt/qemu.conf

root@cloud:/home/mohammad/Desktop# sudo echo 'listen_tls=0' >> /etc/libvirt/libvirtd.conf

root@cloud:/home/mohammad/Desktop# sudo 'listen_tcp=1' >> /etc/libvirt/libvirtd.conf

usage: sudo -h | -K | -k | -V

usage: sudo -v [-ABknS] [-g group] [-h host] [-p prompt] [-u user]

usage: sudo -l [-ABknS] [-g group] [-h host] [-p prompt] [-U user] [-u user]

[command]

usage: sudo [-ABbEHknPS] [-r role] [-t type] [-C num] [-D directory] [-g group]

[-h host] [-p prompt] [-R directory] [-T timeout] [-u user]

[VAR=value] [-i|-s] [<command>]

usage: sudo -e [-ABknS] [-r role] [-t type] [-C num] [-D directory] [-g group]

[-h host] [-p prompt] [-R directory] [-T timeout] [-u user] file ...

root@cloud:/home/mohammad/Desktop# sudo 'tcp_port = "16509"' >> /etc/libvirt/libvirtd.conf

usage: sudo -h | -K | -k | -V

usage: sudo -v [-ABknS] [-g group] [-h host] [-p prompt] [-u user]

usage: sudo -l [-ABknS] [-g group] [-h host] [-p prompt] [-U user] [-u user]

[command]

usage: sudo [-ABbEHknPS] [-r role] [-t type] [-C num] [-D directory] [-g group]

[-h host] [-p prompt] [-R directory] [-T timeout] [-u user]

[VAR=value] [-i|-s] [<command>]


usage: sudo -e [-ABknS] [-r role] [-t type] [-C num] [-D directory] [-g group]

[-h host] [-p prompt] [-R directory] [-T timeout] [-u user] file ...

root@cloud:/home/mohammad/Desktop# sudo 'mdns_adv = 0' >> /etc/libvirt/libvirtd.conf

usage: sudo -h | -K | -k | -V

usage: sudo -v [-ABknS] [-g group] [-h host] [-p prompt] [-u user]

usage: sudo -l [-ABknS] [-g group] [-h host] [-p prompt] [-U user] [-u user]

[command]

usage: sudo [-ABbEHknPS] [-r role] [-t type] [-C num] [-D directory] [-g group]

[-h host] [-p prompt] [-R directory] [-T timeout] [-u user]

[VAR=value] [-i|-s] [<command>]

usage: sudo -e [-ABknS] [-r role] [-t type] [-C num] [-D directory] [-g group]

[-h host] [-p prompt] [-R directory] [-T timeout] [-u user] file ...

root@cloud:/home/mohammad/Desktop# sudo 'auth_tcp = "none"' >> /etc/libvirt/libvirtd.conf

usage: sudo -h | -K | -k | -V

usage: sudo -v [-ABknS] [-g group] [-h host] [-p prompt] [-u user]

usage: sudo -l [-ABknS] [-g group] [-h host] [-p prompt] [-U user] [-u user]

[command]

usage: sudo [-ABbEHknPS] [-r role] [-t type] [-C num] [-D directory] [-g group]

[-h host] [-p prompt] [-R directory] [-T timeout] [-u user]

[VAR=value] [-i|-s] [<command>]

usage: sudo -e [-ABknS] [-r role] [-t type] [-C num] [-D directory] [-g group]

[-h host] [-p prompt] [-R directory] [-T timeout] [-u user] file ...

root@cloud:/home/mohammad/Desktop# systemctl restart libvirtd

root@cloud:/home/mohammad/Desktop# sudo ln -s /etc/apparmor.d/usr.sbin.libvirtd


/etc/apparmor.d/disable/

root@cloud:/home/mohammad/Desktop# sudo ln -s /etc/apparmor.d/usr.lib.libvirt.virt-aa-


helper/etc/apparmor.d/disable/

root@cloud:/home/mohammad/Desktop# sudo apparmor_parser -R


/etc/apparmor.d/usr.sbin.libvirtd

root@cloud:/home/mohammad/Desktop# sudo apparmor_parser -R


/etc/apparmor.d/usr.lib.libvirt.virt-aa-helper

root@cloud:/home/mohammad/Desktop# kvm--ok
Command 'kvm--ok' not found, did you mean:

command 'kvm-ok' from deb cpu-checker (0.7-1.3build1)

Try: apt install <deb name>

root@cloud:/home/mohammad/Desktop# kvm-ok

INFO: /dev/kvm exists

KVM acceleration can be used

root@cloud:/home/mohammad/Desktop# sudo lsmod | grep kvm

kvm_amd 208896 0

ccp 135168 1 kvm_amd

kvm 1409024 1 kvm_amd

irqbypass 12288 1 kvm

You might also like