The Configuration Manager is a specialized editor for modifying three types of files:
You can use the Configuration Manager to perform the following tasks:
Setting up the Configuration Manager interface
Viewing files
Changing the data in a file
Inserting data into a file
Deleting data from a file
Getting Help
The Configuration Manager menu bar at the top of the NonStop Cluster Management Suite (NCMS) window contains three comands, each of which displays a submenu of commands. These commands, in turn, are used for the following operations:
The File menu contains the following commands:
The Edit menu contains commands which are active only when a file is displayed in table form in the right pane of the NCMS window. When you have highlighted a row in the table, the following commands are available:
The Help menu provides help information for each of the topics listed in the menu.
Return to the top.
You can specify where the Configuration Manager will look for EPS and applications properties files to display and modify. This location is set in the config_prefs.properties file, which specifies the path and file names of the files to be modified.
For .ini files, the directory is cpq.home. (This variable is provided on the java interpreter command line as a property.)
Return to the top.You can view a file by first selecting the appropriate category in the hierarchical list displayed in the left pane of the Configuration Manager. After selecting the file, the contents are displayed in the table in the right pane of the application. There are two columns labeled Key and Value. The horizontal scrolling area for both columns is specified in the config.properties file and can be modified.
When you select a row from the table, menus and buttons appear on the bottom of the pane. Which specific menus and buttons appear depends on the file type.
For EPS files, you can view the complete file in a text editor window by selecting the Use Editor button beneath the table. To return to a table view of the file, select the Use Table button.
Return to the top.The Configuration Manager uses slightly different methods to modify .ini files and properties and EPS files.
For .ini files, the Save button is enabled after you select a row in the table. The Key and Value for the selected row appear in special windows to the left of the Save button. After making changes to the value, select the Save button to write your changes to the file. To discard your changes, simply select another row in the table.
For properties files and EPS files, the Change button and menu are enabled after you select a row in the table. Selecting this button will display an editor window with the key in the title of the window and the value in an edit area. After making changes to the value, you can select the OK button to keep the changes or the Cancel button to discard the changes and revert to the original value.
Also, for EPS files only, you can display the complete file in an editor window by selecting the Use Editor button in the bottom right corner of the Configuration Manager window. When you select this button, the Configuration Manager removes the table from the right pane of the window and uses this area to display the full file. Use your mouse to place an insertion point in the file (by clicking the left mouse button), highlight a word (by double-clicking the left mouse button), or highlight a complete line (by clicking the left mouse button three times). When you have finished modifying the file, click the Save button below the editor display to save your changes. To discard your changes, simply choose another file in the left pane of the Configuration Manager window.
Note: The Configuration Manager does not make a backup copy of files; once you select the OK or Save button you cannot revert to a previous version of a file.
Return to the top.To insert data into any of the files displayed by the Configuration Manager you must first select a row in the file. You then insert a new row (that is, a new key and its value) by changing the key displayed in the edit area to the left of the Save button. When you then select the Save button, the Configuration Manager adds a new row at the bottom of the table with the key and value shown to the left of the button.
For Properties and EPS file, you can also insert data into the file by highlighting a row and choosing the Insert command from the Edit menu at the top of the NCMS window. The Configuration Manager copies the highlighted row to the bottom of the table, and you can then edit that row to create a new key and value.
Also, for EPS files, you can switch to the editor window (see Changing Data above) to display the complete file in place of the table format in the right pane. Then, simply click the left mouse button at the point where you want to insert the data and begin typing. Click the Save button below the editor display to save your changes. To discard your changes, simply choose another file in the left pane of the Configuration Manager window.
Return to the top.To delete data from any of the files displayed by the Configuration Manager you must first select the row containing the data you want to delete. Then, simply select the Delete button beneath the table or the Delete command from the Edit menu at the top of the NCMS window. A warning telling you that this action cannot be undone appears; click the OK button within this warning to delete the row, or click the Cancel button within this warning to leave the data in the file.
Return to the top.