Hi Frank,
I didn't see a response to your question but I had the same
problem/question not to long ago. I don't know if this is the best way
but after many trails this is what finally worked for me.
Creating a second repo and pkg/server:
# mkdir /rpool/repo/lab_repo
# pkgrepo create /rpool/repo/lab_repo
# pkgrepo set -s /rpool/repo/lab_repo publisher/prefix=lab
# svccfg -s pkg/server add lab
# svccfg -s pkg/server:lab addpg pkg application
# svccfg -s pkg/server:lab setprop pkg/port=81
# svccfg -s pkg/server:lab addpg general framework
# svccfg -s pkg/server:lab addpropvalue general/complete astring: "lab"
# svccfg -s pkg/server:lab addpropvalue general/enabled boolean: true
-Tyson
On 11/27/11 10:19 PM, Frank Allan wrote:
Ok, I give up.
As Sanjay said I just need to create new instances of pkg/server with
different ports, but for the life of me I cannot find a way to do this.
I tried 'svccfg export pkg/server >
/lib/svc/manifest/site/pkg/pkgserv-site.xml'
and then attempted to add an instance name but I keep running into DTD
validation errors
Is there some documented way to create another instance of a service?
If it is in the docs, it is well hidden.
Any pointers on a recommended (or documented) way of doing this?
Cheers
Frank
--
on 14 Nov, Sanjay wrote:
What you have described is exactly what needs to be done. Of course you
will have multiple pkg.depotd daemons running, one for each port.
On 11/14/11 07:15, Frank Allan wrote:
I have a pkg/server:default instance running on a disconnected system
using port 3333
Can I have another instance (pkg/server:updates for example) running
on port 3334 or another port, and just define multiple publishers for
systems I want to use both.
What I want to have is:
- a *single* repository server
- the standard 11/11 repo available as the default for all systems
- a site-specific repo available for all clients
- SRU1 repo also available for selected clients
- s11u1b<nn> repo also available for selected clients
so that I can define a set of publishers for a client that would look
like:
solaris http://internalrepo:3333 (s11 11/11)
sitebits http://internalrepo:3334
sru1 http://internalrepo:3335
and for other clients
solaris http://internalrepo:4444 (s11u1bnn)
sitebits http://internalrepo:3334
I believe this is possible.
Is it just a case of creating other instances of pkg/server with
appropriate names and specifying the source and the port number for
each, or is there something else which needs to be done?
Cheers
Frank
--
Oracle <http://www.oracle.com>
Frank Allan | Senior Field Support Engineer
+61 8 8951 2731 | +61 416 115 757
Oracle Customer Support Services - Systems
PO Box 4894, Alice Springs, NT, 0871, Australia
Log, update and monitor your Service Request online using
My Oracle Support <https://support.oracle.com/>
Hardware and Software, Engineered to Work Together
<http://www.oracle.com>
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss