Forum Discussion

Tim_Nowaczyk_10's avatar
Tim_Nowaczyk_10
Icon for Nimbostratus rankNimbostratus
Apr 27, 2009

Extending the iRule TCL namespace.

I was looking into creating an iRule that would send mySQL reads to one set of hosts, and writes to another and it seems infeasible the way things currently are. I however found a TCL API for connecting to mysql using TCL (called mysqltcl) that could probably be extended to support my needs. It seems that the BigIP doesn't actually have tcl installed on the system though. I figure that you're using tcljava and jacl for all your iRule handling, right? Is there any way I could write a java class or install a real tcl interpreter plus tclblend to do this? I'd hate to have to write a mysql handshake protocol parser in raw TCL.

 

 

Thanks,

 

Tim Nowaczyk

 

 

--

 

Timothy Nowaczyk

 

Network Systems Engineer

 

University of Virginia - ITC

 

tan7f@virginia.edu

1 Reply

  • Hi Tim,

     

     

    Maybe an F5 dev can confirm this, but I'm pretty sure they wouldn't support any changes to the existing code.

     

     

    I think people have written a TCP-based iRule to separate reads/writes for LDAP. Has anyone done this for MySQL?

     

     

    Aaron