PSLWriter auto start/stop configuration parameters
search cancel

PSLWriter auto start/stop configuration parameters

book

Article ID: 267867

calendar_today

Updated On:

Products

CA Business Service Insight

Issue/Introduction

There are some parameters in t_system_configurations--this techdoc explains how they can be used for auto stop of PSLWriter

 

 

Environment

Release : 8.35

Resolution

To recycle the pslwriter memory on a daily basis and restart the service with base memory and improve calculations time the below options can be used. 

These will be additional steps to map the metrics based on their data load to the multiple pslWriter writer instances.

·enableautoshutdownspecifichour  ---  This option enables the option to enable the shutdown PslWriter down at a specific time.

·autoshutdownspecifichour           ----   This option defines the specific hour in a day after which PslWriter can shut down.

·autoshutdowntimeoutinhours      ----  This option defines the number of hours PslWriter is to run before shutting down.

·finishcyclebeforeautoshutdown    ----  Better to enable this option as YES as it controls controls whether Pslwriter automatic shutdown completes the cycle before shutting down.

As for auto shutdown, the configurations in this combination as specified in below mentioned updated statements with needed autoshutdownspecifichour value to autoshutdown the pslWriter services at that time.

/*UPDATE t_system_configurations SET SYS_CONFIG_VALUE='YES' WHERE sys_config_name='enableautoshutdown';
UPDATE t_system_configurations SET SYS_CONFIG_VALUE='YES' WHERE sys_config_name='enableautoshutdownspecifichour';
UPDATE t_system_configurations SET SYS_CONFIG_VALUE='22:00'  WHERE sys_config_name='autoshutdownspecifichour';
UPDATE t_system_configurations SET SYS_CONFIG_VALUE='1'  WHERE sys_config_name='autoshutdowntimeoutinhours';
UPDATE t_system_configurations SET SYS_CONFIG_VALUE='YES' WHERE sys_config_name='finishcyclebeforeautoshutdown';*/

The purpose of the above values is indicated below.

-enableautoshutdown = 'YES'                -- Set this to enable the autoshutdown option.

-enableautoshutdownspecifichour = 'YES'    -- Set this configuration value to shutdown at specific hour.
-autoshutdownspecifichour = '22:00'        -- Set this to initiate shutown and night 10 PM
-autoshutdowntimeoutinhours = '1'          -- Set this value for the minimum hours pslWriter should run before initiating the autoshutdown
-finishcyclebeforeautoshutdown = 'YES'     -- Set this to finish the current cycle before autoshutdown

Unlike auto shutdown of the services which has huge dependency on the cycle time, BSI does not have OOTB configuration to auto start the pslwriter services 

In order to autostart the pslwriter services, you could explore implementing the windows schedulers giving some calculated delay considering the cycle time as applicable on your test environments with a production grade data load.

 

Additional Information

https://techdocs.broadcom.com/us/en/ca-enterprise-software/business-management/clarity-business-service-insight/8-3-5/reference/best-practices.html#concept.dita_5fb3c461-9b12-4489-b138-73051a066baa_PSLWriterMemoryUtilization