This is a discussion on Remove Postgres from Solaris 10 within the pgsql Admins forums, part of the PostgreSQL category; --> Hi Joshua, I think I have to explain it a little more detailed - my product uses a postgres ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi Joshua, I think I have to explain it a little more detailed - my product uses a postgres database with the standart config (ports etc.) - with Solaris 10 postgres is already installed as standart - I need to replace this Solaris 10 postgres installation with my standart postgres database of my product That is the reason I need to remove the standart postgres installation fromSolaris 10 that I can use my own postgres database. My concern is how I can remove this standart Solaris 10 postgres database as quick and efficient as possible that I can put in my postgres database? Cheers Thomas -----Original Message----- From: Joshua D. Drake [mailto:jd@commandprompt.com] Sent: Mittwoch, 30. April 2008 02:33 To: Thomas Bräutigam Cc: J.K.Shah@Sun.COM; Robert.Lor@Sun.COM; pgsql-admin@postgresql.org Subject: Re: [ADMIN] Remove Postgres from Solaris 10 On Wed, 30 Apr 2008 01:59:08 +0200 Thomas Bräutigam <thomas.braeutigam@nexustelecom.com> wrote: > Hi Joshua > > The problem is this that I need this ports for my default postgres > database. > > Is it than possible to have 2 default postgres databases in parallel? > Same ports etc.....? I am afraid I don't understand what you are asking. You can't have two postgresql installations bound to the same port. You can have two postgresql installations pointing to different ports on the same machine. Joshua D. Drake -- The PostgreSQL Company since 1997: http://www.commandprompt.com/ PostgreSQLCommunity Conference: http://www.postgresqlconference.org/ United States PostgreSQL Association: http://www.postgresql.us/ Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin |
| |||
| Here are my two cents: You dont want to remove packages installed with Solaris by default.. However you may use your own Postgres packages or binaries in different location and not enable Postgres by default. (PostgreSQL is an integral part of Solaris 10 ) Don't forget some of Solaris's own tools like SunMC now uses the bundled postgres in the operating system and hence depends on its existence and tested against it. http://www.sun.com/bigadmin/sundocs/...s/sunmcnew.jsp Removing PostgreSQL packages installed by default is not supported since upgrades to the Operating system will depend on those file installations to exist out in the preset locations. However that does not mean you cannot have your own binaries and use them at the default port. The default database is not enabled by default which means there is no collision of port numbers unless you want both database clusters to be enabled. If thats the case than changing Port numbers in either your database cluster or the default db instance (if init'ed by using svcadm start postgres_82:default for the first time) in /var/postgres/8.2/data/postgresql.conf should be fairly easy. Other option is to use "OpenSolaris" CD images which does not have PostgreSQL installed by default as part of the "CD image" install as of now. http://opensolaris.org/os/project/in...sources/getit/ -Jignesh Thomas Bräutigam wrote: > Hi Joshua, > > I think I have to explain it a little more detailed > > - my product uses a postgres database with the standart config (ports etc.) > - with Solaris 10 postgres is already installed as standart > - I need to replace this Solaris 10 postgres installation with my standart postgres database of my product > > That is the reason I need to remove the standart postgres installation from Solaris 10 that I can use my own postgres database. > > My concern is how I can remove this standart Solaris 10 postgres database as quick and efficient as possible that I can put in my postgres database? > > Cheers Thomas > > > > -----Original Message----- > From: Joshua D. Drake [mailto:jd@commandprompt.com] > Sent: Mittwoch, 30. April 2008 02:33 > To: Thomas Bräutigam > Cc: J.K.Shah@Sun.COM; Robert.Lor@Sun.COM; pgsql-admin@postgresql.org > Subject: Re: [ADMIN] Remove Postgres from Solaris 10 > > On Wed, 30 Apr 2008 01:59:08 +0200 > Thomas Bräutigam <thomas.braeutigam@nexustelecom.com> wrote: > > >> Hi Joshua >> >> The problem is this that I need this ports for my default postgres >> database. >> >> Is it than possible to have 2 default postgres databases in parallel? >> Same ports etc.....? >> > > I am afraid I don't understand what you are asking. You can't have two postgresql installations bound to the same port. You can have two postgresql installations pointing to different ports on the same machine. > > Joshua D. Drake > > > -- > The PostgreSQL Company since 1997: http://www.commandprompt.com/ PostgreSQL Community Conference: http://www.postgresqlconference.org/ > United States PostgreSQL Association: http://www.postgresql.us/ Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate > > > > > -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin |
| |||
| On Wed, 30 Apr 2008 05:10:00 +0200 Thomas Bräutigam <thomas.braeutigam@nexustelecom.com> wrote: > Hi Joshua, > > I think I have to explain it a little more detailed > > - my product uses a postgres database with the standart config (ports > etc.) > - with Solaris 10 postgres is already installed as standart > - I need to replace this Solaris 10 postgres installation with my > standart postgres database of my product Why? Why not use the one that Solaris ships with? Joshua D. Drake -- The PostgreSQL Company since 1997: http://www.commandprompt.com/ PostgreSQL Community Conference: http://www.postgresqlconference.org/ United States PostgreSQL Association: http://www.postgresql.us/ Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFIF/CCATb/zqfZUUQRAkwRAJ49jdjxgCsXb8yxUduLs24v1oSIOgCfZ+Y6 Vvyh4dNh30rnLqDxXxkeHq8= =AF7T -----END PGP SIGNATURE----- |
| |||
| Hi Jignesh What things do I all need to take care when I want to run both postgres databases on the same box. Like the Solaris 10 postgres db and my postgres db. What parameters to I need to change in the postgresql.conf file? Is there something else I need to take care? Cheers Thomas -----Original Message----- From: J.K.Shah@Sun.COM [mailto:J.K.Shah@Sun.COM] Sent: Mittwoch, 30. April 2008 05:58 To: Thomas Bräutigam Cc: Joshua D. Drake; Robert.Lor@Sun.COM; pgsql-admin@postgresql.org Subject: Re: [ADMIN] Remove Postgres from Solaris 10 Here are my two cents: You dont want to remove packages installed with Solaris by default.. However you may use your own Postgres packages or binaries in different location and not enable Postgres by default. (PostgreSQL is an integral part of Solaris 10 ) Don't forget some of Solaris's own tools like SunMC now uses the bundled postgres in the operating system and hence depends on its existence and tested against it. http://www.sun.com/bigadmin/sundocs/...s/sunmcnew.jsp Removing PostgreSQL packages installed by default is not supported since upgrades to the Operating system will depend on those file installations to exist out in the preset locations. However that does not mean you cannot have your own binaries and use them at the default port. The default database is not enabled by default which means there is no collision of port numbersunless you want both database clusters to be enabled. If thats the case than changing Port numbers in either your database cluster or the default db instance (if init'ed by using svcadm start postgres_82:default for the first time) in /var/postgres/8.2/data/postgresql.conf should be fairly easy. Other option is to use "OpenSolaris" CD images which does not have PostgreSQL installed by default as part of the "CD image" install as of now. http://opensolaris.org/os/project/in...sources/getit/ -Jignesh Thomas Bräutigam wrote: > Hi Joshua, > > I think I have to explain it a little more detailed > > - my product uses a postgres database with the standart config (ports > etc.) > - with Solaris 10 postgres is already installed as standart > - I need to replace this Solaris 10 postgres installation with my > standart postgres database of my product > > That is the reason I need to remove the standart postgres installation from Solaris 10 that I can use my own postgres database. > > My concern is how I can remove this standart Solaris 10 postgres databaseas quick and efficient as possible that I can put in my postgres database? > > Cheers Thomas > > > > -----Original Message----- > From: Joshua D. Drake [mailto:jd@commandprompt.com] > Sent: Mittwoch, 30. April 2008 02:33 > To: Thomas Bräutigam > Cc: J.K.Shah@Sun.COM; Robert.Lor@Sun.COM; pgsql-admin@postgresql.org > Subject: Re: [ADMIN] Remove Postgres from Solaris 10 > > On Wed, 30 Apr 2008 01:59:08 +0200 > Thomas Bräutigam <thomas.braeutigam@nexustelecom.com> wrote: > > >> Hi Joshua >> >> The problem is this that I need this ports for my default postgres >> database. >> >> Is it than possible to have 2 default postgres databases in parallel? >> Same ports etc.....? >> > > I am afraid I don't understand what you are asking. You can't have two postgresql installations bound to the same port. You can have two postgresql installations pointing to different ports on the same machine. > > Joshua D. Drake > > > -- > The PostgreSQL Company since 1997: http://www.commandprompt.com/ > PostgreSQL Community Conference: http://www.postgresqlconference.org/ > United States PostgreSQL Association: http://www.postgresql.us/ Donate > to the PostgreSQL Project: http://www.postgresql.org/about/donate > > > > > -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin |
| |||
| Is this than everyhting I need to take care when I run this both standard databases or do I need to configure or change something else? unix_socket_directory = 'data directory for a particular DB here' listen_addresses = 'VIP here' port = 5432 Cheers Thomas -----Original Message----- From: Igor Polishchuk [mailto:ipolishchuk@hi5.com] Sent: Mittwoch, 30. April 2008 03:57 To: Joshua D. Drake; Thomas Bräutigam Cc: J.K.Shah@Sun.COM; Robert.Lor@Sun.COM; pgsql-admin@postgresql.org Subject: Re: [ADMIN] Remove Postgres from Solaris 10 In our organization, we are running multiple databases on the same box on the default port. However, they all have their own data directories and theylisten on different VIP's. Here are the parameters in postrgresql.conf to make it work: unix_socket_directory = 'data directory for a particular DB here' listen_addresses = 'VIP here' port = 5432 On 4/29/08 5:33 PM, "Joshua D. Drake" <jd@commandprompt.com> wrote: > On Wed, 30 Apr 2008 01:59:08 +0200 > Thomas Bräutigam <thomas.braeutigam@nexustelecom.com> wrote: > >> Hi Joshua >> >> The problem is this that I need this ports for my default postgres >> database. >> >> Is it than possible to have 2 default postgres databases in parallel? >> Same ports etc.....? > > I am afraid I don't understand what you are asking. You can't have two > postgresql installations bound to the same port. You can have two > postgresql installations pointing to different ports on the same > machine. > > Joshua D. Drake > -- -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin |
| |||
| Thomas Bräutigam wrote: > Hi Jignesh > > What things do I all need to take care when I want to run both postgres databases on the same box. Like the Solaris 10 postgres db and my postgres db. > By default the Postgres versions that are shipped with Solaris are disabled (run "svcs postgresql" to verify). So if you just want to use your own Postgres binary, you don't have to worry about changing the port as long as you don't enable the versions that come with Solaris. You are making conflicting statement about running both databases in parallel but at the same time want to replace your version with the binary that comes with Solaris. Perhaps you're thinking that the Postgres that comes with Solaris is always running by default which is not the case! -Robert -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin |
| |||
| Hi Robert, That's the issue, the database is not running which gets delivered with Solaris 10 but I am not sure if the my customer accidently activates it or not, so I want to be on the safe side of live, that I minimize this risk. Cheers Thomas -----Original Message----- From: Robert.Lor@Sun.COM [mailto:Robert.Lor@Sun.COM] Sent: Mittwoch, 30. April 2008 20:25 To: Thomas Bräutigam Cc: J.K.Shah@Sun.COM; Joshua D. Drake; pgsql-admin@postgresql.org Subject: Re: [ADMIN] Remove Postgres from Solaris 10 Thomas Bräutigam wrote: > Hi Jignesh > > What things do I all need to take care when I want to run both postgres databases on the same box. Like the Solaris 10 postgres db and my postgres db. > By default the Postgres versions that are shipped with Solaris are disabled(run "svcs postgresql" to verify). So if you just want to use your own Postgres binary, you don't have to worry about changing the port as long as you don't enable the versions that come with Solaris. You are making conflicting statement about running both databases in parallel but at the same time want to replace your version with the binary that comes with Solaris. Perhaps you're thinking that the Postgres that comes with Solaris is always running by default which is not the case! -Robert -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin |
| |||
| Thomas Bräutigam wrote: > That's the issue, the database is not running which gets delivered with Solaris 10 but I am not sure if the my customer accidently activates it or not, so I want to be on the safe side of live, that I minimize this risk. > In that case, just pick a non default port for your Postgres server process. -Robert -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin |
| |||
| Hola Soy estudiante de Ingeniería Informática. Le escribo porque consulté una publicación suya en la web sobre POSTGRESQL y más específicamentemi duda es sobre replica, tenemos un escenario de la siguiente manera, queremos montar una aplicación para el país completo, que es necesario quetodos puedan consultar y modificar sobre los mismos datos y tenemos la duda si usar PgCluster nos seria factible? y si es así si seria síncrono o asíncrono. Otra cosa, que seria el replicador(hardware o software) y elbalanceador de carga. Gracias de antemano Saludos Igniris -----Mensaje original----- De: pgsql-admin-owner@postgresql.org [mailto Enviado el: martes, 29 de abril de 2008 23:10 Para: Joshua D. Drake CC: J.K.Shah@Sun.COM; Robert.Lor@Sun.COM; pgsql-admin@postgresql.org Asunto: Re: [ADMIN] Remove Postgres from Solaris 10 Hi Joshua, I think I have to explain it a little more detailed - my product uses a postgres database with the standart config (ports etc.) - with Solaris 10 postgres is already installed as standart - I need to replace this Solaris 10 postgres installation with my standart postgres database of my product That is the reason I need to remove the standart postgres installation fromSolaris 10 that I can use my own postgres database. My concern is how I can remove this standart Solaris 10 postgres database as quick and efficient as possible that I can put in my postgres database? Cheers Thomas -----Original Message----- From: Joshua D. Drake [mailto:jd@commandprompt.com] Sent: Mittwoch, 30. April 2008 02:33 To: Thomas Bräutigam Cc: J.K.Shah@Sun.COM; Robert.Lor@Sun.COM; pgsql-admin@postgresql.org Subject: Re: [ADMIN] Remove Postgres from Solaris 10 On Wed, 30 Apr 2008 01:59:08 +0200 Thomas Bräutigam <thomas.braeutigam@nexustelecom.com> wrote: > Hi Joshua > > The problem is this that I need this ports for my default postgres > database. > > Is it than possible to have 2 default postgres databases in parallel? > Same ports etc.....? I am afraid I don't understand what you are asking. You can't have two postgresql installations bound to the same port. You can have two postgresql installations pointing to different ports on the same machine. Joshua D. Drake -- The PostgreSQL Company since 1997: http://www.commandprompt.com/ PostgreSQLCommunity Conference: http://www.postgresqlconference.org/ United States PostgreSQL Association: http://www.postgresql.us/ Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin |
| ||||
| Igniris Valdivia Baez wrote: > Hola > Soy estudiante de Ingeniería Informática. Le escribo porque consulté una publicación suya en la web sobre POSTGRESQL y más específicamente mi duda es sobre replica, tenemos un escenario de la siguiente manera, queremos montar una aplicación para el país completo, que es necesario que todos puedan consultar y modificar sobre los mismos datos y tenemos la duda si usar PgCluster nos seria factible? y si es así si seria síncrono o asíncrono. Otra cosa, que seria el replicador(hardware o software) y el balanceador de carga. > Gracias de antemano > Saludos Igniris > > Allright I used google translate to understand the email " Hello I am a student of computer engineering. I am writing you because I consulted a publication on the web and more specifically on POSTGRESQL is definitely on my replica, we have a scenario as follows, we want to mount an application for the whole country, it is necessary that everyone can see and change on them data and we doubt if we use PgCluster feasible? and if so whether serious synchronous or asynchronous. Another thing that would be the replicator (hardware or software) and the load balancer. Thanks in advance Greetings Igniris " Anyway I dont think I have any answers to this. -Jignesh -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin |