Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

  1. Stop the Fedora server (if using Tomcat, this can be done with the shutdown.bat or shutdown.sh command)
  2. Runfedora-rebuild.bat or fedora-rebuild.sh
  3. Select which index you want to rebuild and confirm your choice when prompted.
  4. Repeat steps 2-3 to rebuild the other index, if needed.
  5. Restart the Fedora server (if using Tomcat, this can be done with the startup.bat or startup.shcommand)

    Info
    titleInformation

    When running a SQL rebuild using MySQL with Java 1.5, it may fail with a java.lang.UnsupportedClassVersionError. This can occur if the MySQL JDBC driver you're using is a newer version. To resolve, simply run the rebuilder with Java 1.6 (ensuring your JAVA_HOME environment variable is set correctly), or use an older MySQL JDBC driver.

fedora-reload-policies
Anchor
reload
reload

...

fedora-reload-policies

...

[http

...

|https

...

]

...

[username

...

]

...

[password

...

]

Where:

  • http|https - Indicates which protocol to use to send the "reload policies" signal to the running Fedora server.
  • username - An administrative Fedora user with permission to reload polcies.
  • password - Password for the administrative user.

...

validate-policy
Anchor
validate
validate

...

validate-policy

...

[policyFilename

...

]

Where:

  • policyFilename - Name of XACML file containing the new or modified policy

...

The fedora-modify-control-group command line utility enables you to modify the control group of existing datastreams. Currently only modifying inline XML datastreams ("X") to managed content ("M") is supported. The utility can be used to modify DC, RELS-EXT and RELS-INT datastreams to managed content with the introduction of support for managed content for these datastreams in Fedora 3.4.unmigrated-wiki-markup*

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

Where:

  • method - the operation to be performed, either reloadpolicies or migratedatastreamcontrolgroup. Use migratedatastreamcontrolgroup to modify the control group.
  • protocol - the protocol to communicate with Fedora server, either http or https.
  • user - the Fedora administrator username (e.g., fedoraAdmin).
  • password - the password for the Fedora administrator user.
  • pid- either
    • a single pid (eg demo:123)
    • a comma-separated list of pids (eg demo:123,demo:124)
    • the name of a file containing a list of pids (eg file:///path/to/pidfile.xml). The file may either be a simple text file containing a list of pids, or an XML file specifying pids as <pid>demo:123</pid> elements. The XML output of Fedora's basic search (the findObjects REST API method) can be used.
  • dsid - either a single datastream identifier or a comma-separated list of datastream identifiers (eg DC or DC,RELS-EXT)
  • controlGroup - the control group to set on the datastream. Only "M" is currently supported
  • addXMLHeader - optional. If true, an XML declaration specifying the XML version and a character encoding of UTF-8 will be added at the start of the datastream.
  • reformat - optional. If true, the XML will be reformatted with line breaks and indents.
  • setMIMETypeCharset - optional. If true, a charset declaration of UTF-8 will be added to the datastream's MIMEType property if one is present

...