DFSR et le bandwith throttling

 

Bonjour,

Je vais vous parler de la notion de “bandwith throttling” dans DFSR. Cette notion permet de paramétrer la bande passante que l’on veut réserver à DFSR de répliquer les fichiers, et laissant le reste de la bande passante du réseau pour d’autres besoins. On utilise cette notion dans le cas où les partenaires DFSR sont séparés par un WAN, et que l’on veut activer la réplication DFSR sans saturer le réseau WAN.

Cependant, il est conseillé de ne pas trop diminuer le “bandwith throttling” car cela risque de ralentir considérablement la réplication DFSR, à un tel point que l’on a l’impression que la réplication DFSR est bloquée, alors qu’elle ne l’est pas réellement.

Dans cette situation, le rapport “DFS Replication Health Report” ne reporte aucune erreur, alors que la réplication apparaît bloquée.

Pour voir si on est dans la situation de “bandwidth throttling”, vous pouvez activer DFSR log en mode verbeux, avec la commande WMI ci-dessous :

wmic /namespace:\\root\microsoftdfs path dfsrmachineconfig set debuglogseverity=5:

Une fois que le mode verbeux est activé, vous pouvez voir dans les fichiers DFSRxxxx.log les lignes suivantes spécifiant l’état de “bandwith throttling” :

 

20100625 14:47:33.657 7496 DOWN 5970 DownstreamTransport::RpcAsyncPipeDownload rpcAsyncState:05F3E26C

20100625 14:47:36.793 5160 DOWN 6631 BandwidthThrottler::WaitOneInterval Throttling: Waited for 1700 ms (waitResult 258)

20100625 14:47:39.133 6492 DOWN 6631 BandwidthThrottler::WaitOneInterval Throttling: Waited for 4100 ms (waitResult 258)

20100625 14:47:39.148 6104 DOWN 6631 BandwidthThrottler::WaitOneInterval Throttling: Waited for 4100 ms (waitResult 258)

20100625 14:47:41.270 4792 DOWN 6631 BandwidthThrottler::WaitOneInterval Throttling: Waited for 6200 ms (waitResult 258)

20100625 14:47:42.112 6356 DOWN 6631 BandwidthThrottler::WaitOneInterval Throttling: Waited for 7000 ms (waitResult 258)

20100625 14:47:44.000 5320 DOWN 6631 BandwidthThrottler::WaitOneInterval Throttling: Waited for 8900 ms (waitResult 258)

20100625 14:47:44.359 3964 DOWN 6631 BandwidthThrottler::WaitOneInterval Throttling: Waited for 9200 ms (waitResult 258)

20100625 14:47:45.591 5476 DOWN 6631 BandwidthThrottler::WaitOneInterval Throttling: Waited for 10500 ms (waitResult 258)

20100625 14:47:46.075 1172 DOWN 6631 BandwidthThrottler::WaitOneInterval Throttling: Waited for 11000 ms (waitResult 258)

20100625 14:47:48.446 4448 DOWN 6631 BandwidthThrottler::WaitOneInterval Throttling: Waited for 13300 ms (waitResult 258)

20100625 14:47:49.242 7496 DOWN 6093 DownstreamTransport::RpcAsyncPipeDownload Wait completion rpcAsyncState:05F3E26C

20100625 14:47:49.507 1288 DOWN 6631 BandwidthThrottler::WaitOneInterval Throttling: Waited for 14300 ms (waitResult 258)

 

Comme vous pouvez le voir, l’intervalle d’attente s’allonge, il passait de 1,7 seconde à 14,3 secondes ! Ce qui explique la perception de la non réplication.

Pour plus d’information sur le “bandwith throttling”, je vous invite à lire cet article technet :

https://technet.microsoft.com/en-us/magazine/2006.05.takeback.aspx

Huu Duc.