Manual Chapter : Script Management

Applies To:

Show Versions Show Versions

BIG-IQ Centralized Management

  • 6.0.0
Manual Chapter

Script Management

Create a script to run on your managed devices

BIG-IP version 13.0 has Advanced Shell (bash) and Traffic Management Shell (tmsh) access disabled by default. BIG-IQ supports only requests from users with bash access, so before you can run scripts on BIG-IP version 13.0, you must enable it. For more information, refer to article K16413: Enabling Advanced Shell or tmsh access for BIG-IQ user accounts on AskF5 at: https://support.f5.com/csp/article/K16413.
From BIG-IQ Centralized Management, you can create scripts to run on your managed devices. For example, you could create a script that changes the syslog settings for multiple devices. Not only does this ensure those devices all have the same configuration, it saves you time too, because you don't have to log in to and configure each device individually. You can save the scripts you create so you can run them in the future and you can share them with your colleagues.
  1. At the top of the screen, click
    Devices
    .
  2. On the left, click
    SCRIPT MANAGEMENT
    Scripts
    .
  3. Near the top of the screen, click the
    Add
    button.
  4. In the
    Name
    and
    Description
    fields, type a name and optional description to identify this script.
  5. Into the
    Script
    field, type the commands or cut and paste a script you have saved elsewhere.
  6. Click the
    Save & Close
    button.
The new script is added to the list on the Scripts screen.

Run a script on BIG-IP devices

After you create a script, you can run it from BIG-IQ Centralized Management.
Run a script to quickly apply the same changes to several of your managed BIG-IP devices without requiring individual logins.
  1. At the top of the screen, click
    Devices
    .
  2. On the left, click
    SCRIPT MANAGEMENT
    Scripts
    .
  3. Select the check box next to the script you want to run, and then click the
    Run
    button near the top of the screen.
  4. In the
    Name
    and
    Description
    fields, type a name and an optional description to identify this task.
  5. For the
    Timeout
    setting, specify the number of seconds for BIG-IQ to attempt running the script before canceling the task.
  6. For the
    Devices
    setting, move the devices you want to run this script on from the
    Available
    list to the
    Selected
    list.
  7. Click the
    Run
    button at the bottom of the screen.
You can monitor and view the results of the task on the Execution Log screen.