pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
multiple postgres instances from RPM install
5+ messages / 2 participants
[nested] [flat]

* multiple postgres instances from RPM install
@ 2006-12-19 17:40  Tom Kalafut <tommyk@tridsys.com>
  0 siblings, 1 reply; 5+ messages in thread

From: Tom Kalafut @ 2006-12-19 17:40 UTC (permalink / raw)
  To: pgsql-admin

I am getting ready to set up 2 postgres instances, but I'm somewhat new
to postgres.  I've used RPM to list out all the files that are
installed, and I think I've isolated all the executables of which I need
to make separate copies, but I was hoping for some confirmation.  I
heard the exact files that need copying are listed in a thread somewhere
in the archives, but I can't seem to find it.  Could someone please
point me to it?

 

The motivation behind this is having 2 distinct SELinux policies for 2
separate users with their own separate databases.

 

Thanks,

Tom

 

 

Tom Kalafut
Interchange/CG Crew Member
Trident Systems Inc.
tommyk@tridsys.com
(919)388-1264

 

-------------------------

The opinions expressed in this email may not necessarily reflect the
opinions of Trident Systems Inc.

 

^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: multiple postgres instances from RPM install
@ 2006-12-19 18:25  Rajesh Kumar Mallah <mallah.rajesh@gmail.com>
  parent: Tom Kalafut <tommyk@tridsys.com>
  0 siblings, 0 replies; 5+ messages in thread

From: Rajesh Kumar Mallah @ 2006-12-19 18:25 UTC (permalink / raw)
  To: Tom Kalafut <tommyk@tridsys.com>; +Cc: pgsql-admin

On 12/19/06, Tom Kalafut <tommyk@tridsys.com> wrote:
>
>
>
>
> I am getting ready to set up 2 postgres instances, but I'm somewhat new to
> postgres.  I've used RPM to list out all the files that are installed, and I
> think I've isolated all the executables of which I need to make separate
> copies, but I was hoping for some confirmation.

please read about initdb

you can initdb two different empty directories as two different unix users.
when you initdb a directory you will get a postgresql.conf file in it.
you can change the port number in that file to run different instances
separately.

but do you really need two different instances that would possibly compete
each other for resources?

  I heard the exact files
> that need copying are listed in a thread somewhere in the archives, but I
> can't seem to find it.  Could someone please point me to it?
>
>
>
> The motivation behind this is having 2 distinct SELinux policies for 2
> separate users with their own separate databases.
>
>
>
> Thanks,
>
> Tom
>
>
>
>
>
> Tom Kalafut
>  Interchange/CG Crew Member
>  Trident Systems Inc.
>  tommyk@tridsys.com
>  (919)388-1264
>
>
>
> -------------------------
>
> The opinions expressed in this email may not necessarily reflect the
> opinions of Trident Systems Inc.
>
>



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: multiple postgres instances from RPM install
@ 2006-12-19 18:43  Tom Kalafut <tommyk@tridsys.com>
  0 siblings, 1 reply; 5+ messages in thread

From: Tom Kalafut @ 2006-12-19 18:43 UTC (permalink / raw)
  To: Rajesh Kumar Mallah <mallah.rajesh@gmail.com>; +Cc: pgsql-admin

After consulting with a teammate, I've found out that they'd have no
problem simply doing 2 separate makes.  In fact, I'm glad.  It's makes
much better sense.

Thanks,
Tom

Tom Kalafut
Interchange/CG Crew Member
Trident Systems Inc.
tommyk@tridsys.com
(919)388-1264
 
-------------------------
The opinions expressed in this email may not necessarily reflect the
opinions of Trident Systems Inc.

-----Original Message-----
From: Rajesh Kumar Mallah [mailto:mallah.rajesh@gmail.com] 
Sent: Tuesday, December 19, 2006 1:26 PM
To: Tom Kalafut
Cc: pgsql-admin@postgresql.org
Subject: Re: [ADMIN] multiple postgres instances from RPM install

On 12/19/06, Tom Kalafut <tommyk@tridsys.com> wrote:
>
>
>
>
> I am getting ready to set up 2 postgres instances, but I'm somewhat
new to
> postgres.  I've used RPM to list out all the files that are installed,
and I
> think I've isolated all the executables of which I need to make
separate
> copies, but I was hoping for some confirmation.

