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.
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.
If the HA environment is currently in use, ensure that SVN backups are up to date.
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:
On the AIO, export the Policy Builder configuration by entering the following commands:
This creates a directory /var/tmp/aio_configuration.
Remove the system configuration by entering the following commands:
Move the /var/tmp/aio_configuration directory to /var/tmp on your Cluster Manager (using scp, zip and so on).
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.
Check out the old configuration (http://pcrfclient01/repos/configuration):
Remove the non-system configuration:
Copy in the AIO configuration files:
Commit the configuration:
If you are already logged into Policy Builder, reload the Policy Builder URL in your browser to access the new configuration.
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:
Publish the configuration. Refer to the CPS Mobile Configuration Guide for detailed steps.