Forum Discussion

Peter_Baumann's avatar
Peter_Baumann
Icon for Cirrostratus rankCirrostratus
Jun 29, 2018

BIG-IQ 6.0: Examples of post create/update/delete scripts?

Hi again,

 

In BIG-IQ v6.0 you can create service template in the service catalog.

 

I'm evaluating the possibilities to create a service template used in two sites.

 

For this to work I need a copy of the exactly same service on one site with ip-address A and on the other site with ip-address B.

 

Service templating with scripting would be a possible solution.

 

So does anyone have some examples of these post create/update/delete scripts?

 

I cannot find much informations about it.

 

Thanks!

 

  • I know this question is super old, but I thought I would respond for posterity.

     

    The Post Create/Update Script and Pre Delete Script are scripts that BIG-IQ should run before or after an app admin creates an application using a template. Were you looking for examples of those or were you looking for how to create a template and then use it to deploy an application service?

     

    I ask because you can achieve your goal with a Service Catalog Template or an AS3 template and no scripting is necessary.

     

    These topics are covered in the techdocs manuals:

     

    Create a template:

    https://techdocs.f5.com/kb/en-us/products/big-iq-centralized-mgmt/manuals/product/big-iq-centralized-management-monitoring-and-managing-application-services-6-1-0/01.html

     

    Deploy application with template:

    https://techdocs.f5.com/kb/en-us/products/big-iq-centralized-mgmt/manuals/product/big-iq-centralized-management-monitoring-and-managing-application-services-6-1-0/02.html

     

    Scripts can be run on their own or as noted earlier you can also tell BIG-IQ to run scripts before/after application service deployment:

    https://techdocs.f5.com/kb/en-us/products/big-iq-centralized-mgmt/manuals/product/big-iq-centralized-management-device-6-1-0/03.html

     

    AS3 templates:

    https://techdocs.f5.com/en-us/bigiq-7-0-0/monitoring-managing-applications-using-big-iq/manage-big-iq-as3-templates.html

     

  • Dojs's avatar
    Dojs
    Icon for Cirrostratus rankCirrostratus

    UPdate to 7 and follow the AS3 Templates to help you