Forum Discussion

dimka___104021's avatar
dimka___104021
Icon for Nimbostratus rankNimbostratus
Feb 13, 2008

multiple persistence profile

Hi,

 

 

I've setup "source address" as Default Persistence Profile for VS.

 

Now there's need to do universal persistency for some URLs.

 

According to "http://devcentral.f5.com/wiki/default.aspx/iRules/persist.html"

 

i can enable another profile in iRules by setting "persist "

 

But when i do this way, i get an error (pers_eetestlt is persistency profile name):

 

---

 

[invalid option "pers_eetestlt" must be: cookie none source_addr simple dest_addr sticky msrdp ssl uie universal hash add lookup delete] [pers_eetestlt]

 

---

 

 

Is there're any ways to use mutiple persistancy profiles with one VS?

 

 

tia,

2 Replies

  • The persist command takes a parent persistence profile name, not a custom profile name. Using the persist command in an iRule, you can specify a new string to persist on and a timeout for the record.

     

     

    If you test, do you see the correct records added in the 'b persist all show all' ouput?

     

     

    Aaron
  • Hi,

     

     

    You can't make reference to a persistence profile in iRule, check the release notes for 9.4.X

     

     

    Persistence profile and selection with iRules (CR85958)

     

    You can select a persistence profile type using iRules™. You cannot specify a persistence profile name. If you specify a persistence profile name, when you try to load the configuration, the system presents an error.

     

     

    Anyway you should't need here to make reference to a universal persistence profile here since you won't assign this profile to a VS.

     

     

    you should have a look at the persist example here:

     

     

    http://devcentral.f5.com/wiki/default.aspx/iRules/ASP_SessionID_Persistence.html

     

     

    Have a look at the first iRule, that's how you should handle universal persitence with persist command within an iRule

     

     

    don't use reference to persitence profile in your case shouldn't be useful

     

     

    HTH