Skip to content

Instantly share code, notes, and snippets.

@romale
romale / gist:98e5e6dc2371d960201810dae524f754
Last active April 27, 2025 10:40
Migrate virtual machine from "libvirt" to "openstack" via rbd import
Example architecture is Openstack+Ceph and we need to import images from old Libvirt virtualization to Openstack.
Openstack deployed via kolla ansible.
Problem. Import some big images via "openstack image import" is too slow.
Solution. As a workaround is to import images via rbd import.
# source image
export IMAGE="my-vm.img"
# new network
export NET="my-net"
# old MAC address (if you need migrate it)
@romale
romale / zabbix_snmp_setup.md
Created October 12, 2016 14:27 — forked from jpawlowski/zabbix_snmp_setup.md
SNMPTT installation on CentOS 7 for Zabbix integration

SNMPTT installation on CentOS 7 for Zabbix integration

yum install wget make gcc net-snmp net-snmp-utils

cd /usr/local/src
wget http://downloads.sourceforge.net/project/snmptt/snmptt/snmptt_1.4/snmptt_1.4.tgz

tar xfz snmptt_*.tgz
snmp_*
cp -rv snmptt snmpttconvert snmpttconvertmib snmptthandler-embedded /usr/sbin/