Solaris 11 - Automatically update local IPS repository

Hi guys,

I've got a local IPS repository on server 1 (local server in the basement) and a second one on server 2 in another data center. Both servers act as repository servers for their locations.

The publisher list is like this

pkg publisher
PUBLISHER                   TYPE     STATUS P LOCATION
custom         (syspub)     origin   online F file:///export/IPSpkgrepos/custompackages/
solaris        (syspub)     origin   online F file:///export/IPSpkgrepos/solaris/

When I'm deploying new custom packages, they go to server 1.

My question is: Is there a way to automatically update each repository (server 2, server 3 etc.) with the contents of server 1 (without using a cronjob or similar) by using standard Solaris 11 IPS commands?

Thanks and regards,
Daniel Heitepriem

Is this of any help?

How to Clone a Local IPS Package Repository -
Copying and Creating Package Repositories in Oracle(R) Solaris 11.3

Unfortunately not. I thought of something like this
How to Automatically Copy a Repository From the Internet
(I'm still unable to post links due to the "5 posts" rule)

But this seems only possible by adding a new repository which I want to avoid if possible.

I think you are looking to mirror the repo.

How to Set Up a Repository Mirroring Service with the Oracle Solaris 11 Image Packaging Service

Hi,

yes, this seems to do the trick. I will try if it works.

Thanks and regards,
Daniel Heitepriem