Start a new topic

How to change the cell used for blackout management

If you need to use another cell for Blackout Management, proceed as follows.


1. Update the KB and configuration of the new target cell with the blackout classes and rules

This is documented under the "Blackout" section of the doc page https://documentation.proactivepack.com/books/proactivepack-user-administration-guide-v2501/page/installation 

Make sure to recompile and restart that cell.


2.  Ensure the new target cell is registered in the ProactivePack mcell.dir file.

To edit the ProactivePack configuration file, go to Administration -> Modules -> Global and Edit mcell.dir :





3. Update the ProactivePack configuration for the  Blackout Management module and set the "CellName" and "CellName_EM" values to the name of the new target cell.




4. Edit the ProactivePack configuration for the  "Blackout Profiles" module and set the "CellName" and "CellName_EM" values to the name of the new target cell.




5.  Edit the ProactivePack configuration for the  "Timeframe management" module and set the "CellName" value to the name of the new target cell. 






6. Optionnally - copy all existing blackout definitions and timeframes from the "old" cell to the "new" cell.



mquery -n <old cell> -d -q -a Maintenance -x data_handle,mc_udid,mc_modificaton_time,mc_creation_time,mc_modification_request_time,mc_modification_requestor,mc_bad_slot_names,mc_bad_slot_values > maintenances.baroc

mquery -n <old cell> -d -q -a TIME_FRAME -x data_handle,mc_udid,mc_modificaton_time,mc_creation_time,mc_modification_request_time,mc_modification_requestor,mc_bad_slot_names,mc_bad_slot_values > time_frames.baroc

mquery -n <old cell> -d -q -a SELECTOR -w "$THIS.name has_prefix WebBem" -x data_handle,mc_udid,mc_modificaton_time,mc_creation_time,mc_modification_request_time,mc_modification_requestor,mc_bad_slot_names,mc_bad_slot_values > selectors.baroc

mquery -n <old cell> -d -q -a Custom_Maintenances_Policy -x data_handle,mc_udid,mc_modificaton_time,mc_creation_time,mc_modification_request_time,mc_modification_requestor,mc_bad_slot_names,mc_bad_slot_values > maintenance_policies.baroc


mposter -n <newcell> -q -d -v maintenances.baroc
mposter -n <newcell> -q -d -v time_frames.baroc
mposter -n <newcell> -q -d -v selectors.baroc
mposter -n <newcell> -q -d -v maintenance_policies.baroc



7. Optionnally - remove the classes/rules related to Blackout from the "old" cell.

Login or Signup to post a comment