Arquivo

Archive for dezembro \29\UTC 2009

Hyper-V e softwares antivirus : consideracoes e erros encontrados

 

Algumas consideracoes importantes quando da instalacao de softwares anti virus em hosts Hyper-V

Certifique-se que nas configuracoes de scan do antivirus voce tenha excluido do scan, arquivos relacionados com o Hyper-V /virtual machine, tais como :

  • arquivos de configuracao ( .vmc). Exclua do Scan, o diretorio padrao de configuracao das maquinas virtuais :  (C:ProgramDataMicrosoftWindowsHyper-V) e os diretorios customizados.

  • virtual hard disks (.VHD ). Exclua do Scan, o diretorio padrao de configuracao dos VHd’s  (C:UsersPublicDocumentsHyper-VVirtual Hard Disks) e os diretorios customizados. ( ex : C:Virtual Disks )

  • snapshots. Exclua do Scan, o diretorio padrao de configuracao dos Snapshots

  • Vmms.exe (Exclua do Scan Note: May need to be configured as process exclusions within the antivirus software)

  • Vmwp.exe (Note: May need to be configured as process exclusions within the antivirus software)

  • Se voce estiver usando o Live Migration com o CSV, exclua o diretorioe todos os subdiretorios em  "C:Clusterstorage" .

Erros que podem ser encontrados quando do uso de anti virus em hosts Hyper-V:

  • The requested operation cannot be performed on a file with a user-mapped section open. (0x800704C8)
  • VMName’ Microsoft Synthetic Ethernet Port (Instance ID{7E0DA81A-A7B4-4DFD-869F-37002C36D816}): Failed to Power On with Error ‘The specified network resource or device is no longer available.’ (0x80070037).
  • The I/O operation has been aborted because of either a thread exit or an application request. (0x800703E3)

Importante : Caso apos a instalação do Anti Virus, as maquinas virtuais tenham desaparecido, isto também e’ um sintoma do anti virus. Tenha certeza de ter executado os passos descritos acima nas consideracoes e então restart o Hyper-V Virtual Machine Management service.

Se voce receber um erro 0x800704C8, é porque muito provavelmente o arquivo configuracao da maquina virtual (.vmc ) foi corrompido. Nestes casos, nao adianta o restart do servico Hyper-V Virtual Machine Management . Voce terá de re-criar a maquina virtual ou restaura-la de um backup previo.

 

Hyper-V : Download do Visual Studio 2008 Team Foundation Server com validade ate 2011

 
A Microsoft disponibilizou uma Maquina Virtual com o Visual Studio 2008 Team Foundation Server que expira somente em 31 de Janeiro de 2001, para download.

E’ uma grande oportunidade para desenvolvedores. A vm vem atualizada e instalada em modo workgroup e nao requer um domain controller
Para saber mais sobre este release do Visual Studio, visite Team Foundation Server Developer Center.
 
Para fazer o download, clique aqui

 

Criando um Virtual Floppy Disk – Hyper-V

 
no Hyper-V Manager, faca o seguinte:

1. Clique em Actions ( painel esquerdo )
2. Selecione New, e entao selecione Floppy Disk…
3. Na caixa de diaglo Create Virtual Floppy Disk, informe a localizacao e o nome do arquivo 
4. Clique em  Create

Agora voce tem um arquivo com a extensao .vfd que voce pode anexar a uma maquina no Hyper-V, Virtual Server, ou Virtual PC.

 

The network connection of a running Hyper-V virtual machine is lost under heavy outgoing network traffic on a Windows Server 2008 R2-based computer

If you’ve deployed your Virtual Machine on Hyper-V R2 and noticed that a connection between the guest and the virtual switch starts "acting odd", perfoms poorly or becomes disconnected entirely, you may want to apply this update:

 

Prerequisites

To apply this hotfix, your computer must be running Windows Server 2008 R2.

Additionally, you must have Hyper-V role installed on your computer.

Restart requirement

You have to restart the computer after you apply this hotfix

 

 

Passos para colocar voce no caminho certo para Virtualizacao


Steps to get you ready for virtualization:

Step 1. Determine Whether Virtualization Is Appropriate:

Compatibility :  Determine whether the workload can run in a virtualized environment.

Supportability :  Determine whether the workload is supported in a virtualized environment. It might be necessary to verify third-party vendors’ policies for deployment of the workload on all the virtualization technologies that will be used.

Licensing : Determine whether the workload can be licensed for use in a virtualized environment.

