Accéder au contenu France-Français
Accueil HP.com France Produits et Services Support et Pilotes Espaces Comment Acheter
» Contacter HP
Plus d'options
Accueil HP.com France
HP Integrity Virtual Machines A.03.00 : Installation, configuration et administration > Chapitre 5 Création d'invités Windows

Installation d'invités Windows

» 

Documentation technique

Manuel complet en PDF
» Documents connexes
» Commentaires
Début du contenu

 » Table des matières

 » Glossaire

 » Index

Pour installer le système d'exploitation invité Windows, procédez comme suit :

  1. Créez un invité Windows. Dans l'exemple suivant, le nom de la machine virtuelle (nom d'invité) est win1 :

    # hpvmcreate -P win1 -O windows -c 1 -r 2G \
    -a disk:scsi::disk:/dev/rdsk/c3t2d0 \
    -a dvd:scsi::disk:/dev/rdsk/c0t0d0 \
    -a network:lan::vswitch:switch1

    La commande hpvmcreate crée le répertoire /var/opt/hpvm/guests/win1/ et crée la configuration d'invité dans ce répertoire.

  2. Amorcez la machine virtuelle dans le menu EFI et assumez le contrôle de la console virtuelle en entrant la commande suivante :

    # hpvmconsole -P win1 -fi -c "pc -on"
    vMP MAIN MENU
    
             CO: Console
             CM: Command Menu
             CL: Console Log
             SL: Show Event Logs
             VM: Virtual Machine Menu
             HE: Main Help Menu
              X: Exit Connection
    
    [guest1] vMP> pc -on
    
    System will be powered on.
    
       -> System is being powered on.
    
    Please wait for the guest start sequence to complete.  Use of the attention
    character can prevent the guest from running.
    (C) Copyright 2000 - 2006 Hewlett-Packard Development Company, L.P.
    Opening minor device and creating guest machine container
    Creation of VM, minor device 1
    Allocating guest memory: 2048MB
      allocating low RAM (0-80000000, 2 048MB)
    /opt/hpvm/lbin/hpvmapp (/var/opt/hpvm/uuids/682da886-06b2-11db-a3aa-00306e4a931c
    /vmm_config.current):
     Allocated 2147483648 bytes at 0x6000000100000000
      allocating firmware RAM (ffaa0000-ffab5000, 84KB)
    /opt/hpvm/lbin/hpvmapp (/var/opt/hpvm/uuids/682da886-06b2-11db-a3aa-00306e4a931c
    /vmm_config.current):
     Allocated 86016 bytes at 0x6000000180000000
    Loading boot image
    Image initial IP=102000 GP=62A000
    Initialize guest memory mapping tables
    Starting event polling thread
    Starting thread initialization
    Daemonizing....
    hpvmstart: Successful start initiation of guest 'win1'
    
    -> Command successful.
    [guest1] vMP> CO
    
    
    
            (Use Ctrl-B to return to vMP main menu.)
    
    
    
    Loading device drivers
    
    EFI Boot Manager ver 1.10 [14.62] [Build: Thu Jun  8 12:30:44 2006]
    
    Please select a boot option
    EFI Shell [Built-in]
    Boot option maintenance menu
    Use ^ and v to change option(s). Use Enter to select an option
    Boot option maintenance menu

  3. En général, le shell EFI est sélectionné automatiquement au démarrage. Si ce n'est pas le cas, choisissez EFI Shell [Built-in] dans le menu.

    Loading.: EFI Shell [Built-in]
    EFI Shell version 1.10 [14.62]
    Device mapping table
    fs0 : Acpi(PNP0A03,0)/Pci(0|0)/Scsi(Pun1,Lun0)/CDROM(Entry0)
    blk0 : Acpi(PNP0A03,0)/Pci(0|0)/Scsi(Pun0,Lun0)
    blk1 : Acpi(PNP0A03,0)/Pci(0|0)/Scsi(Pun1,Lun0)
    blk2 : Acpi(PNP0A03,0)/Pci(0|0)/Scsi(Pun1,Lun0)/CDROM(Entry0)
    
    Shell>

  4. Connectez-vous au système de fichiers CDROM (répertorié dans la sortie EFI) en entrant le nom du système de fichiers. Par exemple :

    EFI Shell> fs0:

  5. Entrez la commande ls pour vous assurer que vous êtes connecté au bon périphérique (recherchez le fichier setupldr.efi) :

    Fs0: ls

Maintenant que l'EFI est prêt, vous pouvez installer le système d'exploitation Windows®. La procédure d'installation du système d'exploitation dépend du type de support à partir duquel vous installez :

