Print Download PDF Send Feedback

Previous

Next

Example Deployment Plan Files

This section provides example Deployment Plan files.

Example 1 - Replace a File

This example Deployment Plan performs these actions on all applicable Security Gateways:

  1. Backs up the file /opt/productname/conf.txt on the remote Security Gateway to the /opt/CPcdt/ConfigurationBackupFiles/ directory on the Management Server.
  2. Sends a file /opt/CPcdt/conf.txt from the Management Server to the remote Security Gateway as the /opt/productname/conf.txt file.

Example XML file for this Deployment Plan:

<?xml version="1.0" encoding="UTF-8"?>

<CDT_Deployment_Plan>

<plan_settings>

<name value="Change configuration file" />

<description value="Example deployment plan - replace a file" />

<update_cpuse value="true" />

</plan_settings>

<!-- Backup the configuration file -->

<pull_file remote_path="/opt/productname/conf.txt" local_dir="/opt/CPcdt/ConfigurationBackupFiles/" />

<!-- Push the new configuraion file -->

<push_file local_path="/opt/CPcdt/conf.txt" remote_path="/opt/productname/conf.txt" />

</CDT_Deployment_Plan>