FriendsOfMDT / PSD

PowerShell Deployment
MIT License
505 stars 78 forks source link

BranchCache guidance/advice #79

Closed 3pichaxz0r closed 1 year ago

3pichaxz0r commented 1 year ago

Looking for some general advice/guidance/tips on implementing branchcache with psd. I have the 2pint OSD toolkit addon working great but I seem to only pull about 60mb for a 1gb driver package in wim format and about 600mb for a 4.5gb os image (standalone wim). I have a windows server setup on my local network and I've tried:

I might be over estimating how much branchcache can be utilized here but I was expecting more than 600mb to be used for a 4.5gb os wim especially when the entire file is available on my local server. I've read through serveral 2pint KB articles on branchcache usage and several of Johan's blog articles on the subject to see if Im missing something but so far I can find anything.

Any advice or tips here are appreciated, I'm a bit of a noob to branchcache as you may be able to tell.

3pichaxz0r commented 1 year ago

Small update, I changed my cache server to distributed bc mode and downloaded the os wim and driver package wim with BITS then tested a deployment using the same two wims. The driver package completely pulled from peer cache which was very satisfying to see but the OS wim didnt pull from peer cache at all, maybe because I imported the full os image rather than just a stand alone wim?

Im going to continue to mess around with things but any advice here is still very appreciated. I think a general guide on this subject would be good for other PSD users too.

3pichaxz0r commented 1 year ago

Yep tested deploying a wim with only one index extracted from an iso install.wim and it is now pulling completely from peer cache

Hammarskjold commented 1 year ago

Yeah, so I am a little confused as what you are trying to do. Typically we peer without any servers, i.e. from client to client, but a server can peer to in distributed mode.

3pichaxz0r commented 1 year ago

Sorry I was trying to figure out the best setup for remote locations where they might not be deploying multiple computers at the same time but still want to maintain up to date cache. I also hadn't really used branchcache before so a lot of it was a lack of understanding on how branchcache works

GeoSimos commented 1 year ago

Thank you for the update @3pichaxz0r, glad you got this sorted out. Thank you @Hammarskjold for helping on this matter.