please read about initdb

you can initdb two different empty directories as two different unix
users.
when you initdb a directory you will get a postgresql.conf file in it.
you can change the port number in that file to run different instances
separately.

but do you really need two different instances that would possibly
compete
each other for resources?

  I heard the exact files
> that need copying are listed in a thread somewhere in the archives,
but I
> can't seem to find it.  Could someone please point me to it?
>
>
>
> The motivation behind this is having 2 distinct SELinux policies for 2
> separate users with their own separate databases.
>
>
>
> Thanks,
>
> Tom
>
>
>
>
>
> Tom Kalafut
>  Interchange/CG Crew Member
>  Trident Systems Inc.
>  tommyk@tridsys.com
>  (919)388-1264
>
>
>
> -------------------------
>
> The opinions expressed in this email may not necessarily reflect the
> opinions of Trident Systems Inc.
>
>



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: multiple postgres instances from RPM install
@ 2006-12-19 18:49  Rajesh Kumar Mallah <mallah.rajesh@gmail.com>
  parent: Tom Kalafut <tommyk@tridsys.com>
  0 siblings, 0 replies; 5+ messages in thread

From: Rajesh Kumar Mallah @ 2006-12-19 18:49 UTC (permalink / raw)
  To: Tom Kalafut <tommyk@tridsys.com>; +Cc: pgsql-admin

On 12/20/06, Tom Kalafut <tommyk@tridsys.com> wrote:
> After consulting with a teammate, I've found out that they'd have no
> problem simply doing 2 separate makes.
>  In fact, I'm glad.  It's makes
> much better sense.

i really dont much understand what you have
decided to do. have you considered creating
two separate databases in same postgresql
installation ?


>
> Thanks,
> Tom
>
> Tom Kalafut
> Interchange/CG Crew Member
> Trident Systems Inc.
> tommyk@tridsys.com
> (919)388-1264
>
> -------------------------
> The opinions expressed in this email may not necessarily reflect the
> opinions of Trident Systems Inc.
>
> -----Original Message-----
> From: Rajesh Kumar Mallah [mailto:mallah.rajesh@gmail.com]
> Sent: Tuesday, December 19, 2006 1:26 PM
> To: Tom Kalafut
> Cc: pgsql-admin@postgresql.org
> Subject: Re: [ADMIN] multiple postgres instances from RPM install
>
> On 12/19/06, Tom Kalafut <tommyk@tridsys.com> wrote:
> >
> >
> >
> >
> > I am getting ready to set up 2 postgres instances, but I'm somewhat
> new to
> > postgres.  I've used RPM to list out all the files that are installed,
> and I
> > think I've isolated all the executables of which I need to make
> separate
> > copies, but I was hoping for some confirmation.
>
> please read about initdb
>
> you can initdb two different empty directories as two different unix
> users.
> when you initdb a directory you will get a postgresql.conf file in it.
> you can change the port number in that file to run different instances
> separately.
>
> but do you really need two different instances that would possibly
> compete
> each other for resources?
>
>   I heard the exact files
> > that need copying are listed in a thread somewhere in the archives,
> but I
> > can't seem to find it.  Could someone please point me to it?
> >
> >
> >
> > The motivation behind this is having 2 distinct SELinux policies for 2
> > separate users with their own separate databases.
> >
> >
> >
> > Thanks,
> >
> > Tom
> >
> >
> >
> >
> >
> > Tom Kalafut
> >  Interchange/CG Crew Member
> >  Trident Systems Inc.
> >  tommyk@tridsys.com
> >  (919)388-1264
> >
> >
> >
> > -------------------------
> >
> > The opinions expressed in this email may not necessarily reflect the
> > opinions of Trident Systems Inc.
> >
> >
>



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: multiple postgres instances from RPM install
@ 2006-12-19 19:48  Tom Kalafut <tommyk@tridsys.com>
  0 siblings, 0 replies; 5+ messages in thread

