Software AG Products 10.7 | Using CentraSite | Runtime Governance | Runtime Events and Key Performance Indicator (KPI) Metrics | Managing Runtime Event Store | Managing Runtime Event Store Through the Command Line Interface | Changing the Storage Mode of Run-Time Event
 
Changing the Storage Mode of Run-Time Event
Pre-requisites:
To change the current storage mode of run-time events through the CentraSite Command Line Interface, you must have the CentraSite Administrator role.
In certain circumstances, you may want to change the legacy storage mode of run-time events to the enhanced storage mode (and vice versa).
CentraSite provides a command tool named switch runtimeEvent for this purpose.
*To change the current storage mode of run-time events
*Run the command switch runtimeEvent.
The syntax is of the format: C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd switch runtimeEvent -user <USER-ID> -password <PASSWORD> [-url <CENTRASITE-URL>]
The input parameters are:
Parameter
Description
CENTRASITE-URL
(Optional). The URL of the CentraSite registry. For example, http://localhost:53307/CentraSite/CentraSite.
USER-ID
The user ID of a registered CentraSite user who has the CentraSite Administrator role. For example, Administrator.
PASSWORD
The password for the CentraSite user identified by the parameter USER-ID.
Example (all in one line):
C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd switch runtimeEvent -user Administrator -password manage -url http://localhost:53307/CentraSite/CentraSite
The response to this command could be:
Executing the command : switch runtimeEvent
=================================================================
<?xml version="1.0" encoding="UTF-8" ?>
<ino:response xmlns:ino="http://namespaces.softwareag.com/tamino/response2"
xmlns:xql="http://metalab.unc.edu/xql/">
<ino:message ino:returnvalue="0">
<ino:messageline>starting admin command
ino:RuntimeEvents(&#39;switch&#39;)
</ino:messageline>
</ino:message>
<ino:message ino:returnvalue="0">
<ino:messageline>admin command
ino:RuntimeEvents(&#39;switch&#39;)completed
</ino:messageline>
</ino:message>
</ino:response>
=================================================================
….
Successfully executed the command : switch runtimeEvent
Note:
If you want to check whether the current event storage mode is modified, execute the command state runtimeEvent.