Páginas

terça-feira, 24 de fevereiro de 2009

VMWare:Iniciando as VMs atraves da Linha de Comando - ebasso.net Wiki

VMWare:Iniciando as VMs atraves da Linha de Comando - ebasso.net Wiki: "VMWare:Iniciando as VMs atraves da Linha de Comando
De ebasso.net Wiki
Ir para: navegação, pesquisa

O VMWare vem com o utilitário vmware-cmd que permite através da linha de comando ou shell realizar as seguintes ações sobre as Máquinas Virtuais:

* Iniciar / Parar VM

* Verificar o status das VMs

* Definir Váriaveis

[editar] Listando as Máquinas Virtuais

Você pode listar todos os servidores e arquivos de configuração, através do comando:

vmware-cmd -l

Saída:

/VirtualMachines/OpenSUSE/OpenSUSE.vmx
/VirtualMachines/VMDomino/vmdomino.vmx
/VirtualMachines/VMAsterisk/vmasterisk.vmx
/VirtualMachines/VMPortal/portal.vmx
/VirtualMachines/CentOS5/CentOS5.vmx

Turn on VM / Power up VPS

Just pas start option to vmware-cmd,

1. vmware-cmd /nas/vms/FreeBSD/FreeBSD.vmx start

To stop VM/VPS, enter:

1. vmware-cmd /nas/vms/FreeBSD/FreeBSD.vmx stop

To reset VM/VPS, enter:

1. vmware-cmd /nas/vms/FreeBSD/FreeBSD.vmx reset

To suspend VM/VPS, enter:

1. vmware-cmd /nas/vms/FreeBSD/FreeBSD.vmx suspend

Find out if OpenBSD VM is on or off:

1. vmware-cmd /disk2."

ESXGuide - Home

ESXGuide - Home
Site com muitos recursos sobre o vmware ESX, destacando:
* Artigos
* Downloads
* Tools
* Softwares de terceiros

Virtual Strategy Magazine - Top 10 Free Tools That Should Be In Every VMware Administrator’s Toolkit

Virtual Strategy Magazine - Top 10 Free Tools That Should Be In Every VMware Administrator’s Toolkit

Putty and SSH Plug In

http://www.chiark.greenend.org.uk/~sgtatham/putty/ / http://akutz.googlecode.com/files/ConsoleClientSetup-0.1.5.msi

SSH clients for remotely connecting to the ESX service console. Putty runs as a standalone application and the SSH Plug-in is a VI client plug-in that integrates an SSH console directly into the client.

WinSCP and Veeam FastSCP

http://winscp.net/eng/download.php / http://www.veeam.com/vmware-esx-fastscp.html

SCP clients for browsing ESX server file systems and transferring files to/from ESX hosts

VI3 SnapHunter and Snap Alert

http://www.xtravirt.com/index.php?option=com_remository&Itemid=75&func=fileinfo&id=19 / http://vmprofessional.com/index.php?content=snapalert

Utilities that can report all running snapshots on ESX hosts including name, size and date. Can also automatically email reports and optionally commit snapshots.

VI Scripted Backup Utility

http://www.xtravirt.com/index.php?option=com_remository&Itemid=75&func=fileinfo&id=7

A backup utility that is run from the Service Console that provides VMDK level backups of any VM on storage accessible by the host. The script can be targeted at any ESX server or VC server, and if pointed at a VC server is DRS aware.

MCS StorageView

http://www.mightycare.de/downloads/task,cat_view/gid,16/

A utility that displays all the logical partitions, operating system, capacity, free space and percent free of all virtual machines on ESX 3.x or Virtual Center 2.x . It can also display how many gigabytes you can save by decreasing the logical partition to a size the VM really needs.

Storage vMotion Plug-In

http://akutz.googlecode.com/files/SVMotionClientSetup-0.4.4.msi

A VI client plug-in that extends the client’s functionality by providing an integrated, graphical tool that can be used to invoke storage VMotion (SVMotion) operations.