Business benefits :  Determine the business reasons for virtualizing the workload and the related benefits.  Potential benefits include cost savings, reduced deployment time, and reduced administration costs.

Step 2. Categorize the Workload

Workloads designed for server operating systems typically have different resource requirements and different levels of interactivity than those designed for client workloads.

Step 3. Select Server Hardware or Server Software Virtualization

Microsoft offers two server virtualization products:
Windows Server 2008 R2 Hyper-V, which provides server hardware virtualization.
Virtual Server 2005 R2 SP1, which provides server software virtualization.

Step 4. Determine Client Connectivity

Option 1: Connected Client
Client computers that will always be connected to the network when running a particular workload can rely upon the network in order to access their applications and data. Typical scenarios include corporate desktop computers and kiosks as well as some computers used in remote offices and home offices. This option should be selected when client computers will have reliable network connections and do not need to run applications when not connected to the network. If the client will always be connected, proceed to Step 5: “Determine Workload Location.”

Option 2: Disconnected Client
Client computers that must have the ability to run virtualized applications while disconnected from the network will require versions of the applications that are resident on the disconnected computer. These options are most useful for situations in which users need only occasional access to applications while traveling or when network connections are unreliable. If the client may run disconnected, proceed to Step 7: “Choose Application Virtualization or Virtualization on the Desktop.”

Step 5. Determine Workload Location

Option 1: Centralized Workload
If the workload can be centrally managed and efficiently run from a server, consider a centralized approach to application virtualization. This is beneficial when the workload configuration needs to be tightly controlled or when resources must be centrally managed. It allows for easier deployment and management of workloads.
Proceed to Step 6: “Select Desktop or Session Virtualization.”

Option 2: Decentralized Workload
Some workloads cannot be run from a central server or they require individualized configuration or access to local system resources to run efficiently. These workloads should be deployed using a virtualization method that can be distributed to desktop systems.
Proceed to Step 7: “Choose Application Virtualization or Virtualization on the Desktop.”

Step 6. Select Desktop or Session Virtualization

Option 1: Desktop Virtualization 
VDI provides virtualized desktops that can run a wide variety of client or server operating systems since they are hosted in VMs on the Windows Server 2008 operating system. Since there will normally be only one user on the client’s operating system, he or she may be granted administrative rights.

Option 2: Session Virtualization
The client’s applications are run directly on the Windows Server 2008 operating system. There will normally be many connected clients that share the operating system and the applications, so clients cannot be granted administrative rights.
All applications that are installed on the server must be able to run on the same Windows Server 2008 operating system. Any incompatibilities should be managed by using another application virtualization technology, such as Microsoft Application Virtualization.

Step 7. Choose Application Virtualization or Virtualization on the Desktop

Option 1: Application Virtualization
Microsoft Application Virtualization (App-V) provides a method for installing applications into a virtualized environment  via MSI or streaming them on-demand. Application processing will occur on client computers. App-V requires that client computers have a complete client operating system that supports the virtualized applications, as well as meeting the hardware requirements for applications that will be deployed and executed on that computer. Sufficient network bandwidth for deploying applications must also be available. 
See the Infrastructure Planning and Design Guide for Microsoft Application Virtualization at http://go.microsoft.com/fwlink/?LinkId=160978.

Option 2: Virtualization on the Desktop  
Virtual PC allows users to run entire client operating systems on their local computers. In order to support this configuration, the client computer must have sufficient CPU, memory, disk, and network resources to support the base Windows operating system, as well as resources for each of the VMs that will be supported.
Virtual PC provides support for running legacy applications and operating systems. Windows XP Mode provides a tailored Windows XP VM that runs on Virtual PC in Windows 7.
Users can create a wide variety of different VMs and can start and stop them as needed. This solution is particularly helpful for software developers and testers who often require access to multiple different platforms.

Additional Considerations
After selecting the most appropriate virtualization technology for each requirement, decide how the virtualized environment will be managed, and determine whether virtualization technologies should be used separately or together in combination.

Managing the Virtualization Environment

To help you with the challenges of managing a virtualized environment you will need the System Center Virtual Machine Manager and MED-V. Some of the key benefits of them, include:

    • Optimal consolidation of under-utilized physical servers.
    • Rapid provisioning of new VMs.
    • Maximization of data center resources.
    • Integration with System Center Operations Manager 2007.

More info :  Microsoft Infrastructure Planning and Design (IPD) Guide for Selecting the Right Virtualization Technology