Installation à partir du support de réinstallation HP (OPK)

  1. Démarrez le programme de chargement du système d'exploitation en entrant la commande suivante :

    fs0:\> setupldr

    Le script d'installation s'exécute. L'invite SAC> s'affiche. Lorsque le message EVENT s'affiche (indiquant que la commande cmd est disponible), tapez cmd et appuyez sur Entée.

    Starting BUILD ENT20K.US HP Re-install Environment. Please wait...
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
    Press F6 if you need to install a third party SCSI or RAID driver...    
    .
    .
    .
    SAC>
    EVENT: The CMD command is now available.
    SAC>cmd
    The Command Prompt session was successfully launched.
    SAC>

  2. En réponse à l'invite suivante, appuyez sur la touche Échap, puis tout de suite sur la touche TAB. Appuyez ensuite sur Entrée pour basculer vers le nouveau canal de commande :

    Press <esc> <tab> for next channel.
    Press 0 to return to the SAC channel.
    Use any other key to view this channel.
    
    X:\ia64\system32>

  3. À l'invite de commandes, tapez txtrestore et appuyez sur Entrée :

    X:\ia64\system32> txtrestore
    This is txtrestore.cmd Batch file
    
    Microsoft Windows [Version 5.2.3790] (C) Copyright 1985-2003 Microsoft Corp.
    You are about to install Windows Server on the following drive:
    Drive 0: HP Virtual Disk SCSI Disk Device (36GB) Bus Number 0, Target ID 0, LUN 0 H
    Attached to SCSI Controller In Embedded Slot (PCI bus 0, device 0, function 0)
    Drive Layout: Partition table style is MBR
    Signature = 0C9C0C9C
    WARNING:  If you continue with the installation, all data, including
    partition table information, on the above drive will be erased
    and permanently lost.
    
    Continue with installation (Y/N)? y
    Entrez y pour continuer à utiliser le périphérique spécifié. Pour utiliser un périphérique différent, entrez n.

  4. Si vous continuez, les informations suivantes sont affichées :

    Target drives set to default.
    
    TARGETHDD=0
    TARGETPQI=1
    ImageDrive=X:
    ImagePath=\Images
    ScriptDrive=X:
    ScriptPath=\IA64\ADDINS
    Support=X:\Supp
    IVPQET2373ALABA.PQI
    
    =================================================================
    Remarque :  <Ctrl/C> Will always exit.
    ========================== TASK MENU ============================
    
    A - 16GB Drive Partition Size.
    B - 33GB Drive Partition size.
    C - Full Drive size.
    Q - Exit to console.
    
    =================================================================
    Select a task by typing a letter A, B, C or Q and then press enter:
    WARNING, SELECTING A, B OR C WILL ERASE THE DATA ON BOOT DRIVE.
    Input : c
    Tapez votre sélection dans la liste suivante, puis appuyez sur Entrée. HP recommande de spécifier C.

    En réponse à l'invite suivante, entrez y :

    WARNING, This could potentially wipe out important data!
    Recommended: Only the boot controller and hard drive be installed.
    Target Drive selected: Drive0
    Target Partition Size Selected: Full Drive size
    Input [Y/N] : y

  5. Ne mettez pas le système hors tension pendant la copie des fichiers sur le disque dur. Le processus de restauration affiche un achèvement à 99 % pendant très longtemps. Une fois le processus terminé, le message suivant s'affiche. Tapez Exit pour réamorcer le système.

    Re-install Total Time: 23 minutes
    Re-Install Finished [OK].
    
    To restart the system...
    Type [exit] to exit from command console.
    At the SAC console, type [restart].         
    
    X:\IMAGES> exit
    The Command Console session is exiting.

    Si un message d'erreur s'affiche, résolvez le problème et redémarrez le processus.

    À l'invite suivante, appuyez sur ÉCHAP Tab pour accéder à l'invite SAC.

    Redémarrez le système en appuyant sur Entrée en réponse à l'invite SAC :

    Press <esc> <tab> for next channel.
    Press 0 to return to the SAC channel.
    Use any other key to view this channel.
    
    
    SAC> Enter

  6. La machine virtuelle est redémarrée. Lorsque vous êtes invité à spécifier l'option d'amorçage, appuyez sur Entrée pour accepter l'option Windows Server 2003.

    The SAC will become unavailable soon.  The computer is shutting down.
    
    SAC>
    
    *** VM restarting ***
    
    Scsi(Pun1,Lun0) HP      Virtual FileDVD 0.04
    Scsi(Pun1,Lun0) HP      Virtual FileDVD 0.04 ( 80 MBytes/sec)
    
    EFI version 1.10 [14.62] Build flags: Running on Intel(R) Itanium Processor EFI_DEBUG
    EFI IA-64 SDV/FDK (BIOS CallBacks) [Thu Jun  8 12:30:44 2006] - HP
    Cache Enabled. This image MainEntry is at address 0000000000102000
    FPSWA.EFI preload successful.
    FPSWA.EFI start successful.
    
    Loading device drivers
    
    EFI Boot Manager ver 1.10 [14.62] [Build: Thu Jun  8 12:30:44 2006]
    
    Please select a boot option
    Windows Server 2003, Enterprise
    EFI Shell [Built-in]
    Boot option maintenance menu
    Use ^ and v to change option(s). Use Enter to select an option
    Default boot selection will be booted in 30 seconds
    
    
    Starting: Windows Server 2003, Enterprise
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    
    Starting Windows...

  7. Lorsque l'invite SAC> Windows indique EVENT:, la commande CMD est disponible. Appuyez sur la touche Échappement, puis tout de suite sur la touche TAB, puis appuyez sur Entrée pour accéder à l'invite de commandes suivante :

    Computer is booting, 
    SAC started and initialized.
    Use the "ch -?" command for information about using channels.
    Use the "?" command for general help.
    SAC>...
    EVENT:   A new channel has been created.  Use "ch -?" for channel help.
    Channel: Unattended Setup Channel
    SAC>
    EVENT: The CMD command is now available.
    SAC>
    SAC>
      END-USER LICENSE AGREEMENT FOR MICROSOFT SOFTWARE
      MICROSOFT WINDOWS SERVER 2003, STANDARD EDITION WITH SERVICE PACK 1
      MICROSOFT WINDOWS SERVER 2003, ENTERPRISE EDITION WITH SERVICE PACK 1
      IMPORTANT-READ CAREFULLY: This end user license agreement ('EULA') is a legal
      agreement between you (either an individual or a single legal entity) and the
      manufacturer ('Manufacturer') of the computer system ('Server') with which you
      acquired the Press F8 to accept or ESC to decline the EULA.                                 
      Press PAGE DOWN for next page.

    Pour accepter le contrat de licence, appuyez sur la touche Échappement, puis 8, ce qui émule la touche de fonction F8.

  8. En réponse à l'invite suivante, entrez la clé du produit, y compris les tirets :

    Type the Product Key below in the form
    XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
    
    Product ID: XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

    (La clé du produit composée de 25 caractères est mentionnée sur la partie inférieure de votre Certificat d'authenticité.)

  9. À l'invite suivante, entrez le mot de passe de l'administrateur et appuyez sur Entrée :

    Enter the password that will be used for the Administrator
    Account on this machine.  This password must not be blank.
    Administrator Password:*******
    
    Please re-enter the Administrator password.
    Password Confirmation:*******
    
    Setup will now proceed in an automated fashion.

  10. Utilisez la combinaison de touches ÉCHAP-TAB pour parcourir les différents écrans, jusqu'à voir celui qui exécute le script d'installation. Le système s'amorce dans le système d'exploitation Windows.

    Utilisez ÉCHAP-TAB pour revenir à l'invite SAC>.

  11. Obtenez l'adresse IP de l'invité en entrant la commande i à l'invite SAC>.

    Utilisez la Connexion au Bureau à distance à partir d'un PC pour vous connecter à cette adresse IP, et ouvrez une session en tant qu'administrateur. Le Support Pack termine l'installation :

    Computer is booting, SAC started and initialized.
    Use the "ch -?" command for information about using channels.
    Use the "?" command for general help.
    SAC>...
    EVENT: The CMD command is now available.
    SAC>i
    Net: 2, Ip=1.2.3.4  Subnet=255.255.248.0  Gateway=16.116.0.1
    SAC>

    REMARQUE : Si le système affiche System model could not be verified, acceptez simplement le message. À l'invite de confirmation, sélectionnez No, puis réamorcez la machine virtuelle.
  12. À partir du Panneau de configuration de Windows, suivez les instructions d'installation système initiales fournies dans le guide d'utilisation de la plate-forme. Par exemple :

    1. Control-Panel->System (Set Computer name)

    2. Control-Panel->System->Advanced->Virtual Memory

  13. Réamorcez la machine virtuelle.

Installation à partir d'un support Windows

Pour installer le système d'exploitation Windows Enterprise à partir d'un support Windows, procédez comme suit :

  1. Allouez un DVD virtuel à la machine virtuelle, comme décrit dans le Chapitre 3.

  2. Amorcez la machine virtuelle dans le menu EFI et assumez le contrôle de la console virtuelle en entrant la commande suivante :

    # hpvmconsole -P win1 -i -c "pc -on"
    vMP MAIN MENU
    
             CO: Console
             CM: Command Menu
             CL: Console Log
             SL: Show Event Logs
             VM: Virtual Machine Menu
             HE: Main Help Menu
              X: Exit Connection
    
    [compass1] vMP> pc -on
    Please wait for the guest start sequence to complete.  Use of the attention
    character can prevent the guest from running.
    (C) Copyright 2000 - 2006 Hewlett-Packard Development Company, L.P.
    Opening minor device and creating guest machine container
    Creation of VM, minor device 1
    Allocating guest memory: 2048MB
      allocating low RAM (0-80000000, 2 048MB)
    /opt/hpvm/lbin/hpvmapp (/var/opt/hpvm/uuids/682da886-06b2-11db-a3aa-00306e4a931c
    /vmm_config.current):
     Allocated 2147483648 bytes at 0x6000000100000000
      allocating firmware RAM (ffaa0000-ffab5000, 84KB)
    /opt/hpvm/lbin/hpvmapp (/var/opt/hpvm/uuids/682da886-06b2-11db-a3aa-00306e4a931c
    /vmm_config.current):
     Allocated 86016 bytes at 0x6000000180000000
    Loading boot image
    Image initial IP=102000 GP=62A000
    Initialize guest memory mapping tables
    Starting event polling thread
    Starting thread initialization
    Daemonizing....
    hpvmstart: Successful start initiation of guest 'win1'
    
    -> Command successful.
    [guest1] vMP>
  3. À partir du shell EFI, entrez la commande map :

    Shell> map
    
    Device mapping table
    fs0 : Acpi(PNP0A03,0)/Pci(0|0)/Scsi(Pun1,Lun0)/CDROM(Entry0)
    blk0 : Acpi(PNP0A03,0)/Pci(0|0)/Scsi(Pun0,Lun0)
    blk1 : Acpi(PNP0A03,0)/Pci(0|0)/Scsi(Pun1,Lun0)
    blk2 : Acpi(PNP0A03,0)/Pci(0|0)/Scsi(Pun1,Lun0)/CDROM(Entry0)
    
    Shell>
  4. Entrez l'entrée de système de fichiers pour le DVD. Par exemple :

    Shell> fs0:
    
    Fs0:
  5. Entrez la commande setupldr :

    
    Fs0:> setupldr

    L'écran Windows Setup Begins... s'affiche. La barre d'état indique ce qui suit :

    Setup is loading files (Windows Executive)...
  6. Sur la page suivante, continuez en appuyant sur Entrée :

  7. Lorsque vous êtes invité à choisir Express Setup ou Custom Setup, sélectionnez Express Setup. Ne sélectionnez pas Custom Setup, car cette fonctionnalité n'est pas encore prise en charge sur les machines virtuelles.

  8. Entrez et confirmez un mot de passe de l'administrateur :

  9. Acceptez la licence Windows en appuyant sur ÉCHAP 8, ce qui émule la touche F8.

  10. Sélectionnez la partition sur laquelle installer Windows :

    Si le disque sur lequel vous installez a été nettoyé comme décrit dans « Installation d'invités Windows », deux partitions (EFI et Reserved) sont créées automatiquement. Le reste du disque est constitué d'espace non partitionné. Sélectionnez l'espace non partitionné à l'aide de la touche Bas. Créez une nouvelle partition en entrant C.

    Si le disque n'a pas été nettoyé avant cette procédure, une liste des partitions actuelles est affichée. Sélectionnez la partition NTFS à l'aide de la touche Bas. Entrez D pour la supprimer et L pour confirmer, puis appuyez sur Entrée. Créez une nouvelle partition en entrant C.

  11. Sélectionnez la nouvelle partition (brute) sur laquelle installer Windows :

    Choisissez une partition NTFS. S'il n'y a aucune partition NTFS, formatez-en une. La partition est formatée, les fichiers sont copiés et le système est réamorcé.

  12. Démarrez l'installation de Windows. En réponse à l'invite SAC>, appuyez sur Échappement-Tab.

    SAC>...Escape-Tab
    Setup is being restarted................. 
    EVENT: A new channel has been created.
     Use "ch -?" for channel help.
     Channel: Unattended Setup Channel
    SAC> EVENT: The CMD command is now available

    Le message suivant est affiché :

    Name: Unattended Setup Channel Description:
    .
    .
    .
    Press Escape-Tab for next channel.
    Press 0 to return to the SAC channel.
    Use any other key to view this channel.

    Appuyez sur Entrée pour accepter Unattended Setup Channel.

  13. En réponse à l'invite suivante, entrez la clé du produit composée de 25 caractères.

    Product ID:
    XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

    Le programme d'installation se poursuit automatiquement. Pour contrôler l'installation, entrez Échappement-Tab.

    Le processus d'installation peut demander plusieurs minutes.

  14. Une fois le système d'exploitation Windows installé, Windows est réamorcé et affiche l'invite SAC> :

    SAC> EVENT: The CMD command is now available.
  15. Par défaut, un nom temporaire est affecté à la machine et le réseau est DHCP. Pour vérifier ces informations, entrez les commandes id et i en réponse à l'invite SAC> :

Version imprimable
Respect de la vie privée L'utilisation de ce site implique que vous en acceptez les conditions
© 2007 Hewlett-Packard Development Company, L.P.