Stateful junction example
In the following example,
- WebSEAL-1 instance is called WS1. Host name is host1.
- WebSEAL-2 instance is called WS2. Host name is host2.
- Back-end server 1 is called APP1
- Back-end server 2 is called APP2
pdadmin> server task WS1-webseald-host1 create -t tcp -h APP1 -s /mnt
Output of show command reveals UUID1 and UUID2)
pdadmin> server task WS1-webseald-host1 add -h APP2 /mnt
pdadmin> server task WS1-webseald-host1 show /mntpdadmin> server task WS2-webseald-host2 create -t tcp -h APP1 -u UUID1 -s /mnt
pdadmin> server task WS2-webseald-host2 add -h APP2 -u UUID2 /mntWhen a client establishes a stateful connection with back-end server 2, it receives a cookie containing UUID2. This example now ensures the client will always connect to back-end server 2, regardless of Whether future requests are routed through WebSEAL-1 or WebSEAL-2.
Parent topic: Specify back-end server UUIDs for stateful junctions