Entradas

Mostrando las entradas con la etiqueta Virtualización

Generador de licencia de GNS3 Python3

Este es el script corregido: #! /usr/bin/python print("*********************************************************************") print("Cisco IOU License Generator - Kal 2011, python port of 2006 C version") print("Modified to work with python3 by c_d 2014") import os import socket import hashlib import struct # get the host id and host name to calculate the hostkey hostid=os.popen("hostid").read().strip() hostname = socket.gethostname() ioukey=int(hostid,16) for x in hostname:  ioukey = ioukey + ord(x) print("hostid=" + hostid +", hostname="+ hostname + ", ioukey=" + hex(ioukey)[2:]) # create the license using md5sum iouPad1 = b'\x4B\x58\x21\x81\x56\x7B\x0D\xF3\x21\x43\x9B\x7E\xAC\x1D\xE6\x8A' iouPad2 = b'\x80' + 39*b'\0' md5input=iouPad1 + iouPad2 + struct.pack('!L', ioukey) + iouPad1 # como dato importante el script que flla esta como ...

Auto-Start a Virtual Machine at XenServer 7.X

Enable auto-start on XenServer: # xe pool-list uuid ( RO )                  : XXXXXXXX - XXXX - XXXX - XXXX - XXXXXXXXXXXX copy the UUID and use: # xe pool-param-set uuid=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX other-config:auto_poweron=true Now XenServer supports auto-start. Let’s find the correct VM: # xe vm-list uuid ( RO )            : XXXXXXXX - XXXX - XXXX - XXXX - XXXXXXXXXXXX      name - label ( RW ) : Control domain on host : XenSever_host_name      power - state ( RO ) : running uuid ( RO )            : AAAAAAAA - AAAA - AAAA - AAAA - AAAAAAAAAAAA      name - label ( RW ) : VM_host_name_1      power - state ( RO ) : running uuid ( RO )            : BBBBBBBB - BBBB - BBBB - BBBB - BBBBBBBBBBBB      name - label ( RW ) : VM_host_name_2      power - state ( RO ) : running To auto-start the VM_host_name1, just: # xe vm-param-set uuid=AAAAAAAA-AAAA-AAAA-AAAA-AAAAAAAAAAAA other-config:auto_poweron=true Done, now with XenCenter, we can modify the auto-sta...

Error 0xc0000006 al reactivar una maquina virtual (VMWare)

Para solucionar el error: VMWare Workstation unrecoverable error: (vmx) Exception 0xc0000006 (disk error while paging) has occurred. This virtual machine appears to be in use. If this virtual machine is not in use, press the "Take Ownership" button to obtain ownership of it. Otherwise press the "Cancel" button to avoid damaging it. Se tiene que elimiar los archivos .lck y .vmss de la carpeta donde se encuentran los archivos de la VM normalmente en el usuario\Documents\virtual Machines\Nombre dela VM\ Referencia: http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2032746

Solucionar el error de VirtualBox “Kernel driver not installed(rc=-1908)”

Imagen
Lo primero que te aconsejaría es instalar la versión que esta en los repositorios originales de Ubuntu. A partir de ahí lo único que hay que hacer es instalar los headers para tu Kernel actual de linux y reinstalar el paquete virtualbox-dkms. Lo hacemos de la siguiente forma: Ejecutamos esto para comprobar que versión del Kernel estamos usando uname -r Instalamos los headers para este Kernel sustituyendo el número 3.5.0-17 por el que nos dió el comando que ejecutamos anteriormente. sudo apt-get install linux-headers-3.5.0-17-generic einstalamos dkms: sudo apt-get remove virtualbox-dkms sudo apt-get install virtualbox-dkms Ahora reinicias Ubuntu y listo. Con esto Virual Box debería volver a funcionar correctamente. C opiado de: http://blog.aguinar.com/blog/2013/01/05/solucionar-el-error-de-virtualbox-kernel-driver-not-installed-rc-1908/

Solucionar el error de VirtualBox “Kernel driver not installed(rc=-1908)”

Imagen
Lo primero que te aconsejaría es instalar la versión que esta en los repositorios originales de Ubuntu. A partir de ahí lo único que hay que hacer es instalar los headers para tu Kernel actual de linux y reinstalar el paquete virtualbox-dkms. Lo hacemos de la siguiente forma:     Ejecutamos esto para comprobar que versión del Kernel estamos usando   uname -r   Instalamos los headers para este Kernel sustituyendo el número 3.5.0-17 por el que nos dió el comando que ejecutamos anteriormente.   sudo apt-get install linux-headers-3.5.0-17-generic   einstalamos dkms:   sudo apt-get remove virtualbox-dkms sudo apt-get install virtualbox-dkms   Ahora reinicias Ubuntu y listo. Con esto Virual Box debería volver a funcionar correctamente. C opiado de: http://blog.aguinar.com/blog/2013/01/05/solucionar-el-error-de-virtualbox-kernel-driver-not-installed-rc-1908/