Arquivo

Archive for maio \27\UTC 2011

Hyper-V : Como bloquear comunicacao entre VM’s utilizando script

O seguinte Script, demonstrado por Vijay Tewari e Taylor Brown no Teched US,  mostra como um Administrador de Hyper-V pode fazer para uma Maquina Virtual se comunicar somente com determinados Hosts, utilizando uma lista previa de enderecos de IP:

Atencao :

– Este script deve ser executado no Host Hyper-V e nao na VM.
– Somente funciona com W2008R2 Hyper-V SP1

#Single NIC Enable
$VmName = “Nome-da-Maquina-Virtual”
$Msvm_ComputerSystem = (Get-WmiObject -Namespace root\virtualization -Class Msvm_ComputerSystem -Filter “ElementName=’$VmName'”)

#Retreve the Msvm_VirtualSystemSettingData associated with this VM – there will be one per VM
$Msvm_VirtualSystemSettingData = ($Msvm_ComputerSystem.GetRelated(“Msvm_VirtualSystemSettingData”) | % {$_})

#Retreve the Msvm_SyntheticEthernetPortSettingData associated with this VM – there will be one per Sytehetic Adapater
$Msvm_SyntheticEthernetPortSettingDataCollection = $Msvm_VirtualSystemSettingData.GetRelated(“Msvm_SyntheticEthernetPortSettingData”)

#Retreve the Msvm_SwitchPort associated with the Msvm_SyntheticEthernetPort – there will be one per Sytehetic Adapater
$Msvm_SwitchPort = $Msvm_SyntheticEthernetPortSettingDataCollection | % {[WMI]($_.Connection| % {$_})}

#Enabled PreventIPSpoofing
$Msvm_SwitchPort.PreventIPSpoofing = $true

#Provide an array of allowed IPv4Addresses or leave null if only using IPv6$Msvm_SwitchPort.AllowedIPv4Addresses = (, “192.168.0.10”)

#Provide an array of allowed IPv6Addresses or leave null if only using IPv4$Msvm_SwitchPort.AllowedIPv6Addresses = (, “fd80:b637:9f0c:2c60::a”)

#Commit the changes
$Msvm_SwitchPort.Put()

Mais info :

http://blogs.msdn.com/b/taylorb/archive/2010/06/14/teched-2010.aspx

Hyper-V : Microsoft estende suporte a CentOS 5.2 a 5.6

A Microsoft anunciou oficialmente que o Windows 2008 R2 Hyper-V tem suporte a CentOS. Com isso a Microsoft aumenta a gama de versoes linux oficialmente suportadas e estende a interoperabilidade para a comunidade Linux.

A partir de agora, se durante a instalacao/execucao de uma maquina virtual executando CentOS voce encontrar alguma problema, voce podera ligar para o supporte Microsoft( CSS )

Versoes do CentOS : 5.2 a 5.6

Para obter a versao atualizada do Linux Integration Services : Microsoft Download Center : http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=eee39325-898b-4522-9b4c-f4b5b9b64551

Para saber mais :http://blogs.technet.com/b/openness/archive/2011/05/15/expanding-interoperability-to-community-linux.aspx

Hyper-V. Lista de Sistema Operacionais suportados como “guests”. Atualizado em Maio 2011

 

A tabela abaixo, lista os Sistemas Operacionais que sao suportados como “guests virtual machine”

Server guest operating system Edicao  Processadores Virtuais
Windows Server 2008 R2 with Service Pack 1 Standard, Enterprise, Datacenter, and Web editions 1, 2, ou 4
Windows Server 2008 R2 Standard, Enterprise, Datacenter, and Windows Web Server 2008 R2 1, 2, or 4
Windows Server 2008 Standard, Standard without Hyper-V, Enterprise, Enterprise without Hyper-V, Datacenter, Datacenter without Hyper-V, Windows Web Server 2008, and HPC Edition 1, 2, or 4
Windows Server 2003 R2 with Service Pack 2 Standard, Enterprise, Datacenter, and Web 1 or 2
Windows Home Server 2011 Standard 1
Windows Storage Server 2008 R2 Essentials 1
Windows Small Business Server 2011 Essentials 1 or 2
Windows Small Business Server 2011 Standard 1, 2, or 4
Windows Server 2003 R2 x64 Edition with Service Pack 2 Standard, Enterprise, and Datacenter 1 or 2
Windows Server 2003 with Service Pack 2 Standard, Enterprise, Datacenter, and Web 1 or 2
Windows Server 2003 x64 Edition with Service Pack 2 Standard, Enterprise, and Datacenter 1 or 2
     
Red Hat Enterprise Linux 5.6 x86 edition and x64 edition 1, 2, or 4
Red Hat Enterprise Linux 5.5 x86 edition and x64 edition 1, 2, or 4
Red Hat Enterprise Linux 5.4 x86 edition and x64 edition 1, 2, or 4
Red Hat Enterprise Linux 5.3 x86 edition and x64 edition 1, 2, or 4
Red Hat Enterprise Linux 5.2 x86 edition and x64 edition 1, 2, or 4
SUSE Linux Enterprise Server 11 with Service Pack 1 x86 edition and x64 edition 1, 2, or 4
SUSE Linux Enterprise Server 10 with Service Pack 4 x86 edition and x64 edition 1, 2, or 4

 Nota: O supporte ao Windows 2000 Server e Windows XP Service Pack 2 (x86) encerrrou em 13/07/2010

Source : http://technet.microsoft.com/en-us/library/cc794868(WS.10).aspx