Difference between revisions of "Cyc Administrator Handbook/XML-Based Parameter Configuration"

From Public Domain Knowledge Bank
Jump to: navigation, search
(Created page with "<includeonly> ===== XML-Based Parameter Configuration ===== </includeonly> <noinclude> ===== Prev: Cyc Admin...")
 
 
Line 5: Line 5:
 
===== Prev: [[Cyc Administrator Handbook/Network Service Parameters|Network Service Parameters]] Up: [[Cyc Administrator Handbook/Server Configuration|Server Configuration]] Up2: [[Cyc Administrator Handbook/Setup and Operation|Setup and Operation]] Home:[[Cyc Administrator Handbook]] Next: [[Cyc Administrator Handbook/External Service Parameters|External Service Parameters]] =====
 
===== Prev: [[Cyc Administrator Handbook/Network Service Parameters|Network Service Parameters]] Up: [[Cyc Administrator Handbook/Server Configuration|Server Configuration]] Up2: [[Cyc Administrator Handbook/Setup and Operation|Setup and Operation]] Home:[[Cyc Administrator Handbook]] Next: [[Cyc Administrator Handbook/External Service Parameters|External Service Parameters]] =====
 
{{:Cyc Administrator Handbook/Header}}
 
{{:Cyc Administrator Handbook/Header}}
 +
 +
=== Introduction ===
 +
All of the system parameters mentioned in the section on Server Configuration above that are changed inside init/parameters.lisp can also be managed via an XML file, init/systemParameters.xml.
 +
The structure of that XML file is given by init/systemParameter.xsd.
 +
System parameters are defined using the param tag; the name sub-tag has an equiv attribute that ties the parameter back to the SubL parameter name used in init/parameters.lisp.
 +
 +
=== Precedence ===
 +
Upon Server launch time, any values configured in init/systemParameters.xml file are used to overwrite the respective values in init/parameters.lisp.
 +
 +
=== Capturing Current Configuration ===
 +
Use the API method (GENERATE-SYSTEM-PARAMETER-XML-FILE xml-file) to generate an XML file that captures the current setting of the system parameters.
 +
For example, the file init/systemParameters.xml was generated using the following
 +
SubL expression: (GENERATE-SYSTEM-PARAMETER-XML-FILE “init/systemParameters.xml”).
  
 
</noinclude>
 
</noinclude>

Latest revision as of 16:55, 29 May 2019


Prev: Network Service Parameters Up: Server Configuration Up2: Setup and Operation Home:Cyc Administrator Handbook Next: External Service Parameters
This page is based on the original document Enterprise Cyc Administrator Handbook at https://www.cyc.com/documentation/enterprise-cyc-administrator-handbook/ There is no intent to infringe on Cycorp's Copyright.
It is Copyright (c) Cycorp 2019
Cycorp's address is 7718 Wood Hollow Drive Suite 250 Austin, TX 78731 USA
mailto:info@cyc.com   Main Phone: 512.342.4000

Introduction

All of the system parameters mentioned in the section on Server Configuration above that are changed inside init/parameters.lisp can also be managed via an XML file, init/systemParameters.xml.
The structure of that XML file is given by init/systemParameter.xsd.
System parameters are defined using the param tag; the name sub-tag has an equiv attribute that ties the parameter back to the SubL parameter name used in init/parameters.lisp.

Precedence

Upon Server launch time, any values configured in init/systemParameters.xml file are used to overwrite the respective values in init/parameters.lisp.

Capturing Current Configuration

Use the API method (GENERATE-SYSTEM-PARAMETER-XML-FILE xml-file) to generate an XML file that captures the current setting of the system parameters.
For example, the file init/systemParameters.xml was generated using the following
SubL expression: (GENERATE-SYSTEM-PARAMETER-XML-FILE “init/systemParameters.xml”).