Visualizzazione post con etichetta vmware. Mostra tutti i post
Visualizzazione post con etichetta vmware. Mostra tutti i post

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

mercoledì 3 novembre 2010

FileSystem ReadOnly on Linux Virtual MAchine

Hi all,

I find this article that explain the problem of the fesystem that became read only on a SAN issue.

Great.

aLex

giovedì 21 ottobre 2010

vCli 4.1 new command

Yeterday I tryed some cmmand on the vMA appliance for my study to the VCAP certification.

I Added the test vCenter with vifp addserver and than I want to list the client inside the Virtual Center. The response is here vicfg-hostops -o info --viserver vservertest and it returns the list of the ESX! Great!

On this document I find another great think of vMA for the migration from ESX to ESXi! The ability to kill an hung vm from the cmdline: now with the esxcli vms vm kill you can kill a vm that don't respond from the gui! Very Nice!

aLex

giovedì 7 ottobre 2010

vRanger 4.5.3 backup issue after upgrade to vSphere 4.1

Hi All,

last week I upgrade our production farm to vSphere 4.1 ESX, not ESXi.
After the upgrade I reenable the root login over ssh and reenter the credential on the vRanger console for the ESX.

All the backup on 3 of the 5 esx in the cluster fails with this errorFailed to acquire vm lock /vmfs/volumes/xxxxxxxxxxxxxxxxx/xxxxxxxxxxxx242/.vzmutex due to an SSH connection issue.

After some tricks and reserch I found this article that helps me to resolve the issue.

On the 3 esx with the error I remove the direcotry .vzbin under /tmp and than the backup goes fine.

aLex

mercoledì 22 settembre 2010

P2V a Domain Controller

This morning I read 2 post about the virtualization of an existing Domain Controller.

The post are these:
- Virtualizing a domain controller, how hard can it be from Gabes Blog
- P2V a domain Controller, why would you from vNinja blog.

My opinion and my experience says that is more simple and secure deploy a new vm and that promote it to a DC, attend the replication process, move the FSMO roles and after all demote the old DC.

aLex

giovedì 2 settembre 2010

Session at VmWorld

The vmworld at San Francisco is started on monday.

There are some session for new vCloud Director, but one interested is this for the change from ESX to ESXi or Hypervisor Server.

aLex

martedì 31 agosto 2010

VmWare Converter Standalone 4.3

Here the release notes of the new vmware Converter Stanalone. Thee news are the support for vSphere 4.1 and win 2008 R2 for guest, but the bad news is the installation on linux as server is disappered!

Bad!

Ok I use it only one time but I think the installation on linux permits of lot of people to create a converter cd for free!

Bye

aLex

venerdì 2 luglio 2010

Strange vmdk disk error

Hi all,
yesterday I had a strange vmdk/LUN failure over an ESX 4 U1.
The vm is a file server with 2 hard disk: 1 for the OS of 10GB and 1 for the data of 300GB. The disk was in thock mode and the vm was the only stored on a LUN of 350GB! You say " OK The LUN has much space for that VM!".

I say: NO! the Lun fills up all the space and the vm goes down! When I received the alarm on the LUN there was only 2Mb of free space!!
The problem was on the second hard disk. It was divided on more subdisk like a snapshot, but there was no snapshot. The other mistake was the provisioned space: the disk was thick so the space provisioned was the same, but see the image below



I search over the kb in vmware and I find 2 article for the solution.
The first is abount the snapshot and the second is about the child disk.

The second article help me to the solution. I cloned the hdu with vmkfstools -i on another LUN and than I change the configuration of the vm adding the new disk instead of the old big hdu!
It was a long time waititng answer! to clone the hdu it takes about 5 hours over a SAN!

bye

aLex

giovedì 17 giugno 2010

Strange network issue on FCoE environment

Hi all,
on this month I and my collegues migrate all the virtual infrastructure from EMC CX Clariion SAN to EMC Symmetrix VMAX SAN. On the ESX there was 2 CNA adapter:
- QLogic 8042
- Emulex LP21002
All the 2 interface for the network emulates an 82598EB 10Gigabit AF Dual port. The CNA are connected to Cisco Nexus 5020 switch. For the migration we create a new vSwitch whit all the portgroup and the emulex network for the physical adapter. The issue is the vm not connected to the network after a vmotion. With VMware and many stress test we found that the vm after a vmotion did't make an arp request for register the MAC to the new esx host, so the vm is connected to the virtual switch and another vm on the same esx and portgroup can ping it, but all the physical world can't ping it.

After many task we make a dirty solution: remove the QLOGIC CNA and make all the connection with the EMULEX card. This is the solution for our case! take attention for your environment! make many test and speack with vmware and log, log, log!

bye

aLex

venerdì 11 giugno 2010

ESX 4 Update 2

Hi all,

jost a little remind: VmWare released an upgrade of the vSphere infrastructure. Here the Release Notes.

aLex

venerdì 28 maggio 2010

End of VMware Server on 2011

Yes! I read this news on Alessandro Perilli's blog. If you have a VMware Server you need to migrate to ESXi or the player!

aLEx

giovedì 13 maggio 2010

Vmware vDR (Data Recovery) error -3948

Hi All..

Today I reconnect to my costomer where I made an installation very time ago. I see this error on the vDR appliance log for the backup



After a little reserch over the vmware kb I find this result:
1011678

The response is for the name resolution: I write the ip of my esx on the /etc/hosts of the vDR aplliance and all goes fine.

aLex

mercoledì 5 maggio 2010

Nice article for hot operation over disk on a linux vm

Here a nice post for some operation over a linux vm for add and remove disk and vmdk if the vm is live.

Great!

aLex

venerdì 23 aprile 2010

a little script powershell

just a little script in powershell.

Today I need to ping all the powered on VM in a little test environment.

Here the script:

# Ping Powered On VM on a VM environment

Connect-VIServer MYVISERVERORESX

$VMS = Get-VM | Where { $_.Powerstate -eq "PoweredOn" } | get-vmguest

Foreach ($VM in $VMS){
$OutVideo = "Pinging " + $VM.HostName
$OutVideo
$MyIP = $VM.IPAddress
ping $MyIP
}

aLex