Step 2: Update Policy Server configuration
Before you begin
Reconfigure each Policy Server instance that was originally set up to connect to the former standalone Policy Broker (now a replica).
Steps
- Stop the Policy Server instance.
- Linux: Use the opt/Websense/WebsenseDaemonControl command to stop Policy Server.
- Windows: Use the Services tool to stop Websense Policy Server.
- Navigate to the bin directory (C:\Program Files or Program Files (x86)\Websense\Web Security\bin or /opt/Websense/bin/) and make a backup copy of config.xml in another location.
-
Open the original config.xml file in a text editor and navigate to the BrokerService container:
<container name="BrokerService">
-
If a broker container exists, delete it. A broker container looks something like this:
<container name="Brokers"> <container name="0"> <data name="Host">10.226.56.62</data> <data name="Port">55880</data> <data name="Priority">1</data> </container> <container name="1"> <data name="Host">10.226.56.63</data> <data name="Port">55880</data> <data name="Priority">2</data> </container> </container>
-
Locate the Config container within the BrokerService container and update the Host container with the Policy Broker IP address copied in the previous
procedure. For example:
<container name="Config"> <data name="Country">US</data> <data name="Host">10.226.56.62</data>
Still in the Config container, update the Token field with the Policy Broker token value copied in the previous procedure. The token looks something like this, and must be entered as a single line (no line breaks):<data name="Token">0542A478BC2AB7773AE226F8471E4DD12E7AB7 8DEFF21A3A151621EFBF5A98559211A5746D4263F00797190AFD30A5F D507DD5560362F6C5538C780F350C5467E106DC6A1D46FF2670FC1348 331640AA95D0ADDAD8999D491137C8C9ED831846599BF6C99242D512B FABA28938E3CA975197AFED65CD335BC738E1BE933B48F7816C8F51D4 0AEE8B9C4F401815FAD21BD427175DBD1B06B28465CC20C41AD452DE2 B7798A71CF17E</data>
- Save and close the config.xml file.
- Delete the config.xml.bak file from the bin directory.
-
After making the change, restart the web module services on the Policy Server machine.
- Linux: Run the following command from the /opt/Websense/ directory:
./WebsenseAdmin restart
- Windows: Run the following command from the C:\Program Files or Program Files (x86)\Websense\Web Security\
folder:
WebsenseAdmin restart
- Linux: Run the following command from the /opt/Websense/ directory: