Changing Console log directories in ConsoleWorks on OpenVMS
From TDiWiki
Changing console log directories in ConsoleWorks on OpenVMS
For OpenVMS systems, you will need to add the appropriate directory or directories to the CONWRKS_SPECIFIC.COM file located in your <invocation_specific> config directory. A restart of ConsoleWorks will be required once this change has been made.
- I.e. (for example only):
- $ DEFINE CONWRKS_LOG_NUMBER_1 DISK_DRIVE_1:[DIRECTORY_NAME_1]
- $ DEFINE CONWRKS_LOG_NUMBER_2 DISK_DRIVE_2:[DIRECTORY_NAME_2]
Then make the appropriate changes to log directories in ConsoleWorks as detailed below, but using the logical names in place of actual drive/directory specifications. This also has the benefit of allowing the user to make any future changes for drives/directories in CONWRKS_SPECIFIC.COM without having to modify the console definitions in ConsoleWorks.
Now you can make your log location changes to an exported XML file that contains your Consoles When using the XML Export / Import feature, it’s a good idea to change one of the components you wish to modify in the appropriate configuration screen first, that way you’ll see where it appears in the export. In this case you would use the Console configuration screen for one console, disable the console, change it’s location to the new directory, move the logs to the new directory, then enable the console. This way the console will re-open the current console for the current day and resume writing to it. The Export XML and Import XML feature is found under the >Admin menu item.
- Suggestion: If you are changing many consoles, work in smaller groups so as not to affect all logs at the same time. At the time of export, disable the consoles via >Admin >Console >Disable, to be changed. It will make the Export and import go quicker and the data loss will be minimized. Once the Consoles have been imported, you can go to >Admin >Console >Enable and enable the consoles you’ve changed. Similar to the example above, the consoles will resume writing to the current day’s consoles located in the new directories.. The XML Export/Import feature is discussed in the user guide, (3.5) on page 331 of 388.
