Forum Discussion

MN_van_der_Meer's avatar
MN_van_der_Meer
Icon for Nimbostratus rankNimbostratus
May 20, 2014
Solved

Reconfigure Application Service (iApp) via TMSH

I have created an application service with variables via the TMSH command: create /sys application service template variables add { variable1 { value "value1" } }

 

Now i need to reconfigure (modify?) this created application service. I found this command: modify /sys application service .app/ variables replace-all-with { variable1 { value "newvalue1" } }

 

When i check this application service in the GUI, i don't see the modified value. When i click the Reconfigure page in GUI then suddenly i see the modified value. I then need to click 'Finish' to apply this modification.

 

Is there a TMSH action to 'Finish' the modification?

 

Regards,

 

Martijn

 

  • This is the command line equivalent of the iApp "Finished" button:

    modify sys application service my_app.app/my_app execute-action definition

7 Replies

  • Unfortunately not.

     

    What i see is that the application service variable itself is modified with the "modify /sys application service .."command, but the real monitor using that variable not.

     

     

    "list /sys application service ...." gives the changed info: variables { variable1 { value newvalue } }

     

     

    The save /sys config doesn't trigger the 'finished' action.

     

  • Fred_Slater_856's avatar
    Fred_Slater_856
    Historic F5 Account

    This is the command line equivalent of the iApp "Finished" button:

    modify sys application service my_app.app/my_app execute-action definition

    • Mrk_'s avatar
      Mrk_
      Icon for Nimbostratus rankNimbostratus

      I'm using the F5 module on Puppet, which (at this moment) doesn't send this parameter along. Made some changes locally, to see if this worked - and yes it does! So thanks for this ;).

       

  • uni's avatar
    uni
    Icon for Altostratus rankAltostratus

    Or even do it all in one command:

    modify /sys application service test.app/test variables modify { pool__addr { value 10.1.2.3 } } execute-action definition