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

Badges
MCSE
Community

Cozumpark Bilisim Portali
Posted in Linux Server, Virtual Machine Manager | 4 Comments | 8,666 views | 26/03/2012 04:19

Ubuntu 12 is coming with Hyper-V drivers for the best integration and usability. Ubuntu 12 is still in Beta like Hyper-V v3 but results are promising. I’m posting some important screenshots from Ubuntu 12. You can also find benchmark results of new Ubuntu 12 on Hyper-V v3.

1. Ubuntu Login Screen and no “SMBus Base Address Uninitialized” warning anymore!

2. Ubuntu 12 recognizes Hyper-V synthetic network driver by default.

3. Let’s see installed Hyper-V modules.



Posted in Virtual Machine Manager, Windows Powershell | No Comment | 5,550 views | 19/03/2012 21:12

Hello,

Info: SetLinuxVM now supports Hyper-V v3 and SCVMM 2012 SP1 as well!

After number of bug fixes, improvements and new functionalities, Set-LinuxVM reached to version 3.1 stable.

Fixed bugs:
1) Integration services installation bug.
2) Synthetic network adapter issue
3) Wait-VMProcess improvements

New functionalities:
1) Windows Server 8 Beta support! You can use SetLinuxVM on Powershell v3.
2) Hyper-V v3 support! SetLinuxVM is now compatible with new Hyper-V wmi interface.
3) SCVMM 2012 SP1 support! SetLinuxVM recognizes SCVMM 2012 SP1 and uses it automatically.
4) New Restart-LinuxVM command for Linux VM reboot.

General functionalities:
1) Unattended IP, Hostname and DNS configuration for Linux VMs.
2) Automatic Linux integration components installation.
3) Multi Distro Support: Debian, Ubuntu, Centos, Fedora, Redhat, Suse and CloudLinux!
4) Automatic CPanel and Parallels Plesk installation.
5) Linux VM Template support
6) Hyper-V support! You don’t need SCVMM to use this script.
7) Multiple Hyper-V and SCVMM host support.
8) Automatic Emulated NIC to Synthetic NIC support.
9) No need to internet connection (SSH access etc.) or additional changes on VM.
10) Custom Answer File support! You can execute your own scripts.

Copyright (C) 2012 Yusuf Ozturk

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Download:

Donate: Thanks to support this open source project!





Usage:

1. First, you should allow signed Powershell scripts:

Set-ExecutionPolicy AllSigned

2. Extract file and move “SetLinuxVM” directory under to “C:\Windows\System32\WindowsPowerShell\v1.0\Modules”.

3. Import as a module:

Import-Module SetLinuxVM

4. That’s it. To see how to use it:

Get-help Set-LinuxVM -full

5. Follow to instructions.

You can search in my blog for how to create Linux VM templates!


Posted in Windows Powershell | 1 Comment | 5,184 views | 06/03/2012 22:21

In this post, I’ll talk about network operations on Windows Server 8 Beta. I have a virtual machine on my Hyper-V server with 4 virtual network adapter. They are all binded to same network, so I can set same ip addresses on them and I’m also able to make them teamed.

1. First of all, lets get network adapters.

Get-NetAdapter

I see all network adapters with some informations like name, description, ifindex and status.

2. I’ll get one of them and see full details.

Get-NetAdapter -Name "Wired Ethernet Connection"

Btw, you can also use wildcard (*) in your commands to make them easy.

Get-NetAdapter -Name "Wired*Connection

As you see, both of them works as we expected.



Posted in Windows Powershell | 1 Comment | 3,098 views | 05/03/2012 02:16

You may not use Microsoft WebMatrix 2 Beta if your region format is not English. In that case you will probably see “index was outside the bounds of the array” when you try to edit files. I wrote a quick workaround in Powershell to solve this problem.

1
2
3
4
Set-ItemProperty -Path "Registry::HKEY_CURRENT_USER\Control Panel\International" -Name LocaleName -Value en-GB
& ${Env:ProgramFiles(x86)}"\Microsoft WebMatrix\WebMatrix.exe"
Start-Sleep 10
Set-ItemProperty -Path "Registry::HKEY_CURRENT_USER\Control Panel\International" -Name LocaleName -Value tr-TR

You should use this script to start WebMatrix 2 Beta. You can change shortcut path to execute this script as well.

Applied to: PowerShell v2, PowerShell v3


Posted in Windows Powershell, Windows Server | No Comment | 7,745 views | 05/03/2012 00:44

In this post, I’ll talk about disk operations on Windows Server 8 Beta. I have Windows 7 and Windows Server 8 Beta on a PC and I want to install Windows 8 Beta as well. I will resize my current Windows Server 8 partition and create a new partition for Windows 8 Beta. When I want to do this operation via Server Manager GUI (in case of you have Server 8 with GUI), I don’t see any option for “Shrink”. Maybe I’m looking to wrong section but here it is:

So lets do this operation via Powershell.

1. First of all lets get partition information.

Get-Partition

2. My drive letter is W. So I can get detailed information.

Get-Partition -DiskNumber 1 -PartitionNumber 2

3. Drive size is 373 Gb. I’ll resize it to 250 Gb.

Get-Partition -DiskNumber 1 -PartitionNumber 2 | Resize-Partition -Size 250GB