Operations Center sample code - exporting configuration on the server, and sending it to the client
This document (7011909) is provided subject to the disclaimer at the end of this document.
Novell Operations Center 5.0
a) it locates "server" elements and exports selected configuration to the temporary file, using 'Config|ExportSilent' method
b) it reads temporary file, and copies the data into new string array
c) it passes the string array to the client-side, as a part of client-side script invocation
d) invoked client-side script writes then the data to the file on the Java client PC
The code is designed to work for relatively small configurations, but it would for sure cause problems and crash if you would try to send this way huge configuration data.
Here is the operations definition, it needs to be added to the operations.ini file:
[Export configuration to the client]
description=Export configuration to the client
Here is our script "support/exportConfigToClient.fs":
This Support Knowledgebase provides a valuable tool for NetIQ/Novell/SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7011909
- Creation Date:11-MAR-13
- Modified Date:11-MAR-13
- NetIQOperations Center
Did this document solve your problem? Provide Feedback