タグ

kvmとlibvirtに関するHeRoのブックマーク (4)

  • KVMとlibvirtによるサーバ仮想化の4つのポイント - GeekFactory

    Linuxの仮想化技術であるKVMが広まりつつあります。昨年の今頃はWindowsゲストが起動しただけで感動してましたが、今や多くのディストリビューションで動くようになりました。 デスクトップ内の開発環境として使う場合はオールインワンですぐ使えることが大事ですが、サーバとして使う場合は事前によく考えて設計します。止まらないサーバとして運用していくためには、後で手間を掛けないよう環境を設計することが大事です。 ここでは、KVMで仮想化環境を構築する時のポイントを紹介します。 1. ログ管理や認証の共通化 Webサーバ、プライベートWebサーバ、DBサーバというようにVMゲストが増えていくと、それらを管理する手間が半端なくなります。うちでは下記の項目を共通サーバで集中管理しています。 項目 VMゲスト 共通サーバ 認証 LDAP認証(nss_ldapLDAPサーバ(OpenLDAP) ログ

    KVMとlibvirtによるサーバ仮想化の4つのポイント - GeekFactory
  • Ubuntu + KVM + libvirt で仮想化

    以前、Xenで完全仮想化ができるのでAthlon64x2 を購入したのだが、 ちょっとしか試していなかった。 変な結構制約があったりで比較的安定している VMware Server を使っていた。 時は経って、Linux KVM というのが活発に開発が行われており、前途有望である。 同時に、色々な仮想化技術を統一したAPIで扱えるlibvirtも整備されてきている。 特に、virt-managerは、 VMware Server Console を彷彿し、ローカルからリモートまで管理が可能になりつつある。 なので、Ubuntu+KVM+libvirt に移行してみようと思う。 インストール KVM と virt-manager のパッケージをインストール。 # apt-get install kvm libvirt-bin virt-manager # addgroup <自分> libv

    Ubuntu + KVM + libvirt で仮想化
  • libvirt

    The libvirt library is used to interface with different virtualization technologies. Before getting started with libvirt it is best to make sure your hardware supports the necessary virtualization extensions for KVM. Enter the following from a terminal prompt: egrep '(vmx|svm)' /proc/cpuinfo If nothing is printed, it means that your cpu does not support hardware virtualization. On most computer

  • libvirt: Domain XML format

    This section describes the XML format used to represent domains, there are variations on the format based on the kind of domains run and the options used to launch them. For hypervisor specific details consult the driver docs Element and attribute overview¶ The root element required for all virtual machines is named domain. It has two attributes, the type specifies the hypervisor used for running

  • 1