• Pb lenteur réplication DFS – 1 (DRAFT !)

    PROBLEM: Slow DFS replication between the member servers
    RESOLUTION: Checked and found that getting event id 5002 and 5012 and users unable
    to access the shares.
    àAS both the member servers are windows 2003 r2 machines so asked to install the
    hotfix number kb 931685
    àAlso under Registry made the following changes
    -->HKLM\System\CCS\Services\TcpIp\Parameters
    EnableRSS,
    EnableTcpChimmey
    EnableTCPA
    And changed the entries to 0
    àRestart the server
    àIssue resolved

  • Backup / Synchro de fichiers avec Robocopy : exemples …

     

    /MIR = /E (Copier tous les sous-répertoires, même ceux qui sont vides) + /PURGE (Supprimer les fichiers/répertoires destination qui ne sont plus à la source)

    /Z = mode redémarrable (risque de ralentir la copie)

    /XJ : ne pas copier les points de jonction (points de montage)

    /MT : utilisation multi-thread ! 8 threads par défaut (/MT), 128 maximum (/MT:128)

    Attention, l’option /MT n’est dispo qu’à partir de Robocopy inclus avec  WINDOWS 7 / WINDOWS 2008 R2 !!

    J’utilise également souvent les options /R:1 (tentatives supplémentaires, au nombre de 1 MILLION par défaut) et /W:0 (attente entre chaque tentative, qui est de 30 secondes par défaut)

     

    rem RoboCopy source Dest /MIR /Z /XJ /MT

    SET LOG=C:\Temp\ROBOCOPY.LOG

    SET FILE=*.*

    SET SOURCE=D:

    SET DESTINATION=\\HomeBackup\Work\wholePC

    REM ------------------   @Backup Laptop_PC   ------------------

    SET SRC=%SOURCE%\@Backup Laptop_PC

    SET DEST=%DESTINATION%\@Backup Laptop_PC

    robocopy  "%SRC%" "%DEST%" "%FILE%" /MIR /Z /XJ  /MT

    REM ------------------   Logiciels   ------------------

    SET SRC=%SOURCE%\Logiciels

    SET DEST=%DESTINATION%\Logiciels

    robocopy  "%SRC%" "%DEST%" "%FILE%" /MIR /Z /XJ /MT

    REM ------------------   Mes Documents   ------------------

    SET SRC=%SOURCE%\Mes Documents

    SET DEST=%DESTINATION%\Mes Documents

    robocopy  "%SRC%" "%DEST%" "%FILE%" /MIR /Z /E /XJ /MT