kvm centos yum grouplist virt--manager virsh list
[root@svn pub]# virsh list
Id Name State
----------------------------------------------------
[root@svn ~]# yum install -y virt-manager
[root@svn ~]# virsh list
Id Name State
----------------------------------------------------
2 centos7.0 running
[root@svn ~]#
[root@svn ~]# virt-manager
Id Name State
----------------------------------------------------
[root@svn ~]# yum install -y virt-manager
[root@svn ~]# yum grouplist
Loaded plugins: fastestmirror, langpacks
There is no installed groups file.
Maybe run: yum groups mark convert (see man yum)
Loading mirror speeds from cached hostfile
* base: centos.ip-connect.vn.ua
* extras: centos.itt-consulting.com
* updates: centos.itt-consulting.com
Available Environment Groups:
Minimal Install
Compute Node
Infrastructure Server
File and Print Server
Basic Web Server
Virtualization Host
Server with GUI
GNOME Desktop
KDE Plasma Workspaces
Development and Creative Workstation
Available Groups:
Compatibility Libraries
Console Internet Tools
Development Tools
Graphical Administration Tools
Legacy UNIX Compatibility
Scientific Support
Security Tools
Smart Card Support
System Administration Tools
System Management
Done
[root@svn ~]#
[root@svn ~]# yum group install "Virtualization Host"
[root@svn ~]# systemctl status libvirtd
● libvirtd.service - Virtualization daemon
Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2017-05-07 23:26:52 EEST; 1min 5s ago
Docs: man:libvirtd(8)
http://libvirt.org
Main PID: 3937 (libvirtd)
CGroup: /system.slice/libvirtd.service
├─1534 /sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --...
├─1537 /sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --...
└─3937 /usr/sbin/libvirtd
[root@svn ~]# virsh list
Id Name State
----------------------------------------------------
2 centos7.0 running
[root@svn ~]#
check how to connect to virtual machinve via ssh
[root@svn ~]# virt-manager
[root@svn ~]# cd /etc/libvirt/qemu
[root@svn qemu]# ll
total 8
-rw-------. 1 root root 4358 May 8 23:35 centos7.0.xml
drwx------. 3 root root 42 Mar 3 04:12 networks
[root@svn qemu]# cat centos7.0.xml
<!--
WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE
OVERWRITTEN AND LOST. Changes to this xml configuration should be made using:
virsh edit centos7.0
or other application using the libvirt API.
-->
<domain type='kvm'>
<name>centos7.0</name>
<uuid>d620d75e-e088-45f9-a7b5-9d6378063d64</uuid>
<memory unit='KiB'>1048576</memory>
<currentMemory unit='KiB'>1048576</currentMemory>
[root@svn qemu]# ll
total 8
-rw-------. 1 root root 4358 May 8 23:35 centos7.0.xml
drwx------. 3 root root 42 Mar 3 04:12 networks
[root@svn qemu]# cat centos7.0.xml
<!--
WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE
OVERWRITTEN AND LOST. Changes to this xml configuration should be made using:
virsh edit centos7.0
or other application using the libvirt API.
-->
<domain type='kvm'>
<name>centos7.0</name>
<uuid>d620d75e-e088-45f9-a7b5-9d6378063d64</uuid>
<memory unit='KiB'>1048576</memory>
<currentMemory unit='KiB'>1048576</currentMemory>
Comments
Post a Comment