Go to the table of contents Go to the previous page Go to the next page View or print as PDF
Managing Policy Broker Replication : Change the Policy Broker mode
Change the Policy Broker mode
50641 | Managing Policy Broker Replication | Web Security Solutions | Version 7.8.x
In some instances, it may become necessary to change the mode of a Policy Broker instance after installation. For example:
*
 
Note 
*
*
To make the change, an administrator must use the PgSetup command from the command line on the Policy Broker machine as follows:
 
Note 
1.
*
Windows: Open a command prompt and navigate to the Websense Web Security directory (C:\Program Files or Program Files (x86)\Websense\Web Security\), then enter the following command:
WebsenseAdmin stop
*
Linux: Navigate to the /opt/Websense/ directory and enter the following command:
./WebsenseAdmin stop
*
Appliance: In the Appliance manager, stop the Web Security, Network Agent, and Content Gateway modules.
2.
Navigate to the Websense bin directory on the Policy Broker machine (/opt/Websense/bin/ or C:\Program Files or Program Files (x86)\Websense\Web Security\bin).
3.
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/Websense/bin
4.
*
PgSetup -m standalone
Make a note of the token that is displayed when the mode switch is complete. You will need this to update your Policy Server configuration later.
*
PgSetup -m primary -w <synchronization_password>
All replicas must use this synchronization password to connect to the primary and receive updated policy and configuration data.
Make a note of the token that is displayed when the mode switch is complete. You will need this to update your Policy Server configuration later.
*
PgSetup -m replica -l <replica_IP_address> -z <primary_IP address> -w <synchronization_password>
The replica IP address is the IP address that the primary instance will use to communicate updated policy and configuration information to the replica. The synchronization password must match the one created when the primary Policy Broker was configured.
5.
*
*
6.
*
./WebsenseAdmin restart
*
On Windows machines, run the following command from the C:\Program Files or Program Files (x86)\Websense\Web Security\ folder:
WebsenseAdmin restart
On Websense appliances, restart the Web Security, Content Gateway, and Network Agent modules.

Go to the table of contents Go to the previous page Go to the next page View or print as PDF
Managing Policy Broker Replication : Change the Policy Broker mode
Copyright 2016 Forcepoint LLC. All rights reserved.