Arquivo da categoria ‘Hyper-V’

Olá pessoal,

Estou trazendo para vocês algumas novidades do Windows Server 2012 R2 nessa série de posts e resolvi começar pelo Hyper-V.

A Microsoft trouxe novidades nas Máquinas Virtuais ( Geração 1 ), incluindo novas funcionalidades a elas. Essa é a Geração 2 de Máquinas Virtuais.

Dentre as novidades, destacamos:

Secure Boot (padrão)
Boot from a SCSI virtual hard disk
Boot from a SCSI virtual DVD
PXE boot by using a standard network adapter
UEFI firmware support

Veja como criar a sua nova VM para utilizar todos os recursos da Geração 2:

Durante a criação da nova VM, inicie o Assistente:

image

Especifique a Geração 2 para ter acesso aos novos recursos:

image

*Nota importante: Depois de criada a Geração da VM não poderá ser alterada.

Opcionalmente, ative o Dynamic Memory:

image

Escolha o Virtual Switch desejado:

image

Crie ou anexe um VHDx:

image

Nessa etapa você poderá instalar o Sistema Operacional:

image

Na tela final, você terá o resumo das configurações realizadas:

image

Vamos verificar as configurações da nossa VM da Geração 2 recém criada no Hyper-V:

image

Novas configurações disponíveis, como Secure boot e Smart Paging File:

image

image

Mais informações em: http://technet.microsoft.com/en-us/library/dn282285.aspx

Em breve postarei novas configurações e recursos do Windows Server 2012 R2.

Até lá!

Rodrigo Lopes
Absolut IT Soluções em Suporte e Tecnologia | Microsoft Cloud Partner
MTAC – Microsoft Technical Audience Contributor | MCT | MCSE: Windows Server 2012, Private Cloud | MCSA | MCITP | Enterprise, Server, Lync and Virtualization Administrator, MCTS| Active Directory, MCTS | Windows Server 2008 Virtualization, MCDST, MCP

Anúncios

A Microsoft disponibilizou a alguns meses uma nova série de Certificações – MCSA e MCSE focados em Infra, Desktop e Private Cloud.

Vou abordar aqui o MCSE em Private Cloud.

mcse Confesso que fiquei super animado com a volta do MCSE focado agora em Cloud, que tem como foco profissionais com os titulos MCITP: Server Admin, MCITP: Enterprise Admin que já concedem o titulo de MCSA: Microsoft Certified Solution Associate, pré-req para a nova Certificação que estou abordando.

Como já possuo todos os títulos necessários, baixei os Mocs Digitais 10751AB: Beta: Configuring and Deploying a Private Cloud with System Center 2012 (5 Days) e 10750AB: Beta: Monitoring and Operating a Private Cloud with System Center 2012 (5 Days) e comecei os estudos a mais ou menos 30 dias.

Prestei na última sexta-feira o exame 70-247 – Configuring and Deploying a Private Cloud with System Center 2012 e em breve postarei aqui para vocês as dicas para se preparar para os 2 exames.

Na próxima segunda irei prestar a 70-246 – Monitoring and Operating a Private Cloud with System Center 2012, portanto esse será um fim de semana focado nos estudos.

O desafio maior é que tratam-se de produtos novos, uma gama enorme de recursos oferecidos com um controle fantástico, desde o usuário que irá operar o sistema até a aplicação, que roda com um Banco de Dados por tráz, tudo isso monitorado fim a fim pelas ferramentas da suíte do System Center.

Os exames necessários para você que pretende tirar o MCSE em Private Cloud são:

MCSA em Windows Server 2008:

image

Em breve posto para vocês todas as dicas e materiais de apoio necessários para vencer esses super desafios que são as Certificações da Microsoft!

Sucesso a todos,

Rodrigo Lopes
Absolut IT Soluções em Suporte e Tecnologia | Microsoft Partner
MCT | MCITP | Enterprise, Server, Lync and Virtualization Administrator, MCSA, MCTS | Active Directory, MCTS | Windows Server 2008 Virtualization, MCDST
IM: rodrigollopes@live.com

Boa tarde galera,

Escolhi um tema show para iniciar o ano e as contribuições à Comunidade Microsoft.

Trouxe para vocês materiais que ajudarão bastante no exame 70-659 – Windows 2008 R2 Server Virtualization.

Abaixo temos o conteúdo atualizado do E-Book de Virtualização Microsoft – Understanding Microsoft Virtualization R2 Solutions  e o treinamento Gratuito 6333: Exploring Microsoft Virtualization Technologies:

http://www.microsoft.com/learning/en/us/training/virtualization.aspx

https://www.microsoftelearning.com/eLearning/offerDetail.aspx?offerPriceId=228501

Collection 6333: Exploring Microsoft Virtualization Technologies

Visão Geral

This collection of two 2-hour online clinics and an 1-hour online clinic provides IT Professionals experienced in Windows 2000 Server or Windows Server 2003 with the knowledge and skills to implement and manage virtualization technologies.

Topics covered in the clinic within the collection include:•Introduction to Microsoft System Center Virtual Machine Manager 2008

•Overview of Microsoft Application Virtualization •Overview of Terminal Services in Windows Server 2008 •Overview of Hyper-V

Student Prerequisites:

•Experience in planning, implementing, and supporting Windows Server–based networks, operating systems and platform infrastructure. This may include experience in Windows 2000 Server, Windows Server 2003, and Windows Server 2008. •Knowledge of server virtualization and Hyper-V.

Em breve divulgarei em novo post a campanha da Microsoft Learning Rewards sobre vouchers para a prova 70-659.

Um abraço e bons estudos !

Rodrigo Lopes
Absolut IT Soluções em Suporte e Tecnologia | Microsoft Partner
MCT | MCITP | Enterprise, Server and Virtualization Administrator, MCSA, MCTS | Active Directory, MCTS | Windows Server 2008 Virtualization, MCDST
IM: rodrigollopes@live.com

 

Fala galerinha !

A Microsoft disponibilizou a versão beta do Microsoft Assessment and Planning (MAP) Toolkit 6.0 no Connect.

Para baixar a ferramenta, basta entrar no site http://connect.microsoft.com e se inscrever no programa de avaliação da ferramenta.

Mais informações abaixo:

Microsoft Assessment and Planning Toolkit 6.0 Beta

Beta review program now open!

We invite you to join the Microsoft Assessment and Planning (MAP) Beta program! As
a MAP Beta program member you have the opportunity to test drive the next
version of MAP—version 6.0! MAP 6.0 Beta includes some exciting new features to
help you accelerate the adoption Microsoft private and public cloud platforms.
Give the tool a try and let us know what you think!

MAP 6.0 Beta: Accelerate the adoption of Microsoft private and public cloud
platforms

Planning your journey to the cloud just got a bit easier. The next release of the
Microsoft Assessment and Planning (MAP) Toolkit—version 6.0 Beta—includes
assessment capabilities to evaluate workloads for both public and private cloud
platforms. With MAP 6.0 Beta, you now have the ability to identify workloads and
estimate the infrastructure size and resources needed for both Windows Azure and
Hyper-V Fast Track. Also new to MAP 6.0 Beta is the Office 365 client
assessment, enhanced VMware inventory, and Oracle schema discovery and
reporting. Expanded assessment and discovery capabilities from MAP help you
streamline planning for your next migration project. Plan what’s next with
MAP.

New features and benefits from MAP 6.0 Beta release help you:

·         Analyze
your portfolio of applications for a move to the Windows Azure
Platform

·         Accelerate
planning to private cloud with Hyper-V Cloud Fast Track onboarding

·         Identify
migration opportunities with enhanced heterogeneous server environment
inventory

·         Assess
your client environment for Office 365 readiness

·         Determine
readiness for migration to Windows Internet Explorer 9

·         Discover
Oracle database schemas for migration to SQL Server

The  MAP 6.0 Beta review program is now open.

MAP 6.0
Beta review will run through mid-July, 2011. download the beta materials today

MAP works with the Microsoft Deployment Toolkit and Security Compliance Manager to help you plan, securely deploy, and manage new Microsoft technologies —easier, faster, and at less cost.

Fonte: http://connect.microsoft.com

Abraços,

Rodrigo Lopes
Absolut IT Soluções em Suporte e Tecnologia | Microsoft Partner
MCT | MCITP | Enterprise, Server and Virtualization Administrator, MCSA, MCTS | Active Directory, MCTS | Windows Server 2008 Virtualization, MCDST
IM: rodrigollopes@live.com

Olá pessoal,

Depois de alguns dias de correria total, estou na área de novo com um post show pra vcs publicado pelo Ben Armstrong – Virtual PC Guy.

Nesse post o mesmo explica passo a passo como configurar o Hyper-V Server para a Administração Remota em Workgroup.

Na próxima semana inicio o 6422 na BF – Implementing and Managing Windows Server 2008 Hyper-V – Noturno.

Espero ver vcs por lá.

[]´s

Configuring Remote Management of Hyper-V Server – in a workgroup

