search
Categories
Sponsors
VirtualMetric Hyper-V Monitoring, Hyper-V Reporting
Archive
Blogroll

Badges
MCSE
Community

Cozumpark Bilisim Portali
Posted in Virtual Machine Manager, Windows Powershell | No Comment | 1,931 views | 24/01/2009 11:46

Şimdi belirli bir Virtual Host yani vmhost içersindeki tüm vm’leri, nasıl VHD path’lerine göre sıralayabileceğimizi göreceğiz. Bence bu sıralama, Hyper-V ve VMM admini için önemli bir adım. Çünkü bildiğiniz gibi, performans üzerindeki en büyük faktörlerden bir tanesi VDS dizini. Eğer bir HDD üzerine çok sayıda VM yerleştirirseniz, Hyper-v’den daha düşük bir performans alirsiniz. Bu yüzden eğer bir VM deploy edeceksek, öncelikle disk durumlarını kontrol etmeli, daha sonra deploy işlemini başlatmalıyız. Şimdi sıralama için gerekli kodları görelim.

1
get-vmhost hyperv09.hyperv.pluvia.org | Get-VM | Get-VirtualHardDisk | sort-object Location | Format-List Name,Location

Görebileceğiniz gibi hyperv09.hyperv.pluvia.org bizim Hyper-v sunucumuz yani vmhost’umuz. Eğer sıralamayı Location’a göre yapıp, listelemeyi de Format-List Name,Location yapacak olursak, gayet düzgün bir print elde etmiş oluruz. Kolay gelsin.


Posted in Virtual Machine Manager, Windows Powershell | No Comment | 3,125 views | 23/01/2009 13:07

Now we are going to list all virtual machines (vm) in a specific Virtual Host (vmhost) by sorting VHD Path. I think this is really important for Hyper-v and VMM administrators. Because we know, one of the biggest factor on performans is VHD location. If you place so many Virtual Machines in one IDE/SATA hdd, you get low performans from Hyper-v. So if you want to make a script to deploy a vm, first you see disc situations and then you should choose a path. Lets see sorting codes:

1
get-vmhost hyperv09.hyperv.pluvia.org | Get-VM | Get-VirtualHardDisk | sort-object Location | Format-List Name,Location

As you see, hyperv09.hyperv.pluvia.org is our vmhost. If we type Format-List Name, Location, we can easily see VHD locations of Virtual Machines. Good luck.

This post also available in Turkish.


Posted in Linux Server | 1 Comment | 3,233 views | 19/01/2009 08:58

Bazen hatalı kurulumlar sonra source.list güncellenemiyor ya da hatalı güncelleniyor. Bazen eklemiş olduğunuz source.list’te çalışmayabiliyor. İnternetten default list’i aradım ve bulabildiğim en sağlam source.list aşağıdaki çıkmıştı. Aşağıdaki listeyi, source.list içersine ekleyip, aptitute-update yapabilirsiniz.

deb http://cudlug.cudenver.edu/debian/ stable main
deb-src http://cudlug.cudenver.edu/debian stable main
#deb http://security.debian.org/ stable/updates main contrib
deb http://security.debian.org/ etch/updates main contrib non-free

Liste içersinde bir tane dahil edilmemiş adres daha var gördüğünüz gibi. Default list bu şekilde olduğu için ekledim. Dilerseniz source.list içersine eklemeyebilirsiniz. Kolay gelsin.