Configuring a Child Server
Use the following procedure to configure the propagation policies on a Child Server to forward events to the Central Server. For details about the configuring propagation policies, see Creating a new propagation policy.
To configure a Child Server to forward events to the Central Server
Repeat this procedure on every Child Server in your environment.
- On the Child Server, add details for the Central Server to the mcell.dir file:
- On the Child Server, open the mcell.dir file, located in the installationDirectory\pw\server\etc directory.
- At the end of the file, add a line with the following cell server information for Central Server, then save and close the file:
cell centralCellName mc cellHostName:cellPort- centralCellName is the name of the Central Server Cell.
- cellHostName is the name of the Central Server host.
- cellPort is the cell port
For example:
cell pncell_central mc central.bmc.com:1828
- To reload the mcell.dir file with the updated information, open a command prompt and run the following command:
mcontrol -n childCellName reload dir
where
childCellName is the name of the Child Server Cell.
Create a rule (mrl) file to propagate MC_CELL_ACTION_RESULT events:
Create a text file with the following rule:
# ACTION_RESULTS
propagate cell_action_results_event:
MC_CELL_ACTION_RESULT
to <'centralCellName'>
ENDcentralCellName is the name of the Central Server Cell.
- Save the file with an mrl extension in the installationDirectory\pw\server\etc_childCellName_\kb\rules directory.
- Add the file name (without the mrl extension) to the .load file in the same directory.
- Compile the cell by opening a command prompt and running the following command:
mccomp -n childCellName - Restart the cell by opening a command prompt and running the following commands:
mkill -n childCellName
and then
mcell -n childCellName
Alternatively, instead of restarting the cell, you can reload the Knowledge Base of the cell by running the following command:
mcontrol -n childCellName reload kb
- Open the Administration Console and in the Administration tab, click the Event Management Policies tab.
- Expand MyProduction > childCellName > By Policy Type > Propagation Policy > All_Events.
- Click to add a policy or to edit an existing policy.
- In the Propagation Policy Details tab, ensure the following settings:
- Select the Enabled check box to enable the event management policy.
- In the Policy Activation Timeframes section, select Always Active to make the event management policy active continuously.
- In the Propagate to all of list, select the cell server for the Central Server.
- Click OK to save the changes.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*