The Config Tool Screen
|
|
On Windows platform, the Config Utility will re-start by itself only if the Router is running as a service.
|
The Config Tool screen is divided into the following three frames:
-
Header: contains the KnowNow logo and links to the product documentation.
-
Config Editor (left side): contains editable fields.
-
Router Data (right side): provides information about the Router
Config Editor
The Config Editor screen display the following information in editable form:
-
All constants declared in the config file
-
all defined sections
-
all parameters grouped by section
You can edit this information but the changes are not saved until you click the Save Changes button.
The Config Tool screen comprises of the following buttons:
|
Button
|
Description
|
|
Add a Constant
|
Allows you to add a constant.
|
|
Add a Parameter
|
Allows you to add a parameter to a section.
|
|
Add a Section
|
Allows you to add a new section.
|
|
Delete a Constant
|
Allows you to delete a constant.
|
|
Delete a Parameter
|
Allows you to delete a parameter.
|
|
Delete a section
|
Allows you to delete a section.
|
|
Save Changes
|
Prompts you with an alert that tells you that it will save the changes and restart the Router. You have the option to cancel the action.
|
|
Reset to Original Values
|
Returns all editable fields on the screen to their original values.
|
For more information on using these fields, refer to Using the Config Editor".
Router Data
The Router Data section of the Configuration screen provides the following information:
-
total number of subscribers to the Router since the Router was first started.
-
total number of topics created on the Router since the Router was first started.
The Router Data information comes out of kn_statistics and is updated to an interval specified in the conf file. The default interval is 10 seconds. Discarding the Router persistence files and restarting the Router resets these values to zero.
Using the Config Editor
The Config Editor can be used to edit, add, or delete a constant, to edit, add, or delete a parameter, and to add or delete a section.
|
|
Config Utility cannot be used through a load balance interface in a cluster configuration. The recommended approach is that you get one version of the .conf, perm, passwd, and group files just the way you want it, copy these files to each of the cluster machines, and then restart the cluster machines.
|
Editing a constant
To edit a constant, do the following:
-
Click inside the text box that contains the constant value you want to edit.
-
Using your keyboard, change the value inside the text box.
-
Click Save Changes to make sure the changes take effect.
Adding a new constant
To add a new constant, do the following:
-
Click the Add Constant button at the bottom of the Constants section.
-
At the prompt, enter the name of the new constant.
-
Click OK.
-
At the next prompt, enter the value of the new constant. The default is an empty string.
-
Click OK.
Deleting a constant
To delete a constant, do the following:
-
Click the trashcan icon next to the constant you wish to delete.
-
To confirm deletion, click OK at the prompt. To cancel deletion, click Cancel.
Editing A parameter
To edit a parameter, do the following:
-
Click inside the text box that contains the parameter value you want to edit.
-
Using the keyboard, change the value inside the text box.
Adding a new parameter
To add a new parameter, do the following:
-
At the bottom of the appropriate section, click the Add Parameter button.
-
At the prompt, enter the name of the new parameter.
-
Click OK.
-
At the next prompt, enter the value of the new parameter.Click OK.
Deleting a parameter
To delete an existing parameter, do the following:
-
Click the trashcan icon next to the parameter you wish to delete.
-
To confirm deletion, click OK. To cancel deletion, click Cancel.
Adding a section
To add a new section to the Config Editor frame, do the following:
-
Scroll to the bottom of the Config Editor frame and click the Add Section button.
-
At the prompt, enter the name of the new section.
-
Click OK.
-
The new section appears at the bottom of the Config Editor frame.
-
To add parameters to the new section, follow the steps for adding parameters above.
Deleting a section
To delete an existing section from the Config Editor frame, do the following:
-
At the bottom of the section that you want to delete, locate and click the Delete Section button.
-
Deleting a section also deletes all parameters associated with it. To confirm deletion, click OK at the prompt. To cancel, click Cancel.
Saving the Edited Config Data
When you finish editing the config data, you must save your changes and send them back to the Router. The Router will attempt to restart with the new settings.
-
Scroll to the bottom of the Config Editor frame and click the Save Changes button.
-
The changed config data is sent to the Router. The Router then attempts to restart with the new settings.
-
If the attempt is successful, you get a notice saying that the Router has restarted. Click Edit Configuration if you need to edit the config data again.
-
If the restart fails, you get an error message. Contact the system administrator for help.
Restoring the Config Data
You can restore configuration changes only if the Save Change button has not been clicked. To restore the config data to its last saved state:
-
Scroll to the bottom of the Config Editor frame, and click Revert to Saved button.
-
The Config Editor reloads the last saved configuration data from the Router. All unsaved changes you made to the config data are lost.