Fedora Tips

From Devwiki
Revision as of 12:04, 14 November 2006 by Gmr (talk | contribs)
(diff) ←Older revision | view current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

Fedora Exceptions

Fedora Exceptions

ITQL Scripts

itql_scripts

Running multiple instances of Fedora

The details for running multiple Fedora instances are below:

  • Each Fedora must have its own set of ports (Three ports for each instance)
  • Each Fedora must have its own locations for storing data
  • Each Fedora must have its own database

In our setup we have the following changes to the fedora.fcfg:

Fedora 2.0

   object_store_base=/home/fedora/version2.0/objects
   temp_store_base=/home/fedora/version2.0/temp
   datastream_store_base=/home/fedora/version2.0/datastreams
   fedoraServerPort=8085
   fedoraShutdownPort=8015
   fedoraRedirectPort=8445
   jdbcURL=jdbc:mysql://localhost/fedora20?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true

Fedora 2.1 Beta

  object_store_base=/home/fedora/version2.1b/objects
   temp_store_base=/home/fedora/version2.1b/temp
   datastream_store_base=/home/fedora/version2.1b/datastreams
   fedoraServerPort=4080
   fedoraShutdownPort=4005
   fedoraRedirectPort=4443
   jdbcURL=jdbc:mysql://localhost/fedora21b?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true
   REPOSITORY-POLICIES-DIRECTORY=/home/fedora/version2.1b/fedora-xacml-policies/repository-policies
   OBJECT-POLICIES-DIRECTORY=/home/fedora/version2.1b/fedora-xacml-policies/object-policies
   SURROGATE-POLICIES-DIRECTORY=/home/fedora/version2.1b/fedora-xacml-policies/surrogate-policies
REPOSITORY-POLICY-GUITOOL-POLICIES-DIRECTORY=/home/fedora/version2.1b/fedora-xacml-policies/repository-policies-generated-by-policyguitool

Fedora 2.1.1

   object_store_base=/home/fedora/version2.1.1/objects
   temp_store_base=/home/fedora/version2.1.1/temp
   datastream_store_base=/home/fedora/version2.1.1/datastreams
   fedoraServerPort=9080
   fedoraShutdownPort=9005
   fedoraRedirectPort=9443
   jdbcURL=jdbc:mysql://localhost/fedora211?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true
   REPOSITORY-POLICIES-DIRECTORY=/home/fedora/version2.1.1/fedora-xacml-policies/repository-policies
   OBJECT-POLICIES-DIRECTORY=/home/fedora/version2.1.1/fedora-xacml-policies/object-policies
   SURROGATE-POLICIES-DIRECTORY=/home/fedora/version2.1.1/fedora-xacml-policies/surrogate-policies
REPOSITORY-POLICY-GUITOOL-POLICIES-DIRECTORY=/home/fedora/version2.1.1/fedora-xacml-policies/repository-policies-generated-by-policyguitool


The other important thing to remember is to set FEDORA_HOME to the correct home when starting and stopping the servers as other wise it gets confused.