BranchCache paigaldus ja seadistamine Windows Server operatsioonisüsteemis

From ICO wiki
Revision as of 19:24, 28 March 2011 by Hnoorema (talk | contribs)
Jump to navigationJump to search

Autor

Heiki Nooremäe AK41

Sissejuhatus

BranchCache™ on Windows® 7 ja Windows Server® 2008 R2 funktsioon, mille abil saab vähendada laivõrgu (WAN) koormust ja parandada võrgurakenduste kättesaadavust kui harukontori(te) töötajad tahavad juurde pääseda materjalidele peakontori serveris. BranchCache'i kasutamisel salvestatakse veebi- või failiserverist saadud sisu harukontori BranchCache serverisse või klientarvutisse. Kui teine klient samast harust soovib sama sisu, siis saab ta selle alla laadida juba kohalikust harukontori võrgust, pole vajadust laivõrku kasutada. Kuna laivõrk on sisevõrgust tunduvalt aeglasem, siis võimaldab see meetod aega kokku hoida. Kõik kliendid peavad kasutama Windows 7-t, Linuxi ja Mac OS-iga see süsteem ei tööta.

See referaat annab ülevaate BranchCache'i paigaldamisest ja seadistamisest Windows Server operatsioonisüsteemis.

BranchCache Hosted Mode ja Distributed Mode

BranchCache'i saab seadistada töötama ühes järgnevaist režiimidest:

  • Hosted Mode
  • Distributed Mode

Hosted Mode'i kasutatakse kui harukontoris on üle 50 klientsüsteemi. With Hosted Mode, branch office client computers are configured with the FQDN of a machine at the branch office that is configured to be a BranchCache server.

When the client obtains content from BranchCache enabled Web or file server at the main office, it advertises this content to the BranchCache server at the branch office and the BranchCache server downloads that content from the client and makes it available to other clients at the branch office when they request the same content from the branch office.

This allows the branch office client machines to obtain the same content as the first user who accessed the content, but this time from the BranchCache server over a fast LAN connection instead of a slow WAN link.

Distributed Mode can be used when you have fewer than 50 client systems at the branch office. In this case, there is no BranchCache server. Instead, the BranchCache enabled client machines cache content on their local hard drives.

When the first machine at the branch office obtains some content on a BranchCache enabled Web or file server at the main office, the client caches the content on its local hard drive. By default, 5% of the BranchCache enabled client’s hard disk is reserved for the cache. When another machine on the branch office network tries to obtain the same content at the main office, the content is returned from the first client that accessed the content, instead of the main office file or Web server.

Distributed Mode uses a multicast protocol to advertise the cached content on the clients. For this reason, all clients on the branch office network need to be on the same network ID, or more accurately, all within the same multicast range. Also, machines that are hibernating or disconnected from the network would not be able to provide cached content to other users. However, there is an indication that machines in sleep mode might wake up if they are hosting cached content. I am not certain about this at this time, but the current documentation does suggest this possibility.

It should be pointed out that the same client cannot be configured to use Hosted and Distributed mode. If the client is configured to use Hosted Mode, then it will not maintain its own local cache of content. If the client is configured to use Distributed Mode, then it will not contact a local Hosted Mode BranchCache server.

Any application that uses the built in networking stack in Windows 7 will benefit from BranchCache when accessing content on BranchCache enabled servers using SMB 2.0 or HTTP 1.1. This means that users accessing content using Internet Explorer, Windows Explorer, Windows Media Player, and another other application that hooks into the client OS networking stack will benefit. However, if you have applications that implement their own HTTP 1.1. or SMB services, they will not benefit from BranchCache. That is to say, those applications will not benefit. However, other applications on the same machine will benefit if they use the native OS stack.

Paigaldamine

Seadistamine

Kasutatud kirjandus

http://compnetworking.about.com/b/2009/05/18/what-is-windows-7-branchcache.htm http://technet.microsoft.com/en-us/library/dd755969(WS.10).aspx
http://www.windowsnetworking.com/articles_tutorials/Introduction-BranchCache-Part1.html