To share the contents of a local library with users from other vCenter Server instances, enable publishing for the library. If publishing is enabled, other users can subscribe to the published library and use its contents. As an administrator, you can also create subscriptions for the library to gain control over the distribution of content.
A publisher library is a local library with subscriptions.
To avoid name collisions and failures when you publish content from the publisher library, the publisher and subscriber libraries must have unique folders dedicated to them.
You use a local library to store and manage items in a single vCenter Server instance. When you enable publishing for the library, users from other vCenter Server instances can subscribe to it and gain access to the library items. In this case, only the subscriber initiates and controls the synchronization of content between the published library and the subscribed library.
If publishing is enabled, you can also create subscriptions to the local library. Creating a subscription creates a new subscribed library or links the publisher library to an existing subscriber. Unlike regular subscribed libraries, subscriptions give the administrator of the local library control over the distribution of content library items.
When you create a subscription for a local library, the result is a subscribed library. A publisher library is aware of its subscriptions. Subscriptions enable the administrator of the publisher library to control the content distribution. With subscriptions, content is distributed either when the subscriber initiates synchronization, or when the administrator of the local library publishes the library items to one or more of the existing subscriptions.
When you use subscriptions, you have the flexibility to decide how much of the library content you want to share with the subscribers. For example, you can publish some or all library items. You can also publish content to selected subscribers or to all subscribers.
- The publisher and subscriber are in the same vCenter Server instance.
- The publisher and subscriber are in vCenter Server instances that are in Enhanced Linked Mode.
- The publisher and subscriber are in vCenter Server instances that are in Hybrid Linked Mode. For more information about Hybrid Linked Mode, see the VMware Cloud on AWS documentation.
Note: Publishing content is possible only from an on-premises publisher to a cloud subscriber, and not in the reverse scenario.
Limitations in Content Distribution
- You can publish only VM templates. If you publish an entire library that contains both VM templates and OVF templates, only the VM templates are replicated to the subscriber. To synchronize OVF templates and other types of files, the subscriber must initiate the synchronization.
- You can synchronize only OVF templates. If a subscriber initiates synchronization with a published library that contains both VM templates and OVF templates, only the OVF templates are synchronized in the subscribed library. VM templates are synchronized when a publisher library publishes them to its subscribers.