全文検索:
- 01 JuJu Maas Openstack @01_linux:08_仮想化:juju
- hostname ^ external ^ internal ^ tag ^ |MAAS| 192.168.0.10|10.10.0.10| | |juju-controller| | DHCP | bo... Nic^PXE^Network^DHCP^ Gateway ^Space^ |ens3|○|192.168.0.0/24|MAAS-DHCP| 192.168.0.254 |internal| |ens4| |10.10.0.0/24|No DHCP| 10.10.0.254 |external| |ens... none) [default=all]? MAAS URL [default=http://192.168.0.10:5240/MAAS]: Create first admin account User
- 03 KVM install
- ge=br0 \ --graphics none \ --location "http://192.168.0.10/centos/6.8/os/x86_64" \ --extra-args "console=tty0 console=ttyS0,115200n8 ks=http://192.168.0.10/kickstart.cfg ip=192.168.0.11 netmask=255.255.255.0 gateway=192.168.0.1 ksdevice=eth0" </code> {{tag>kvm}}
- 11 LVMまるごとコピー
- olG00/TEST1001 bs=1M | ssh -c arcfour256 root@192.168.11.11 "dd of=/dev/VolG00/TESTdev1001 bs=1M" </co... 01 bs=1M | gzip -1 - | ssh -c arcfour256 root@192.168.11.11 "gunzip | dd of=/dev/VolG00/TESTdev1001 bs... </code> ===== LVMを丸ごとバックアップしとく場合 ===== これで、192.168.11.11に圧縮したLVMがバックアップされる <code> # time dd if=/de... 1 bs=1M | gzip -1 - | ssh -c arcfour256 root@1921.168.11.11 "dd of=/backups/TEST1001.img.gz" </code>
- 08 qcow2 バックアップ 外部へ取得する場合(online external) @01_linux:08_仮想化:kvm
- ual size: 25 GiB (26843545600 bytes) disk size: 4.16 GiB cluster_size: 65536 Format specific informati... : 1.1 lazy refcounts: true refcount bits: 16 corrupt: false # cp /var/lib/libvirt/images/... : 1.1 lazy refcounts: true refcount bits: 16 corrupt: false # qemu-img info /backups/testv... 1.1 lazy refcounts: false refcount bits: 16 corrupt: false # ll -h /backups/testvm.qcow2.
- 09 qcow2 backing file @01_linux:08_仮想化:kvm
- e: to.qcow2 file format: qcow2 virtual size: 15G (16106127360 bytes) disk size: 196K cluster_size: 655... 1.1 lazy refcounts: false refcount bits: 16 corrupt: false </code> ===== backing元ファイルへ差分... e: to.qcow2 file format: qcow2 virtual size: 15G (16106127360 bytes) disk size: 256K cluster_size: 655... 1.1 lazy refcounts: false refcount bits: 16 corrupt: false </code> これだとcommitで、from2.qco
- 02 OpenStack base Console @01_linux:08_仮想化:juju
- --------------------------+ | novnc | https://192.168.0.200:6080/vnc_auto.html?path=%3Ftoken%3Dadd8b44... シ ==== 下記のようにつなげてあげる 100.100.100.250:6080 -> 192.168.0.200:6080 === リバースプロキシ例 === [[06_virtualizat... vhost.d/default; location / { proxy_pass https://192.168.0.200:6080; } } </code> {{tag>OpenStack}}
- 36 qcow2 シンプロ 圧縮
- 1.1 lazy refcounts: false refcount bits: 16 corrupt: false </code> ===== フルプロ ===== <co... 1.1 lazy refcounts: false refcount bits: 16 corrupt: false </code> ==== preallocationオプシ
- 仮想化KVM
- 'raw'/> <source file='/CDROM/virtio-win-1.1.16.vfd'/> <target dev='fda' bus='fdc'/>
- 07 qemuでserial接続 @01_linux:08_仮想化:kvm
- 10:11 \ -chardev socket,id=qmp,port=4444,host=192.168.122.1,server,nowait \ -mon chardev=qmp,mode=cont
- 11 KVM名前変更 @01_linux:08_仮想化:kvm
- /libvirt/qemu/ -rw------- 1 root root 6906 Jan 19 16:02 vm-001.xml -rw------- 1 root root 6906 Apr 27