Change Preferred Role in Active-Active Geographical Redundancy
Ericsson Service-Aware Policy Controller

Contents
This instruction describes how to change the Preferred cluster in Geographical redundancy environment in the SAPC.
The preferred cluster change is useful when there are situations that
cause both SAPCs not to be synchronized, and the SAPC configured
as non-preferred (preferred=false) is selected
to be the SAPC how remains the whole database information.
This section provides information of the prerequisites which must
be fulfilled before using the procedure.
The following conditions must apply:
Understand geographical redundancy functionality.
Both SAPCs are not in Initial or Standby state.
The following figure shows the procedure to change the preferred
role in both SAPCs when they are processing traffic. Take into consideration the SAPC set
as non-preferred requires to start full synchronization with the other
SAPC, so it is temporary unavailable for traffic and provisioning
management until synchronization is done:
Figure 1 Change Preferred role in both SAPCs Procedure
To configure SAPC2 as Preferred, do the following:
Steps
-
Connect to SAPC2 and open an Ericsson Command-Line
Interface (CLI) session.
-
Navigate to
class GeoRedManager object:
>dn ManagedElement=1,PolicyControlFunction=1,GeoRedManager=1
-
Execute setConfig action:
(ManagedElement=1,PolicyControlFunction=1,GeoRedManager=1)>
setConfig --preferred true
-
Verify the result of the action:
(ManagedElement=1,PolicyControlFunction=1,GeoRedManager=1)>
show
| Note: |
Since this is a long-running operation, it can be required
to enter show command several times until
the final operation result is shown in the progress report.
|
When the operation is successfully executed, it shows the following
values:
lastOperationExecuted=SET
lastOperationResult=ACTION_RESULT_OK
If an error occurs during the execution of the operation, it shows
the following values.
lastOperationExecuted=SET
lastOperationResult=ACTION_RESULT_NOT_OK
Attribute lastOperationDetailedInfo shows more
specific information about the error. It can take one of these values:
Already configured as Preferred
Internal error updating Preferred value
Not possible to execute set action from <state>
state
-
Check Preferred role configuration:
(ManagedElement=1,PolicyControlFunction=1,GeoRedManager=1)>
showConfiguration
Verify that the attribute Role has Preferred value.
-
Connect to SAPC1 and open an Ericsson Command-Line
Interface (CLI) session.
-
Navigate to
class GeoRedManager object:
>dn ManagedElement=1,PolicyControlFunction=1,GeoRedManager=1
-
Execute setConfig action:
(ManagedElement=1,PolicyControlFunction=1,GeoRedManager=1)>
setConfig --preferred false
Warning!
This action causes that SAPC1 starts full synchronization with
SAPC2, so it is temporary unavailable for traffic and provisioning
management until synchronization is done.
-
Verify the result of the action:
(ManagedElement=1,PolicyControlFunction=1,GeoRedManager=1)>
show
| Note: |
Since this is a long-running operation, it can be required
to enter show command several times until
the final operation result is shown in the progress report.
|
When the operation is successfully executed, it shows the following
values:
lastOperationExecuted=SET
lastOperationResult=ACTION_RESULT_OK
If an error occurs during the execution of the operation, it shows
the following values.
lastOperationExecuted=SET
lastOperationResult=ACTION_RESULT_NOT_OK
Attribute lastOperationDetailedInfo shows information
about the error. It can take one of these values:
Already configured as Non-Preferred
Internal error updating Preferred value
Not possible to execute set action from <state>
state
-
Check Preferred role configuration:
(ManagedElement=1,PolicyControlFunction=1,GeoRedManager=1)>
showConfiguration
Verify that the attribute Role has Non-Preferred value.