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

quarta-feira, 28 de janeiro de 2009

Joy of Pi | Pi Links

Joy of Pi | Pi Links: "Pi Pages on the Web
Web pages come and go, but we try to keep the following list up to date. If you find a link that doesn't work, please let us know."

terça-feira, 27 de janeiro de 2009

1 Million Digits of Pi

1 Million Digits of Pi: "This Perl program computes the first million digits of pi (including the '3' before the decimal point) and prints them. You can modify the number of digits to be calculated by editing the '1000000' in the center of the code."
             $|=3,141592;sub _
{print@_}sub o{_++$O[0
];_ 0for 1..$#O}sub O{$;=int
$=/10,'0/^ ^';if($;<9)
{_$_ for @O;;@O=()
;0}push @O,$;;0
,;push@ O,'.'if
$^==1; 0;if($;
==10){ print ,o,@O=(
)}}$?= 1000000 ;$-=10*
(q/@O= digits of pi =10/,1)
*int($? /3)+1;$
_=2for@ ,[0..$-]
,;for$^ (1..$?){
$"=$-;$O =0;until
($"<0){$/= 2*$"+1;$/=
10if$/==1;$==10*$,[$"]+$O;$,
[$"]=$=%$/;$O=int($=/$/
)*$"--,10}O}o

Online Basic Calculator - Calculate simple math equations

Online Basic Calculator - Calculate simple math equations: "Basic Calculator
Basic Calculator is used to perform simple calculations online. This calculator suits basic needs. The basic calculator offers four functions, which include addition, subtraction, multiplication and division. This is useful for calculations in lower level math courses such as solving the variable in algebra and adding up the angles in geometry."

segunda-feira, 26 de janeiro de 2009

Como eliminar as diferenças de CSS do IE6 e iE5.x com o ie7.js | TidBits

Como eliminar as diferenças de CSS do IE6 e iE5.x com o ie7.js | TidBits

O ie7.js é um script muito útil e muito bom, desenvolvido nos últimos 4 anos por Dean Edwards, tem 31 kb e o grande desafio de consertar os bugs de renderização de html e css do ie 5.x e 6.

E o que ele faz realmente?

Adiciona novos seletores :
:hover
:first-child
:last-child
[attr]
[attr="value"]
[attr~="value"]
[attr|="value"]
[attr^="value"]
[attr$="value"]
[attr*="value"]

Altera as propriedades de CSS
background-attachment - > aceitando posicionamento fixo
background-image -> passando a aceitar png alpha
cursor -> ie IE5.x passa a suportar pointer
display -> converte list-item para block no IE5.x
margin -> suporta auto no ie 5.x
adiciona as propriedades max-height, max-width, min-height e min-width

Arruma até o HTML e corrige bugs como o famoso “Doubled Margin” (float: left; margin-left: 10px;)

A descrição completa do que o script faz, com exemplos, está aqui.

Como eu coloco isso no meu site?

Faça download do script clicando aqui.
Insira o seguinte código dentro da tag head:

Recomendo o uso desse script para backends, administrativos, pois normalmente para corrigir um bug, o script renderiza a página do jeito comum e só depois aplica o script e isso, nuUm site grande, pode ficar com o conteúdo “dançando” antes de ser completamente carregado.

Já tem uma versão para corrigir os bugs do ie7 também (ie8.js) e pode ser baixada no site do desenvolvedor.

sexta-feira, 23 de janeiro de 2009

VisioCafe

VisioCafe
Templates para trabalhar com o software MS-Visio.

sexta-feira, 16 de janeiro de 2009

VM Monitor: Free Tools from SolarWinds

VM Monitor: Free Tools from SolarWinds: "Our free VM Monitor continuously monitors a VMware® ESX Server and its virtual machines. Track virtualization health at-a-glance and impress your boss with X-ray vision into your ESX Servers!"

terça-feira, 13 de janeiro de 2009

VMWare Knowledgebase Document -VMDK Recovery Tool (ESX 3.5 Update 3)

VMWare Knowledgebase Document -VMDK Recovery Tool (ESX 3.5 Update 3): "

Use the VMDK Recovery Tool to:

* Create a “block list” of your VMDK files. The block list file is a plain text file that keeps a record of all VMDKs of the virtual machines.
*
Recover VMDK files if they become deleted, or if the VMFS datastore gets deleted or corrupted."