[GeoNetwork-users] How to deploy several geonetwork servers on one computer?

Hi Mathieu,
Thank you very much. Now, I want to used the sencond method you mentioned to host several instances. Do you mean just to modifiy the "geonetwork" file folder name, then copy to the "web" folder? Now, I am going to use mysql database as their backend databases. How to set their related databases separately?
Regards,
Tim

------------------ Original ------------------
From: "Mathieu Coudert"<mathieu.coudert@...137...>;
Date: Wed, Dec 9, 2009 05:43 PM
To: "Anython M."<lanlandemlz@...702...>;
Cc: "geonetwork-users"<geonetwork-users@lists.sourceforge.net>;
Subject: Re: [GeoNetwork-users] How to deploy several geonetwork servers on one computer?

Hi Tim,

Just be careful with port number of each geonetwork instance and everything will should be good.
I mean each instance of geonetwork must be accessible via a different port : 8080, 8081, 8082....
Moreover, if you use a mckoi database, you must change the database port too (default one is 9157 I guess).

Another alternative could be to have one application server (i.e jetty or tomcat) and rename each web-app of geonetwork in order to access each one under the same port.

HTH,
ciao,

Mathieu

On Wed, Dec 9, 2009 at 12:46 AM, Anython M.. <lanlandemlz@...702...> wrote:
Hi List,
How to install/deploy several csw servers (geonetwork) on one computer? Any help will be appreciated!
Tim
------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

On Wed, Dec 9, 2009 at 9:00 PM, Anython M. <lanlandemlz@anonymised.com> wrote:

Hi Mathieu,
Thank you very much. Now, I want to used the sencond method you mentioned
to host several instances. Do you mean just to modifiy the "geonetwork" file
folder name, then copy to the "web" folder?

Yes, I do. Changing the name of the webapp, and also other references such
as index.html file and so on.

Now, I am going to use mysql database as their backend databases. How to
set their related databases separately?

Only by configuring the config.xml file, and especially the resource part
with appropriates parameters. In order to access to your different databases
or schema.

                <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - -->
<!-- mysql -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->

<resource enabled="false">
<name>main-db</name>
<provider>jeeves.resources.dbms.DbmsPool</provider>
<config>
<user>admin</user>
<password>admin</password>
<driver>com.mysql.jdbc.Driver</driver>
<url>jdbc:mysql://$WEBSERVER_HOST/geonetwork</url>
<poolSize>10</poolSize>
<reconnectTime>3600</reconnectTime>
</config>
</resource>

Ciao,
Mathieu

Regards,

Tim

------------------ Original ------------------
*From: * "Mathieu Coudert"<mathieu.coudert@anonymised.com>;
*Date: * Wed, Dec 9, 2009 05:43 PM
*To: * "Anython M."<lanlandemlz@anonymised.com>;
*Cc: * "geonetwork-users"<geonetwork-users@lists.sourceforge.net>;
*Subject: * Re: [GeoNetwork-users] How to deploy several geonetwork
servers on one computer?

Hi Tim,

Just be careful with port number of each geonetwork instance and everything
will should be good.
I mean each instance of geonetwork must be accessible via a different port
: 8080, 8081, 8082....
Moreover, if you use a mckoi database, you must change the database port
too (default one is 9157 I guess).

Another alternative could be to have one application server (i.e jetty or
tomcat) and rename each web-app of geonetwork in order to access each one
under the same port.

HTH,
ciao,

Mathieu

On Wed, Dec 9, 2009 at 12:46 AM, Anython M.. <lanlandemlz@anonymised.com>wrote:

Hi List,
How to install/deploy several csw servers (geonetwork) on one computer?
Any help will be appreciated!
Tim

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

Hi Mathieu,

Thank you very much!

I copied one file folder of "geonetwork" and renamed as "airquality". Then, moved to the file folder named "web" in geonetwork program files, and changed something as below,
1.Configured the MYSQL database parameters (Set correctly because many metadata records displayed there after logging in )

2.Changed "/airquality/srv/en/main.home" into "/geonetwork/srv/en/main.home" in ...\web\airquality\index.html

Now, I run start-geonetwork.bat in WindowsXP. Many errors occured in command console (I think there are something needed to configure, I didnot do).

I can open the URL: http://localhost:8080/airquality and log in successfully. However, some buttons did not work such as "+" button to see the details of the metadata record.

Mathieu, do you think which files are needed to configure or change further?

Thanks for your help again!

Best Regards,

2009-12-15

