martedì 5 luglio 2011

PASSED VCAP-DCD Exam


And finally arrives the confirm from the vmware certification team.

I Pass the VDCD410 Exam! I.m the VCAP-DCD#306!

The exam is long. For the people who want to to take it I can suggest this blog and the VMTN community for the exam.

Have a nice day

aLex

martedì 31 maggio 2011

vCenter Converter error deploying agent

A week ago my collegue had a problem for p2v a machine. When she started the vConverter task from the vCenter after she compiled the form for IP, User and Pass the server reported an error: Cannot connect to the machine.

After some checks I found the problem: the vCenter server cannot connect to the machine for Domain trust problem. I suggested to my collegue to install manually the vConverter Agent on the machine and than the vConverter server can scan the data and the P2V worked fine.

The vConverter Agent is in this path "C:\Program Files (x86)\VMware\VMware vCenter Converter"
and the file has this name so explicit "VMware-Converter-Agent.exe"

my 2 cent.
aLex

mercoledì 30 marzo 2011

Change PSP to RoundRobind by script in vMA

A weeks ago I saw this post on the Duncan Epping's blog(a very nice virtualization blog)!
I also use a script to change the PSP on my environment, but I start to use vMA for a repository of the script and cmd line maintenance of the ESX. Ok for now I'll continue to use the ESX and not the ESXi, but the future is ESXi and vMA.



I write this script for change the PSP


#Script per settaggio PathSelectionPolicy a Round Robin
#Autore: aLex
#ver 1.2
#date 30/03/2011
SERVER=$1

#Collegato a server in vifp
vifptarget -s $SERVER

#Modifica la policy di default per i device del Symmetrix - VMax
esxcli --server $SERVER nmp satp setdefaultpsp -s VMW_SATP_SYMM -P VMW_PSP_RR

# Inserimento ciclo for per prendere tutti i device.
for i in $(esxcfg-scsidevs -c | awk '{ print $1 }' | grep naa.600 );
do
esxcli --server $SERVER nmp device setpolicy -P VMW_PSP_RR -d $i;
done

echo 'Modifica terminata'

#Chiusura connessione vifp
vifptarget -c

I connect to the server, than I change the default PSP fot the satp of the EMC VMAX SAN and than I chnage the PSP for all the device.

For the script you need to have all the server added to the vifp db than you can run the script with the name of the server.

Disclaimer: This script is for education pourposes. It function correctly for my environment, but test it on a lab environment before you use in production.

aLex

martedì 22 marzo 2011

Passed VCAP-DCA Exam

Hi All,

Yesterday arrived me the result of the exam VDCA410. I pass it!!!!

For study it I used the Sean Crookston VCAP page. Very thank you!

For the exam I just tell you that the exam is not simple. Try all the thing in a lab if you don't have a real life experience, and than feel comfortable when you take the exam.

have a nice day

aLex

sabato 29 gennaio 2011

ESXi 4.1 TSM (TechSupport Mode) start/stop VM

Hi all,
I'm studying for the VCAP-DCA exam, and I have a LAB.

My lab is a HP DC7800P with 6 GB of RAM and ESX4.1 for the core. Inside I run some Vm like 2ESXi and vCenter.
Today I want to start the VM from the cmd line.... but where is vmware-cmd???

In ESXi you need to enable TSM, then login through a SSH client like putty or term in Mac OSX then with thsi command you have the list of the vm

# vim-cmd vmsvc/getallvms

is the equal of vmware-cmd -l
and than with the VMID you can run this command

vim-cmd vmsvc/power.on VMID

my 2 cent

aLex

martedì 21 dicembre 2010

NFS and VMware ESX

ehy..

Who use a Linux machine as a repository for vmware?
I try it for a LAB environment. I create a LVM logical volume and than I share it through NFS. I connect it to the ESX and than I try to create a VM. On NFS datastore you cannot create a thin disk, but just thick disk!
I use RedHat Ent 5.5 with local disk formatted in ext3 filesystem.

I create a machine with 4GB HDU and all goes fine. Than I want to create a 40GB vm: Error.!
Oh.....
What's that?

After a little brain storming with me and I.... I find the problem: I create the ext3 filesystem with the default block size : mke2fs -j /dev/...
With this command the filesistem use the default block size 1024 and a max file size 16GB. A VM with a 16GB hdu is too little.

For resolution I reformat the filesystem with the command mke2fs -b 4096 -j /dev/... and now I can create a file of 2TB!!!

Remember the option when you want a repository for a VM.

aLex

venerdì 19 novembre 2010

SQL and Exchange on vmware

A very good link collection of SQL and Exchange on vSphere environment.

aLex