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
51286 | Policy Broker Replication | TRITON AP-WEB and Web Filter & Security, v8.0.x, v8.1.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
*
TRITON AP-WEB or Web Filter & Security
Network Agent
Content Gateway
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
*
TRITON AP-WEB or Web Filter & Security
Content Gateway
Network Agent

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.