Tim

发件人: Mathieu Coudert
发送时间: 2009-12-11 08:45:43
收件人: Anython M.
抄送: geonetwork-users
主题: Re: [GeoNetwork-users] How to deploy several geonetwork servers onone computer?

On Wed, Dec 9, 2009 at 9:00 PM, Anython M. <lanlandemlz@...702...> wrote:

Hi Mathieu,
Thank you very much. Now, I want to used the sencond method you mentioned to host several instances. Do you mean just to modifiy the "geonetwork" file folder name, then copy to the "web" folder?

Yes, I do. Changing the name of the webapp, and also other references such as index.html file and so on.

Now, I am going to use mysql database as their backend databases. How to set their related databases separately?

Only by configuring the config.xml file, and especially the resource part with appropriates parameters. In order to access to your different databases or schema.

                <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<!-- mysql -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->

<resource enabled="false">
<name>main-db</name>
<provider>jeeves.resources.dbms.DbmsPool</provider>
<config>
<user>admin</user>
<password>admin</password>
<driver>com.mysql.jdbc.Driver</driver>
<url>jdbc:mysql://$WEBSERVER_HOST/geonetwork</url>
<poolSize>10</poolSize>
<reconnectTime>3600</reconnectTime>
</config>
</resource>

Ciao,
Mathieu

Regards,
Tim

------------------ Original ------------------
From: "Mathieu Coudert"<mathieu.coudert@...137...>;
Date: Wed, Dec 9, 2009 05:43 PM
To: "Anython M."<lanlandemlz@...702...>;
Cc: "geonetwork-users"<geonetwork-users@lists.sourceforge.net>;
Subject: Re: [GeoNetwork-users] How to deploy several geonetwork servers on one computer?

Hi Tim,

Just be careful with port number of each geonetwork instance and everything will should be good.
I mean each instance of geonetwork must be accessible via a different port : 8080, 8081, 8082....
Moreover, if you use a mckoi database, you must change the database port too (default one is 9157 I guess).

Another alternative could be to have one application server (i.e jetty or tomcat) and rename each web-app of geonetwork in order to access each one under the same port.

HTH,
ciao,

Mathieu

On Wed, Dec 9, 2009 at 12:46 AM, Anython M.. <lanlandemlz@...702...> wrote:

Hi List,
How to install/deploy several csw servers (geonetwork) on one computer? Any help will be appreciated!
Tim
------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

Hi List,

As Mathieu said,

I copied one file folder of "geonetwork" and renamed as "airquality". Then, moved to the file folder named "web" in geonetwork program files, and changed something as below,

1.Configured the MYSQL database parameters (Set correctly because many metadata records displayed there after logging in )

2.Changed "/airquality/srv/en/main.home" into "/geonetwork/srv/en/main.home" in ...\web\airquality\index.html

Now, I run start-geonetwork.bat in WindowsXP. Many errors occured in command console (I think there are something needed to configure, I didnot do).

I can open the URL: http://localhost:8080/airquality and log in successfully. However, some buttons did not work such as "+" button to see the details of the metadata record.

Mathieu, do you think which files are needed to configure or change further?

Thanks for your help again!

Best Regards,

2009-12-15

Tim

发件人: Mathieu Coudert
发送时间: 2009-12-11 08:45:43
收件人: Anython M.
抄送: geonetwork-users
主题: Re: [GeoNetwork-users] How to deploy several geonetwork servers onone computer?

On Wed, Dec 9, 2009 at 9:00 PM, Anython M. <lanlandemlz@...702...> wrote:

Hi Mathieu,
Thank you very much. Now, I want to used the sencond method you mentioned to host several instances. Do you mean just to modifiy the "geonetwork" file folder name, then copy to the "web" folder?

Yes, I do. Changing the name of the webapp, and also other references such as index.html file and so on.

Now, I am going to use mysql database as their backend databases. How to set their related databases separately?

Only by configuring the config.xml file, and especially the resource part with appropriates parameters. In order to access to your different databases or schema.

                <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<!-- mysql -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->

<resource enabled="false">
<name>main-db</name>
<provider>jeeves.resources.dbms.DbmsPool</provider>
<config>
<user>admin</user>
<password>admin</password>
<driver>com.mysql.jdbc.Driver</driver>
<url>jdbc:mysql://$WEBSERVER_HOST/geonetwork</url>
<poolSize>10</poolSize>
<reconnectTime>3600</reconnectTime>
</config>
</resource>

Ciao,
Mathieu

