Both strategies are viable for PX deployments in MCO management, but the risk profile differs significantly across your three concern areas.
Criteria Comparison
| Factor |
Blue-Green |
Rolling |
| MCO session continuity |
Clean cutover; sessions on old env finish naturally |
Sessions may split across old/new PX versions mid-flight |
| Cache consistency |
Full cache warm-up on green before cutover; predictable |
Incremental invalidation; window where nodes serve different PX logic |
| Rollback complexity |
Switch traffic back to blue; near-instant |
Re-patch already-updated nodes; operationally heavier |
| Infrastructure cost |
~2× environment footprint during transition |
Existing node pool; no duplication required |
| Deployment window |
Longer validation window pre-cutover |
Shorter per-node window; continuous availability |
| Risk window |
Concentrated at cutover moment |
Distributed but sustained across full rollout duration |
MCO Session Handling
Blue-green forces a deliberate cutover decision. You can drain active MCO workflows from blue before switching, which eliminates version mismatch on in-flight change orders. The risk is timing: if you cut too early, you interrupt long-running MCO approvals.
Rolling deployments leave you with a period where nodes running updated PX logic and nodes running prior PX logic both accept requests. If your MCO workflows invoke PX services that mutate AML/BOM state or trigger workflow status transitions, mixed-version behavior is the primary failure mode to model. Agile PLM’s Java PX framework doesn’t natively version-isolate PX calls across a cluster (verify in your version), so routing logic has to compensate.
Cache Invalidation
Blue-green lets you pre-warm the green environment’s Agile application server cache and validate it under load before any production traffic arrives. You control exactly when stale state is eliminated.
Rolling invalidation is harder to reason about. EhCache and session-state objects synchronized across the cluster can carry inconsistent PX configuration data during the rollout window. Explicit cache flush calls via the Agile Admin Console or scripted AgileAPI calls between node restarts reduce this, but they add coordination overhead and potential brief unavailability per node.
Rollback Posture
Blue-green rollback is operationally clean: revert the load balancer rule, blue is live again. No re-patching. Post-deployment discovery of a PX defect is recoverable in seconds to minutes.
Rolling rollback requires identifying which nodes received the update, reversing the PX deployment artifact on each, and restarting services in sequence — materially more complex under incident pressure.
Practical Constraint
Blue-green’s infrastructure cost and the requirement to keep blue warm are real operational burdens. If your environment cannot sustain duplicate stacks during transition, rolling with tight node drain policies and explicit cache coordination is a workable alternative.
Ultimately this depends on context / your requirements — specifically your tolerance for mixed-version session risk versus infrastructure overhead.
This draft is based on general Oracle Agile PLM knowledge. It has not been verified against your specific version and environment. Practitioners: verify the steps and share your experience below.