Product Documentation

Using Deployment Automation to Migrate Configurations

Sep 29, 2015

The Deployment Automation feature provides easy automation for deployment management when deployments are going through rapid changes.

This module provides smooth migration of configurations across different deployments and exposes RESTful NITRO APIs with which you can automate the entire process.

You can migrate the configurations from one NetScaler appliance to multiple NetScaler appliances by choosing and editing the configurations that you want to migrate. This process enables you to configure and validate the NetScaler configurations in a staging environment, and then apply them to a production environment.

To migrate the configurations

  1. On the Configuration tab, in the details pane, under Deployment Automation, click Configuration Migration.
  2. Under Source Configuration, do either of the following:
    • Click Device, and then choose the device IP from the Select Device drop-down list. Also, under Configuration Change Period, choose the configuration history duration.
    • Click Configuration Profile, and then choose the profile from the Select Profile drop-down list.
  3. Click Get.

    The Source Configuration Summary section provides a summary of the configuration migration details.

    The Source Configuration Commands lists the commands selected for performing migration.

    Note: To edit the commands click the > icon. After editing, click Save.
  4. Click Next.
  5. Under Target Devices for Configuration Migration, click the > icon to add the target devices. On the Configuration Migration Target page, do either of the following:
    • Click Devices, select the target devices, and then click Insert.
    • Click Device Groups, select the target device groups, and then click Insert.

      Click Add to add a new device group. Provide the required details, and click Create.

  6. Click Next.
  7. Under Actions, choose either or all of the following:
    • Auto Rollback on failure
    • Save configuration after execution
  8. Click Execute. The Configuration Migration Summary page displays the configuration migration logs. Expand either or all of the following tabs to view the summary:
    • Migration Status— Select the device, and then Command Log to view the command details, or right-click the device row and click Command Log. Optionally, select the command and click Details to view the details for a specific command.
    • NetScaler Statistics— Lists the statistics of the selected NetScaler devices for performing the migration.
    • Virtual Server Status— Shows the status of the virtual servers that belong to the NetScaler device(s).
    • Notification Settings— Select the notifications you want to receive in the configuration migration reports:
      • Enable alarm settings
      • Receive execution report through email
        Note: If you have not configured any mail server settings, then click the > icon and configure them.
  9. Click Done. The Configuration Migration Logs page displays the log details.

    Click Download Report to download the details to your local machine.

To display the migration details

You can view the configuration migration logs after performing the task.

  1. On the Configuration tab, in the right pane, under Deployment Automation, click Configuration Migration Logs.
  2. The Configuration Migration Logs page displays the following details:
    • Source— Source IP address of the selected NetScaler device or configuration profile from which the configurations were migrated.
    • Host Name— The host name of the source device.
      Note: The field is empty if you selected a configuration profile as the source device.
    • Start Time—Time when task execution started.
    • End Time—Time when task execution completed.
    • Executed By—User name of the Command Center user who executed the task.
    • Target devices—The target NetScaler appliances to which you applied the configurations.
    • Report Name—Name of the report.
    Additionally, you can export a report as a CSV file to your local computer. To download the report, select and click Download Report.