Porting All-In-One Policy Builder Configuration to HA
This section describes how to port the Policy Builder configuration from an All-In-One (AIO) environment to a High Availability (HA) environment.
Prerequisites
-
All the VMs were created using the deployment process.
-
This procedure assumes the datastore that will be used to have the virtual disk has sufficient space to add the virtual disk.
-
This procedure assumes the datastore has been mounted to the VMware ESX server, regardless of the backend NAS device (SAN or iSCSI, etc).
Porting the Policy Builder Configuration
Policy Builder configuration can be utilized between environments, however, the configuration for Systems and Policy Enforcement Points is environment-specific and should not be moved from one environment to another.
The following instructions will not overwrite the configuration specific to the environment. Please note that as the Systems tab and Policy Enforcement Points data is not moved, the HA system should have these things configured and running properly (as stated above).
The following steps describe the process to port a configuration from an AIO environment to an HA environment.
Procedure
Step 1 |
If the HA environment is currently in use, ensure that SVN backups are up to date. |
Step 2 |
Find the URL that Policy Builder is using to load the configuration that you want to use. You can find this by clicking Edit on the initial page in Policy Builder. The URL is listed in the URL field. For the purpose of these instructions, the following URL will be used for exporting the configuration from the AIO environment and importing the configuration to the HA environment: http://pcrfclient01/repos/configuration |
Step 3 |
On the AIO, export the Policy Builder configuration by entering the following commands:
This creates a directory /var/tmp/aio_configuration. |
Step 4 |
Remove the system configuration by entering the following commands:
|
Step 5 |
Move the /var/tmp/aio_configuration directory to /var/tmp on your Cluster Manager (using scp, zip and so on). |
Step 6 |
SSH into the pcrfclient01. The following steps assume you will replace the existing default Policy Builder configuration located at http://pcrfclient01/repos/configuration on your HA environment. If you would like to access your old configuration, copy it to a new location. For example:
Then set up a new Repository in the HA Policy Builder to access the old configuration. |
Step 7 |
Check out the old configuration (http://pcrfclient01/repos/configuration):
|
Step 8 |
Remove the non-system configuration:
|
Step 9 |
Copy in the AIO configuration files:
|
Step 10 |
Commit the configuration:
|
Step 11 |
If you are already logged into Policy Builder, reload the Policy Builder URL in your browser to access the new configuration. |
Step 12 |
Check for errors in Policy Builder. This often indicates a software mismatch. Errors are shown with an (x) next to the navigation icons in the left pane of Policy Builder. For example: |
Step 13 |
Publish the configuration. Refer to the CPS Mobile Configuration Guide for detailed steps. |