Regards,
Tim

------------------ Original ------------------
From: "Mathieu Coudert"<mathieu.coudert@...137...>;
Date: Wed, Dec 9, 2009 05:43 PM
To: "Anython M."<lanlandemlz@...702...>;
Cc: "geonetwork-users"<geonetwork-users@lists.sourceforge.net>;
Subject: Re: [GeoNetwork-users] How to deploy several geonetwork servers on one computer?

Hi Tim,

Just be careful with port number of each geonetwork instance and everything will should be good.
I mean each instance of geonetwork must be accessible via a different port : 8080, 8081, 8082....
Moreover, if you use a mckoi database, you must change the database port too (default one is 9157 I guess).

Another alternative could be to have one application server (i.e jetty or tomcat) and rename each web-app of geonetwork in order to access each one under the same port.

HTH,
ciao,

Mathieu

On Wed, Dec 9, 2009 at 12:46 AM, Anython M.. <lanlandemlz@...702...> wrote:

Hi List,
How to install/deploy several csw servers (geonetwork) on one computer? Any help will be appreciated!
Tim
------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

Hi List,

I still didn't resort this issue. Any detail steps to change the instance name successfully.

Thanks in advance!

Tim

On 2009/12/18 11:14, Anthony wrote:

Hi List,

As Mathieu said,

I copied one file folder of "geonetwork" and renamed as "airquality". Then, moved to the file folder named "web" in geonetwork program files, and changed something as below,

1.Configured the MYSQL database parameters (Set correctly because many metadata records displayed there after logging in )

2.Changed "/airquality/srv/en/main.home" into "/geonetwork/srv/en/main.home" in ...\web\airquality\index.html

Now, I run start-geonetwork.bat in WindowsXP. Many errors occured in command console (I think there are something needed to configure, I didnot do).

I can open the URL: http://localhost:8080/airquality and log in successfully. However, some buttons did not work such as "+" button to see the details of the metadata record.

Mathieu, do you think which files are needed to configure or change further?

Thanks for your help again!

Best Regards,

2009-12-15

Tim

From: Mathieu Coudert
Date: 2009-12-11 08:45:43
To: Anython M.
Cc: geonetwork-users
Subject: Re: [GeoNetwork-users] How to deploy several geonetwork servers onone computer?

On Wed, Dec 9, 2009 at 9:00 PM, Anython M.<lanlandemlz@anonymised.com> wrote:

Hi Mathieu,
Thank you very much. Now, I want to used the sencond method you mentioned to host several instances. Do you mean just to modifiy the "geonetwork" file folder name, then copy to the "web" folder?

Yes, I do. Changing the name of the webapp, and also other references such as index.html file and so on.

Now, I am going to use mysql database as their backend databases. How to set their related databases separately?

Only by configuring the config.xml file, and especially the resource part with appropriates parameters. In order to access to your different databases or schema.

                 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<!-- mysql -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->

<resource enabled="false">
<name>main-db</name>
<provider>jeeves.resources.dbms.DbmsPool</provider>
<config>
<user>admin</user>
<password>admin</password>
<driver>com.mysql.jdbc.Driver</driver>
<url>jdbc:mysql://$WEBSERVER_HOST/geonetwork</url>
<poolSize>10</poolSize>
<reconnectTime>3600</reconnectTime>
</config>
</resource>

Ciao,
Mathieu

Regards,
Tim

------------------ Original ------------------
From: "Mathieu Coudert"<mathieu.coudert@anonymised.com>;
Date: Wed, Dec 9, 2009 05:43 PM
To: "Anython M."<lanlandemlz@anonymised.com>;
Cc: "geonetwork-users"<geonetwork-users@lists.sourceforge.net>;
Subject: Re: [GeoNetwork-users] How to deploy several geonetwork servers on one computer?

Hi Tim,

Just be careful with port number of each geonetwork instance and everything will should be good.
I mean each instance of geonetwork must be accessible via a different port : 8080, 8081, 8082....
Moreover, if you use a mckoi database, you must change the database port too (default one is 9157 I guess).

Another alternative could be to have one application server (i.e jetty or tomcat) and rename each web-app of geonetwork in order to access each one under the same port.

HTH,
ciao,

Mathieu

On Wed, Dec 9, 2009 at 12:46 AM, Anython M..<lanlandemlz@anonymised.com> wrote:

Hi List,
How to install/deploy several csw servers (geonetwork) on one computer? Any help will be appreciated!
Tim
------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork