Mostrando entradas con la etiqueta VMware. Mostrar todas las entradas
Mostrando entradas con la etiqueta VMware. Mostrar todas las entradas
martes, 10 de junio de 2014
COMO : Activar SSH en Acronis Backup para VMware 9
Instale la utilidad WinSCP que se puede obtener a partir de http://winscp.net/eng/download.php . WinSCP (Windows CoPy Secure ) es un SFTP gratuito y de código abierto , SCP, y el cliente FTP de Microsoft Windows. Su función principal es asegurar la transferencia de archivos entre un local y un equipo remoto. Más allá de esto , WinSCP ofrece gestor de archivos básica y la funcionalidad de sincronización de archivos .
Entre para vSphere Client y abrir la consola de Acronis vmProtect Virtual Appliance . Anote o recordar la dirección IP de la misma.
Pulse CTRL- SHIFT- ALT -SPACE- F1 y luego ALT- F2 ( esto le llevará a la interfaz de línea de comandos) ; En la consola , por favor escriba este comando : / bin / sshd
Inicie la utilidad WinSCP en el equipo en que está instalado ; En el campo de la máquina anfitriona escriba su Acronis vmProtect IP Virtual Appliance (registrados en el paso 2) , el mismo que en la consola vSphere . El nombre de usuario predeterminado : la contraseña es root : root (la contraseña puede ser diferente si la ha cambiado a través de la consola web en Configurar - > Contraseña del Agente) .
El protocolo debe establecer en SCP y luego presiona conexión ; Obtendrá una ventana con todos los directorios del aparato ( interfaz de Windows Commander -like) . Aquí usted debe navegar por la carpeta de copia de seguridad /Var/Lib/Acronis/online Backup/email y descargar el Cetrificate ( . Crt -file)
Para volver a la GUI de Acronis pulsar ALT - F1
Entre para vSphere Client y abrir la consola de Acronis vmProtect Virtual Appliance . Anote o recordar la dirección IP de la misma.
Pulse CTRL- SHIFT- ALT -SPACE- F1 y luego ALT- F2 ( esto le llevará a la interfaz de línea de comandos) ; En la consola , por favor escriba este comando : / bin / sshd
Inicie la utilidad WinSCP en el equipo en que está instalado ; En el campo de la máquina anfitriona escriba su Acronis vmProtect IP Virtual Appliance (registrados en el paso 2) , el mismo que en la consola vSphere . El nombre de usuario predeterminado : la contraseña es root : root (la contraseña puede ser diferente si la ha cambiado a través de la consola web en Configurar - > Contraseña del Agente) .
El protocolo debe establecer en SCP y luego presiona conexión ; Obtendrá una ventana con todos los directorios del aparato ( interfaz de Windows Commander -like) . Aquí usted debe navegar por la carpeta de copia de seguridad /Var/Lib/Acronis/online Backup/email y descargar el Cetrificate ( . Crt -file)
Para volver a la GUI de Acronis pulsar ALT - F1
jueves, 29 de noviembre de 2012
Como : Apagar una VM ESXi mediante comandos
1. Paso : Conexion al host mediante ssh
2. Paso : Listar las maquinas instladas en el mismo y recordar el numero
de la que queremos encender/apagar.
~ # vim-cmd /vmsvc/getallvms
3. Paso : Encender la maquina con VMnumber n
# vim-cmd /vmsvc/power.on 32
4. Paso : Apagar la maquina con VMnumber n
# vim-cmd /vmsvc/power.shutdown VMnumber
5. Paso : En caso de no poder apagar correctamente la maquina mediante el anterio comando
podemos usar el siguiente
# vim-cmd /vmsvc/power.off VMnumber
2. Paso : Listar las maquinas instladas en el mismo y recordar el numero
de la que queremos encender/apagar.
~ # vim-cmd /vmsvc/getallvms
3. Paso : Encender la maquina con VMnumber n
# vim-cmd /vmsvc/power.on 32
4. Paso : Apagar la maquina con VMnumber n
# vim-cmd /vmsvc/power.shutdown VMnumber
5. Paso : En caso de no poder apagar correctamente la maquina mediante el anterio comando
podemos usar el siguiente
# vim-cmd /vmsvc/power.off VMnumber
lunes, 8 de octubre de 2012
Como renombrar disco virtual mediante comandos
1. Paso : Acceder mediante ssh
2. Paso : Cambiarte al directorio en cuestion:
cd /vmfs/volumes/datastore
Cuando nos movamos a la carpeta en cuestión esta queda sustituida por un churro.
cd virtualmachinedirectory
3. Paso : Ejecutar el siguiente comando.
vmkfstools -E NombreAntiguo.vmdk NombreNuevo.vmdk
2. Paso : Cambiarte al directorio en cuestion:
cd /vmfs/volumes/datastore
cd virtualmachinedirectory
3. Paso : Ejecutar el siguiente comando.
vmkfstools -E NombreAntiguo.vmdk NombreNuevo.vmdk
viernes, 28 de septiembre de 2012
Como actualizar ESXi 5.0 Update 1 mediante vib
El update 1 de ESXi 5.0 conlleva una limitacion en el autoarranque de las maquinas virtuales , para ello deberemos de aplicar el siguente parche.
1. Paso : Iniciar sesion en http://www.vmware.com
2. Paso : Ir a la url https://www.vmware.com/support/pubs/sdk_pubs.html
3. Paso : Descarga de vSphere 5.0 Update 1 SDK
for Perl y descagar el parche en formato vib
4. Paso : Instalar el mismo en una maquina cliente
5. Paso : Activar en el ESXi acceso a shell remoto desde Service
properties - remote access
6. Paso : Parar las
vm
7. Paso : Poner el server en modo
mantenimiento.
8. Paso : En el equipo cliente lanzar una consola de MSDOS
9. Paso : Cambiar de directorio a C:\Program Files
(x86)\VMware\VMware vSphere CLI\bin\
10. Paso : Copiar el archivo vib a un directorio temporal (por ejemplo "parches").
11. Paso : Listar disponibles.
esxcli --server=IPdestino --username=root software sources vib list --depot=/vmfs/volumes/Datastore/Parches/ESXi500-201207001.zip | more
10. Paso : Instalar desde el zip.
esxcli --server=IPdestino --username=root software vib update
--depot=/vmfs/volumes/Datastore/Parches/ESXi500-201207001.zip
11. Paso : Reiniciar la maquina y arrancar las vm.
miércoles, 5 de septiembre de 2012
Como convertir discos Thick a Thin
Conversion de Thick a Thin
1. Paso : Parar las maquinas virtuales
2. Paso : Acceder al panel de ESXi en la opcion de "configuration".
3. Paso : Security Profile - Services - Properties.
5. Paso : Autenticacion como root.
6. Paso : Cambiarnos al directorio en cuestion
cd vmfs/volumes/datastore/server
7. Paso : Comando de conversion : Ojo con el nombre del disco es el que nos aparece en la opcion "disk file" .
vmkfstools -i discothick.vmdk -d discothin.vmdk
5. Paso : Conexion mediante VMware vSphere Client y eliminamos el disco antiguo y añadimos el nuevo.
Acordarse de eliminar el disco antiguo del datastore.
domingo, 26 de agosto de 2012
Como mover maquinas virtuales de un ESXi a otro ESXI
Basicamente tenemos que tener los dos Esxi en el mismo rango , tener paradas las maquinas virtuales en el origen y utilizar el cliente "VMware vsphere client " para realizar el proceso sin tener que pagar una licencia de vmotion.
This process will require that, at least temporary, the “source” ESXi server has access to some storage that will be used by the “destination” ESXi server. In my case, I use a NFS shared Datastore that is visible from both ESXi ; I expect a VMFS on FC or iSCSI to work as well.
As seen previously, you can’t migrate a “living” Virtual Machine ; it has to be paused or shutdown before it can be moved. This is quite expectable as there would be no reasons to pay for vMotion if it could be done by some other way…
What has to be know while dealing with ESXi migration is that, although we’re using virtual hardware, a running Virtual Machine has some kind of adherence to the physical CPU it is running on. In my case, I moved the VMs from a physical ESXi to a virtual one and the paused Virtual Machines couldn’t be restarted in their paused state. You can probably face the same problem if migrating between ESXi that have not the exact same CPU (and CPU features). The error I got was “Your virtual machine did not resume because of a correctable error”. I choose the “Delete” option and the VM started as if I had been savagely powered down. So my advice is to properly shutdown the Virtual Machine before migrating it from one ESXi server to another.
The migration process is then really simple ; at least as simple as seen in the previous section. We’ll assume that the Virtual Machine is already located in some shared space.:
– Connect to the “source” ESXi server using the vSphere client ;
– Execute “Shut Down Guest” on the Virtual Machine to be moved ;
– Right-click on the Virtual Machine object and select “Remove from Inventory” ;
– Connect to the “destination” ESXi server using the vSphere client ;
– Open the shared Datastore browser ;
– Browse to the location where the VM files are and select the VMX file ;
– Right-click the object and select the “Add to Inventory” action ;
– Follow the wizard to attach the Virtual Machine to the “destination” ESXi server ;
You can now start the Virtual Machine.
As seen previously, you’ll get a warning message telling you that “The Virtual Machine might have been moved or copied”.
If you’re a lucky Administrator, the Virtual Machine should now be up and running from the “destination” ESXi server. Note that it only takes a few seconds to migrate a Virtual Machine from one ESXi to another (since the VMs is powerred off).
This process will require that, at least temporary, the “source” ESXi server has access to some storage that will be used by the “destination” ESXi server. In my case, I use a NFS shared Datastore that is visible from both ESXi ; I expect a VMFS on FC or iSCSI to work as well.
As seen previously, you can’t migrate a “living” Virtual Machine ; it has to be paused or shutdown before it can be moved. This is quite expectable as there would be no reasons to pay for vMotion if it could be done by some other way…
What has to be know while dealing with ESXi migration is that, although we’re using virtual hardware, a running Virtual Machine has some kind of adherence to the physical CPU it is running on. In my case, I moved the VMs from a physical ESXi to a virtual one and the paused Virtual Machines couldn’t be restarted in their paused state. You can probably face the same problem if migrating between ESXi that have not the exact same CPU (and CPU features). The error I got was “Your virtual machine did not resume because of a correctable error”. I choose the “Delete” option and the VM started as if I had been savagely powered down. So my advice is to properly shutdown the Virtual Machine before migrating it from one ESXi server to another.
The migration process is then really simple ; at least as simple as seen in the previous section. We’ll assume that the Virtual Machine is already located in some shared space.:
– Connect to the “source” ESXi server using the vSphere client ;
– Execute “Shut Down Guest” on the Virtual Machine to be moved ;
– Right-click on the Virtual Machine object and select “Remove from Inventory” ;
– Connect to the “destination” ESXi server using the vSphere client ;
– Open the shared Datastore browser ;
– Browse to the location where the VM files are and select the VMX file ;
– Right-click the object and select the “Add to Inventory” action ;
– Follow the wizard to attach the Virtual Machine to the “destination” ESXi server ;
You can now start the Virtual Machine.
As seen previously, you’ll get a warning message telling you that “The Virtual Machine might have been moved or copied”.
If you’re a lucky Administrator, the Virtual Machine should now be up and running from the “destination” ESXi server. Note that it only takes a few seconds to migrate a Virtual Machine from one ESXi to another (since the VMs is powerred off).
miércoles, 15 de agosto de 2012
Como redimensionar particiones en ESXI
Excelente articulo de como realizar una redimension de discos en VMware y su aplicacion practica en entornos windows.
URL : http://www.petenetlive.com/KB/Article/0000381.htm
URL : http://www.petenetlive.com/KB/Article/0000381.htm
miércoles, 28 de diciembre de 2011
VMware Basic
Apuntes curso VM 7 Marzo de 2007....
Hypervisor : Kernel sobre el cual se ejecutan las vm.
VMware GSX : Virtualizacion (sobre un sistema operativo).
VMware ESX : Paravirtualizacion (virtualizacion real).
VMware Motion : App para migrar maquinas físicas a virtuales.
VMware Player : App para ejecutar mv creadas con anteriormente.
VMware Workstation : App para crear mv en entornos de test.
VMware Infraestructure : Conjunto de servicios.
VMware Consolidated Backup : App de copias de mv.
VMware DRS : App para balanceo de cargas entre diferentes Hosts.
VMware FS : Sistema de archivadamo propietario de VMware.
VMware ACE : Paquetizador de vm.
VMware VDI : App para vitualizar los puestos de trabajo.
VMware Fusion : Worksataion para entornos MAC.
VMware Lab Manager : Repositorio de mv de VMware.
Hypervisor : Kernel sobre el cual se ejecutan las vm.
VMware GSX : Virtualizacion (sobre un sistema operativo).
VMware ESX : Paravirtualizacion (virtualizacion real).
VMware Motion : App para migrar maquinas físicas a virtuales.
VMware Player : App para ejecutar mv creadas con anteriormente.
VMware Workstation : App para crear mv en entornos de test.
VMware Infraestructure : Conjunto de servicios.
VMware Consolidated Backup : App de copias de mv.
VMware DRS : App para balanceo de cargas entre diferentes Hosts.
VMware FS : Sistema de archivadamo propietario de VMware.
VMware ACE : Paquetizador de vm.
VMware VDI : App para vitualizar los puestos de trabajo.
VMware Fusion : Worksataion para entornos MAC.
VMware Lab Manager : Repositorio de mv de VMware.
viernes, 6 de febrero de 2009
VMware Infraestrucure 3.5
Resumen de las funciones de cada aplicación
VMware VirtualCenter: Centralized management console of servers and virtual machines.
VMware VMotion: Move running virtual machines from one server to another with zero downtime.
VMware Storage VMotion: Migrate live virtual machine disks from one storage array to another with zero downtime.
VMware High Availability (HA): Cost effective high availability for applications running in virtual machines.
VMware Consolidated Backup (VCB): Centralized backup facility for virtual machines.
VMware Distributed Resource Scheduler (DRS): Dynamically allocates and load balances resources to virtual machines.
VMware Update Manager: Ensure compliance by automating VMware ESX hosts and Microsoft or Linux virtual machine patches and updates.
martes, 27 de enero de 2009
viernes, 9 de enero de 2009
Ampliar tamaño del disco duro virtual en VMWARE
Se debe de ejecutar el siguiente comando:
E:\vm\w2003>"C:\Archivos de programa\VMware\VMware Workstation\vmware-vdiskmanager.exe" -x 12GB "Windows Server 2003 Standard Edition.vmdk"
Teniendo en cuenta que luego se necesitara realizar un resize con alguna herramienta de terceros (Partition Manager,knopixx, etc).
E:\vm\w2003>"C:\Archivos de programa\VMware\VMware Workstation\vmware-vdiskmanager.exe" -x 12GB "Windows Server 2003 Standard Edition.vmdk"
Teniendo en cuenta que luego se necesitara realizar un resize con alguna herramienta de terceros (Partition Manager,knopixx, etc).
Suscribirse a:
Entradas (Atom)

