Préparation des fichiers binaires de récupération après sinistre pour l'image du système d'exploitation

Vous devez préparer des fichiers binaires de récupération après sinistre et les configurer pour chaque image du système d'exploitation une seule fois. Effectuez la procédure suivante:

Préparation de fichiers binaires de récupération après sinistre pour l'image du système d'exploitation

  1. Dans le répertoire des images, créez un répertoire nommé BOOTDISK comme indiqué dans l'exemple suivant :
    X:\RemoteInstall\Setup\<Langue>\Images\<Nom_image>\BOOTDISK
    
  2. Insérez le CD d'installation CA ARCserve Backup dans le serveur RIS et copiez tous les fichiers disponibles dans le répertoire BOOTDISK du répertoire racine du CD vers le répertoire BOOTDISK que vous venez de créer.
  3. Créez un répertoire nommé drpatch.xp dans le répertoire des images, comme indiqué dans l'exemple suivant :
    X:\RemoteInstall\Setup\<Langue>\Images\<Nom_image>\drpatch.xp
    
  4. Copiez tous les fichiers disponibles dans le répertoire BAB_HOME\drpatch.xp depuis l'ordinateur sur lequel CA ARCserve Backup et l'option de récupération après sinistre sont installés vers le répertoire drpatch.xp que vous venez de créer.

    Remarque : Pour ce faire, vous devez disposer du serveur CA ARCserve Backup et l'option de récupération après sinistre doit être installée dessus. Sur le serveur CA ARCserve Backup, vous trouverez le répertoire BAB_HOME\drpatch.xp à l'emplacement suivant :

    C:\Program Files\CA\ARCserve Backup
    
  5. Pour Windows 32 bits, créez manuellement un fichier de commandes Windows nommé DR_ASR.BAT et copiez-le dans le répertoire des images, comme indiqué ci-dessous :
    X:\RemoteInstall\Setup\<Langue>\Images\<Nom_image>\DR_ASR.BAT
    

    Le contenu de ce fichier de commandes se présente comme suit :

    rem X:\RemoteInstall\Setup\<Langue>\Images\<Nom_image>\DR_ASR.BAT
    
    echo off
    echo Creating DR directories ...
    if not exist "%SystemRoot%\SYSTEM32\DR"(
    call mkdir "%SystemRoot%\SYSTEM32\DR"
    )
    if not exist "%SystemRoot%\SYSTEM32\DR\DRIF" (
    call mkdir "%SystemRoot%\SYSTEM32\DR\DRIF"
    )
    if not exist "%SystemRoot%\SYSTEM32\DR\DISK" (
    call mkdir "%SystemRoot%\SYSTEM32\DR\DISK"
    )
    if not exist "%SystemRoot%\SYSTEM32\DR\ENU" (
    call mkdir "%SystemRoot%\SYSTEM32\DR\ENU"
    )
    echo Creating DR directories done
    echo Copying DR binary files ...
    pushd "%systemdrive%\$win_nt$.~ls\drpatch.xp\"
    call expand -r * %SystemRoot%\SYSTEM32\
    popd
    if exist "%systemdrive%\$win_nt$.~ls\drpatch.xp\ENU\" (
    pushd "%systemdrive%\$win_nt$.~ls\drpatch.xp\ENU\"
    call expand drlaunchres.dl_ %SystemRoot%\SYSTEM32\drlaunchenu.dll
    popd
    )
    pushd "%systemdrive%\$win_nt$.~ls\BOOTDISK\"
    call expand -r * %SystemRoot%\SYSTEM32\DR\
    popd
    
    if exist "%systemdrive%\$win_nt$.~ls\BOOTDISK\ENU\" (
    pushd "%systemdrive%\$win_nt$.~ls\BOOTDISK\ENU\"
    call expand -r * %SystemRoot%\SYSTEM32\DR\ENU\
    popd
    )
    
    echo Copying DR binary files done
    echo Copying DR emergency data ...
    
    pushd "%systemdrive%\$win_nt$.~ls\DR\%1\"
    call copy *.exe "%SystemRoot%\SYSTEM32\DR\" /Y
    popd
    pushd "%systemdrive%\$win_nt$.~ls\DR\%1\"
    call copy *.dll "%SystemRoot%\SYSTEM32\DR\" /Y
    popd
    pushd "%systemdrive%\$win_nt$.~ls\DR\%1\"
    call expand -r *_ %SystemRoot%\SYSTEM32\DR\
    popd
    pushd "%systemdrive%\$win_nt$.~ls\DR\%1\"
    call copy * "%SystemRoot%\SYSTEM32\DR\DRIF\" /Y
    popd
    pushd "%systemdrive%\$win_nt$.~ls\DR\%1\"
    call copy * "%SystemRoot%\SYSTEM32\DR\DISK\" /Y
    popd
    if exist "%SystemRoot%\SYSTEM32\DR\OBDRSIGN" (
    call del "%SystemRoot%\SYSTEM32\DR\OBDRSIGN" /Q
    )
    if exist "%SystemRoot%\SYSTEM32\DR\OBDRDTCT" (
    call del "%SystemRoot%\SYSTEM32\DR\OBDRDTCT" /Q
    )
    
    echo Copying DR emergency data done
    echo on
    
  6. Pour Windows 64 bits, créez manuellement un fichier de commandes Windows nommé DR_ASR.BAT et copiez-le dans le répertoire des images, comme indiqué ci-dessous :
    X:\RemoteInstall\Setup\<Langue>\Images\<Nom_image>\DR_ASR.BAT
    
    
    

    Le contenu de ce fichier de commandes se présente comme suit :

    rem E:\RemoteInstall\Setup\English\Images\W2K3\DR_ASR.BAT
    echo off
    echo Creating DR directories ...
    if not exist "%SystemRoot%\SYSWOW64\DR" (
    call mkdir "%SystemRoot%\SYSWOW64\DR"
    )
    if not exist "%SystemRoot%\SYSWOW64\DR\DRIF" (
    call mkdir "%SystemRoot%\SYSWOW64\DR\DRIF"
    )
    if not exist "%SystemRoot%\SYSWOW64\DR\DISK" (
    call mkdir "%SystemRoot%\SYSWOW64\DR\DISK"
    )
    if not exist "%SystemRoot%\SYSWOW64\DR\ENU" (
    call mkdir "%SystemRoot%\SYSWOW64\DR\ENU"
    )
    if not exist "%SystemRoot%\SYSWOW64\DR\Agent" (
    call mkdir "%SystemRoot%\SYSWOW64\DR\Agent"
    )
    echo Creating DR directories done
    echo Copying DR binary files ...
    
    pushd "%systemdrive%\$win_nt$.~ls\drpatch.xp\"
    call expand -r * %SystemRoot%\SYSWOW64\
    popd
    if exist "%systemdrive%\$win_nt$.~ls\drpatch.xp\ENU\" (
    pushd "%systemdrive%\$win_nt$.~ls\drpatch.xp\ENU\"
    call expand drlaunchres.dl_ %SystemRoot%\SYSWOW64\drlaunchenu.dll
    popd
    )
    pushd "%systemdrive%\$win_nt$.~ls\BOOTDISK\"
    call expand -r * %SystemRoot%\SYSWOW64\DR\
    popd
    if exist "%systemdrive%\$win_nt$.~ls\BOOTDISK\ENU\" (
    pushd "%systemdrive%\$win_nt$.~ls\BOOTDISK\ENU\"
    call expand -r * %SystemRoot%\SYSWOW64\DR\ENU\
    popd
    )
    pushd "%systemdrive%\$win_nt$.~ls\BOOTDISK\%3\"
    call expand -r * %SystemRoot%\SYSWOW64\DR\Agent\
    popd
    pushd "%systemdrive%\$win_nt$.~ls\BOOTDISK\Agent\%3\"
    call expand -r * %SystemRoot%\SYSWOW64\DR\Agent\
    popd
    pushd "%systemdrive%\$win_nt$.~ls\BOOTDISK\Agent\%3\%2\"
    call expand -r * %SystemRoot%\SYSWOW64\DR\Agent\
    popd
    
    pushd "%systemdrive%\$win_nt$.~ls\BOOTDISK\ETPKI\%3\"
    call expand -r * %SystemRoot%\SYSWOW64\DR\Agent\
    popd
    echo Copying DR binary files done
    echo Copying DR emergency data ...
    
    pushd "%systemdrive%\$win_nt$.~ls\DR\%1\"
    call copy *.exe "%SystemRoot%\SYSWOW64\DR\" /Y
    popd
    pushd "%systemdrive%\$win_nt$.~ls\DR\%1\"
    call copy *.dll "%SystemRoot%\SYSWOW64\DR\" /Y
    popd
    pushd "%systemdrive%\$win_nt$.~ls\DR\%1\"
    call expand -r *_ %SystemRoot%\SYSWOW64\DR\
    popd
    pushd "%systemdrive%\$win_nt$.~ls\DR\%1\"
    call copy * "%SystemRoot%\SYSWOW64\DR\DRIF\" /Y
    popd
    pushd "%systemdrive%\$win_nt$.~ls\DR\%1\"
    call copy * "%SystemRoot%\SYSWOW64\DR\DISK\" /Y
    popd
    if exist "%SystemRoot%\SYSWOW64\DR\OBDRSIGN" (
    call del "%SystemRoot%\SYSWOW64\DR\OBDRSIGN" /Q
    )
    if exist "%SystemRoot%\SYSWOW64\DR\OBDRDTCT" (
    call del "%SystemRoot%\SYSWOW64\DR\OBDRDTCT" /Q
    )
    
    echo Copying DR emergency data done
    echo on