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
Policy Broker Replication | Web Protection Solutions | v8.4, v8.5.x | 29-Apr-2022
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 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
*
2.
Navigate to the 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.
 
Note 
5.
*
*
6.
*
./WebsenseAdmin restart
*
Windows: Run the following command from the C:\Program Files or Program Files (x86)\Websense\Web Security\ folder:
WebsenseAdmin restart
*

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 2022 Forcepoint. All rights reserved.