Vmotion Info

http://www.run-virtual.com/?page_id=155

A program that will collect Vendor, Model, CPU Types and the CPU feature bits from all hosts to check for vMotion compatibility.

VMCdConnected

http://www.ntpro.nl/blog/archives/172-Software.html

Scans all Virtual Machines and shows if they have a CD connected to it. After scanning the VM’s you can disconnect all the CD’s with a click of a button.

VMware Converter

http://www.vmware.com/download/converter/

Performs hot and cold conversions of physical and virtual servers to virtual machines. Also converts image formats.

Tripwire ConfigCheck

http://www.tripwire.com/configcheck/

Quickly assesses the security of VMware ESX 3.5 hypervisor configurations compared to the VI3 Security Hardening guidelines. Ensures that ESX environments are properly configured and provides the necessary steps towards full remediation when they are not.

Shrinking Hard Disk With Free Tools - VMWare Disk Manager And DiskPart | Current Events in Computer Technology | KodeeXII.Net

Shrinking Hard Disk With Free Tools - VMWare Disk Manager And DiskPart | Current Events in Computer Technology | KodeeXII.Net

I was having a go at upgrading an XP virtual machine to Vista. During the exercise, I faced a number hard disk management issues. First, I needed to enlarge the virtual machine’s disk size as required by Vista. Once the disk was successfully enlarged, I then needed to extend the system partition before the Vista upgrade can proceed. After upgrade completes, I need to do shrink the virtual disk as it’s already quite large in size.

Allow me to first introduce two tools I used in the exercise. The first is the VMWare Disk Manager tool (vmware-vdiskmanager.exe). This virtual disk manager is included in the VMWare Server installation package.

segunda-feira, 23 de fevereiro de 2009

ESXi monitoring - Free ESXi Monitor for VMware infrastructure – Veeam Monitor

ESXi monitoring - Free ESXi Monitor for VMware infrastructure – Veeam Monitor: "The Veeam Monitor Free Edition is an easy-to-use VMware monitoring solution designed to meet the day-to-day needs of VMware administrators who need real-time performance monitoring and alerting. Built from the ground up specifically for the virtual world, Veeam Monitor provides a bird’s-eye view of key performance metrics across your virtual ESXi infrastructure."

VM Explorer

VM Explorer: "VMX - Trilead VM Explorer
Trilead VM Explorer is a management tool that eases management, backup and disaster recovery tasks in your VMware ESX Server environment. You get maximum flexibility: backups can be stored to ESX, Windows, Linux and FreeBSD based storage platforms or directly to a SAN. Our newest edition even has beta support for the ESX 3i server."

Solution Centre Blog - Converting a Xen VM to a VMware ESX VM with VMware Converter 3

Solution Centre Blog - Converting a Xen VM to a VMware ESX VM with VMware Converter 3: "Converting a Xen VM to a VMware ESX VM with VMware Converter 3

We have several virtualisation host servers here in the office, XEN and VMware being the main two. As we do considerable testing, rebuilds, etc. We often move the virtual machines about between host servers. Typically we will move between ESX servers."

Virtual Geek: A Multivendor Post to help our mutual iSCSI customers using VMware

Virtual Geek: A Multivendor Post to help our mutual iSCSI customers using VMware: "A “Multivendor Post” to help our mutual iSCSI customers using VMware

Today’s post is one you don’t often find in the blogosphere, see today’s post is a collaborative effort initiated by me, Chad Sakac (EMC), which includes contributions from Andy Banta (VMware), Vaughn Stewart (NetApp), Eric Schott (Dell/EqualLogic), and Adam Carter (HP/Lefthand), David Black (EMC) and various other folks at each of the companies."

sábado, 21 de fevereiro de 2009

Bestlinux.com.br - Criando máquinas virtuais online

Bestlinux.com.br - Criando máquinas virtuais online

A criação de máquinas virtuais para o VMware Player já pode ser feita online, graças ao Virtual Machine Creator. Este serviço web permite criar uma máquina virtual do Windos 3.1 ao Windows Vista; do Red Hat a uma versão genérica de GNU/Linux; do NetWare à FreeBSD.

Além de escolher o sistema operacional, os usuários podem escolher a quantidade de memória RAM que querem designar para a máquina virtual, e também o tamanho da drive virtual.

Depois de criada a imagem, o usuário terá que fazer o download de um arquivo zip com dois arquivos: o arquivos de configuração do VMWare e o disco virtual do VMWare. Vale lembrar que as imagens estão em branco, prontas para instalar o sistema operacional escolhido.

Link: Virtual Machine Creator

Bestlinux.com.br - Algumas Ferramentas para o VMware

Bestlinux.com.br - Algumas Ferramentas para o VMware
Navegando por ai, achei algumas ferramentas úteis para quem utiliza o VMware.

VMware DiskMount GUI
http://petruska.stardock.net/software/VMware/#DiskMount

VDK GUI
http://petruska.stardock.net/software/VMware/#DiskMan

VMware DiskManager GUI
http://petruska.stardock.net/software/VMware/#DiskFactory

VMX Builder
http://petruska.stardock.net/software/VMware/

Sanbarrow: Informações sobre máquinas virtuais;
http://sanbarrow.com/VMware’s

Ferramentas e dicas para o VMware;
http://chitchat.at.infoseek.co.jp/vmware/

Parâmetros disponíveis no arquivo VMX.
http://sanbarrow.com/vmx.html

10 ways to Increase Performance on a VMware System

10 ways to Increase Performance on a VMware System
1. Upgrade Your RAM
2. Upgrade Your CPU
3. Upgrade Your Hard Disk
4. Split Virtual Disks Among Multiple Hard Disks
5. Separate Out Virtual Swap Files Onto Separate Virtual Disks
6. Disable the CDROM in VMware
7. Run VMware in Full Screen Mode
8. Disable Windows Visual Effects
9. Defrag Your Virtual Disks
10. Use VMware Tools

terça-feira, 17 de fevereiro de 2009

Livro em portugues sobre o editor Vim

Sérgio Luiz Araújo Silva iniciou um projeto no google code para desenvolver um livro em português sobre o editor Vim, atualmente conta com mais de 20 membros e já é possível baixar uma versão com mais de 100 páginas através do link: http://code.google.com/p/vimbook/downloads/list.

Muitos administradores de sistemas e programadores perdem tempo por não conhecer a infinidade de recursos deste editor, não perca tempo! Baixe já seu livro, não custa nada! Evite imprimir (poupe árvores) além do mais o livro tem novas versões constantemente.

Sérgio Luiz Araújo silva é Analista de Sistemas Web, Autor do manual do inkscape disponível no site nou-rau, entusiasta do Software Livre. Blog: Viva o Tux.

segunda-feira, 9 de fevereiro de 2009

Redirecting output of the bash keyword time

In a shell script I wanted to take the execution time of a command and redirect it to a file. First I tried the following:

time command > time.txt

It didn't work. Then I found out that the time command prints its output to stderr. I changed the command to:

time command 2> time.txt

It didn't work either. The time's output was still printed on the console.

It turned out that time is a reserved word in bash. It's not like most of the builtin commands in bash but it's a true part of the command line syntax like 'if' or 'while'.

Redirecting the output of the bash time can be achieved by executing the whole command (including the time part) in a subshell as follows:

(time command) 2> time.txt

Launching a subshell is not necessary. Redirecting output of a code block works as well.

{ time ls; } 2> time.txt

This will probably be more efficient that executing the external /usr/bin/time command . Also the bash time command may have some features you need. Or you want to rely on bash time because you don't know if the system installed time utility will have the features you need or not.

In redirection and pipe behaviour this is actually the equivavelnt of executing the external time command /usr/bin/time .

Suppressing the output from the command itself can be made by redirecting its standard output and standard error to /dev/null

{ time command > /dev/null 2>&1 ; } 2> time.txt