Posts

Showing posts from September, 2017

XenServer 7.1 can't delete a virtual disk that failed a move between storage repositories, VM is broken / will not start

Image
I've run into this issue more than a few times, so here's just enough info to get through this without blowing your virtual infrastructure apart. To avoid this issue in the future, avoid these common mistakes while transferring a VDI between host machines: Don't exit XenCenter while moving a VM between Xen hosts Don't unplug the switch that connects Xen hosts to a Storage Repository Don't shut down the Storage Repository or XenServer hosts during a virtual disk transfer Make sure each VM's virtual disks are named relating to its attached VM's (for sanity) Now that we got that out of the way, lets talk about how Xen sees a VM and its virtual disk. XenServer manages the host machine and connects the host's resources into a resource pool. This is usually the CPU, RAM and network for a virtual machine. Xen auto-assigns a Universally Unique Identifier or UUID to every virtual component so that it can keep track of all these resources without na

Using a Cisco Analog Voice Gateway with FreePBX

Image
Here's how to use the Cisco VG202 / VG204 / VG224 with FreePBX. Materials list: Cisco VG202 / VG204 / VG224 a server running FreePBX (physical or virtual) a network connection between FreePBX server and port FE0 on the Cisco Voice Gateway a PC or laptop that has a DB9 serial port or USB to DB9 serial adapter PuTTY ssh and telnnet client WinImage CF card reader 64MB or larger Compact Flash card (for Cisco IOS) a Cisco Console cable 66 block with female Amphenol connector CAT3 Telco cable with 90° male to male Amphenol ends a telephone test set  OR  an RJ-11 duckbill jumper cable + regular phone Here is a quick overview of what we will do: Configure the Voice Gateway to receive calls from FreePBX Configure the Voice Gateway dialplan to match and forward to FreePBX Configure FreePBX with a SIP Trunk and Outbound Route to the Voice Gateway First, you will need to acquire a Cisco IOS image like this one  HERE . Copy the image onto the CF card with your comput