Virtual PC Guy 11 Nov 2010 1:31 AM

  • Comments 4
  • I have received a number of questions about how to go about setting up remote management of our free Hyper-V server (not the one that is part of Windows).  So I thought I would sit down and write up a set of blog posts to talk about how to do this.  Today I am going to talk about how to remotely manage a Hyper-V server from a Windows 7 desktop when in a workgroup environment.

    I am going to assume that you have already installed Hyper-V server and have configured the server name, workgroup name and networking appropriately (in my case – the server name is “Server1” and the workgroup name is “WORKGROUP” – not very original, I know).  Also, I am not going to be talking about the other aspects of setting up a Hyper-V server (e.g. configuring automatic updates, enabling remote desktop, etc…).  I am just focusing on how to get remote management working.

    Server Configuration

    The first thing you will need to do is to go to the Hyper-V server and run SConfig.cmd (this is configured to run automatically when you log into a Hyper-V server – if you have changed this you can start it manually.  It is in the Windows\System32 folder on the server).  Once you are in SConfig.cmd you will need to:

    1. Select option 4 on the SConfig menu (labeled Configure Remote Management)
    2. Then select options 1 (Allow MMC Remote Management) and 2 (Enable Windows PowerShell)image
    3. After you enabled Windows PowerShell you will be asked to reboot.
    4. After the reboot – go back into SConfig and select option 4 again
    5. Select option 3 (Allow Server Manager Remote Management)
      1. Note that Server Manager Remote Management requires that you have PowerShell enabled first – so you cannot shuffle this ordering around to try and avoid the reboot.
    6. Select option 5 to Return to main menu

    Next, I am going to assume that you are not logged into your Windows 7 computer with the “Administrator” account (which is disabled by default) so you will need to create a second account on the Hyper-V Server.  To do this you will need to go into SConfig and:

    1. Select option 3 (Add Local Administrator)
    2. When prompted for an account name – enter the user name that you are using on the Windows 7 desktop (in my case – “Benjamin”).
    3. You will then be asked for a password – and again you should use the same password as you are using on the Windows 7 desktop (no – I am not going to tell you my password)image

    Next – to enable remote (but read-only) access with device manager – run this command from the command prompt as well: reg add HKLM\Software\Policies\Microsoft\Windows\DeviceInstall\Settings /v AllowRemoteRPC /t reg_dword /d 1 (once again that is a single command).

    image

    Finally you will need to restart the server one last time (you can use option 13 on the Sconfig menu).

    Desktop Configuration

    Now it is time to go and configure the desktop computer. 

    The first thing to do is to download and install the Remote Server Administration Toolkit.  You can download it from here: http://www.microsoft.com/downloads/en/details.aspx?FamilyID=7d2f6ad7-656b-4313-a005-4e344e43997d and install it by just running it and following the prompts.

    After you have done this you will need to enable the correct remote management tools.  To do this:

    1. Open the Start menu
    2. Open Control Panel
    3. Select Programs and Features (or just Programs depending on the Control Panel view that you are using)
    4. Select Turn Windows features on or off
    5. Find Remote Server Administration Tools and Check Hyper-V Tools (under Role Administration Tools) and Server Manager under the top level list
    6. Click OK

    image

    In most workgroup configurations you will not have reliable name resolution for remote computers (i.e. you need to use the IP address).  However – many of the server management tools require that name resolution be working reliably.  If you are using a fixed IP address on the Hyper-V server – you can make this work by editing the “hosts” on the desktop computer (note – you can skip this step if you can ping the Hyper-V server using its name and have it resolve to an IP address correctly):

    1. Open the Start menu
    2. Click on All Programs and then on Accessories
    3. Right click on Notepad and select Run as administrator
    4. Once Notepad has opened, use the File menu to Open… a file
    5. Navigate to the “Windows\System32\Drivers\etc” folder on the system drive
    6. Change the file name option from Text Documents (*.txt) to All Files
    7. Open the “hosts” file
    8. At the end of this file – add an entry for your server.  The format is basically the IP address of the server followed by the name of the server.
    9. Save the file and exit Notepad.

    (Here is the hosts file from my desktop – after I have modified it for my server)

    image

    You will need to enable the use of WinRM to connect to your Hyper-V server.  To do this you will need to:

    1. Open the Start menu
    2. Click on All Programs and then on Accessories
    3. Right click on Command Prompt and select Run as administrator
    4. Type in winrm quickconfig and hit enter.  You will then need to say ‘y’ (yes) to a couple of prompts
    5. Type in winrm set winrm/config/client @{TrustedHosts=”RemoteComputerName”} and hit enter
      1. Substitute “RemoteComputerName” with the name or IP address of your Hyper-V server.  In my test environment my desktop computer could not resolve the name of my server – so I just opted to use the IP address.  I could also have edited the hosts file on my desktop and used the server name.
    6. While we are here – we should also open the firewall on the client side to allow us to remotely manage the servers storage by running this command: netsh advfirewall firewall set rule group=”Remote Volume Management” new enable=yes

    image

    Now you will need to use HVRemote to enable remote management of Hyper-V on the desktop computer.

    1. Download HVRemote from http://code.msdn.microsoft.com/HVRemote/Release/ProjectReleases.aspx
    2. Open the Start menu
    3. Click on All Programs and then on Accessories
    4. Right click on Command Prompt and select Run as administrator
    5. Change to the directory where you saved HVRemote
    6. Type in cscript hvremote.wsf /mode:client /anondcom:grant /firewallhypervclient:enable /mmc:enable and hit enter.

    image

    You can now open Server Manager on the desktop computer.  To do this:

    1. Open the Start menu
    2. Click on All Programs and then on Administrative Tools
    3. Click on Server Manager
    4. You will be automatically prompted for the name of the server that you want to connect to.

    After you enter your server name – you should have full access to manage your Hyper-V server:

    image

    The only caveat here is that Performance monitor still connects to the local computer.  You can, however, add individual counters from the remote server one at a time.  One thing that tripped me up on this issue is that after entering the server name you need to select the Select counters from computer: drop down and hit enter:

    image

    Cheers,
    Ben

    Boa tarde !

    Estou postando hoje um passo a passo de como administrar o ambiente de Hyper-V através de CLI – (Command Line Interface) – PowerShell.

    Nesse artigo você poderá encontrar ainda o link para o download da biblioteca de scripts (.ps1) para facilitar a sua rotina de admin.

    Esse excelente artigo foi retirado do Site www.VirtualizationAdmin.com escrito por David Davis.

    Bons estudos !

     How to Administer Microsoft Hyper-V from the command line (CLI)

    Introduction

    Using GUI interfaces like the Hyper-V Manager or System Center Virtual Machine Manager (SCVMM) makes managing Hyper-V quick and easy. However, many times you can do things more quickly if you have the right command line script ready to go. Or many times you have to use command line tools to manage Hyper-V if you want to trigger some action through a script. In this article, I will show you how to use Powershell to manage and configure Microsoft Hyper-V.

    Installing Powershell

    In order to manage Hyper-V from the command line, you will need Powershell. You can install it both on your Hyper-V server (to start testing on the local machine) and on your local PC (so that you can run Powershell commands to the server remotely). In my case, I just installed it on the server as that is where I will be demonstrating the Hyper-V Powershell commands.

    To install Powershell in Windows 2008, go to Server Manager, then to Features. Click Add Features. Check the Windows Powershell box and click Next.


    Figure 1: Installing the Windows Powershell Feature

    Now, click Install to actually install it.

    When done, you should see Installation Succeeded and you can click Close.

    Now when you go to Start – All Programs, you should see Windows Powershell and you can click on Windows Powershell underneath that.


    Figure 2:  Starting Powershell’s command line tool

    At this point, you should have the distinctive Windows Powershell dark blue command line window up, like this:


    Figure 3: Windows Powershell Interface

    Before you actually move on to running commands, there is something else that you really want to get – the Hyper-V Powershell Library.

    Downloading and Installing the Hyper-V Powershell Library

    James O’Neill is the developer of the Powershell management library for Hyper-V and his library is invaluable when it comes to administering Hyper-V from the command line. To download and install it, go to the Powershell management library website above and get the Hyperv.zip file. It contains 2 files inside. Extract these to a simple directory you can get to easily at the command line, like C:\temp or make a directory like C:\powershell.

    Now, Start PowerShell. Change directory into the directory with the Hyper-V PowerShell Library scripts.

    Unless you want to get into the digital signing of PowerShell scripts you can disable PowerShell security temporarily by doing:

    Set-ExecutionPolicy unrestricted

    Then, to load this new Hyper-V PowerShell Library you need to do this:

    . c:\temp\hyperv.ps1

    Notice the “dot” then “space” and then the full path to the Hyper-V PS1 file. That “dot space” is very important because that is what keeps this library in memory for the duration of this PowerShell session.

    From here, you will be given a security warning an you must choose “R” to run this script. You should be rewarded with “VM Functions Loaded” and a list of all the commands that you are now enabled to run so that you can manage your Hyper-V Server from the PowerShell command line.

    Here is what it looks like:


    Figure 4: Installing the Hyper-V PowerShell Library

    Now that our library is installed, let us find out how to use it. 

    Administering Hyper-V using the PowerShell Library

    The Hyper-V PowerShell Library User Guide explains how to use the, almost 100, commands included in the library. And remember that each of these almost 100 commands has many parameters. Thus, this is a huge management library for Hyper-V, not just a handful of commands. Explaining how to all the commands goes beyond the scope of this article (and that is why there is a 41 page user guide).

    That being said, let me show you how to use a handful of the basic commands in the Hyper-V PowerShell Library.

    And keep in mind that, just with any commands you can perform at the command line, they become exponentially more powerful when combined with scripts that can use them intelligently.

    Here are 5 Hyper-V PowerShell Library Commands and how to use them:

    • Get-VMsummary – provides a detailed summary of all guest virtual machines on your Hyper-V server


    Figure 5: Get-VMsummary output

    • Start-VM, Stop-VM, Suspend-VM, and Shutdown-VM – the purpose of these commands are obvious. All you need to provide is the VMElementName as it was shown in Figure 6.


    Figure 6: Using the Start-VM command

    • New-VM – what is the quickest way to create a new guest VM? Just type New-VM and here is what you get, a new virtual machine that you still need to configure and start. 

     
    Figure 7:
    Creating a new virtual machine

    • Get-VMmemory lists out all virtual machines on the host and their memory amount.


    Figure 8: Get-VMmemory

    • Get-VMsnapshot

    The Get-VMsnapshot command shows all snapshots created in your Hyper-V environment. When it comes to snapshots, you can also use commands like Update-VMsnapshot, New-VMsnapshot, Apply-VMsnapshot, Get-VMsnapshotTree, and Choose-VMsnapshot.


    Figure 9:  Get-VMsnapshot

    Special Thank you

    I want to offer a special thank you to Mark Wilson and James O’Neill.

    The idea for this post came from Mark Wilson’s video covering managing Hyper-V from the command line. For more information on Mark, visit Mark’s Blog.

    James O’Neill is the developer of the Powershell management library for Hyper-V and his library is excellent! You can learn more about James at his blog.

    Conclusion

    In conclusion, managing Hyper-V from the command line is essential for IT Admin. Doing it with PowerShell just gives you even more power. While you can manage Hyper-V with PowerShell without the PowerShell Management Library – who would want to? James O’Neills’s Powershell management library for Hyper-V is a huge gift for all of the virtualization admins who want to use PowerShell and Hyper-V. I encourage you to try this for yourself – it’s fun and easy.

    Fonte: http://www.virtualizationadmin.com/articles-tutorials/microsoft-hyper-v-articles/storage-management/administer-microsoft-hyper-v-command-line-cli.html

    []’s

    Rodrigo Lopes
    MCT | MCITP: Enterprise, Server and Virtualization Admin
    Absolut IT Tecnologia em Suporte
    www.absolutit.com.br

    Continuando a nossa série de posts sobre Virtualização com o Hyper-V, trouxe para vocês um comparativo das versões existentes do Hyper-V Server, que é uma coisa que muita gente me pergunta.
     
    Para que vocês possam compreender melhor as diferenças entre as builds, segue a matéria publicada na Virtualization.info:
     

    Release: Microsoft Hyper-V Server 2008 R2

    Posted by Alessandro Perilli   |   Monday, August 3rd, 2009   |   0 Comments and 0 Reactions

    microsoft logo

    On July 22 Microsoft released the long awaited Windows Server 2008 R2 and Hyper-V R2. The same day anyway Microsoft also released the stand-alone version of hypervisor, called Hyper-V Server 2008 R2.

    Compared to the first release, which had a subset of the features available in the Windows Server 2008 edition, this new stand-alone Hyper-V seems to match the capabilities of its Windows-embedded counterpart (this post will be updated if we’ll receive different information). And this includes the most-wanted Live Migration capability.

    Hyper-VServer2008R2

    Instead of having something less, this version of Hyper-V R2 has something more: the capability to boot from flash.
    This is a major new feature that Microsoft didn’t announce earlier and that may put Hyper-V side by side with VMware ESXi and Citrix XenServer in the OEMs pre-installation options.

    Like the Windows-embedded version, Hyper-V Server 2008 R2 is free and will be released to the Microsoft partners through MSDN, TechNet and other distribution channels on August 6.

    []’s

    Rodrigo L. Lopes
    Absolut IT Soluções em Suporte e Tecnologia
    www.absolutit.com.br
    MCT | MCITP | Virtualization Administrator 2008 R2