Differences between revisions 6 and 32 (spanning 26 versions)
Revision 6 as of 2017-10-12 22:06:13
Size: 1584
Editor: shran
Comment:
Revision 32 as of 2017-12-29 14:27:45
Size: 1967
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= Domain Console = = TODO =
Line 3: Line 3:
Once a domain is running it is possible to connect to the domains console. This can be done using spice or vnc. Spice if preferred since it does not close the session if the KVM Guest changes screen resolution. == live disk resize ==
Line 5: Line 5:
== Spice ==
Install the client.
 * https://serverfault.com/questions/122042/kvm-online-disk-resize
 * https://serverfault.com/questions/378086/how-to-extend-a-linux-pv-partition-online-after-virtual-disk-growth

seems to work

 * https://eioki.eu/2013/07/02/live-resize-libvirt-disk-lvm-multipath
 * http://www.unixarena.com/2015/12/linux-kvm-how-to-addresize-virtual-disk-on-fly.html

 * apt-get install libguestfs-tools to get virt-resize
 * https://forum.proxmox.com/threads/extend-rescan-virtio-disk-in-guest-vm.7989/

 * debug io trouble: sysstat package + iosat -x 2 5 http://bencane.com/2012/08/06/troubleshooting-high-io-wait-in-linux/ do a page on debugging iostat and how to solve
=== misc ===
This is all that has no yet been done or documented.

 * mailserver
 * firewall
 * monitoring diskspace
 * disable saving .debs af download
 * configure apt to remove .deb files after download /var/cache/apt/archives/
 * network planning
 * keyscript should try thrice
Line 9: Line 29:
apt-get install virt-viewer
}}}

Connect to the Domain
{{{
$ remote-viewer spice://kvm02:5900
}}}

== VNC ==
Install the client.

{{{
apt-get install xtightvncviewer
}}}

Connect to the Domain
{{{
$ vncviewer 192.168.1.33
}}}

== TODO ==

This is all that has no yet been done or documented

mailserver
configure apt sources in template
clone a virtual machine
remove the spice/vnc option from the virsh xml
firewall
list disks
monitoring diskspace
disable saving .debs af download
configure apt to remove .deb files after download /var/cache/apt/archives/
network planning
hardware description
vmx flag, i7, ram disks
firewall
keyscript should try thrice
Line 52: Line 33:
}}}
Line 56: Line 38:
apt-get install postfix
Line 58: Line 39:
on another system
apt-get install xtightvncviewer
vncviewer 192.168.1.33
* write a ssection about spice and TLS, check this to set up the TLS certificates on kvm02 /etc/libvirt/qemu.conf
Line 62: Line 41:
apt-get install virt-viewer
remote-viewer spice://kvm02:5900
* btrfs read speed is low, make a kernel package from a recent kernel and test again. it may have been fixed already. this should be done on all glusterfs servers, but starting testing in on iotest01 before moving to glusterfs.
Line 65: Line 43:
setup debian on that system http://thomasmullaly.com/2014/11/16/the-list-of-os-variants-in-kvm/
Line 67: Line 45:
kvm guest added packages
net-tools
vim
apt sources, with src lines commented
mlocate

take a look at this package : osinfo-db

{{{
read /usr/share/doc/apt/NEWS.Debian.gz --
Binary::apt-get::APT::Keep-Downloaded-Packages should be set to 'false'
APT::Keep-Downloaded-Packages to "false"
}}}

TODO

live disk resize

seems to work

misc

This is all that has no yet been done or documented.

  • mailserver
  • firewall
  • monitoring diskspace
  • disable saving .debs af download
  • configure apt to remove .deb files after download /var/cache/apt/archives/
  • network planning
  • keyscript should try thrice

Space used on vanilla
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/vg1-root  1,9G  791M  954M   46% /
/dev/md0              243M   53M  162M   25% /boot

mail we will configure this system with a mail server this server will later be configured to forward its mails to another mail account

* write a ssection about spice and TLS, check this to set up the TLS certificates on kvm02 /etc/libvirt/qemu.conf

* btrfs read speed is low, make a kernel package from a recent kernel and test again. it may have been fixed already. this should be done on all glusterfs servers, but starting testing in on iotest01 before moving to glusterfs.

http://thomasmullaly.com/2014/11/16/the-list-of-os-variants-in-kvm/

take a look at this package : osinfo-db

read /usr/share/doc/apt/NEWS.Debian.gz --
Binary::apt-get::APT::Keep-Downloaded-Packages should be set to 'false'
APT::Keep-Downloaded-Packages to "false"

None: TODO (last edited 2024-05-14 20:31:59 by Kristian Kallenberg)