Difference between revisions of "Running pubman coreservice fedora postgres on one machine"

From MPDLMediaWiki
Jump to navigation Jump to search
(header text)
Line 5: Line 5:
Most changes consisted of changing port-numbers to avoid conflict, but in addition, changes were necessary to the apache server, and the side-by-side location of two jboss servers.
Most changes consisted of changing port-numbers to avoid conflict, but in addition, changes were necessary to the apache server, and the side-by-side location of two jboss servers.
==Changes in Fedora==
==Changes in Fedora==
here the diff output from the main fedora configuration file. The Fedora ports were moved from 8082, 8005, 8082 to 10082, 10005, 10443 to avoid conflict with the two co-resident jbosses.
  --- originals/fedora_conf/fedora.fcfg 2010-09-16 15:36:30.000000000 +0200
  +++ fedora_conf/fedora.fcfg 2011-11-08 14:35:21.000000000 +0100
  @@ -8,15 +8,15 @@
    <comment>Defines one or more email addresses for server administrators;
list is space delimited.</comment>
  </param>
  -  <param name="fedoraServerPort" value="8082">
  +  <param name="fedoraServerPort" value="10082">
    <comment>Defines the port number on which the Fedora server runs;
default is 8080.</comment>
  </param>
  -  <param name="fedoraShutdownPort" value="8005">
  +  <param name="fedoraShutdownPort" value="10005">
      <comment>Defines the port number used to shutdown the Fedora sever;
default is 8005.</comment>
    </param>
  -  <param name="fedoraRedirectPort" value="8443">
  +  <param name="fedoraRedirectPort" value="10443">
      <comment>Defines the redirect port of the Fedora sever; default is 8443.</comment>
    </param>
    <param name="fedoraServerHost" value="localhost">
  @@ -180,7 +180,7 @@
    character encoding that should be used. Default is UTF-8.</comment>
      </param>
      <param name="defaultExportFormat" value="info:fedora/fedora-system:FOXML-1.1"/>
  -    <param name="gSearchRESTURL" value="http://localhost:8080/fedoragsearch/rest">
  +    <param name="gSearchRESTURL" value="http://localhost:10080/fedoragsearch/rest">
      <comment>The REST endpoint of the Fedora Generic Search service.
In addition, the fedora artefacts had to be reachable via the same path (/opt/fedora/data) as on the original system, to maintain consistency with the paths to the objects in the postgresql DB. This was achieved via a symbolic link


==Changes in PostgreSQL==
==Changes in PostgreSQL==

Revision as of 10:17, 15 November 2011

This is a protected page.

This page documents the configuration setup used to run the whole pubman stack on one virtual machine (vm34) while the original three servers were being upgraded in November 2011.

Most changes consisted of changing port-numbers to avoid conflict, but in addition, changes were necessary to the apache server, and the side-by-side location of two jboss servers.

Changes in Fedora[edit]

here the diff output from the main fedora configuration file. The Fedora ports were moved from 8082, 8005, 8082 to 10082, 10005, 10443 to avoid conflict with the two co-resident jbosses.

 --- originals/fedora_conf/fedora.fcfg	2010-09-16 15:36:30.000000000 +0200
 +++ fedora_conf/fedora.fcfg	2011-11-08 14:35:21.000000000 +0100
 @@ -8,15 +8,15 @@
    <comment>Defines one or more email addresses for server administrators; 
		list is space delimited.</comment>
  </param>
 -  <param name="fedoraServerPort" value="8082">
 +  <param name="fedoraServerPort" value="10082">
    <comment>Defines the port number on which the Fedora server runs; 
		default is 8080.</comment>
  </param>
 -  <param name="fedoraShutdownPort" value="8005">
 +  <param name="fedoraShutdownPort" value="10005">
      <comment>Defines the port number used to shutdown the Fedora sever; 
		default is 8005.</comment>
    </param>
 -  <param name="fedoraRedirectPort" value="8443">
 +  <param name="fedoraRedirectPort" value="10443">
      <comment>Defines the redirect port of the Fedora sever; default is 8443.</comment>
    </param>
    <param name="fedoraServerHost" value="localhost">
 @@ -180,7 +180,7 @@
	    	character encoding that should be used. Default is UTF-8.</comment>
      </param>
      <param name="defaultExportFormat" value="info:fedora/fedora-system:FOXML-1.1"/>
 -    <param name="gSearchRESTURL" value="http://localhost:8080/fedoragsearch/rest">
 +    <param name="gSearchRESTURL" value="http://localhost:10080/fedoragsearch/rest">
      <comment>The REST endpoint of the Fedora Generic Search service.

In addition, the fedora artefacts had to be reachable via the same path (/opt/fedora/data) as on the original system, to maintain consistency with the paths to the objects in the postgresql DB. This was achieved via a symbolic link

Changes in PostgreSQL[edit]

Changes in Coreservice[edit]

Changes in Pubman[edit]