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:
- Backs up the file
/opt/productname/conf.txt
on the remote Security Gateway to the /opt/CPcdt/ConfigurationBackupFiles/
directory on the Management Server. - 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/produc tname/conf.txt" local_dir="/opt/CPcdt/ConfigurationBackupFil es/" />
<!-- Push the new configuraion file -->
<push_file local_ path="/opt/CPcdt/conf.txt" remote_path="/opt/productname/conf.txt" />
< /CDT_Deployment_Plan>
|