The PIC failover procedure for the packet gateway assures service continuity in case of a service PIC failure. The packet gateway architecture provides both a 1:1 redundancy model and a 1:N redundancy model for service PICs.
In the 1:1 redundancy model, there is one primary service PIC and one secondary service PIC that acts as a backup. If the primary service PIC fails, the Routing Engine allocates the secondary service PIC, and the software switches over to the secondary service PIC. The PGCP process continues to provide the PGCP services as if the service PIC has restarted. All states and sessions are lost, but new calls are accepted. When the failed service PIC recovers, it does not take over from the redundant PIC.
In the 1:N redundancy model, you can define one PIC as the secondary of many primary PICs. In this model, after the secondary PIC becomes active, all other primary PICs are left without a secondary PIC. Even when the primary PIC recovers, it does not become a redundant PIC to all of the primary PICs. A recovered primary PIC can replace only the same secondary PIC that previously replaced it. This functionality means that administrative involvement is usually required after a failover event happens.
If a service PIC fails, the following procedure takes place:
To configure PIC failover, you configure a redundancy services PIC (rsp) interface that specifies which service PIC is the primary PIC and which service PIC is the secondary PIC. In the service set configuration for the PGCP service, the service set points to the rsp interface as the next-hop service interface.
To configure, create a redundancy services PIC (rsp) interface, and specify the primary and secondary service PIC and the inside and outside service domains.
Step-by-Step Procedure
To configure the rsp interface:
- [edit]
- user@host#edit interfaces rsp1
- [edit interfaces rsp1]
- user@host#set redundancy-options primary sp-1/2/0
- [edit interfaces rsp1]
- user@host#set redundancy-options secondary
sp-1/3/0
- [edit interfaces rsp1]
- user@host#set unit 10 family inet
- [edit interfaces rsp1]
- user@host#set unit 10 service-domain inside
- [edit interfaces rsp1]
- user@host#set unit 20 family inet
- [edit interfaces rsp1]
- user@host#set unit 20 service-domain outside
When you configure your service set, specify the rsp interface as the next-hop service.
Step-by-Step Procedure
To configure a service set for redundancy:
- [edit services]
- user@host#edit service-set pgcp-svc-set
- [edit services service-set pgcp-svc-set]
- user@host#edit next-hop-service
- [edit services service-set pgcp-svc-set next-hop-service]
- user@host#set inside-service-interface rsp1.10
- [edit services service-set pgcp-svc-set next-hop-service]
- user@host#set outside-service-interface rsp1.20
Purpose
Manually switch from the primary PIC to the secondary PIC.
Action
user@host> request interface rsp1 switchover
request succeeded
Purpose
Manually revert from the secondary PIC to the primary PIC.
Action
user@host> request interface rsp1 revert
request succeeded
Purpose
Display the status of the redundant service PICs.
Action
user@host> show interface redundancy
rsp1
Interface State Last change Primary Secondary Current status rsp1 On primary 00:25:18 sp-1/2/0 sp-1/3/0 both up