From: Tom Kalafut @ 2006-12-19 19:48 UTC (permalink / raw)
  To: Rajesh Kumar Mallah <mallah.rajesh@gmail.com>; +Cc: pgsql-admin


That is not an option. We're currently doing that.

The customer wants separate installations of postgres, mostly for
security reasons.  Admin is divvied up between 4-5 "admin" user accounts
on the system because there are several user roles in our product's
community.  Separate installations allow one "admin" user to control
everything involved with the database (including the postmaster
executables) for one application and another "admin" user to control
everything involved with a the database for a different application.

Tom



Tom Kalafut
Interchange/CG Crew Member
Trident Systems Inc.
tommyk@tridsys.com
(919)388-1264
 
-------------------------
The opinions expressed in this email may not necessarily reflect the
opinions of Trident Systems Inc.

-----Original Message-----
From: Rajesh Kumar Mallah [mailto:mallah.rajesh@gmail.com] 
Sent: Tuesday, December 19, 2006 1:50 PM
To: Tom Kalafut
Cc: pgsql-admin@postgresql.org
Subject: Re: [ADMIN] multiple postgres instances from RPM install

On 12/20/06, Tom Kalafut <tommyk@tridsys.com> wrote:
> After consulting with a teammate, I've found out that they'd have no
> problem simply doing 2 separate makes.
>  In fact, I'm glad.  It's makes
> much better sense.

i really dont much understand what you have
decided to do. have you considered creating
two separate databases in same postgresql
installation ?


>
> Thanks,
> Tom
>
> Tom Kalafut
> Interchange/CG Crew Member
> Trident Systems Inc.
> tommyk@tridsys.com
> (919)388-1264
>
> -------------------------
> The opinions expressed in this email may not necessarily reflect the
> opinions of Trident Systems Inc.
>
> -----Original Message-----
> From: Rajesh Kumar Mallah [mailto:mallah.rajesh@gmail.com]
> Sent: Tuesday, December 19, 2006 1:26 PM
> To: Tom Kalafut
> Cc: pgsql-admin@postgresql.org
> Subject: Re: [ADMIN] multiple postgres instances from RPM install
>
> On 12/19/06, Tom Kalafut <tommyk@tridsys.com> wrote:
> >
> >
> >
> >
> > I am getting ready to set up 2 postgres instances, but I'm somewhat
> new to
> > postgres.  I've used RPM to list out all the files that are
installed,
> and I
> > think I've isolated all the executables of which I need to make
> separate
> > copies, but I was hoping for some confirmation.
>
> please read about initdb
>
> you can initdb two different empty directories as two different unix
> users.
> when you initdb a directory you will get a postgresql.conf file in it.
> you can change the port number in that file to run different instances
> separately.
>
> but do you really need two different instances that would possibly
> compete
> each other for resources?
>
>   I heard the exact files
> > that need copying are listed in a thread somewhere in the archives,
> but I
> > can't seem to find it.  Could someone please point me to it?
> >
> >
> >
> > The motivation behind this is having 2 distinct SELinux policies for
2
> > separate users with their own separate databases.
> >
> >
> >
> > Thanks,
> >
> > Tom
> >
> >
> >
> >
> >
> > Tom Kalafut
> >  Interchange/CG Crew Member
> >  Trident Systems Inc.
> >  tommyk@tridsys.com
> >  (919)388-1264
> >
> >
> >
> > -------------------------
> >
> > The opinions expressed in this email may not necessarily reflect the
> > opinions of Trident Systems Inc.
> >
> >
>



^ permalink  raw  reply  [nested|flat] 5+ messages in thread


end of thread, other threads:[~2006-12-19 19:48 UTC | newest]

Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-12-19 17:40 multiple postgres instances from RPM install Tom Kalafut <tommyk@tridsys.com>
2006-12-19 18:25 ` Rajesh Kumar Mallah <mallah.rajesh@gmail.com>
2006-12-19 18:43 Re: multiple postgres instances from RPM install Tom Kalafut <tommyk@tridsys.com>
2006-12-19 18:49 ` Rajesh Kumar Mallah <mallah.rajesh@gmail.com>
2006-12-19 19:48 Re: multiple postgres instances from RPM install Tom Kalafut <tommyk@tridsys.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox