Installation guide
37 
Managing EZ Templates 
Setting Up a Proxy Server for EZ Templates 
You can set up special caching proxy servers and use them to efficiently manage your OS and 
application EZ templates. The following figure illustrates an example network configuration that 
contains two Nodes and a separate proxy server: 
In this configuration: 
•  The caching proxy server sits between the Nodes (Hardware Node 1 and Hardware Node 2) 
and keeps a number of EZ templates and the repositories (Repository 1, Repository 2, and 
Repository 3) storing the packages for these EZ templates. 
•  When either Node requests certain packages from any repository for the first time, these 
packages are first downloaded to the proxy server where they are cached and then 
downloaded to the corresponding Node. 
•  When a Node requests a package that is already available in the cache on the proxy server and 
none of the repositories has updates for the package, this package is immediately downloaded 
to the Node from the proxy server. If any updates are available in the official repositories, the 
procedure of handling these updates is identical to that of the main packages: The update is 
downloaded to the proxy server where it is cached and then retransmitted to the corresponding 
Node. 
•  A special script is automatically run on the proxy server at set intervals. During its execution, the 
script creates a local repository from the cached packages. All you have to do is to configure 
the vzpkg tool to use packages from this repository instead of obtaining them from remote 
repositories. 










