UPWORK/ODESK guru: Tips and Tricks for clients

skype: upwork.link , email: info@upwork.link

Archive for February, 2018

VIRSH:KVM – Запуск удаленного доступа VNC для гостевых операционных систем

without comments

Method # 1: Command Line Option

Normally, QEMU (/usr/libexec/qemu-kvm) uses SDL to display the VGA output. With the -vnc option option, you can have QEMU listen on VNC display display and redirect the VGA display over the VNC session. When using the VNC display, you must use the -k parameter to set the keyboard layout if you are not using en-us. Valid syntax for the display is as follows:

Read the rest of this entry »

Written by spectre

February 18th, 2018 at 2:13 pm

VIRSH:KVM – Перемещение дисков в другое хранилище

without comments

Migration of disks around is part of the life cycle of a guest. Disks in the storage pools (local or network) may fail or fill up due to bad capacity management. Ordinarily, one would have to shut down the guest, copy the storage volume file elsewhere (if it is a file), wait, update xML configuration, and launch it again. However, in mission-critical enterprises, this may not always be possible.

To get the source path, need check XML configuration file or storage volume. This requires to know which storage pool in use.

Read the rest of this entry »

Written by spectre

February 11th, 2018 at 4:46 pm

LUKS / dm-crypt and FS images

without comments

LUKS / dm-crypt is also suitable for creating FS images that can be used to store important information:
Read the rest of this entry »

Written by spectre

February 4th, 2018 at 7:25 pm

Posted in Tips and Tricks

OpenStack Neutron: How to change the default security rules in neutron during creation of group?

without comments

Neutron has commands for updating security groups:

1
2
3
4
5
6
7
8
9
  #security-group-create             Create a security group.
  #security-group-delete             Delete a given security group.
  #security-group-list               List security groups that belong to a given tenant.
  #security-group-rule-create        Create a security group rule.
  #security-group-rule-delete        Delete a given security group rule.
  #security-group-rule-list          List security group rules that belong to a given tenant.
  #security-group-rule-show          Show information of a given security group rule.
  #security-group-show               Show information of a given security group.
  #security-group-update             Update a given security group.

Read the rest of this entry »

Written by spectre

February 1st, 2018 at 3:40 pm

Posted in Openstack