[OpenIndiana-discuss] postgres as service on OI
Boris Epstein
borepstein at gmail.com
Tue Oct 2 23:58:06 UTC 2012
Lou,
Brilliant! Thank you very much.
Just ran this:
sudo svcadm enable postgresql_84:default_64bit
and now my Postgres appears to be running. I will now check it out.
Boris.
On Tue, Oct 2, 2012 at 7:23 PM, Lou Picciano <loupicciano at comcast.net>wrote:
> Boris,
>
>
> Digging a bit further (I must admit, I've never installed our
> postgresql_84), this package installs its service manifest into
> /lib/svc/manifest/application/database/postgresql_84.xml
> The method this manifest calls is in: $ /lib/svc/method/postgres_84
>
>
> You can start up either the 32bit or 64bit builds with a syntax like this:
>
>
> $ svcadm enable postgresql_84:default_32bit
>
>
> So it's really easy. That svc will even initialize the cluster for you -
> find your data in /var/postgres/8.4/data, or /var/postgres/8.4/data_64;
> pick your poison.
>
>
> Gotta love OpenIndiana.
>
>
> The SFE guys have built more recent versions; these are in the SFE
> repository. I've also gotta wake up and build latest versions for our
> userland. We're on v9.2.1 here.
>
>
> Lou Picciano
>
> ----- Original Message -----
> From: "Lou Picciano" <loupicciano at comcast.net>
> To: "Discussion list for OpenIndiana" <openindiana-discuss at openindiana.org
> >
> Sent: Tuesday, October 2, 2012 5:33:58 PM
> Subject: Re: [OpenIndiana-discuss] postgres as service on OI
>
>
> I think a general convention would be: put into 'site' what you are
> building custom. Various formal installs will place manifests in the other
> paths according to the 'Great Wisdom' (to which a very few are party!)
>
>
> Others (many of whom will have 'The Knowledge') will weigh in... (!)
>
>
> Lou
>
> ----- Original Message -----
> From: "Boris Epstein" <borepstein at gmail.com>
> To: "Discussion list for OpenIndiana" <openindiana-discuss at openindiana.org
> >
> Sent: Tuesday, October 2, 2012 5:28:40 PM
> Subject: Re: [OpenIndiana-discuss] postgres as service on OI
>
> Lou,
>
> Thanks. There's also stuff under /var/svc/manifest/ It is a bit confusing -
> how does one determine what goes where?
>
> Boris.
>
> On Tue, Oct 2, 2012 at 5:15 PM, Lou Picciano <loupicciano at comcast.net
> >wrote:
>
> > I think we're using /lib/svc/manifest as the new standard.
> > Custom service definitions often placed in /lib/svc/manifest/site , by
> > convention.
> >
> >
> > You'll need a corresponding method file to make it all hang together.
> >
> >
> > Lou Picciano
> >
> > ----- Original Message -----
> > From: "Boris Epstein" <borepstein at gmail.com>
> > To: openindiana-discuss at openindiana.org
> > Sent: Tuesday, October 2, 2012 5:11:07 PM
> > Subject: [OpenIndiana-discuss] postgres as service on OI
> >
> > Hello listmates,
> >
> > I am a bit of a newbie so bear with me.
> >
> > If I want postgres to start up automatically - where do I put the XML
> > definition file to have it start as a service?
> >
> > Thanks.
> >
> > Boris.
> > _______________________________________________
> > OpenIndiana-discuss mailing list
> > OpenIndiana-discuss at openindiana.org
> > http://openindiana.org/mailman/listinfo/openindiana-discuss
> > _______________________________________________
> > OpenIndiana-discuss mailing list
> > OpenIndiana-discuss at openindiana.org
> > http://openindiana.org/mailman/listinfo/openindiana-discuss
> >
> _______________________________________________
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
> _______________________________________________
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
>
More information about the OpenIndiana-discuss
mailing list