I guess not many use Prestage media, otherwise it would have been noticed
that content usage of applications is broken since 1511 (up to 1606).

Basically, while the content is there it isn't used and everything
downloaded anyway

I've opened a case with 1511 and it was confirmed and that a fix doesn't
make it in 1606.

 

Does anyone know about this or any planned fixes?

 

Since it's broken I was looking for an alternative solution (or workaround):
Branchcache.

 

I've brought this up in the past and Andreas helped (kind of :) ), now I'd
like to actually do this:

 

*         Export all BC content from the server

*         Create a package and have it applied during OSD before
applications are used (which does work for prestage)

*         When the content is requested, local BC is used.

 

When this was discussed before it was basically about that:

 

http://2pintsoftware.com/2psfaqs/branchcache-caching-faq/

 

But I don't get it.

 

On The Server

1.    Stage the Content
Publish-BCWebContent -Path c:\inetpub\wwwroot\MyBigWIMFile.WIM -StageData
-StagingPath c:\temp

That is throwing an error: ObjectNotFound.

Isn't that where the content is:

PS U:\> dir
C:\Windows\ServiceProfiles\NetworkService\AppData\Local\PeerDistPub

 

 

    Directory:
C:\Windows\ServiceProfiles\NetworkService\AppData\Local\PeerDistPub

 

 

Mode                LastWriteTime     Length Name

----                -------------     ------ ----

d----        17.06.2015     13:53            PrimaryHashStore

d----        17.06.2015     13:53            TempHashStore

-a---        09.08.2016     00:08       8192 edb.chk

-a---        09.08.2016     00:08    5242880 edb.log

-a---        09.08.2016     00:08    5242880 edbres00001.jrs

-a---        09.08.2016     00:08    5242880 edbres00002.jrs

-a---        09.08.2016     00:08    5242880 edbtmp.log

-a---        09.08.2016     00:08    8454144 PeerDistPubCatalog.pds

 

 

PS U:\> dir
C:\Windows\ServiceProfiles\NetworkService\AppData\Local\PeerDistRepub

 

 

    Directory:
C:\Windows\ServiceProfiles\NetworkService\AppData\Local\PeerDistRepub

 

 

Mode                LastWriteTime     Length Name

----                -------------     ------ ----

d----        17.06.2015     13:53            Store

-a---        30.07.2016     02:46       8192 edb.chk

-a---        30.07.2016     02:46    5242880 edb.log

-a---        17.06.2015     13:53    5242880 edbres00001.jrs

-a---        17.06.2015     13:53    5242880 edbres00002.jrs

-a---        17.06.2015     16:09    5242880 edbtmp.log

-a---        30.07.2016     02:47    8454144 PeerDistRepubStoreCatalog.pds

 

How do I export that content then?

2. Export the content to a package (creates a handy .zip file) 

Export-BCCachePackage -StagingPath c:\temp -Destination c:\MyBCPackage

That would work once 1 works?

On The Client

1.Import the Package Created in Step 2 Above

Import-BCCachePackage -Path C:\temp\pkg\PeerDistPackage.zip

And on Win 7?

..And you're done! The content and is in the client cache ready for access
by other computers, and the hashes are on the server (they get generated
during the Staging part).

 

cheers, Roland

 



Reply via email to